aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/poptop/poptop_1.3.4.bb
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/poptop/poptop_1.3.4.bb')
-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 370f6a30ec..a4508c49df 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 = "r1"
+PR = "r2"
SRC_URI = "${SOURCEFORGE_MIRROR}/poptop/pptpd-${PV}.tar.gz \
file://fix-plugins-install.patch;patch=1 \
@@ -26,7 +26,9 @@ do_install_append() {
install -d ${D}${sbindir} ${D}/${sysconfdir} ${D}/${sysconfdir}/ppp
install -m 0644 samples/options.pptpd ${D}/${sysconfdir}/ppp/
install -m 0644 samples/pptpd.conf ${D}/${sysconfdir}/
+
# broken
+ sed -ri "s,^[:space:]*logwtmp[:space:]*,# logwtmp," ${D}/${sysconfdir}/pptpd.conf
rm -f ${D}${libdir}/pptpd/pptpd-logwtmp.so
}