summaryrefslogtreecommitdiffstats
path: root/network/tor/tor.SlackBuild
diff options
context:
space:
mode:
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 {} \;