aboutsummaryrefslogtreecommitdiff
path: root/network/ncrack
diff options
context:
space:
mode:
authorDave Woodfall <dave@slackbuilds.org>2022-03-02 05:22:29 +0000
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-03-03 16:25:42 +0700
commitf17df731d16b740da31f8688c973e717a7c863ef (patch)
treea52d34fbe35704efa677a4487b50a70e7ed6ba2a /network/ncrack
parent7cb8913dee30f3d4c6b7b0606ba728c341893664 (diff)
network/ncrack: Updated for version 0.7.
Signed-off-by: Dave Woodfall <dave@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'network/ncrack')
-rw-r--r--network/ncrack/ncrack.SlackBuild9
-rw-r--r--network/ncrack/ncrack.info6
2 files changed, 7 insertions, 8 deletions
diff --git a/network/ncrack/ncrack.SlackBuild b/network/ncrack/ncrack.SlackBuild
index 237078e94c73..e65deaaa9504 100644
--- a/network/ncrack/ncrack.SlackBuild
+++ b/network/ncrack/ncrack.SlackBuild
@@ -25,8 +25,7 @@
cd $(dirname $0) ; CWD=$(pwd)
PRGNAM=ncrack
-VERSION=${VERSION:-0.6}
-SRCVER=${VERSION}.0
+VERSION=${VERSION:-0.7}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
PKGTYPE=${PKGTYPE:-tgz}
@@ -70,9 +69,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVER
+rm -rf $PRGNAM-$VERSION
tar xvf $CWD/$PRGNAM-$VERSION.tar.gz
-cd $PRGNAM-$SRCVER
+cd $PRGNAM-$VERSION
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 \
@@ -80,7 +79,7 @@ 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 {} \;
-CFLAGS="$SLKCFLAGS" \
+CFLAGS="$SLKCFLAGS -std=gnu11 -fcommon" \
CXXFLAGS="$SLKCFLAGS -fpermissive" \
./configure \
--prefix=/usr \
diff --git a/network/ncrack/ncrack.info b/network/ncrack/ncrack.info
index 7448777c8372..ebb67cfbed6e 100644
--- a/network/ncrack/ncrack.info
+++ b/network/ncrack/ncrack.info
@@ -1,8 +1,8 @@
PRGNAM="ncrack"
-VERSION="0.6"
+VERSION="0.7"
HOMEPAGE="https://nmap.org/ncrack/"
-DOWNLOAD="https://nmap.org/ncrack/dist/ncrack-0.6.tar.gz"
-MD5SUM="bde92d8b16949432c7e8b04614314e85"
+DOWNLOAD="https://nmap.org/ncrack/dist/ncrack-0.7.tar.gz"
+MD5SUM="a6417241c994d8687dcfef1f40ac3f34"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES=""