summaryrefslogtreecommitdiff
path: root/network/tor/tor.SlackBuild
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2011-07-12 05:16:43 -0400
committerNiels Horn <niels.horn@slackbuilds.org>2011-07-14 21:54:05 -0300
commitdbe994aba120a176479cc90a362c8253c602b422 (patch)
tree5cf2b0b04d31853cde2c8c3151c645248473e985 /network/tor/tor.SlackBuild
parent4973e0648d438e98c648f870fe6cf35faa48afa9 (diff)
downloadslackbuilds-dbe994aba120a176479cc90a362c8253c602b422.tar.gz
network/tor: Updated rc.tor to remove hardcoded values, other fixes.
See README.SLACKWARE for more info. Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'network/tor/tor.SlackBuild')
-rw-r--r--network/tor/tor.SlackBuild4
1 files changed, 2 insertions, 2 deletions
diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild
index 2dd78ecb13..46a55b8ce6 100644
--- a/network/tor/tor.SlackBuild
+++ b/network/tor/tor.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=tor
VERSION=0.2.1.30
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Select tor's default user/group
@@ -111,7 +111,7 @@ chmod 0700 $PKG/var/lib/tor
install -D -m 0755 $CWD/rc.tor $PKG/etc/rc.d/rc.tor.new
install -D -m 0755 contrib/torctl $PKG/usr/bin/torctl
install -D -m 0644 $CWD/logrotate.tor $PKG/etc/logrotate.d/tor.new
-mv $PKG/etc/tor/torrc.sample $PKG/etc/tor/torrc.new
+install -D -m 0644 $CWD/torrc $PKG/etc/tor/torrc.new
mv $PKG/etc/tor/tor-tsocks.conf $PKG/etc/tor/tor-tsocks.conf.new
find $PKG/usr/man -type f -exec gzip -9 {} \;