diff options
author | Markus Reichelt <slackbuilds@mareichelt.de> | 2019-12-15 05:05:34 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2019-12-15 05:05:34 +0700 |
commit | 06e027ef6e7ad0cdec58a1b5554ad63de2b51b29 (patch) | |
tree | 6e51f410a6c4ac5dddaa21a185f3919b83902c7d | |
parent | 0be266315ba8556cdc5ed8a7fa3b11839332063d (diff) |
network/tor: Updated for version 0.4.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r-- | network/tor/README.SLACKWARE | 10 | ||||
-rw-r--r-- | network/tor/tor.SlackBuild | 8 | ||||
-rw-r--r-- | network/tor/tor.info | 6 |
3 files changed, 19 insertions, 5 deletions
diff --git a/network/tor/README.SLACKWARE b/network/tor/README.SLACKWARE index c57309d816d1..cc4517511418 100644 --- a/network/tor/README.SLACKWARE +++ b/network/tor/README.SLACKWARE @@ -6,3 +6,13 @@ the newer script be sure to check changes to both /etc/rc.d/rc.tor.new and /etc/tor/torrc.new as some configurations values are now required and no longer passed on the command line. The original TorProject.org torrc configuration is always available as /etc/tor/torrc.sample. + +Since Tor 0.3.4.1-alpha the directory authority subsystem has been +modularized and can be disabled by passing --disable-module-dirauth to the +./configure script. This means that Tor compiled that way cannot run as a +directory authority or bridge authority. + +Starting from Tor 0.4.2.5 this is the default for the tor.SlackBuild. + +Also, since Tor 0.4.2.5 contrib/dist/torctl has been removed by upstream. +Have a look at https://bugs.torproject.org/30550 diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild index 74df585827e4..062e30b9f694 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 \ diff --git a/network/tor/tor.info b/network/tor/tor.info index 7cd8278b59a9..6c5855e67fb0 100644 --- a/network/tor/tor.info +++ b/network/tor/tor.info @@ -1,8 +1,8 @@ PRGNAM="tor" -VERSION="0.4.1.6" +VERSION="0.4.2.5" HOMEPAGE="https://www.torproject.org/" -DOWNLOAD="https://dist.torproject.org/tor-0.4.1.6.tar.gz" -MD5SUM="d5e290d2a09d4225693cebc37a83097f" +DOWNLOAD="https://dist.torproject.org/tor-0.4.2.5.tar.gz" +MD5SUM="ea9e9078ff2e175332f0095c60284458" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |