summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Clemons <andrew.clemons@gmail.com>2017-04-09 15:30:35 +0100
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2017-04-13 07:27:47 +0700
commit937f183add73d244baef0fb0c5204da464ac34c2 (patch)
tree910acdbbf10214f152758f4d4e4bf3059cdbd21b
parent6a6631c09a0d37ca263d0615a1be0af48ca085c1 (diff)
downloadslackbuilds-937f183add73d244baef0fb0c5204da464ac34c2.tar.gz
network/sslscan: Updated for version 1.11.9.
Signed-off-by: David Spencer <idlemoor@slackbuilds.org>
-rw-r--r--network/sslscan/sslscan.SlackBuild16
-rw-r--r--network/sslscan/sslscan.info6
2 files changed, 10 insertions, 12 deletions
diff --git a/network/sslscan/sslscan.SlackBuild b/network/sslscan/sslscan.SlackBuild
index 1f399c5419..a46dffe652 100644
--- a/network/sslscan/sslscan.SlackBuild
+++ b/network/sslscan/sslscan.SlackBuild
@@ -33,9 +33,7 @@
# 2014-10-23 - changed to build rbsec's fork from github
PRGNAM=sslscan
-VERSION=${VERSION:-1.11.8_rbsec}
-SRCVERS=$(echo "$VERSION" | tr _ -)
-BASEVERS=$(echo "$VERSION" | sed 's/_.*$//' )
+VERSION=${VERSION:-1.11.9}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -71,13 +69,13 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$SRCVERS
-tar xvf $CWD/$PRGNAM-$SRCVERS.tar.gz
-cd $PRGNAM-$SRCVERS
+rm -rf $PRGNAM-$VERSION-rbsec
+tar xvf $CWD/$PRGNAM-$VERSION-rbsec.tar.gz
+cd $PRGNAM-$VERSION-rbsec
patch -p1 < $CWD/Makefile.diff
-sed -i "s/^GIT_VERSION = .*$/GIT_VERSION = $BASEVERS/" Makefile
+sed -i "s/^GIT_VERSION = .*$/GIT_VERSION = $VERSION/" Makefile
STATIC=${STATIC:-yes}
@@ -102,9 +100,9 @@ sed -i "s|^\(PREFIX\).*$|\1 = $PKG/usr|" Makefile
sed -i "s|^\(MANDIR\).*$|\1 = $PKG/usr/man|" Makefile
if [ "$STATIC" = "yes" ] ; then
- make static
+ make -j1 static
else
- make
+ make -j1
fi
make install
diff --git a/network/sslscan/sslscan.info b/network/sslscan/sslscan.info
index ac5b5d39a5..05d0c4864c 100644
--- a/network/sslscan/sslscan.info
+++ b/network/sslscan/sslscan.info
@@ -1,9 +1,9 @@
PRGNAM="sslscan"
-VERSION="1.11.8_rbsec"
+VERSION="1.11.9"
HOMEPAGE="https://github.com/rbsec/sslscan"
-DOWNLOAD="https://github.com/rbsec/sslscan/archive/1.11.8-rbsec/sslscan-1.11.8-rbsec.tar.gz \
+DOWNLOAD="https://github.com/rbsec/sslscan/archive/1.11.9-rbsec/sslscan-1.11.9-rbsec.tar.gz \
https://github.com/openssl/openssl/archive/OpenSSL_1_0_2k/openssl-OpenSSL_1_0_2k.tar.gz"
-MD5SUM="2f61a1074d25cdb0467a3900dddad888 \
+MD5SUM="827ff2cc70a7a86a880159f3a455daf7 \
c9bfbe6848476fa920306e327f28ccf5"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""