Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net
In directory sc8-pr-cvs17.sourceforge.net:/tmp/cvs-serv20089

Modified Files:
        nmap.info 
Added Files:
        zenmap.info 
Log Message:
Factored out GUI into separate 'zenmap' package. 'nmap' now contains only the 
CLI tool and 'nmap-nox' is obsolete.

Index: nmap.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/net/nmap.info,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -d -r1.14 -r1.15
--- nmap.info   13 Sep 2008 22:24:25 -0000      1.14
+++ nmap.info   28 Sep 2008 17:32:14 -0000      1.15
@@ -1,10 +1,9 @@
 Info2: <<
-Package: nmap%type_pkg[-nox]
+Package: nmap
 Version: 4.76
-Revision: 1
+Revision: 2
 GCC: 4.0
 Maintainer: Daniel Johnson <[EMAIL PROTECTED]>
-Type: -nox (boolean), python (2.5)
 
 BuildDepends: <<
        fink (>= 0.24.12),
@@ -18,17 +17,15 @@
        libdnet1-shlibs,
        libpcap-shlibs,
        lua51-shlibs,
-       pcre-shlibs,
-       (%type_raw[-nox] = .) python%type_pkg[python],
-       (%type_raw[-nox] = .) pygtk2-gtk-py%type_pkg[python]
+       pcre-shlibs
 <<
-Conflicts: nmap-nox, nmap, (%type_raw[-nox] = .) umit
-Replaces: nmap-nox, nmap, (%type_raw[-nox] = .) umit
-Recommends: (%type_raw[-nox] = .) psyco-py%type_pkg[python]
+Conflicts: nmap-nox (<< 4.76-2), nmap (<< 4.76-2)
+Replaces: nmap-nox (<< 4.76-2), nmap (<< 4.76-2)
+Recommends: zenmap
 
-Source: http://nmap.org/dist/%{Ni}-%v.tar.bz2
+Source: http://nmap.org/dist/%n-%v.tar.bz2
 Source-MD5: 278dd2e849cc3dbb947df961a1aaffd0
-SourceDirectory: %{Ni}-%v
+SourceDirectory: %n-%v
 
 PatchScript: <<
        # Don't use -no-cpp-precomp as it's a no-op.
@@ -47,25 +44,17 @@
        --with-openssl=%p/lib/system-openssl \
        --with-libpcre=%p \
        --with-libdnet=%p \
-       --with-liblua=yes
+       --with-liblua=yes \
+       --without-zenmap
 <<
 CompileScript: <<
-       #!/bin/bash -ev
-       if [ "%type_raw[-nox]" == "." ]; then
-               ./configure %c --with-zenmap 
PYTHON=%p/bin/python%type_raw[python]
-       else
-               ./configure %c --without-zenmap
-       fi
+       ./configure %c
        
        # This hack is necessary to ensure that the system's openssl is always 
used.
        make LDFLAGS='-L%p/lib/system-openssl/lib -L%p/lib -L%b/nbase 
-L%b/nsock/src/ $(STATIC)'
 <<
 InstallScript: <<
