summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2021-04-02 19:33:12 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2021-04-03 08:48:33 +0700
commitb97dfd7b6b61289a0550861ad9cd2e71760418ba (patch)
tree0cefe0447bd1fa037a6f96b27a617cf5ac3705fd
parentd7aac7253f97ae5ef32cf38c4a6d15c952567ac2 (diff)
downloadslackbuilds-b97dfd7b6b61289a0550861ad9cd2e71760418ba.tar.gz
network/proxychains: Fix $DOWNLOAD, i486 -> i586.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
-rw-r--r--network/proxychains/proxychains.SlackBuild10
-rw-r--r--network/proxychains/proxychains.info2
2 files changed, 6 insertions, 6 deletions
diff --git a/network/proxychains/proxychains.SlackBuild b/network/proxychains/proxychains.SlackBuild
index 285c032375..c0719a5d2f 100644
--- a/network/proxychains/proxychains.SlackBuild
+++ b/network/proxychains/proxychains.SlackBuild
@@ -28,12 +28,12 @@
PRGNAM=proxychains
SRCNAM=proxychains-ng
VERSION=${VERSION:-4.14}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
- i?86) ARCH=i486 ;;
+ i?86) ARCH=i586 ;;
arm*) ARCH=arm ;;
*) ARCH=$( uname -m ) ;;
esac
@@ -44,8 +44,8 @@ TMP=${TMP:-/tmp/SBo}
PKG=$TMP/package-$PRGNAM
OUTPUT=${OUTPUT:-/tmp}
-if [ "$ARCH" = "i486" ]; then
- SLKCFLAGS="-O2 -march=i486 -mtune=i686"
+if [ "$ARCH" = "i586" ]; then
+ SLKCFLAGS="-O2 -march=i586 -mtune=i686"
LIBDIRSUFFIX=""
elif [ "$ARCH" = "i686" ]; then
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
@@ -64,7 +64,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $SRCNAM-$VERSION
-tar xvf $CWD/v$VERSION.tar.gz || tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
+tar xvf $CWD/$SRCNAM-$VERSION.tar.gz
cd $SRCNAM-$VERSION
chown -R root:root .
find -L . \
diff --git a/network/proxychains/proxychains.info b/network/proxychains/proxychains.info
index 66afb40a26..2f344a4236 100644
--- a/network/proxychains/proxychains.info
+++ b/network/proxychains/proxychains.info
@@ -1,7 +1,7 @@
PRGNAM="proxychains"
VERSION="4.14"
HOMEPAGE="https://github.com/rofl0r/proxychains-ng/"
-DOWNLOAD="https://github.com/rofl0r/proxychains-ng/archive/v4.14.tar.gz"
+DOWNLOAD="https://github.com/rofl0r/proxychains-ng/archive/v4.14/proxychains-ng-4.14.tar.gz"
MD5SUM="3232630140fe39d53796775285bb6652"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""