summaryrefslogtreecommitdiff
path: root/network/tor
diff options
context:
space:
mode:
Diffstat (limited to 'network/tor')
-rw-r--r--network/tor/tor.SlackBuild3
1 files changed, 2 insertions, 1 deletions
diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild
index 39813aab45..9fd2b73e3f 100644
--- a/network/tor/tor.SlackBuild
+++ b/network/tor/tor.SlackBuild
@@ -24,7 +24,7 @@
PRGNAM=tor
VERSION=${VERSION:-0.2.2.37}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
# Select tor's default user/group
@@ -112,6 +112,7 @@ 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/torrc $PKG/etc/tor/torrc.new
mv $PKG/etc/tor/tor-tsocks.conf $PKG/etc/tor/tor-tsocks.conf.new
+mkdir -p $PKG/etc/logrotate.d
sed -e "s,@USER@,$TOR_USER," -e "s,@GROUP@,$TOR_GROUP," $CWD/logrotate.tor \
> $PKG/etc/logrotate.d/tor.new