summaryrefslogtreecommitdiff
path: root/network/tor
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2012-09-29 12:08:38 +0200
committerMatteo Bernardini <ponce@slackbuilds.org>2012-09-29 12:09:04 +0200
commit46461f2a0ce371bddefa83c3387b824223cd8c56 (patch)
treecf827b18c20cdbc4bb6ac9a54c9f42ebadbdc476 /network/tor
parent3551c859722bdfbcf5af6069ba63af74caf1f3cf (diff)
downloadslackbuilds-46461f2a0ce371bddefa83c3387b824223cd8c56.tar.gz
network/tor: Added mkdir of a missing folder.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
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