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.SlackBuild8
1 files changed, 6 insertions, 2 deletions
diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild
index 74df585827..062e30b9f6 100644
--- a/network/tor/tor.SlackBuild
+++ b/network/tor/tor.SlackBuild
@@ -24,9 +24,10 @@
# Updated by Donald Cooley dfc@warpmail.net
# Updated by Fernando Lopez Jr. fernando.lopezjr@gmail.com
+# Updated by Markus Reichelt slackbuilds@mareichelt.de
PRGNAM=tor
-VERSION=${VERSION:-0.4.1.6}
+VERSION=${VERSION:-0.4.2.5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -97,6 +98,7 @@ find -L . \
CFLAGS="$SLKCFLAGS" \
./configure \
+ --disable-module-dirauth \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -115,7 +117,9 @@ mkdir -p $PKG/var/{run,log,lib}/tor
chown $TOR_USER:$TOR_GROUP $PKG/var/{run,log,lib}/tor
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/dist/torctl $PKG/usr/bin/torctl
+# this has been removed in tor-0.4.2.5, uncomment if you need this
+# in earlier Tor versions
+#install -D -m 0755 contrib/dist/torctl $PKG/usr/bin/torctl
install -D -m 0644 $CWD/torrc $PKG/etc/tor/torrc.new
mkdir -p $PKG/etc/logrotate.d
sed -e "s,@USER@,$TOR_USER," -e "s,@GROUP@,$TOR_GROUP," $CWD/logrotate.tor \