mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
network/masscan: Updated for version 1.3.2.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
c6df0735c2
commit
125d4f346f
2 changed files with 5 additions and 9 deletions
|
@ -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
|
||||
|
|
|
@ -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=""
|
||||
|
|
Loading…
Reference in a new issue