summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Sandall2008-12-10 13:25:19 -0800
committerEric Sandall2008-12-10 13:25:19 -0800
commit14af59d16387524b4afb46171087f9996e671a77 (patch)
tree6059d6ab5a76fac864d653a3b0835921c59d7b6b
parentced3ececbb9c3217bd29181251b1c25b535a6538 (diff)
nmap: fixed zenmap requirements #14922
(cherry-picked from commit 1af15b872f62992d3bc604104efd6088ac9c6350)
-rwxr-xr-xsecurity/nmap/DEPENDS11
-rw-r--r--security/nmap/HISTORY3
2 files changed, 11 insertions, 3 deletions
diff --git a/security/nmap/DEPENDS b/security/nmap/DEPENDS
index f7c57dfa81..6dfa322a78 100755
--- a/security/nmap/DEPENDS
+++ b/security/nmap/DEPENDS
@@ -1,8 +1,13 @@
depends g++ &&
-optional_depends pygtk2 \
- "" "--without-zenmap" \
- "for Zenmap graphical frontend" &&
+config_query_list ZENMAP "Who should provide the zenmap graphical frontend?" \
+ none "python with sqlite support" "pysqlite" &&
+case $ZENMAP in
+ none) depends gcc --without-zenmap ;;
+ "python with sqlite support") depends -sub sqlite python && depends pygtk2 ;;
+ "pysqlite") depends pysqlite && depends pygtk2 ;;
+ *) false ;;
+esac &&
optional_depends pcre \
"" "--with-libpcre=included" \
diff --git a/security/nmap/HISTORY b/security/nmap/HISTORY
index f265601bd0..fbf0de0e0b 100644
--- a/security/nmap/HISTORY
+++ b/security/nmap/HISTORY
@@ -1,3 +1,6 @@
+2008-12-04 Jaka Kranjc <lynxlynxlynx@sourcemage.org>
+ * DEPENDS: fixed zenmap requirements #14922
+
2008-09-12 Vlad Glagolev <stealth@sourcemage.org>
* DETAILS: updated spell to 4.76; fixed the desc