summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-14 08:14:05 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commitf8eba6cb2174ad8bdbc5f378cf70a65de5706910 (patch)
treecaba0d95507e118a467ad8023aa095bcb6044b08
parentfb9fb8a5e186fb70cdcae50f98d71973b7303c33 (diff)
downloadslackbuilds-f8eba6cb2174ad8bdbc5f378cf70a65de5706910.tar.gz
network/tor: Fix segfault or consuming 100% CPU.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/tor/tor.SlackBuild5
1 files changed, 2 insertions, 3 deletions
diff --git a/network/tor/tor.SlackBuild b/network/tor/tor.SlackBuild
index e54f02a725..c671a91127 100644
--- a/network/tor/tor.SlackBuild
+++ b/network/tor/tor.SlackBuild
@@ -26,7 +26,7 @@
PRGNAM=tor
VERSION=${VERSION:-0.2.7.6}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
# Select tor's default user/group
@@ -92,7 +92,7 @@ find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
-o -perm 511 \) -exec chmod 755 {} \; -o \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
- -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
+ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
CFLAGS="$SLKCFLAGS" \
./configure \
@@ -103,7 +103,6 @@ CFLAGS="$SLKCFLAGS" \
--libdir=/usr/lib${LIBDIRSUFFIX} \
--with-tor-user=$TOR_USER \
--with-tor-group=$TOR_GROUP \
- --enable-openbsd-malloc \
--build=$ARCH-slackware-linux
make