summaryrefslogtreecommitdiff
path: root/network/tor/tor.SlackBuild
diff options
context:
space:
mode:
authorMarkus Reichelt <slackbuilds@mareichelt.de>2019-12-15 05:05:34 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-12-15 05:05:34 +0700
commit06e027ef6e7ad0cdec58a1b5554ad63de2b51b29 (patch)
tree6e51f410a6c4ac5dddaa21a185f3919b83902c7d /network/tor/tor.SlackBuild
parent0be266315ba8556cdc5ed8a7fa3b11839332063d (diff)
downloadslackbuilds-06e027ef6e7ad0cdec58a1b5554ad63de2b51b29.tar.gz
network/tor: Updated for version 0.4.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 \