aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/poptop
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-11-27 13:18:01 +0300
committerRoman I Khimov <khimov@altell.ru>2010-03-30 22:15:43 +0400
commit1ca92813d674b09bcabf670455055edbcd5cc845 (patch)
tree7f0e4b8418ffd03246978ea8593ff5d6fb8b1f1f /recipes/poptop
parent1ff531e946adc2309ce5867be9ddb79d9d26a39e (diff)
downloadopenembedded-1ca92813d674b09bcabf670455055edbcd5cc845.tar.gz
poptop: change "require-mppe-128" option to plain "mppe"
OE has ppp-2.4.3-mppe-mppc-1.1.patch for pppd and it disables 'require-mppe-128' option, so poptop complains: In file /etc/ppp/options.pptpd: unrecognized option 'require-mppe-128' on start. Fix that by using 'mppe' option. Signed-off-by: Roman I Khimov <khimov@altell.ru>
Diffstat (limited to 'recipes/poptop')
-rw-r--r--recipes/poptop/poptop_1.3.4.bb4
1 files changed, 3 insertions, 1 deletions
diff --git a/recipes/poptop/poptop_1.3.4.bb b/recipes/poptop/poptop_1.3.4.bb
index a4508c49df..be1379a007 100644
--- a/recipes/poptop/poptop_1.3.4.bb
+++ b/recipes/poptop/poptop_1.3.4.bb
@@ -8,7 +8,7 @@ SECTION = "network"
LICENSE = "GPL"
RDEPENDS_${PN} = "ppp"
RDEPENDS_${PN}-logwtmp-plugin = "${PN}"
-PR = "r2"
+PR = "r3"
SRC_URI = "${SOURCEFORGE_MIRROR}/poptop/pptpd-${PV}.tar.gz \
file://fix-plugins-install.patch;patch=1 \
@@ -30,6 +30,8 @@ do_install_append() {
# broken
sed -ri "s,^[:space:]*logwtmp[:space:]*,# logwtmp," ${D}/${sysconfdir}/pptpd.conf
rm -f ${D}${libdir}/pptpd/pptpd-logwtmp.so
+ # Use mppe option in OE style
+ sed -ri "s,^[[:space:]]*require-mppe-128[[:space:]]*$,mppe required,no40,no56," ${D}/${sysconfdir}/ppp/options.pptpd
}
PACKAGES = "${PN}-dbg ${PN}-bcrelay ${PN} ${PN}-doc"