Bug 202209 - net-analyzer/nmap 4.50 available
Bug#: 202209 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: spock@gentoo.org Reported By: mmlange@gmail.com
Component: Ebuilds
URL: 
Summary: net-analyzer/nmap 4.50 available
Keywords:  
Status Whiteboard: 
Opened: 2007-12-14 02:04 0000
Description:   Opened: 2007-12-14 02:04 0000
Version 4.50 is now available.
http://insecure.org/nmap/

cp nmap-4.20.ebuild nmap-4.50.ebuild

------- Comment #1 From fireboot 2007-12-14 04:18:53 0000 -------
Hi,

Nmap 4.50 is a new major release, which should don't be merge like the old Nmap
4.20

It includes a new gui (zenmap) which need some new dependencies, like Python,
PyGTK, Pysqlite (and optionnaly, Psyco)

I'm working on a new ebuild

++

------- Comment #2 From fireboot 2007-12-15 05:56:46 0000 -------
Created an attachment (id=138530) [details]
Ebuild for nmap-4.50

Ebuild which takes account of new nmap dependencies

------- Comment #3 From fireboot 2007-12-15 06:03:35 0000 -------
(From update of attachment 138530 [details])
><HTML><HEAD/><BODY><PRE># Copyright 1999-2007 Gentoo Foundation
># Distributed under the terms of the GNU General Public License v2
># $Header: $
>
> 
>inherit eutils flag-o-matic
> 
>DESCRIPTION="A utility for network exploration or security auditing"
>HOMEPAGE="http://www.insecure.org/nmap/"
>SRC_URI="http://download.insecure.org/nmap/dist/${P}.tar.bz2"
> 
>LICENSE="GPL-2"
>SLOT="0"
>KEYWORDS="alpha amd64 arm hppa ia64 mips ppc ppc64 s390 sh sparc x86 ~x86-fbsd"
>IUSE="gtk ssl"
> 
>DEPEND="dev-libs/libpcre
>        net-libs/libpcap
>
>        gtk? ( &gt;=dev-lang/python-2.5 )
>        gtk? ( dev-python/pygtk )
>        gtk? ( =dev-python/pysqlite-2* )
>        gtk? ( dev-python/psyco )
>        ssl? ( dev-libs/openssl )"
>        
>src_unpack() {
>        unpack
>
>}
>src_compile() {
> econf \
>                --with-libdnet=included \
>                $(use_with gtk zenmap) \
>                $(use_with ssl openssl) || die
>
>        emake -j1 || die
>        
>}
>src_install() {
>        emake DESTDIR="${D}" -j1 nmapdatadir=/usr/share/nmap install || die "Install failed"
>        dodoc CHANGELOG HACKING docs/* || die
> 
>        use gtk &amp;&amp; doicon "${FILESDIR}/zenmap/share/icons/umit_48.ico"
>        
>}</PRE></BODY></HTML>

------- Comment #4 From fireboot 2007-12-15 06:07:18 0000 -------
(From update of attachment 138530 [details])
There is a mistake in the ebuild : the new link to the tarball is : 

http://download.insecure.org/nmap/dist/nmap-4.50.tar.bz2

------- Comment #5 From Michal Januszewski 2007-12-15 15:01:02 0000 -------
Added to CVS.  Thanks for info about the new version and the zenmap-related
changes in 4.50.