-       #!/bin/bash -ev
-       make install DESTDIR=%d 
DEFAULT_PYTHON_PATH='%p/bin/python%type_raw[python]'
-       if [ "%type_raw[-nox]" == "." ]; then
-               /bin/rm %i/bin/uninstall_zenmap
-       fi
+       make install DESTDIR=%d
 <<
 
 DocFiles: CHANGELOG COPYING HACKING docs/README docs/*.txt
@@ -76,31 +65,25 @@
        scanning, reverse-identd scanning and others.
        
        Version 3.46 thanks to Alex Barclay <[EMAIL PROTECTED]>.
-<<
-DescUsage: <<
-       On Intel Macs, installing psyco-py%type_pkg[python] will speed up the
-       zenmap front end.
+       
+       The GUI is now included in the 'zenmap' package.
 <<
 DescPackaging: <<
-       ConfigureParams installs manpages in correct directories and uses 
installed
-       version of libpcap.
-       Makes use of the variant system introduced in Fink 0.19.2.
-       
-       Upgraded to 4.03 since previous version didn't work on Intel.
-       Changed dependency from glib/gtk+ to glib2/gtk+2 since it would
-       link to the later if installed. Added missing dependencies. Upgraded
-       gettext to libgettext3. Added BD on system-openssl-dev since otherwise
-       openssl linking varies. --danielj7
-       
-       Changed ConfigureParams yet more to ensure consistant linking.
-       
-       Use Fink-installed libpcre and libdnet instead of building our own.
+       Use Fink-installed libpcre, libdnet and libpcap  instead of building 
our own.
        Now scriptable with lua!
-       The old nmapfe GUI has been replaced with the python-based zenmap.
-       zenmap should be run as root or with sudo.
        
        Previously maintained by Jeremy Higgs <[EMAIL PROTECTED]>
 <<
 License: GPL
 Homepage: http://nmap.org/
+
+SplitOff: <<
+       Package: nmap-nox
+       
+       Description: OBSOLETE use nmap instead
+       
+       Depends: nmap (>= 4.76-2), fink-obsolete-packages
+       
+       DocFiles: COPYING
+<<
 <<

--- NEW FILE: zenmap.info ---
Info2: <<
Package: zenmap
Version: 4.76
Revision: 2
Maintainer: Daniel Johnson <[EMAIL PROTECTED]>
Type: python (2.5)
Description: Offical Nmap GUI
DescDetail: <<
        Zenmap is the official Nmap Security Scanner GUI. It is a
        multi-platform (Linux, Windows, Mac OS X, BSD, etc.) free and open
        source application which aims to make Nmap easy for beginners to use
        while providing advanced features for experienced Nmap users.
        Frequently used scans can be saved as profiles to make them easy to run
        repeatedly. A command creator allows interactive creation of Nmap
        command lines. Scan results can be saved and viewed later. Saved scan
        results can be compared with one another to see how they differ. The
        results of recent scans are stored in a searchable database.
<<
DescUsage: <<
        On Intel Macs, installing psyco-py%type_pkg[python] will speed up the
        zenmap front end.
        
        zenmap should be run as root or with sudo.
<<
License: GPL
Homepage: http://nmap.org/zenmap

BuildDepends: <<
        fink (>= 0.24.12)
<<
Depends: <<
        desktop-file-utils,
        nmap (>= 4.76-2),
        python%type_pkg[python],
        pygtk2-gtk-py%type_pkg[python]
<<
Recommends: psyco-py%type_pkg[python]
Conflicts: nmap (<< 4.76-2), umit
Replaces: nmap (<< 4.76-2), umit

Source: http://nmap.org/dist/nmap-%v.tar.bz2
Source-MD5: 278dd2e849cc3dbb947df961a1aaffd0
SourceDirectory: nmap-%v

CompileScript: <<
        cd zenmap && %p/bin/python%type_raw[python] setup.py build
<<

InstallScript: <<
        cd zenmap && %p/bin/python%type_raw[python] setup.py install 
--prefix=%p --root=%d
        install -d %i/share/man/man1
        install -c -m 644 docs/zenmap.1 %i/share/man/man1
        /bin/ln -sf zenmap %i/bin/nmapfe
        /bin/ln -sf zenmap %i/bin/xnmap
        /bin/rm %i/bin/uninstall_zenmap
<<
DocFiles: CHANGELOG COPYING HACKING docs/README

PostInstScript: [ -x %p/bin/update-desktop-database ] && 
update-desktop-database -q %p/share/applications || :

PostRmScript: [ -x %p/bin/update-desktop-database ] && update-desktop-database 
-q %p/share/applications || :
<<


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Fink-commits mailing list
Fink-commits@lists.sourceforge.net
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to