diff options
author | Jeroen Roovers <jer@gentoo.org> | 2012-03-02 17:45:39 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2012-03-02 17:45:39 +0000 |
commit | e1e57b574394a798d3e66d5216515ca723e87258 (patch) | |
tree | 20c054a3ddd0c3439bc406c6b48cb223238516a8 /net-analyzer/hping | |
parent | Version bump wrt bug #311281 by Arseny Solokha <asolokha@gmx.com>. Use packag... (diff) | |
download | gentoo-2-e1e57b574394a798d3e66d5216515ca723e87258.tar.gz gentoo-2-e1e57b574394a798d3e66d5216515ca723e87258.tar.bz2 gentoo-2-e1e57b574394a798d3e66d5216515ca723e87258.zip |
Old.
(Portage version: 2.2.0_alpha89/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/hping')
-rw-r--r-- | net-analyzer/hping/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch | 20 | ||||
-rw-r--r-- | net-analyzer/hping/files/hping-bridge.patch | 12 | ||||
-rw-r--r-- | net-analyzer/hping/files/wlan-header-fix.patch | 24 | ||||
-rw-r--r-- | net-analyzer/hping/hping-2.0.0_rc3-r1.ebuild | 46 | ||||
-rw-r--r-- | net-analyzer/hping/hping-2.0.0_rc3-r2.ebuild | 52 |
6 files changed, 6 insertions, 155 deletions
diff --git a/net-analyzer/hping/ChangeLog b/net-analyzer/hping/ChangeLog index 4099d684aa95..09ceac8eccfa 100644 --- a/net-analyzer/hping/ChangeLog +++ b/net-analyzer/hping/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/hping # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.57 2012/03/01 23:32:45 ranger Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/ChangeLog,v 1.58 2012/03/02 17:45:39 jer Exp $ + + 02 Mar 2012; Jeroen Roovers <jer@gentoo.org> -hping-2.0.0_rc3-r1.ebuild, + -hping-2.0.0_rc3-r2.ebuild, -files/hping-2.0.0_rc3-gentoo.patch, + -files/hping-bridge.patch, -files/wlan-header-fix.patch: + Old. 01 Mar 2012; Brent Baude <ranger@gentoo.org> hping-3_pre20051105-r3.ebuild: Marking hping-3_pre20051105-r3 ppc for bug 396501 diff --git a/net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch b/net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch deleted file mode 100644 index d8f24bca5e83..000000000000 --- a/net-analyzer/hping/files/hping-2.0.0_rc3-gentoo.patch +++ /dev/null @@ -1,20 +0,0 @@ ---- Makefile.in.org 2004-05-03 11:29:39.000000000 +0200 -+++ Makefile.in 2009-12-22 21:55:58.000000000 +0100 -@@ -6,7 +6,7 @@ - # $date: Sun Jul 25 17:56:15 MET DST 1999$ - # $rev: 3$ - --CC= gcc -+CC?= gcc - AR=/usr/bin/ar - RANLIB=/usr/bin/ranlib - CCOPT= -O2 -Wall @PCAP_INCLUDE@ -@@ -43,7 +43,7 @@ - $(RANLIB) $@ - - hping2: byteorder.h $(OBJ) -- $(CC) -o hping2 $(CCOPT) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@ -+ $(CC) -o hping2 $(CCOPT) $(LDFLAGS) $(DEBUG) $(OBJ) $(PCAP) @SOLARISLIB@ - @echo - ./hping2 -v - @echo "use \`make strip' to strip hping2 binary" diff --git a/net-analyzer/hping/files/hping-bridge.patch b/net-analyzer/hping/files/hping-bridge.patch deleted file mode 100644 index 004b6470ae23..000000000000 --- a/net-analyzer/hping/files/hping-bridge.patch +++ /dev/null @@ -1,12 +0,0 @@ ---- getlhs.c.old 2004-08-05 09:20:35.320759304 -0600 -+++ getlhs.c 2004-08-05 09:12:40.330968728 -0600 -@@ -93,6 +93,9 @@ - } else if ( strstr(ifname, "eth") ) { - linkhdr_size = ETHHDR_SIZE; - return 0; -+ } else if ( strstr(ifname, "br") ) { -+ linkhdr_size = ETHHDR_SIZE; -+ return 0; - } else if (strstr(ifname, "ets")) { - linkhdr_size = 0; - return 0; diff --git a/net-analyzer/hping/files/wlan-header-fix.patch b/net-analyzer/hping/files/wlan-header-fix.patch deleted file mode 100644 index 0e22e42e0a93..000000000000 --- a/net-analyzer/hping/files/wlan-header-fix.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff -uNr hping2-rc2.orig/getlhs.c hping2-rc2/getlhs.c ---- hping2-rc2.orig/getlhs.c 2003-11-27 00:10:32.000000000 +0100 -+++ hping2-rc2/getlhs.c 2003-11-27 00:11:37.000000000 +0100 -@@ -88,6 +88,9 @@ - } else if ( strstr(ifname, "eth") ) { - linkhdr_size = ETHHDR_SIZE; - return 0; -+ } else if ( strstr(ifname, "wlan") ) { -+ linkhdr_size = WLANHDR_SIZE; -+ return 0; - } else if (strstr(ifname, "ets")) { - linkhdr_size = 0; - return 0; -diff -uNr hping2-rc2.orig/hping2.h hping2-rc2/hping2.h ---- hping2-rc2.orig/hping2.h 2003-11-27 00:10:32.000000000 +0100 -+++ hping2-rc2/hping2.h 2003-11-27 00:11:44.000000000 +0100 -@@ -97,6 +97,7 @@ - #define PPPHDR_SIZE_NETBSD 4 - #define ETHHDR_SIZE 14 - #define LOHDR_SIZE 14 -+#define WLANHDR_SIZE 14 - - /* packet size (physical header size + ip header + tcp header + 0 data bytes) */ - #ifndef IP_MAX_SIZE diff --git a/net-analyzer/hping/hping-2.0.0_rc3-r1.ebuild b/net-analyzer/hping/hping-2.0.0_rc3-r1.ebuild deleted file mode 100644 index 86957f02a86e..000000000000 --- a/net-analyzer/hping/hping-2.0.0_rc3-r1.ebuild +++ /dev/null @@ -1,46 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-2.0.0_rc3-r1.ebuild,v 1.12 2011/04/02 12:54:02 ssuominen Exp $ - -inherit eutils - -MY_P="${PN}${PV//_/-}" -DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer" -HOMEPAGE="http://www.hping.org" -SRC_URI="http://www.hping.org/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="alpha amd64 hppa ia64 ~mips ppc sparc x86" -IUSE="debug" - -DEPEND="net-libs/libpcap" - -S="${WORKDIR}/${MY_P//\.[0-9]}" - -src_unpack() { - unpack ${A} - cd ${S} - epatch ${FILESDIR}/bytesex.h.patch - epatch ${FILESDIR}/hping-bridge.patch -} - -src_compile() { - ./configure || die - - if use debug - then - make CCOPT="${CFLAGS}" || die - else - make CCOPT="${CFLAGS}" DEBUG="" || die - fi -} - -src_install () { - dodir /usr/sbin - dosbin hping2 - dosym /usr/sbin/hping2 /usr/sbin/hping - - doman docs/hping2.8 - dodoc INSTALL KNOWN-BUGS NEWS README TODO AUTHORS BUGS CHANGES COPYING docs/AS-BACKDOOR docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID docs/*.txt -} diff --git a/net-analyzer/hping/hping-2.0.0_rc3-r2.ebuild b/net-analyzer/hping/hping-2.0.0_rc3-r2.ebuild deleted file mode 100644 index d813d140284d..000000000000 --- a/net-analyzer/hping/hping-2.0.0_rc3-r2.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 1999-2011 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/hping/hping-2.0.0_rc3-r2.ebuild,v 1.4 2011/05/10 10:38:41 xmw Exp $ - -inherit eutils toolchain-funcs - -MY_P="${PN}${PV//_/-}" -DESCRIPTION="A ping-like TCP/IP packet assembler/analyzer" -HOMEPAGE="http://www.hping.org" -SRC_URI="http://www.hping.org/${MY_P}.tar.gz" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~sparc ~x86" -IUSE="" - -DEPEND="net-libs/libpcap" - -S="${WORKDIR}/${MY_P//\.[0-9]}" - -src_unpack() { - unpack ${A} - cd "${S}" - epatch \ - "${FILESDIR}"/bytesex.h.patch \ - "${FILESDIR}"/hping-bridge.patch \ - "${FILESDIR}"/${P}-gentoo.patch - sed -i Makefile.in \ - -e "9s:gcc:$(tc-getCC):" \ - -e "10s:/usr/bin/ar:$(tc-getAR):" \ - -e "11s:/usr/bin/ranlib:$(tc-getRANLIB):" \ - -e "s:/usr/local/lib:/usr/$(get_libdir):g" -} - -src_compile() { - tc-export CC - - # Not an autotools type configure: - sh configure || die "configure failed" - - emake CCOPT="${CFLAGS}" DEBUG="" || die "emake failed" -} - -src_install () { - dodir /usr/sbin - dosbin hping2 - dosym /usr/sbin/hping2 /usr/sbin/hping - - doman docs/hping2.8 - dodoc INSTALL KNOWN-BUGS NEWS README TODO AUTHORS BUGS CHANGES \ - docs/AS-BACKDOOR docs/HPING2-IS-OPEN docs/MORE-FUN-WITH-IPID docs/*.txt -} |