diff options
author | Tony Vroon <chainsaw@gentoo.org> | 2006-06-15 13:26:40 +0000 |
---|---|---|
committer | Tony Vroon <chainsaw@gentoo.org> | 2006-06-15 13:26:40 +0000 |
commit | 92020f80b2e8b2806ec555c174acf8de24f02dc1 (patch) | |
tree | e44fa94bed4e9eaa11dbd7d26ed5ffb26f5d89ae /net-dialup/sendpage/files | |
parent | add x11-misc/googleearth to no-multilib p.mask (diff) | |
download | historical-92020f80b2e8b2806ec555c174acf8de24f02dc1.tar.gz historical-92020f80b2e8b2806ec555c174acf8de24f02dc1.tar.bz2 historical-92020f80b2e8b2806ec555c174acf8de24f02dc1.zip |
Add sendpage user. Although the daemon starts as root it is willing to spawn unprivileged children. Touch up initscript so it properly terminates all subprocesses in this situation.
Package-Manager: portage-2.1
Diffstat (limited to 'net-dialup/sendpage/files')
-rw-r--r-- | net-dialup/sendpage/files/digest-sendpage-1.1.0-r1 | 3 | ||||
-rw-r--r-- | net-dialup/sendpage/files/sendpage.initd | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/net-dialup/sendpage/files/digest-sendpage-1.1.0-r1 b/net-dialup/sendpage/files/digest-sendpage-1.1.0-r1 new file mode 100644 index 000000000000..846ab9d23ae5 --- /dev/null +++ b/net-dialup/sendpage/files/digest-sendpage-1.1.0-r1 @@ -0,0 +1,3 @@ +MD5 7ca49276f010ea26053bfb07874f38e2 sendpage-1.001.tar.gz 127130 +RMD160 26a9fb7fa30a26deea32dc41ed4022ad689ffbc5 sendpage-1.001.tar.gz 127130 +SHA256 2f2d8253b3f94fd3915ae7568a87e1263c416066f2cce7923b6dd3d2d5dc2b0c sendpage-1.001.tar.gz 127130 diff --git a/net-dialup/sendpage/files/sendpage.initd b/net-dialup/sendpage/files/sendpage.initd index 418cdbb625bc..a9ba1712d5ae 100644 --- a/net-dialup/sendpage/files/sendpage.initd +++ b/net-dialup/sendpage/files/sendpage.initd @@ -1,7 +1,7 @@ #!/sbin/runscript # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/files/sendpage.initd,v 1.1 2006/06/14 16:52:08 chainsaw Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-dialup/sendpage/files/sendpage.initd,v 1.2 2006/06/15 13:26:40 chainsaw Exp $ depend() { need localmount @@ -9,14 +9,13 @@ depend() { start() { ebegin "Starting sendpage" - start-stop-daemon --start --exec /usr/bin/sendpage -- \ - -bd + start-stop-daemon --start --exec /usr/bin/sendpage -- -bd eend ${?} } stop() { ebegin "Stopping sendpage" - start-stop-daemon --stop -p /var/run/sendpage.pid + start-stop-daemon --stop -n sendpage eend ${?} } |