summaryrefslogtreecommitdiff
path: root/packages/ppp-dialin
diff options
context:
space:
mode:
authornslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-28 22:18:35 +0000
committernslu2-linux.adm@bkbits.net <nslu2-linux.adm@bkbits.net>2004-12-28 22:18:35 +0000
commit6e5c4d23f5cb1ba9ed28894ca4d6a634e225314a (patch)
tree50ffceaa04f5b0fb0feea19a80d28fd3f5c359fc /packages/ppp-dialin
parentf91749f66496a291e4f6f610d58ec0ed90e2adf5 (diff)
Merge bk://oe-devel.bkbits.net/openembedded
into bkbits.net:/repos/n/nslu2-linux/openembedded 2004/12/28 16:38:28-05:00 handhelds.org!kergoth Merge oe-devel@oe-devel.bkbits.net:openembedded into handhelds.org:/home/kergoth/code/openembedded 2004/12/28 16:18:33-06:00 ti.com!kergoth Change CCLD to be identical to CC for the moment, so libtool's lack of CCLD awareness doesn't break things. 2004/12/28 22:09:49+01:00 dyndns.org!reenoo Merge oe-devel@oe-devel.bkbits.net:openembedded into sugarcube.dyndns.org:/home2/oe/bakery/openembedded 2004/12/28 22:09:29+01:00 dyndns.org!reenoo ppp(-dialin): fix ppp-dialin (and other uses of pppd) by making pppd suid root. 2004/12/28 21:59:53+01:00 uni-frankfurt.de!mickeyl Merge bk://oe-devel@oe-devel.bkbits.net/openembedded into r2d2.tm.informatik.uni-frankfurt.de:/local/pkg/oe/packages 2004/12/28 21:59:44+01:00 uni-frankfurt.de!mickeyl fix zbedic to 20041227 and add a qtopia17.patch BKrev: 41d1dbbb__VEbpAroY8Qu9r_OOB55g
Diffstat (limited to 'packages/ppp-dialin')
-rw-r--r--packages/ppp-dialin/ppp-dialin_0.1.bb13
1 files changed, 3 insertions, 10 deletions
diff --git a/packages/ppp-dialin/ppp-dialin_0.1.bb b/packages/ppp-dialin/ppp-dialin_0.1.bb
index 0d2ee82589..968ed1d73e 100644
--- a/packages/ppp-dialin/ppp-dialin_0.1.bb
+++ b/packages/ppp-dialin/ppp-dialin_0.1.bb
@@ -3,7 +3,7 @@ DESCRIPTION = "Enables PPP dial-in through a serial connection"
MAINTAINER = "Rene Wagner <reenoo@gmx.de>"
DEPENDS = "ppp"
RDEPENDS = "ppp"
-PR = "r2"
+PR = "r3"
SRC_URI = "file://host-peer \
file://ppp-dialin"
@@ -13,21 +13,15 @@ do_install() {
install -m 0644 ${WORKDIR}/host-peer ${D}/${sysconfdir}/ppp/peers/host
install -d ${D}/${sbindir}
- install -m 0750 ${WORKDIR}/ppp-dialin ${D}/${sbindir}
+ install -m 0755 ${WORKDIR}/ppp-dialin ${D}/${sbindir}
}
-# NOTE: adduser appears to be malfunctioning.
-# add ppp user when creating the group already.
-
pkg_postinst() {
if test "x$D" != "x"; then
exit 1
else
- addgroup ppp ppp
- adduser --system --home /dev/null --no-create-home --empty-password --ingroup ppp -s /usr/sbin/ppp-dialin ppp
- chgrp ppp /usr/sbin/ppp-dialin
- chmod u+s /usr/sbin/ppp-dialin
+ adduser --system --home /dev/null --no-create-home --empty-password --ingroup nogroup -s /usr/sbin/ppp-dialin ppp
fi
}
@@ -36,6 +30,5 @@ if test "x$D" != "x"; then
exit 1
else
deluser ppp
- delgroup ppp
fi
}