diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-14 14:15:33 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-14 14:15:33 +0000 |
commit | b469b68696824e8c030094c7d1dc2fe57e672348 (patch) | |
tree | abfa9d5a893b522bfca4d56aacce53dd213f52fe /net-analyzer/amap | |
parent | Another copyright fix (diff) | |
download | gentoo-2-b469b68696824e8c030094c7d1dc2fe57e672348.tar.gz gentoo-2-b469b68696824e8c030094c7d1dc2fe57e672348.tar.bz2 gentoo-2-b469b68696824e8c030094c7d1dc2fe57e672348.zip |
Version bump for bug 95957.
(Portage version: 2.0.51.22-r1)
Diffstat (limited to 'net-analyzer/amap')
-rw-r--r-- | net-analyzer/amap/Manifest | 14 | ||||
-rw-r--r-- | net-analyzer/amap/amap-5.1.ebuild | 61 | ||||
-rw-r--r-- | net-analyzer/amap/files/digest-amap-5.1 | 1 |
3 files changed, 70 insertions, 6 deletions
diff --git a/net-analyzer/amap/Manifest b/net-analyzer/amap/Manifest index 914058dead04..4cf347db1cca 100644 --- a/net-analyzer/amap/Manifest +++ b/net-analyzer/amap/Manifest @@ -1,13 +1,15 @@ -MD5 c2f203f3853c5f8e91a9d86a9f5b0417 ChangeLog 4343 +MD5 8c3fc693294e3e6834a458991e082081 amap-5.1.ebuild 1549 MD5 701ffa0a03c07892f770bf5419333da4 amap-4.7.ebuild 1393 MD5 44e2be0bf7faf3e254623622502ff55b amap-4.8-r1.ebuild 1470 MD5 b0265c3d76a497de4fe39103e10973ca amap-5.0.ebuild 1543 +MD5 c2f203f3853c5f8e91a9d86a9f5b0417 ChangeLog 4343 MD5 f34e3c8858756da0001b12d2d3fa1af2 metadata.xml 159 +MD5 0650e1a8429fc7f1febbffe8435ed1c4 files/digest-amap-4.7 60 +MD5 e557979284a669fda0ca792fc9fc7ad5 files/digest-amap-5.0 60 +MD5 8af326d838e7d5807c2891ddf8d3817e files/digest-amap-5.1 60 MD5 c1c1d543f5427e6ccf71fe8648a6b322 files/4.7-system-pcre.patch 1155 +MD5 6a77a9ce3b2272dff2d409eccdf38833 files/digest-amap-4.8-r1 60 +MD5 b078c53b085eba48231c7df7123766b5 files/amap-5.0-gcc4.patch 15883 +MD5 cc27dde4b08677a49290c397dc162be8 files/amap-4.8-gcc4.patch 2460 MD5 a11774428cb7e97a81107a22682d1798 files/4.8-system-pcre.patch 1232 MD5 36fabda09cbfbb3c4c9eab818e99a501 files/amap-4.8-fix-icky-lvalue-casts.diff 7058 -MD5 cc27dde4b08677a49290c397dc162be8 files/amap-4.8-gcc4.patch 2460 -MD5 b078c53b085eba48231c7df7123766b5 files/amap-5.0-gcc4.patch 15883 -MD5 0650e1a8429fc7f1febbffe8435ed1c4 files/digest-amap-4.7 60 -MD5 6a77a9ce3b2272dff2d409eccdf38833 files/digest-amap-4.8-r1 60 -MD5 e557979284a669fda0ca792fc9fc7ad5 files/digest-amap-5.0 60 diff --git a/net-analyzer/amap/amap-5.1.ebuild b/net-analyzer/amap/amap-5.1.ebuild new file mode 100644 index 000000000000..a39221ec62f1 --- /dev/null +++ b/net-analyzer/amap/amap-5.1.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/amap-5.1.ebuild,v 1.1 2005/06/14 14:15:33 ka0ttic Exp $ + +inherit eutils + +DESCRIPTION="A network scanning tool for pentesters" +HOMEPAGE="http://www.thc.org/thc-amap/" +SRC_URI="http://www.thc.org/releases/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86" +IUSE="ssl" + +DEPEND="virtual/libc + dev-libs/libpcre + ssl? ( >=dev-libs/openssl-0.9.6j )" + +src_unpack() { + unpack ${A} + cd ${S} + + chmod 755 . + sed -i -e "s:etc/:share/amap/:g" \ + amap-lib.c || die "sed amap-lib.c failed" + sed -i 's:/usr/local:/usr:' amap.h || die "sed amap.h failed" + sed -i '/DATADIR/s:/etc:/share/amap:' \ + Makefile.am || die "sed Makefile.am failed" + rm -rf pcre-3.9 + + epatch ${FILESDIR}/4.8-system-pcre.patch + epatch ${FILESDIR}/${PN}-5.0-gcc4.patch +} + +src_compile() { + # has it's own stupid custom configure script + ./configure || die "configure failed" + 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 "emake failed" +} + +src_install() { + dobin amap amapcrap || die "dobin failed" + insinto /usr/share/amap + doins appdefs.* || die "doins failed" + + doman ${PN}.1 + dodoc README TODO CHANGES +} diff --git a/net-analyzer/amap/files/digest-amap-5.1 b/net-analyzer/amap/files/digest-amap-5.1 new file mode 100644 index 000000000000..22b67cec2dfb --- /dev/null +++ b/net-analyzer/amap/files/digest-amap-5.1 @@ -0,0 +1 @@ +MD5 6d0a1c54d07967dfc10768a5ca6ee16b amap-5.1.tar.gz 261983 |