summaryrefslogtreecommitdiff
path: root/security/tor-devel/files/patch-contrib-tor.sh.in
diff options
context:
space:
mode:
authorcvs2svn <cvs2svn@FreeBSD.org>2005-04-20 06:16:18 +0000
committercvs2svn <cvs2svn@FreeBSD.org>2005-04-20 06:16:18 +0000
commit8673c7ec800a8bcc6da14c506081a3cb76e2b8ea (patch)
treead3f495c08f0cc331b6958d319f699d021175c19 /security/tor-devel/files/patch-contrib-tor.sh.in
parentFix plist problems. (diff)
This commit was manufactured by cvs2svn to create tag 'RELEASE_5_4_0'.release/5.4.0
Diffstat (limited to 'security/tor-devel/files/patch-contrib-tor.sh.in')
-rw-r--r--security/tor-devel/files/patch-contrib-tor.sh.in29
1 files changed, 0 insertions, 29 deletions
diff --git a/security/tor-devel/files/patch-contrib-tor.sh.in b/security/tor-devel/files/patch-contrib-tor.sh.in
deleted file mode 100644
index 74fa8978a719..000000000000
--- a/security/tor-devel/files/patch-contrib-tor.sh.in
+++ /dev/null
@@ -1,29 +0,0 @@
---- contrib/tor.sh.in.orig Sat Jan 29 20:41:19 2005
-+++ contrib/tor.sh.in Sat Jan 29 20:46:14 2005
-@@ -5,12 +5,12 @@
- # chkconfig: 2345 90 10
- # description: Onion Router
-
--TORUSER=
--TORGROUP=
-+TORUSER=_tor
-+TORGROUP=_tor
- TORBIN=@BINDIR@/tor
--TORPID=@LOCALSTATEDIR@/run/tor/tor.pid
--TORLOG=@LOCALSTATEDIR@/log/tor/tor.log
--TORDATA=@LOCALSTATEDIR@/lib/tor
-+TORPID=/var/run/tor.pid
-+TORLOG=/var/log/tor.log
-+TORDATA=/var/db/tor/data
-
- TORCONF=@CONFDIR@/torrc
- # Strictly speaking, we don't need to su if we have --user and --group.
-@@ -36,7 +36,7 @@
- if [ "x$TORUSER" = "x" ]; then
- $TORBIN -f $TORCONF $TORARGS
- else
-- /bin/su -c "$TORBIN -f $TORCONF $TORARGS" $TORUSER
-+ /usr/bin/su $TORUSER -c "$TORBIN -f $TORCONF $TORARGS"
- fi
- RETVAL=$?
- if [ $RETVAL -eq 0 ]; then