summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoman I Khimov <khimov@altell.ru>2009-09-08 13:54:18 +0400
committerRoman I Khimov <khimov@altell.ru>2010-03-30 22:15:31 +0400
commit1ff531e946adc2309ce5867be9ddb79d9d26a39e (patch)
tree7fe4d889cfc6923d20d09aff2ae806047114cd1a
parent654351c29d60f2d68a648054f8324ce48b8be44d (diff)
poptop: disable logwtmp in config
Poptop tries to use that and we have it removed since it's broken, no good. Signed-off-by: Roman I Khimov <khimov@altell.ru>
-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
}