Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/
Date: Thu, 01 Jun 2017 22:09:24
Message-Id: 1496354949.3a573b5df5f10c04589693dad3d41ce6076aec2f.jer@gentoo
1 commit: 3a573b5df5f10c04589693dad3d41ce6076aec2f
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Thu Jun 1 22:09:09 2017 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Thu Jun 1 22:09:09 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a573b5d
7
8 net-analyzer/tcpreplay: Old.
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.2
11
12 net-analyzer/tcpreplay/Manifest | 1 -
13 net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild | 74 ---------------------------
14 2 files changed, 75 deletions(-)
15
16 diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
17 index 7d3243af82a..10b33ec2fe6 100644
18 --- a/net-analyzer/tcpreplay/Manifest
19 +++ b/net-analyzer/tcpreplay/Manifest
20 @@ -1,3 +1,2 @@
21 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360 WHIRLPOOL e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
22 -DIST tcpreplay-4.2.5.tar.gz 3494832 SHA256 941026be34e1db5101d3d22ebddd6fff76179a1ee81e273338f533ba4eca89d7 SHA512 d4f8e2fd8be0f996b9595fc2ff04b1b38de0663266b304e60b1d5619255113c877ac8472ca3db5f92115f10c9a7985de3509a596324fe0b35cda604c4b2ae51d WHIRLPOOL 56053ddfbb00b94b3969cc0ac7ae6b34c740d95a4f35c30d5b1a2a359d399b9071178b3139bcf66a41e78607284f6beaf52f4e96c0f98303b764948850e3937b
23 DIST tcpreplay-4.2.6.tar.gz 3494827 SHA256 043756c532dab93e2be33a517ef46b1341f7239278a1045ae670041dd8a4531d SHA512 a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e WHIRLPOOL 97502778faee6dd27516c0323b6f4589b30a621e0380c579a68bd75744e03e1ec542e45b86427bff9482145dacae4d98d4a2025436c6411cb25f0fec306acc8f
24
25 diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild
26 deleted file mode 100644
27 index ee0ea9dffd4..00000000000
28 --- a/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild
29 +++ /dev/null
30 @@ -1,74 +0,0 @@
31 -# Copyright 1999-2017 Gentoo Foundation
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=6
35 -inherit autotools flag-o-matic
36 -
37 -DESCRIPTION="utilities for editing and replaying previously captured network traffic"
38 -HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay"
39 -LICENSE="BSD GPL-3"
40 -SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz -> ${P}.tar.gz"
41 -
42 -SLOT="0"
43 -KEYWORDS="~amd64 ~sparc ~x86"
44 -IUSE="debug pcapnav +tcpdump"
45 -
46 -DEPEND="
47 - >=sys-devel/autogen-5.18.4[libopts]
48 - dev-libs/libdnet
49 - >=net-libs/libpcap-0.9
50 - tcpdump? ( net-analyzer/tcpdump )
51 - pcapnav? ( net-libs/libpcapnav )
52 -"
53 -RDEPEND="${DEPEND}"
54 -
55 -DOCS=(
56 - docs/{CHANGELOG,CREDIT,HACKING,TODO}
57 -)
58 -PATCHES=(
59 - "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
60 -)
61 -
62 -S=${WORKDIR}/${P/_/-}
63 -
64 -src_prepare() {
65 - default
66 -
67 - sed -i \
68 - -e 's|#include <dnet.h>|#include <dnet/eth.h>|g' \
69 - src/common/sendpacket.c || die
70 - sed -i \
71 - -e 's|@\([A-Z_]*\)@|$(\1)|g' \
72 - -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
73 - -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
74 - src/Makefile.am || die
75 -
76 - eautoreconf
77 -}
78 -
79 -src_configure() {
80 - # By default it uses static linking. Avoid that, bug 252940
81 - econf \
82 - $(use_enable debug) \
83 - $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
84 - $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
85 - --disable-local-libopts \
86 - --enable-dynamic-link \
87 - --enable-shared \
88 - --with-libdnet \
89 - --with-testnic2=lo \
90 - --with-testnic=lo
91 -}
92 -
93 -src_test() {
94 - if [[ ! ${EUID} -eq 0 ]]; then
95 - ewarn "Some tests were disabled due to FEATURES=userpriv"
96 - ewarn "To run all tests issue the following command as root:"
97 - ewarn " # make -C ${S}/test"
98 - emake -j1 -C test tcpprep || die "self test failed - see ${S}/test/test.log"
99 - else
100 - emake -j1 test || {
101 - ewarn "Note, that some tests require eth0 iface to be UP." ;
102 - die "self test failed - see ${S}/test/test.log" ; }
103 - fi
104 -}