summaryrefslogtreecommitdiffstats
path: root/source/n/nmap/nmap.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/n/nmap/nmap.SlackBuild')
-rwxr-xr-xsource/n/nmap/nmap.SlackBuild9
1 files changed, 6 insertions, 3 deletions
diff --git a/source/n/nmap/nmap.SlackBuild b/source/n/nmap/nmap.SlackBuild
index d228e63aa..a513a93e7 100755
--- a/source/n/nmap/nmap.SlackBuild
+++ b/source/n/nmap/nmap.SlackBuild
@@ -1,6 +1,6 @@
#!/bin/sh
-# Copyright 2008, 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA
+# Copyright 2008, 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA
# All rights reserved.
#
# Redistribution and use of this script, with or without modification, is
@@ -20,8 +20,8 @@
# OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-VERSION=${VERSION:-5.51}
-BUILD=${BUILD:-1}
+VERSION=${VERSION:-6.01}
+BUILD=${BUILD:-2}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -72,6 +72,8 @@ find . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# --without-nmap-update is needed below to avoid depending on apr and subversion libraries.
+# It's not worth the feature IMHO.
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \
@@ -79,6 +81,7 @@ CFLAGS="$SLKCFLAGS" \
--with-liblua=included \
--mandir=/usr/man \
--docdir=/usr/doc/nmap-$VERSION \
+ --without-nmap-update \
--build=$ARCH-slackware-linux
make $NUMJOBS || make || exit 1