[oe-commits] Roman I Khimov : poptop: disable logwtmp in config
git version control
git at git.openembedded.org
Wed Mar 31 09:01:49 UTC 2010
Module: openembedded.git
Branch: shr/unstable
Commit: 1ff531e946adc2309ce5867be9ddb79d9d26a39e
URL: http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=1ff531e946adc2309ce5867be9ddb79d9d26a39e
Author: Roman I Khimov <khimov at altell.ru>
Date: Tue Sep 8 13:54:18 2009 +0400
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 at altell.ru>
---
recipes/poptop/poptop_1.3.4.bb | 4 +++-
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 370f6a3..a4508c4 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
}
More information about the Openembedded-commits
mailing list