summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHannes Mehnert <hannes@gentoo.org>2002-12-03 01:29:48 +0000
committerHannes Mehnert <hannes@gentoo.org>2002-12-03 01:29:48 +0000
commit8157679b677e3e409c6a27344375a55d1e5841e7 (patch)
tree69757814836a631c50e8ff20cc1cc4ef0399b62e /net-analyzer
parentadded patch to compile on alpha (diff)
downloadhistorical-8157679b677e3e409c6a27344375a55d1e5841e7.tar.gz
historical-8157679b677e3e409c6a27344375a55d1e5841e7.tar.bz2
historical-8157679b677e3e409c6a27344375a55d1e5841e7.zip
version bump
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/nmap/ChangeLog7
-rw-r--r--net-analyzer/nmap/files/digest-nmap-3.10_alpha41
-rw-r--r--net-analyzer/nmap/nmap-3.10_alpha4.ebuild55
3 files changed, 62 insertions, 1 deletions
diff --git a/net-analyzer/nmap/ChangeLog b/net-analyzer/nmap/ChangeLog
index 7e31192557fb..b610cd3614b3 100644
--- a/net-analyzer/nmap/ChangeLog
+++ b/net-analyzer/nmap/ChangeLog
@@ -1,6 +1,11 @@
# 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.8 2002/10/23 21:03:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/nmap/ChangeLog,v 1.9 2002/12/03 01:29:48 hannes Exp $
+
+*nmap-3.10_alpha4 (02 Dec 2002)
+
+ 02 Dec 2002; Hannes Mehnert <hannes@gentoo.org> nmap-3.10_alpha4.ebuild :
+ Version bump with ~ in KEYWORDS
*nmap-3.10_alpha3 (23 Oct 2002)
diff --git a/net-analyzer/nmap/files/digest-nmap-3.10_alpha4 b/net-analyzer/nmap/files/digest-nmap-3.10_alpha4
new file mode 100644
index 000000000000..bb548112fde5
--- /dev/null
+++ b/net-analyzer/nmap/files/digest-nmap-3.10_alpha4
@@ -0,0 +1 @@
+MD5 40689c79b53dc964f1cf31293dadf14b nmap-3.10ALPHA4.tgz 955389
diff --git a/net-analyzer/nmap/nmap-3.10_alpha4.ebuild b/net-analyzer/nmap/nmap-3.10_alpha4.ebuild
new file mode 100644
index 000000000000..293ec5fe5c80
--- /dev/null
+++ b/net-analyzer/nmap/nmap-3.10_alpha4.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_alpha4.ebuild,v 1.1 2002/12/03 01:29:48 hannes 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 ~sparc64 ~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
+}