summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Januszewski <spock@gentoo.org>2006-02-14 22:08:41 +0000
committerMichael Januszewski <spock@gentoo.org>2006-02-14 22:08:41 +0000
commit7cb8fa4c454810d88fc09a0c5be0270d2e2e551d (patch)
treea208ffc1b48782b3f3011d1562efd0cd7b842982 /net-analyzer/nmap
parentAdded ~ppc64 (diff)
downloadgentoo-2-7cb8fa4c454810d88fc09a0c5be0270d2e2e551d.tar.gz
gentoo-2-7cb8fa4c454810d88fc09a0c5be0270d2e2e551d.tar.bz2
gentoo-2-7cb8fa4c454810d88fc09a0c5be0270d2e2e551d.zip
Version bump (bug #122691 by Matthew Lange).
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r--net-analyzer/nmap/ChangeLog7
-rw-r--r--net-analyzer/nmap/files/digest-nmap-4.013
-rw-r--r--net-analyzer/nmap/nmap-4.01.ebuild47
3 files changed, 56 insertions, 1 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 76d07c64f366..0525f9517a9d 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nmap
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.109 2006/02/04 10:54:53 spock Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.110 2006/02/14 22:08:41 spock Exp $
+
+*nmap-4.01 (14 Feb 2006)
+
+ 14 Feb 2006; Michał Januszewski <spock@gentoo.org> +nmap-4.01.ebuild:
+ Version bump (bug #122691 by Matthew Lange).
04 Feb 2006; Michał Januszewski <spock@gentoo.org>
+files/nmap-shtool-nls.patch, nmap-3.95.ebuild, nmap-3.9999.ebuild,
diff --git a/net-analyzer/nmap/files/digest-nmap-4.01 b/net-analyzer/nmap/files/digest-nmap-4.01
new file mode 100644
index 000000000000..65b3ffb8c3fd
--- /dev/null
+++ b/net-analyzer/nmap/files/digest-nmap-4.01
@@ -0,0 +1,3 @@
+MD5 09c259837b24f6c7385c2c1c49760a7c nmap-4.01.tar.bz2 1895276
+RMD160 9b711b68cac469162119b8ec458d82d2d39a353e nmap-4.01.tar.bz2 1895276
+SHA256 2b2cebaeee196dbf779cf7212b01dab8bb06b7e6807f45f3b62902bf84ffb58e nmap-4.01.tar.bz2 1895276
diff --git a/net-analyzer/nmap/nmap-4.01.ebuild b/net-analyzer/nmap/nmap-4.01.ebuild
new file mode 100644
index 000000000000..7012ec48eb53
--- /dev/null
+++ b/net-analyzer/nmap/nmap-4.01.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-4.01.ebuild,v 1.1 2006/02/14 22:08:41 spock Exp $
+
+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 ~ppc ~ppc-macos ~ppc64 ~s390 ~sh ~sparc ~x86"
+IUSE="gtk ssl"
+
+DEPEND="virtual/libc
+ dev-libs/libpcre
+ gtk? ( =x11-libs/gtk+-2* )
+ ssl? ( dev-libs/openssl )"
+
+src_unpack() {
+ unpack ${A}
+ cd ${S}
+ sed 's:Icon=icon-network:Icon=nmap-logo-64.png:' -i nmapfe.desktop
+ echo ";" >> nmapfe.desktop
+ epatch ${FILESDIR}/nmap-shtool-nls.patch
+}
+
+src_compile() {
+ use ppc-macos && filter-flags -fstrict-aliasing -O2
+ econf \
+ $(use_with gtk nmapfe) \
+ $(use_with ssl openssl) || die
+ emake -j1 || die
+}
+
+src_install() {
+ einstall -j1 nmapdatadir=${D}/usr/share/nmap install || die
+ dodoc CHANGELOG HACKING INSTALL docs/README docs/*.txt
+ dohtml docs/*.html
+
+ if use gtk; then
+ dodir /usr/share/pixmaps
+ insinto /usr/share/pixmaps
+ doins ${FILESDIR}/nmap-logo-64.png
+ fi
+}