summaryrefslogtreecommitdiff
path: root/network
diff options
context:
space:
mode:
Diffstat (limited to 'network')
-rw-r--r--network/unicornscan/unicornscan.SlackBuild11
-rw-r--r--network/unicornscan/unicornscan.info2
2 files changed, 8 insertions, 5 deletions
diff --git a/network/unicornscan/unicornscan.SlackBuild b/network/unicornscan/unicornscan.SlackBuild
index e82cb81d6b..616a9308fb 100644
--- a/network/unicornscan/unicornscan.SlackBuild
+++ b/network/unicornscan/unicornscan.SlackBuild
@@ -24,10 +24,13 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=unicornscan
-VERSION=${VERSION:-0.4.7}
+VERSION=${VERSION:-0.4.7_2}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
+SRCVER=$(echo $VERSION | tr _ -)
+SHORTVER=$(echo $VERSION | sed 's/_.*//')
+
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
@@ -60,9 +63,9 @@ set -e
rm -rf $PKG
mkdir -p $TMP $PKG $OUTPUT
cd $TMP
-rm -rf $PRGNAM-$VERSION
-tar xvf $CWD/$PRGNAM-$VERSION-2.tar.bz2
-cd $PRGNAM-$VERSION
+rm -rf $PRGNAM-$SHORTVER
+tar xvf $CWD/$PRGNAM-$SRCVER.tar.bz2
+cd $PRGNAM-$SHORTVER
chown -R root:root .
find -L . \
\( -perm 777 -o -perm 775 -o -perm 750 -o -perm 711 -o -perm 555 -o -perm 511 \) \
diff --git a/network/unicornscan/unicornscan.info b/network/unicornscan/unicornscan.info
index 14fcf3e032..8d2877d261 100644
--- a/network/unicornscan/unicornscan.info
+++ b/network/unicornscan/unicornscan.info
@@ -1,5 +1,5 @@
PRGNAM="unicornscan"
-VERSION="0.4.7-2"
+VERSION="0.4.7_2"
HOMEPAGE="http://unicornscan.org"
DOWNLOAD="http://unicornscan.org/releases/unicornscan-0.4.7-2.tar.bz2"
MD5SUM="4c5f272eb38c333c0094c32317edf758"