network/masscan: Updated for version 1.3.2.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Kent Fritz 2023-02-22 12:23:12 +07:00 committed by Willy Sudiarto Raharjo
parent c6df0735c2
commit 125d4f346f
2 changed files with 5 additions and 9 deletions

View file

@ -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

View file

@ -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=""