diff options
author | Mike Frysinger <vapier@gentoo.org> | 2004-09-25 05:00:04 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2004-09-25 05:00:04 +0000 |
commit | d22b9f911459c5e2a1df6f576e78518400a7dd7f (patch) | |
tree | f0c85e7b09de3f5da69ba977a4b4b8dda5546d9f /net-analyzer/amap | |
parent | ver bump #64451 (Manifest recommit) (diff) | |
download | gentoo-2-d22b9f911459c5e2a1df6f576e78518400a7dd7f.tar.gz gentoo-2-d22b9f911459c5e2a1df6f576e78518400a7dd7f.tar.bz2 gentoo-2-d22b9f911459c5e2a1df6f576e78518400a7dd7f.zip |
ver bump #64453
Diffstat (limited to 'net-analyzer/amap')
-rw-r--r-- | net-analyzer/amap/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/amap/amap-4.6.ebuild | 56 | ||||
-rw-r--r-- | net-analyzer/amap/files/digest-amap-4.6 | 1 |
3 files changed, 63 insertions, 1 deletions
diff --git a/net-analyzer/amap/ChangeLog b/net-analyzer/amap/ChangeLog index 62ab61d749af..5770de0180f5 100644 --- a/net-analyzer/amap/ChangeLog +++ b/net-analyzer/amap/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/amap # Copyright 2000-2004 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/ChangeLog,v 1.13 2004/08/22 22:56:54 weeve Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/ChangeLog,v 1.14 2004/09/25 05:00:04 vapier Exp $ + +*amap-4.6 (25 Sep 2004) + + 25 Sep 2004; Mike Frysinger <vapier@gentoo.org> +amap-4.6.ebuild: + Version bump #64453 by Daniel Webert. 22 Aug 2004; Jason Wever <weeve@gentoo.org> amap-4.5.ebuild: Stable on sparc. diff --git a/net-analyzer/amap/amap-4.6.ebuild b/net-analyzer/amap/amap-4.6.ebuild new file mode 100644 index 000000000000..29f37dc02ec5 --- /dev/null +++ b/net-analyzer/amap/amap-4.6.ebuild @@ -0,0 +1,56 @@ +# Copyright 1999-2004 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/amap-4.6.ebuild,v 1.1 2004/09/25 05:00:04 vapier Exp $ + +inherit eutils + +DESCRIPTION="A network scanning tool for pentesters" +HOMEPAGE="http://www.thc.org/releases.php" +SRC_URI="http://packetstormsecurity.nl/groups/thc/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="amd64 ia64 ppc ppc64 sparc x86" +IUSE="ssl" + +DEPEND="virtual/libc + ssl? ( >=dev-libs/openssl-0.9.6j )" + +src_unpack() { + unpack ${A} + cd ${S} + sed -i \ + -e 's:/usr/local:/usr:' \ + -e '/AMAP_APPDEF_PATH/s:/bin:/share/amap:' \ + amap.h || die + + rm -rf pcre-3.9 + epatch ${FILESDIR}/${PV}-system-pcre.patch +} + +src_compile() { + # has it's own stupid custom configure script + ./configure || die "configure" + sed -i \ + -e '/^XDEFINES=/s:=.*:=:' \ + -e '/^XLIBS=/s:=.*:=:' \ + -e '/^XLIBPATHS/s:=.*:=:' \ + -e '/^XIPATHS=/s:=.*:=:' \ + Makefile || die "pruning vars" + if use ssl ; then + sed -i \ + -e '/^XDEFINES=/s:=:=-DOPENSSL:' \ + -e '/^XLIBS=/s:=:=-lcrypto -lssl:' \ + Makefile || die "adding ssl" + fi + emake OPT="${CFLAGS}" || die "make" +} + +src_install() { + dobin amap amapcrap || die "dobin" + insinto /usr/share/amap + doins appdefs.* || die "doins" + + doman ${PN}.1 + dodoc README TODO CHANGES +} diff --git a/net-analyzer/amap/files/digest-amap-4.6 b/net-analyzer/amap/files/digest-amap-4.6 new file mode 100644 index 000000000000..773e2e3e73f3 --- /dev/null +++ b/net-analyzer/amap/files/digest-amap-4.6 @@ -0,0 +1 @@ +MD5 5af4b9342eb78c5d5db2492aab9a37a7 amap-4.6.tar.gz 252938 |