summaryrefslogtreecommitdiffstats
path: root/network/masscan
diff options
context:
space:
mode:
author Kent Fritz2023-02-22 06:23:12 +0100
committer Willy Sudiarto Raharjo2023-02-22 06:23:12 +0100
commit125d4f346fcf4330ecd8496243bcfa769dd40ed7 (patch)
treea546e8ce89dfe6b51c6558ce87830d0352b2b6c1 /network/masscan
parentc6df0735c21581b04954c1a50bae014afe7f72c7 (diff)
downloadslackbuilds-125d4f346fcf4330ecd8496243bcfa769dd40ed7.tar.gz
network/masscan: Updated for version 1.3.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/masscan')
-rw-r--r--network/masscan/masscan.SlackBuild8
-rw-r--r--network/masscan/masscan.info6
2 files changed, 5 insertions, 9 deletions
diff --git a/network/masscan/masscan.SlackBuild b/network/masscan/masscan.SlackBuild
index 210ee17d5e..3d7d7236ce 100644
--- a/network/masscan/masscan.SlackBuild
+++ b/network/masscan/masscan.SlackBuild
@@ -25,7 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=masscan
-VERSION=${VERSION:-1.0.5}
+VERSION=${VERSION:-1.3.2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,7 +70,7 @@ rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION.tar.gz || tar xvf $CWD/$VERSION.tar.gz
+tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
@@ -79,10 +79,6 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \
-o -perm 440 -o -perm 400 \) -exec chmod 644 {} \;
-# gcc-5 fixes thanks to Arch Linux
-sed -i "s|#elif defined(__GNUC__) && (__GNUC__ == 4)|#elif defined(__GNUC__)|" src/string_s.h
-sed -i -r "s|(CFLAGS )=|\1+=|g" Makefile
-
make
make install DESTDIR=$PKG
install -pDm644 doc/masscan.8 $PKG/usr/man/man8/masscan.8
diff --git a/network/masscan/masscan.info b/network/masscan/masscan.info
index a92dde099f..1c2638624e 100644
--- a/network/masscan/masscan.info
+++ b/network/masscan/masscan.info
@@ -1,8 +1,8 @@
PRGNAM="masscan"
-VERSION="1.0.5"
+VERSION="1.3.2"
HOMEPAGE="https://github.com/robertdavidgraham/masscan"
-DOWNLOAD="https://github.com/robertdavidgraham/masscan/archive/1.0.5.tar.gz"
-MD5SUM="708e02d58bf21bb7c55ea880df0317f5"
+DOWNLOAD="https://github.com/robertdavidgraham/masscan/archive/1.3.2/masscan-1.3.2.tar.gz"
+MD5SUM="468dc7d2f756625a491f33fdb5fbdfd3"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""