summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGustavo Felisberto <humpback@gentoo.org>2007-08-29 11:49:42 +0000
committerGustavo Felisberto <humpback@gentoo.org>2007-08-29 11:49:42 +0000
commit16fd3b64e704e661700087fc6532642cf744799b (patch)
treefb89c3b3cf84feca3242c244c3efa98ff69b7cd6 /net-misc
parentStable on amd64 wrt security bug #187205 (diff)
downloadhistorical-16fd3b64e704e661700087fc6532642cf744799b.tar.gz
historical-16fd3b64e704e661700087fc6532642cf744799b.tar.bz2
historical-16fd3b64e704e661700087fc6532642cf744799b.zip
fixing init script
Package-Manager: portage-2.1.3.7
Diffstat (limited to 'net-misc')
-rw-r--r--net-misc/tor/ChangeLog5
-rw-r--r--net-misc/tor/Manifest16
-rw-r--r--net-misc/tor/files/tor.initd-r36
3 files changed, 15 insertions, 12 deletions
diff --git a/net-misc/tor/ChangeLog b/net-misc/tor/ChangeLog
index 66554053875b..6d5816b57119 100644
--- a/net-misc/tor/ChangeLog
+++ b/net-misc/tor/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for net-misc/tor
# Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.92 2007/08/28 23:31:14 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/ChangeLog,v 1.93 2007/08/29 11:49:42 humpback Exp $
+
+ 29 Aug 2007; Gustavo Felisberto <humpback@gentoo.org> files/tor.initd-r3:
+ Adding correct init script.
*tor-0.1.2.16-r1 (28 Aug 2007)
diff --git a/net-misc/tor/Manifest b/net-misc/tor/Manifest
index dff44cb920c3..21426a9c5d4c 100644
--- a/net-misc/tor/Manifest
+++ b/net-misc/tor/Manifest
@@ -2,10 +2,10 @@ AUX tor.initd-r2 1494 RMD160 56ac023f10e4a170daa8ec29c854968e1320107c SHA1 e76e0
MD5 560d45ac7d56dda6c184f93c13124329 files/tor.initd-r2 1494
RMD160 56ac023f10e4a170daa8ec29c854968e1320107c files/tor.initd-r2 1494
SHA256 51fd05cb4c079fcb392459d066a7505de9f57f9f10b7ad5b274edcd1fe9cd1e4 files/tor.initd-r2 1494
-AUX tor.initd-r3 1480 RMD160 bea01b51344728325d3afd0c56dae490dd0fab4c SHA1 0c8e7014f5b0219cb2cc89b15cef73ebcc428f46 SHA256 57ba9d74235ae186cb7761773b7efa367f1db3f7b64a2f49285c812b6f33f7a0
-MD5 3d86dfd2b6fd888e6807200785cd4f96 files/tor.initd-r3 1480
-RMD160 bea01b51344728325d3afd0c56dae490dd0fab4c files/tor.initd-r3 1480
-SHA256 57ba9d74235ae186cb7761773b7efa367f1db3f7b64a2f49285c812b6f33f7a0 files/tor.initd-r3 1480
+AUX tor.initd-r3 1568 RMD160 ed03ef5176615af9867af3041fdf24851cd8d14a SHA1 0722b36a30466bf9003b45da3aff7d0298cce4b6 SHA256 c65f92c3eddc1d056eebb948935abb236a235a38ededa1fbd2012f76da7f0241
+MD5 8987e8c7ea1e7369263af77889f53658 files/tor.initd-r3 1568
+RMD160 ed03ef5176615af9867af3041fdf24851cd8d14a files/tor.initd-r3 1568
+SHA256 c65f92c3eddc1d056eebb948935abb236a235a38ededa1fbd2012f76da7f0241 files/tor.initd-r3 1568
AUX tor.logrotate.patch 301 RMD160 47a096ae4e7ddabdd5974df3c8cd1b221641edbb SHA1 b3c158d27b23600cc87f5e0a2ebba732e5fe3f69 SHA256 e64ff0f7442a180bcc8f9bd5fc258058ceae227847e32b69de39b589236f09dc
MD5 63047059d12800aefe0998218de099af files/tor.logrotate.patch 301
RMD160 47a096ae4e7ddabdd5974df3c8cd1b221641edbb files/tor.logrotate.patch 301
@@ -23,10 +23,10 @@ EBUILD tor-0.1.2.16.ebuild 1635 RMD160 b6406d674ee2b09c081044014babae2a29e0cb62
MD5 4a0739e359fbc817782dbe3a08749460 tor-0.1.2.16.ebuild 1635
RMD160 b6406d674ee2b09c081044014babae2a29e0cb62 tor-0.1.2.16.ebuild 1635
SHA256 da0fc4f316beea7c315353bd99d5590457106c95a14003d48523fc3211b3621b tor-0.1.2.16.ebuild 1635
-MISC ChangeLog 14937 RMD160 f7f42461bda0b04486d3ad03f4059d589e06596c SHA1 e2c3d1be64b0d40d4b830db9e50b98be89f9a9ec SHA256 b69d9854b2a92d4ab7116fb53f1244332da97a584bc0ac622cbdbdc29d168f79
-MD5 4d5e95d85f4534f1a8b4834ab28487ba ChangeLog 14937
-RMD160 f7f42461bda0b04486d3ad03f4059d589e06596c ChangeLog 14937
-SHA256 b69d9854b2a92d4ab7116fb53f1244332da97a584bc0ac622cbdbdc29d168f79 ChangeLog 14937
+MISC ChangeLog 15044 RMD160 701ffe7ded217eb43bd287065603261ea55a38bf SHA1 7874e6cfc864963a32ad455695447469250641e2 SHA256 afc544b784073bd7cd9a8d3d703bdbdec9a993f06f6d149d21a284761d09be31
+MD5 e9a1e2e863fc0478df3807a8edadcb22 ChangeLog 15044
+RMD160 701ffe7ded217eb43bd287065603261ea55a38bf ChangeLog 15044
+SHA256 afc544b784073bd7cd9a8d3d703bdbdec9a993f06f6d149d21a284761d09be31 ChangeLog 15044
MISC metadata.xml 224 RMD160 87e0a44a0ea05af5ad562f03d35b841c42c48971 SHA1 76b617d1cccc3a09fc6995f19e800d99775064c7 SHA256 5a95452656188e381651219d143d53498f11199a52ade7ed467a94e001e72bd6
MD5 b79b08e0f979feb256c93295714b4fc9 metadata.xml 224
RMD160 87e0a44a0ea05af5ad562f03d35b841c42c48971 metadata.xml 224
diff --git a/net-misc/tor/files/tor.initd-r3 b/net-misc/tor/files/tor.initd-r3
index 0bdf9dac5a33..b2fad4893a9e 100644
--- a/net-misc/tor/files/tor.initd-r3
+++ b/net-misc/tor/files/tor.initd-r3
@@ -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-misc/tor/files/tor.initd-r3,v 1.1 2007/08/28 23:31:14 humpback Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-misc/tor/files/tor.initd-r3,v 1.2 2007/08/29 11:49:42 humpback Exp $
opts="${opts} checkconfig reload"
PIDFILE=/var/run/tor/tor.pid
@@ -35,13 +35,13 @@ start() {
checkconfig || return 1
ebegin "Starting Tor"
HOME=/var/lib/tor
- start-stop-daemon --start --quiet --chuid tor --exec /usr/bin/tor -- --runasdaemon 1 &> /dev/null
+ start-stop-daemon --start --pidfile "${PIDFILE}" --quiet --chuid tor --exec /usr/bin/tor -- --runasdaemon 1 --PidFile "${PIDFILE}" &> /dev/null
eend $?
}
stop() {
ebegin "Stopping Tor"
- start-stop-daemon --stop --quiet --chuid tor --exec /usr/bin/tor
+ start-stop-daemon --stop --pidfile "${PIDFILE}" --chuid tor --exec /usr/bin/tor -- --PidFile "${PIDFILE}"
eend $?
}