aboutsummaryrefslogtreecommitdiff
path: root/net/proxy
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-02 15:36:10 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-12-02 15:36:10 +0000
commitd7b9632409865af12c101c25f5fd0d496773cb23 (patch)
treec31b22e7b1390aca0be92d4336e905965b32c6a6 /net/proxy
parent90ab0c596e2c9613f7c5a03cd78b6f396d64470b (diff)
downloadslackbuilds-d7b9632409865af12c101c25f5fd0d496773cb23.tar.gz
slackbuilds-d7b9632409865af12c101c25f5fd0d496773cb23.tar.bz2
updated tsocks
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@744 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'net/proxy')
-rwxr-xr-xnet/proxy/tsocks/tsocks.SlackBuild9
1 files changed, 7 insertions, 2 deletions
diff --git a/net/proxy/tsocks/tsocks.SlackBuild b/net/proxy/tsocks/tsocks.SlackBuild
index fcef90b3..488a26d9 100755
--- a/net/proxy/tsocks/tsocks.SlackBuild
+++ b/net/proxy/tsocks/tsocks.SlackBuild
@@ -27,7 +27,7 @@ fi
# default settings
PACKAGE="tsocks"
ARCH=${ARCH:=i486}
-VERSION=${VERSION:=1.7}
+VERSION=${VERSION:=1.8beta5}
BUILD=${BUILD:=1rha}
SRC_DIR=${SRC:=$CWD}
TMP=${TMP:=/tmp}
@@ -64,7 +64,12 @@ mkdir -p $TMP
cd $TMP
tar xvf $SRC_DIR/$SRC || exit $ERROR_TAR
-cd $PACKAGE-$VERSION
+
+if echo $VERSION | grep -q "beta"; then
+ cd $PACKAGE-`echo $VERSION | sed -e 's/beta.*//'`
+else
+ cd $PACKAGE-$VERSION
+fi
if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then
patch -p1 < $CWD/$PACKAGE-$VERSION.diff || exit $ERROR_PATCH