summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Hadaway <raker@gentoo.org>2003-02-08 01:22:07 +0000
committerNick Hadaway <raker@gentoo.org>2003-02-08 01:22:07 +0000
commitffc51c1cb771960675dcc906d0321bf0a1977da8 (patch)
tree787b69ca45e21cb179474c9c1fe874350c931c8c /net-analyzer/nmap
parentnew ID3 tag editor (diff)
downloadgentoo-2-ffc51c1cb771960675dcc906d0321bf0a1977da8.tar.gz
gentoo-2-ffc51c1cb771960675dcc906d0321bf0a1977da8.tar.bz2
gentoo-2-ffc51c1cb771960675dcc906d0321bf0a1977da8.zip
Version bump.
Diffstat (limited to 'net-analyzer/nmap')
-rw-r--r--net-analyzer/nmap/ChangeLog8
-rw-r--r--net-analyzer/nmap/files/digest-nmap-3.10_alpha91
-rw-r--r--net-analyzer/nmap/nmap-3.10_alpha9.ebuild55
3 files changed, 63 insertions, 1 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 82ccb23ba90b..29b16651ba44 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/nmap
# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.12 2002/12/15 11:58:45 bjb Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.13 2003/02/08 01:22:07 raker Exp $
+
+*nmap-3.10_alpha9 (07 Feb 2003)
+
+ 07 Feb 2003; Nick Hadaway <raker@gentoo.org> nmap-3.10_alpha9.ebuild,
+ files/digest-nmap-3.10_alpha9 :
+ Version bump.
06 Dec 2002; Rodney Rees <manson@gentoo.org> : changed sparc ~sparc keywords
diff --git a/net-analyzer/nmap/files/digest-nmap-3.10_alpha9 b/net-analyzer/nmap/files/digest-nmap-3.10_alpha9
new file mode 100644
index 000000000000..c98552228dc0
--- /dev/null
+++ b/net-analyzer/nmap/files/digest-nmap-3.10_alpha9
@@ -0,0 +1 @@
+MD5 c36f6246e39a636a572f34bd386237b2 nmap-3.10ALPHA9.tgz 1067622
diff --git a/net-analyzer/nmap/nmap-3.10_alpha9.ebuild b/net-analyzer/nmap/nmap-3.10_alpha9.ebuild
new file mode 100644
index 000000000000..73d4ce55e877
--- /dev/null
+++ b/net-analyzer/nmap/nmap-3.10_alpha9.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/nmap-3.10_alpha9.ebuild,v 1.1 2003/02/08 01:22:07 raker Exp $
+
+inherit gcc
+
+IUSE="gtk gnome ipv6"
+
+MY_P="${P/_alpha/ALPHA}"
+S=${WORKDIR}/${MY_P}
+DESCRIPTION="Portscanner"
+SRC_URI="http://www.insecure.org/nmap/dist/${MY_P}.tgz"
+HOMEPAGE="http://www.insecure.org/nmap/"
+DEPEND="virtual/glibc
+ gtk? ( =x11-libs/gtk+-1.2* )"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc sparc ~alpha"
+
+src_compile() {
+ # 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
+
+ use ipv6 \
+ && econf --enable-ipv6 \
+ || econf
+
+ use gtk \
+ && make \
+ || make nmap
+}
+
+src_install() {
+ local myinst
+
+ # If gnome does not exist on the system, there is no need for the gnome
+ # menu item.
+ use gnome || myinst="${myinst} deskdir=${S}"
+
+ make \
+ prefix=${D}/usr \
+ mandir=${D}/usr/share/man \
+ nmapdatadir=${D}/usr/share/nmap \
+ install || die
+
+ dodoc CHANGELOG COPYING HACKING README*
+ cd docs
+ dodoc *.txt
+ dohtml *.html
+}