From 06e027ef6e7ad0cdec58a1b5554ad63de2b51b29 Mon Sep 17 00:00:00 2001 From: Markus Reichelt Date: Sun, 15 Dec 2019 05:05:34 +0700 Subject: network/tor: Updated for version 0.4.2.5. Signed-off-by: Willy Sudiarto Raharjo --- network/tor/README.SLACKWARE | 10 ++++++++++ network/tor/tor.SlackBuild | 8 ++++++-- network/tor/tor.info | 6 +++--- 3 files changed, 19 insertions(+), 5 deletions(-) (limited to 'network/tor') diff --git a/network/tor/README.SLACKWARE b/network/tor/README.SLACKWARE index c57309d816..cc45175114 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 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 \ diff --git a/network/tor/tor.info b/network/tor/tor.info index 7cd8278b59..6c5855e67f 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="" -- cgit v1.2.3