[Lunar-commits] <moonbase> nmap: Adding a patch after confirming a build issue found by Richard B. Pyne, see mail list;

Dennis `stumbles` Veatch stumbles at lunar-linux.org
Fri Sep 30 12:31:07 CEST 2011


commit a9d8f662538806cb5ecd8d85e4a64a0dd882dda3
Author: Dennis `stumbles` Veatch <stumbles at lunar-linux.org>
Date:   Fri Sep 30 06:31:07 2011 -0400

    nmap: Adding a patch after confirming a build issue found by Richard B. Pyne, see mail list;
    
    http://foo-projects.org/pipermail/lunar/2011-September/008725.html
    
    The patch is taken from this nmap thread; http://seclists.org/nmap-dev/2010/q2/848 .
    While they do not mention it, the patch also needs to be applied to ncat.
---
 security/nmap/BUILD     |   11 ++++++++---
 security/nmap/CONFIGURE |    5 +----
 security/nmap/DETAILS   |    5 ++++-
 3 files changed, 13 insertions(+), 8 deletions(-)

diff --git a/security/nmap/BUILD b/security/nmap/BUILD
index 72483a7..3772cd6 100644
--- a/security/nmap/BUILD
+++ b/security/nmap/BUILD
@@ -1,10 +1,15 @@
 (
 
+  patch_it $SOURCE2 0 &&
+  cd nping &&
+  patch_it $SOURCE2 0 &&
+  cd ../ncat &&
+  patch_it $SOURCE2 0 &&
+  cd $SOURCE_DIRECTORY &&
+
   # use always nmaps own optimized library variants
   # this provides better reliability and performance
-  OPTS+=" --with-libpcap=included" &&
-  OPTS+=" --with-libpcre=included" &&
-  OPTS+=" --with-libdnet=included" &&
+  OPTS+=" --with-libpcap=included --with-libdnet=included --with-libpcre=included" &&
 
   default_build
 
diff --git a/security/nmap/CONFIGURE b/security/nmap/CONFIGURE
index 1dff9f1..00b6682 100644
--- a/security/nmap/CONFIGURE
+++ b/security/nmap/CONFIGURE
@@ -1,4 +1 @@
-mquery NSE "Enable Nmap Scripting Engine?" \
-           y                               \
-           "--with-liblua=included"        \
-           "--without-liblua"
+mquery NSE "Enable Nmap Scripting Engine?" y "--with-liblua=included" "--without-liblua"
diff --git a/security/nmap/DETAILS b/security/nmap/DETAILS
index d1e3911..495a108 100644
--- a/security/nmap/DETAILS
+++ b/security/nmap/DETAILS
@@ -1,11 +1,14 @@
           MODULE=nmap
          VERSION=5.51
           SOURCE=$MODULE-$VERSION.tar.bz2
+         SOURCE2=configure-libnl.diff
       SOURCE_URL=http://nmap.org/dist
+     SOURCE2_URL=http://seclists.org/nmap-dev/2010/q2/att-606/
       SOURCE_VFY=sha1:3415ad9a3915d7e162c9e91435cc35d9c73ac7f6
+     SOURCE2_VFY=sha1:6a50b713b407acab5b1bb5925a9db951bf14ebc7
         WEB_SITE=http://nmap.org
          ENTERED=20010922
-         UPDATED=20110212
+         UPDATED=20110930
            SHORT="A utility for network exploration or security auditing"
 
 cat << EOF


More information about the Lunar-commits mailing list