summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Holzer <mholzer@gentoo.org>2003-06-12 20:07:33 +0000
committerMartin Holzer <mholzer@gentoo.org>2003-06-12 20:07:33 +0000
commit1e94bca404e05266492af4beb57485ded7d4b8bf (patch)
treee5c5611884a7228b7f8a669689a50124132d4b01 /net-analyzer/nmap
parent Added statistics patch. Closes #20250. (diff)
downloadgentoo-2-1e94bca404e05266492af4beb57485ded7d4b8bf.tar.gz
gentoo-2-1e94bca404e05266492af4beb57485ded7d4b8bf.tar.bz2
gentoo-2-1e94bca404e05266492af4beb57485ded7d4b8bf.zip
Added statistics patch. Closes #20250.
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r--net-analyzer/nmap/ChangeLog7
-rw-r--r--net-analyzer/nmap/Manifest4
-rw-r--r--net-analyzer/nmap/files/digest-nmap-3.20-r12
-rw-r--r--net-analyzer/nmap/nmap-3.20-r1.ebuild43
4 files changed, 53 insertions, 3 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 432181988fb5..e2e7833ac0e3 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/nmap
# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.28 2003/06/04 21:22:43 joker Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.29 2003/06/12 20:07:23 mholzer Exp $
+
+*nmap-3.20-r1 (12 Jun 2003)
+
+ 12 Jun 2003; Martin Holzer <mholzer@gentoo.org> nmap-3.20-r1.ebuild:
+ Added statistics patch. Closes #20250.
04 Jun 2003; Christian Birchinger <joker@gentoo.org> nmap-3.27.ebuild:
Added sparc stable keyword
diff --git a/net-analyzer/nmap/Manifest b/net-analyzer/nmap/Manifest
index e6dd8eee0ed5..4cb9924e3541 100644
--- a/net-analyzer/nmap/Manifest
+++ b/net-analyzer/nmap/Manifest
@@ -1,6 +1,6 @@
-MD5 61c35b34027e1954266316a515c89fbf ChangeLog 4323
+MD5 188e59d56376a87139d5382d361dd1d7 ChangeLog 4467
MD5 3cde9656f604318552895f65e4e5ab15 nmap-3.00.ebuild 1031
-MD5 7df63d890e3a44582ab35fb6cf02bb0e nmap-3.20-r1.ebuild 1146
+MD5 88598dcb6b57cb9313298443d491567f nmap-3.20-r1.ebuild 1150
MD5 dd0c1e5855906f5a8a0150cd770075c4 nmap-3.20.ebuild 1003
MD5 a8e66e3331103e04ccf2ead3ad3ce2b6 nmap-3.27.ebuild 1002
MD5 b974965bf7f0a11a9bbd7829b3f81e42 files/digest-nmap-3.00 58
diff --git a/net-analyzer/nmap/files/digest-nmap-3.20-r1 b/net-analyzer/nmap/files/digest-nmap-3.20-r1
new file mode 100644
index 000000000000..1b3e6c2cab55
--- /dev/null
+++ b/net-analyzer/nmap/files/digest-nmap-3.20-r1
@@ -0,0 +1,2 @@
+MD5 00f42f5477cc2499f5f68479702dd224 nmap-3.20.tar.bz2 871200
+MD5 8b2d99c9ce76001cd3dcd91ef4bed9b7 nmap-3.20_statistics-1.diff 6323
diff --git a/net-analyzer/nmap/nmap-3.20-r1.ebuild b/net-analyzer/nmap/nmap-3.20-r1.ebuild
new file mode 100644
index 000000000000..459a8a13427e
--- /dev/null
+++ b/net-analyzer/nmap/nmap-3.20-r1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2003 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-3.20-r1.ebuild,v 1.1 2003/06/12 20:07:23 mholzer Exp $
+
+inherit gcc eutils
+
+DESCRIPTION="utility for network exploration or security auditing"
+SRC_URI="http://www.insecure.org/nmap/dist/${P}.tar.bz2
+ http://www.packetstormsecurity.nl/UNIX/nmap/${P}_statistics-1.diff"
+HOMEPAGE="http://www.insecure.org/nmap/"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="x86 ~ppc sparc ~alpha hppa"
+IUSE="gtk gnome"
+
+DEPEND="virtual/glibc
+ gtk? ( =x11-libs/gtk+-1.2* )"
+
+src_compile() {
+ # nmap statistics patch
+ epatch ${DISTDIR}/${P}_statistics-1.diff
+ # fix header
+ if [ `gcc-major-version` -eq 3 ] ; then
+ cp nbase/nbase.h nbase/nbase.h.old
+ sed -e 's:char \*strcasestr://:' \
+ nbase/nbase.h.old > nbase/nbase.h
+ fi
+
+ econf `use_with gtk nmapfe` || die
+ emake || die
+}
+
+src_install() {
+ einstall \
+ nmapdatadir=${D}/usr/share/nmap \
+ install \
+ || die
+ use gnome || rm -rf ${D}/usr/share/gnome/
+
+ dodoc CHANGELOG COPYING HACKING INSTALL README* docs/README docs/*.txt
+ dohtml docs/*.html
+}