diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-03-07 20:50:58 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-03-07 20:50:58 +0000 |
commit | 87b5b3d6ef9ea426d45e8876ec448bddc3a2c3a2 (patch) | |
tree | 8d1b64584d702162300adecd1b8ff82fa81330d3 /net-analyzer | |
parent | Marking prints-39.0 ppc for bug 393929 (diff) | |
download | gentoo-2-87b5b3d6ef9ea426d45e8876ec448bddc3a2c3a2.tar.gz gentoo-2-87b5b3d6ef9ea426d45e8876ec448bddc3a2c3a2.tar.bz2 gentoo-2-87b5b3d6ef9ea426d45e8876ec448bddc3a2c3a2.zip |
Old.
(Portage version: 2.2.0_alpha90/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/amap/ChangeLog | 6 | ||||
-rw-r--r-- | net-analyzer/amap/amap-5.2-r1.ebuild | 68 | ||||
-rw-r--r-- | net-analyzer/amap/amap-5.2-r2.ebuild | 73 |
3 files changed, 5 insertions, 142 deletions
diff --git a/net-analyzer/amap/ChangeLog b/net-analyzer/amap/ChangeLog index 8f567ae58c8c..4c827901278d 100644 --- a/net-analyzer/amap/ChangeLog +++ b/net-analyzer/amap/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for net-analyzer/amap # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/ChangeLog,v 1.52 2012/03/02 21:21:10 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/ChangeLog,v 1.53 2012/03/07 20:50:57 jer Exp $ + + 07 Mar 2012; Jeroen Roovers <jer@gentoo.org> -amap-5.2-r1.ebuild, + -amap-5.2-r2.ebuild: + Old. 02 Mar 2012; Brent Baude <ranger@gentoo.org> amap-5.4.ebuild: Marking amap-5.4 ppc64 for bug 397121 diff --git a/net-analyzer/amap/amap-5.2-r1.ebuild b/net-analyzer/amap/amap-5.2-r1.ebuild deleted file mode 100644 index 404a8c9163e3..000000000000 --- a/net-analyzer/amap/amap-5.2-r1.ebuild +++ /dev/null @@ -1,68 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/amap-5.2-r1.ebuild,v 1.8 2012/01/22 15:09:06 armin76 Exp $ - -inherit eutils toolchain-funcs - -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 ppc ppc64 x86 ~x86-fbsd" -IUSE="ssl" - -DEPEND=" - dev-libs/libpcre - ssl? ( >=dev-libs/openssl-0.9.6j ) -" -RDEPEND=" - ${DEPEND} - !sci-biology/amap -" - -src_unpack() { - unpack ${A} - cd "${S}" - - rm -rf pcre-3.9 - sed -i -e "s:etc/:share/amap/:g" amap-lib.c || die "sed amap-lib.c failed" - # Above change requires below change. See sources... - sed -i '/strlen(AMAP_PREFIX/s: 5 : 12 :' amap-lib.c || die "sed amap-lib.c failed" - sed -i 's:/usr/local:/usr:' amap.h || die "sed amap.h failed" - # Files to be updated are at different location, bug 207839. - sed -i '/AMAP_RESOURCE/s:www:freeworld:' amap.h || die "sed amap.h failed" - - sed -i '/DATADIR/s:/etc:/share/amap:' Makefile.am || die "sed Makefile.am failed" - - epatch "${FILESDIR}"/4.8-system-pcre.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:=.*:=:' \ - -e "/^CC=/s:=.*:=$(tc-getCC):" \ - 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/amap-5.2-r2.ebuild b/net-analyzer/amap/amap-5.2-r2.ebuild deleted file mode 100644 index 432facb3167d..000000000000 --- a/net-analyzer/amap/amap-5.2-r2.ebuild +++ /dev/null @@ -1,73 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/amap/amap-5.2-r2.ebuild,v 1.2 2012/01/22 15:09:06 armin76 Exp $ - -EAPI="2" - -inherit eutils toolchain-funcs - -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 ~ppc ~ppc64 ~x86 ~x86-fbsd" -IUSE="ssl" - -DEPEND=" - dev-libs/libpcre - ssl? ( >=dev-libs/openssl-0.9.6j ) -" -RDEPEND=" - ${DEPEND} - !sci-biology/amap -" - -src_prepare() { - rm -rf pcre-3.9 - sed -i -e "s:etc/:share/amap/:g" amap-lib.c || die "sed amap-lib.c failed" - # Above change requires below change. See sources... - sed -i '/strlen(AMAP_PREFIX/s: 5 : 12 :' amap-lib.c || die "sed amap-lib.c failed" - sed -i 's:/usr/local:/usr:' amap.h || die "sed amap.h failed" - # Files to be updated are at different location, bug 207839. - sed -i '/AMAP_RESOURCE/s:www:freeworld:' amap.h || die "sed amap.h failed" - - sed -i '/DATADIR/s:/etc:/share/amap:' Makefile.am || die "sed Makefile.am failed" - - epatch "${FILESDIR}"/4.8-system-pcre.patch -} - -src_configure() { - # 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:=.*:=:' \ - -e "/^CC=/d" \ - Makefile || die "pruning vars" - if use ssl ; then - sed -i \ - -e '/^XDEFINES=/s:=:=-DOPENSSL:' \ - -e '/^XLIBS=/s:=:=-lcrypto -lssl:' \ - Makefile || die "adding ssl" - fi - sed -i Makefile \ - -e '/-o amap/{s|(OPT) |(OPT) $(LDFLAGS) |g}' \ - || die "respecting LDFLAGS failed" -} - -src_compile() { - emake CC=$(tc-getCC) 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 -} |