diff options
author | Dustin Polke <DuPol@gmx.de> | 2017-01-31 20:25:05 +0100 |
---|---|---|
committer | Dustin Polke <DuPol@gmx.de> | 2017-01-31 20:25:38 +0100 |
commit | 81732c269644d8da1359dbfd3860348994a22908 (patch) | |
tree | 8087256a368984b4f85013cc4941e6f4e060e488 | |
parent | [media-video/r5u87x-userspace] Fix repoman complaint about metadata. (diff) | |
download | DuPol-81732c269644d8da1359dbfd3860348994a22908.tar.gz DuPol-81732c269644d8da1359dbfd3860348994a22908.tar.bz2 DuPol-81732c269644d8da1359dbfd3860348994a22908.zip |
[net-analyzer/tcpreplay] Drop old.
-rw-r--r-- | net-analyzer/tcpreplay/ChangeLog | 5 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/Manifest | 5 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/files/tcpreplay-3.4.4-crash.patch | 38 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild | 64 |
4 files changed, 4 insertions, 108 deletions
diff --git a/net-analyzer/tcpreplay/ChangeLog b/net-analyzer/tcpreplay/ChangeLog index f2aa351..5480a93 100644 --- a/net-analyzer/tcpreplay/ChangeLog +++ b/net-analyzer/tcpreplay/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for net-analyzer/tcpreplay -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2017 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ + 31 Jan 2017; Dustin Polke <DuPol@gmx.de> -tcpreplay-3.4.4-r1.ebuild: + Drop old. + 18 Dec 2011; Dustin Polke <DuPol@gmx.de> metadata.xml: Change email address. diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest deleted file mode 100644 index 033b530..0000000 --- a/net-analyzer/tcpreplay/Manifest +++ /dev/null @@ -1,5 +0,0 @@ -AUX tcpreplay-3.4.4-crash.patch 999 RMD160 ea9cc29a1479d600493e57ec79ae9ad3244b6be8 SHA1 310bb774108bab593435120ccf96dfc4080804e1 SHA256 1880eccd2616836df6e255757f0683d9c3a9d127848514741f3825f53e560af8 -DIST tcpreplay-3.4.4.tar.gz 947179 RMD160 672812755ff39b284044b08cba32c574ab2b7e70 SHA1 9e4cca81cfbfb919f8759e1a27ce1b3b963ff3b8 SHA256 7a809c58ddec86407fd6e5597ac883d7874a19bea81d716bb2b1c6e3b0e7b58f -EBUILD tcpreplay-3.4.4-r1.ebuild 1874 RMD160 27c8460ded10cfd158368f49c330fc2a98ceb875 SHA1 c0f9e35e96850a18750694197f9a77bb9c20dac3 SHA256 c4a19ce9a5e74b500edb64cf0c3daab06c1b14158d2e7bd614354689f4644de4 -MISC ChangeLog 794 RMD160 1338b25ccf2121cc5bd19a35fb6201f099a4d038 SHA1 5eb3ab8367a102439212291d36739ded8875a1b6 SHA256 de50a9a098cb0b470aa52c43259f709d2a4f538562657d76509e3ac586148a8a -MISC metadata.xml 900 RMD160 719cbadd160616ba6fbcefff82f0bc9baf2cc920 SHA1 11b5b16510bf1cc6aa9ce0fccb69b4aea65b4380 SHA256 07a6dbe8971e8e704ef79d759105a3352060dcbbd958021d4ceb9feead75a1d8 diff --git a/net-analyzer/tcpreplay/files/tcpreplay-3.4.4-crash.patch b/net-analyzer/tcpreplay/files/tcpreplay-3.4.4-crash.patch deleted file mode 100644 index 0987505..0000000 --- a/net-analyzer/tcpreplay/files/tcpreplay-3.4.4-crash.patch +++ /dev/null @@ -1,38 +0,0 @@ -=== modified file 'src/common/cidr.c' ---- src/common/cidr.c 2010-10-29 13:00:54 +0000 -+++ src/common/cidr.c 2010-10-29 13:09:01 +0000 -@@ -85,11 +85,12 @@ - destroy_cidr(tcpr_cidr_t * cidr) - { - -- if (cidr != NULL) -+ if (cidr != NULL) { - if (cidr->next != NULL) - destroy_cidr(cidr->next); - -- safe_free(cidr); -+ safe_free(cidr); -+ } - return; - - } -@@ -667,7 +668,7 @@ - cidr2iplist(tcpr_cidr_t * cidr, char delim) - { - char *list = NULL; -- char ipaddr[16]; -+ char ipaddr[16], tempbuff[20]; - u_int32_t size, addr, first, last, numips; - struct in_addr in; - -@@ -694,7 +695,8 @@ - /* loop through all but the last one */ - for (addr = first; addr < last; addr++) { - in.s_addr = htonl(addr); -- snprintf(ipaddr, 17, "%s%c", inet_ntoa(in), delim); -+ snprintf(tempbuff, 17, "%s%c", inet_ntoa(in), delim); -+ memcpy(ipaddr, tempbuff, 16); - dbgx(2, "%s", ipaddr); - strlcat(list, ipaddr, size); - } - diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild deleted file mode 100644 index 3dd1c34..0000000 --- a/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild +++ /dev/null @@ -1,64 +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/tcpreplay/tcpreplay-3.4.4-r1.ebuild,v 1.3 2011/03/21 08:12:16 tomka Exp $ - -EAPI="2" - -inherit eutils - -DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" -HOMEPAGE="http://tcpreplay.synfin.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~sparc x86" -IUSE="debug pcapnav +tcpdump" - -DEPEND=" - >=sys-devel/autogen-5.9.8 - dev-libs/libdnet - >=net-libs/libpcap-0.9 - tcpdump? ( net-analyzer/tcpdump ) - pcapnav? ( net-libs/libpcapnav )" - -RDEPEND="${DEPEND}" - -: ${TCPREPLAY_NIC:="eth0"} -: ${TCPREPLAY_NIC2:="$TCPREPLAY_NIC}"} - -src_prepare() { - echo "We don't use bundled libopts" > libopts/options.h - epatch "${FILESDIR}"/${P}-crash.patch -} - -src_configure() { - # By default it uses static linking. Avoid that, bug 252940 - econf --enable-shared \ - --disable-local-libopts \ - --with-testnic="${TCPREPLAY_NIC}" \ - --with-testnic2="${TCPREPLAY_NIC2}" \ - $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ - $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ - $(use_enable debug) -} - -src_test() { - if [[ ! ${EUID} -eq 0 ]]; then - ewarn "Some tests were disabled due to FEATURES=userpriv" - ewarn "To run all tests issue the following command as root:" - ewarn " # make -C ${S}/test" - make -C test tcpprep || die "self test failed - see ${S}/test/test.log" - else - make test || { - ewarn "Note, that some tests require an iface to be UP. The" ; - ewarn "default setting is eth0. A different iface can be used by" ; - ewarn "setting 'TCPREPLAY_NIC' and 'TCPREPLAY_NIC2 variables." ; - die "self test failed - see ${S}/test/test.log" ; } - fi -} - -src_install() { - make DESTDIR="${D}" install || die - dodoc README docs/{CHANGELOG,CREDIT,HACKING,TODO} || die -} |