[SM-Commit] GIT changes to master grimoire by Jaka Kranjc (1af15b872f62992d3bc604104efd6088ac9c6350)

Jaka Kranjc scm at sourcemage.org
Thu Dec 4 15:45:10 EST 2008


GIT changes to master grimoire by Jaka Kranjc <lynxlynxlynx at sourcemage.org>:

 security/nmap/DEPENDS |   11 ++++++++---
 security/nmap/HISTORY |    3 +++
 2 files changed, 11 insertions(+), 3 deletions(-)

New commits:
commit 1af15b872f62992d3bc604104efd6088ac9c6350
Author: Jaka Kranjc <lynxlynxlynx at sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx at sourcemage.org>

    nmap: fixed zenmap requirements #14922

diff --git a/security/nmap/DEPENDS b/security/nmap/DEPENDS
index f7c57df..6dfa322 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 f265601..fbf0de0 100644
--- a/security/nmap/HISTORY
+++ b/security/nmap/HISTORY
@@ -1,3 +1,6 @@
+2008-12-04 Jaka Kranjc <lynxlynxlynx at sourcemage.org>
+	* DEPENDS: fixed zenmap requirements #14922
+
 2008-09-12 Vlad Glagolev <stealth at sourcemage.org>
 	* DETAILS: updated spell to 4.76; fixed the desc
 



More information about the SM-Commit mailing list