[Lunar-commits] <moonbase> nmap: prefer included libs (see BUILD)
Auke Kok
sofar at foo-projects.org
Mon Feb 7 23:54:47 CET 2011
commit 2894babf8c31636c6e55749fc7f269abe52861bf
Author: Christian Krause <kizkizzbangbang at googlemail.com>
Date: Mon Feb 7 23:54:47 2011 +0100
nmap: prefer included libs (see BUILD)
---
security/nmap/BUILD | 11 +++++++++++
security/nmap/CONFIGURE | 4 ++++
security/nmap/DEPENDS | 10 +++++++++-
3 files changed, 24 insertions(+), 1 deletions(-)
diff --git a/security/nmap/BUILD b/security/nmap/BUILD
new file mode 100644
index 0000000..72483a7
--- /dev/null
+++ b/security/nmap/BUILD
@@ -0,0 +1,11 @@
+(
+
+ # 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" &&
+
+ default_build
+
+) > $C_FIFO 2>&1
diff --git a/security/nmap/CONFIGURE b/security/nmap/CONFIGURE
new file mode 100644
index 0000000..1dff9f1
--- /dev/null
+++ b/security/nmap/CONFIGURE
@@ -0,0 +1,4 @@
+mquery NSE "Enable Nmap Scripting Engine?" \
+ y \
+ "--with-liblua=included" \
+ "--without-liblua"
diff --git a/security/nmap/DEPENDS b/security/nmap/DEPENDS
index 756bcde..5dbd412 100644
--- a/security/nmap/DEPENDS
+++ b/security/nmap/DEPENDS
@@ -1 +1,9 @@
-optional_depends pygtk "" "--without-zenmap" "for zenmap"
+optional_depends "openssl" \
+ "--with-openssl" \
+ "--without-openssl" \
+ "for SSL support"
+
+optional_depends "pygtk" \
+ "--with-zenmap" \
+ "--without-zenmap" \
+ "for the Zenmap GUI"
More information about the Lunar-commits
mailing list