mirror of
https://github.com/Ponce/slackbuilds
synced 2024-10-01 06:32:51 +02:00
network/tor: Updated for version 0.4.2.5.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
0be266315b
commit
06e027ef6e
3 changed files with 19 additions and 5 deletions
|
@ -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
|
||||
|
|
|
@ -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 \
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue