From bc5d5457ab2d7191db343cfcb2bf3a5c8cd24a93 Mon Sep 17 00:00:00 2001 From: Andreas Oberritter Date: Fri, 23 Mar 2012 17:37:39 +0100 Subject: ppp: drop unneeded pkg-postinst * pkg-postinst was used to make pppd setuid root, which can now be done in do_install() instead. Signed-off-by: Andreas Oberritter Signed-off-by: Richard Purdie --- meta/recipes-connectivity/ppp/ppp_2.4.5.bb | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'meta') diff --git a/meta/recipes-connectivity/ppp/ppp_2.4.5.bb b/meta/recipes-connectivity/ppp/ppp_2.4.5.bb index 9232e6fdc..6af0d42e2 100644 --- a/meta/recipes-connectivity/ppp/ppp_2.4.5.bb +++ b/meta/recipes-connectivity/ppp/ppp_2.4.5.bb @@ -10,7 +10,7 @@ LIC_FILES_CHKSUM = "file://pppd/ccp.c;beginline=1;endline=29;md5=e2c43fe6e81ff77 file://pppd/plugins/passprompt.c;beginline=1;endline=10;md5=3bcbcdbf0e369c9a3e0b8c8275b065d8 \ file://pppd/tdb.c;beginline=1;endline=27;md5=4ca3a9991b011038d085d6675ae7c4e6 \ file://chat/chat.c;beginline=1;endline=15;md5=0d374b8545ee5c62d7aff1acbd38add2" -PR = "r3" +PR = "r4" SRC_URI = "http://ppp.samba.org/ftp/ppp/ppp-${PV}.tar.gz \ file://makefile.patch \ @@ -49,6 +49,7 @@ do_install_append () { install -m 0755 ${WORKDIR}/08setupdns ${D}${sysconfdir}/ppp/ip-up.d/ install -m 0755 ${WORKDIR}/92removedns ${D}${sysconfdir}/ppp/ip-down.d/ rm -rf ${D}/${mandir}/man8/man8 + chmod u+s ${D}${sbindir}/pppd } CONFFILES_${PN} = "${sysconfdir}/ppp/pap-secrets ${sysconfdir}/ppp/chap-secrets ${sysconfdir}/ppp/options" @@ -72,11 +73,3 @@ DESCRIPTION_${PN}-minconn = "Plugin for PPP to specify a minimum connect time b DESCRIPTION_${PN}-password = "Plugin for PPP to get passwords via a pipe" DESCRIPTION_${PN}-l2tp = "Plugin for PPP for l2tp support" DESCRIPTION_${PN}-tools = "The pppdump and pppstats utitilities" - -pkg_postinst_${PN}() { -if test "x$D" != "x"; then - exit 1 -else - chmod u+s ${sbindir}/pppd -fi -} -- cgit v1.2.3