1 |
commit: 3511d0d1af15070c84a0e6251147f0c6f8859b9a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Apr 27 12:54:24 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Apr 27 12:54:24 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3511d0d1 |
7 |
|
8 |
net-analyzer/tcpreplay: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.5, Repoman-2.3.2 |
11 |
|
12 |
net-analyzer/tcpreplay/Manifest | 2 - |
13 |
net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild | 74 --------------------------- |
14 |
net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild | 74 --------------------------- |
15 |
3 files changed, 150 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest |
18 |
index 52a20cb27f9..19d8f0a7d57 100644 |
19 |
--- a/net-analyzer/tcpreplay/Manifest |
20 |
+++ b/net-analyzer/tcpreplay/Manifest |
21 |
@@ -1,5 +1,3 @@ |
22 |
DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360 WHIRLPOOL e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6 |
23 |
-DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875 WHIRLPOOL b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350 |
24 |
-DIST tcpreplay-4.2.2.tar.gz 3597722 SHA256 e674166b54486db8f5417554ed88c06f44f368d70585c2897b0bc085009d8dd5 SHA512 5ae57957ab95790df8e880a53905e0e8e62b3a3d80f1fb2030e7bc360d8d4146335b48d7a5c02448edacafc146f2ea485086a824ce4e305eb3a34a8587ac46ae WHIRLPOOL 195ef1c28850e8a57f7cf520d4bb3e32e1bdc89a1e230176ac2334ff7b9f8026f24ef0d07ab9331e93ed106485ef3b501521fc4a8a3ba9752cabeb4f4d675dc5 |
25 |
DIST tcpreplay-4.2.3.tar.gz 3490534 SHA256 68d8d49dab5bf58b2e8d244eee1ee7f2379d967da19fe97dd9d59bcf40a22abc SHA512 0d92c8cdb231d602dddc58e1c5b4e4a443a68f302b20a8ac402fb4eefbac365fd1ba72cfbe05ca667240e4b82ce9fd5de6a04b7eed7017e5b9563eff779c3a85 WHIRLPOOL d87a2176e980d44993a932c4cc90b360834f31e4d49003d979a83b337fb7e15d1c0a0de8967ef7b6ddbc58d74302be38a5361a0925e437f0b38702203a450eaa |
26 |
DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10 WHIRLPOOL 7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb |
27 |
|
28 |
diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild |
29 |
deleted file mode 100644 |
30 |
index ee0ea9dffd4..00000000000 |
31 |
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild |
32 |
+++ /dev/null |
33 |
@@ -1,74 +0,0 @@ |
34 |
-# Copyright 1999-2017 Gentoo Foundation |
35 |
-# Distributed under the terms of the GNU General Public License v2 |
36 |
- |
37 |
-EAPI=6 |
38 |
-inherit autotools flag-o-matic |
39 |
- |
40 |
-DESCRIPTION="utilities for editing and replaying previously captured network traffic" |
41 |
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay" |
42 |
-LICENSE="BSD GPL-3" |
43 |
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz -> ${P}.tar.gz" |
44 |
- |
45 |
-SLOT="0" |
46 |
-KEYWORDS="~amd64 ~sparc ~x86" |
47 |
-IUSE="debug pcapnav +tcpdump" |
48 |
- |
49 |
-DEPEND=" |
50 |
- >=sys-devel/autogen-5.18.4[libopts] |
51 |
- dev-libs/libdnet |
52 |
- >=net-libs/libpcap-0.9 |
53 |
- tcpdump? ( net-analyzer/tcpdump ) |
54 |
- pcapnav? ( net-libs/libpcapnav ) |
55 |
-" |
56 |
-RDEPEND="${DEPEND}" |
57 |
- |
58 |
-DOCS=( |
59 |
- docs/{CHANGELOG,CREDIT,HACKING,TODO} |
60 |
-) |
61 |
-PATCHES=( |
62 |
- "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch |
63 |
-) |
64 |
- |
65 |
-S=${WORKDIR}/${P/_/-} |
66 |
- |
67 |
-src_prepare() { |
68 |
- default |
69 |
- |
70 |
- sed -i \ |
71 |
- -e 's|#include <dnet.h>|#include <dnet/eth.h>|g' \ |
72 |
- src/common/sendpacket.c || die |
73 |
- sed -i \ |
74 |
- -e 's|@\([A-Z_]*\)@|$(\1)|g' \ |
75 |
- -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \ |
76 |
- -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \ |
77 |
- src/Makefile.am || die |
78 |
- |
79 |
- eautoreconf |
80 |
-} |
81 |
- |
82 |
-src_configure() { |
83 |
- # By default it uses static linking. Avoid that, bug 252940 |
84 |
- econf \ |
85 |
- $(use_enable debug) \ |
86 |
- $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ |
87 |
- $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ |
88 |
- --disable-local-libopts \ |
89 |
- --enable-dynamic-link \ |
90 |
- --enable-shared \ |
91 |
- --with-libdnet \ |
92 |
- --with-testnic2=lo \ |
93 |
- --with-testnic=lo |
94 |
-} |
95 |
- |
96 |
-src_test() { |
97 |
- if [[ ! ${EUID} -eq 0 ]]; then |
98 |
- ewarn "Some tests were disabled due to FEATURES=userpriv" |
99 |
- ewarn "To run all tests issue the following command as root:" |
100 |
- ewarn " # make -C ${S}/test" |
101 |
- emake -j1 -C test tcpprep || die "self test failed - see ${S}/test/test.log" |
102 |
- else |
103 |
- emake -j1 test || { |
104 |
- ewarn "Note, that some tests require eth0 iface to be UP." ; |
105 |
- die "self test failed - see ${S}/test/test.log" ; } |
106 |
- fi |
107 |
-} |
108 |
|
109 |
diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild |
110 |
deleted file mode 100644 |
111 |
index ee0ea9dffd4..00000000000 |
112 |
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild |
113 |
+++ /dev/null |
114 |
@@ -1,74 +0,0 @@ |
115 |
-# Copyright 1999-2017 Gentoo Foundation |
116 |
-# Distributed under the terms of the GNU General Public License v2 |
117 |
- |
118 |
-EAPI=6 |
119 |
-inherit autotools flag-o-matic |
120 |
- |
121 |
-DESCRIPTION="utilities for editing and replaying previously captured network traffic" |
122 |
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay" |
123 |
-LICENSE="BSD GPL-3" |
124 |
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz -> ${P}.tar.gz" |
125 |
- |
126 |
-SLOT="0" |
127 |
-KEYWORDS="~amd64 ~sparc ~x86" |
128 |
-IUSE="debug pcapnav +tcpdump" |
129 |
- |
130 |
-DEPEND=" |
131 |
- >=sys-devel/autogen-5.18.4[libopts] |
132 |
- dev-libs/libdnet |
133 |
- >=net-libs/libpcap-0.9 |
134 |
- tcpdump? ( net-analyzer/tcpdump ) |
135 |
- pcapnav? ( net-libs/libpcapnav ) |
136 |
-" |
137 |
-RDEPEND="${DEPEND}" |
138 |
- |
139 |
-DOCS=( |
140 |
- docs/{CHANGELOG,CREDIT,HACKING,TODO} |
141 |
-) |
142 |
-PATCHES=( |
143 |
- "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch |
144 |
-) |
145 |
- |
146 |
-S=${WORKDIR}/${P/_/-} |
147 |
- |
148 |
-src_prepare() { |
149 |
- default |
150 |
- |
151 |
- sed -i \ |
152 |
- -e 's|#include <dnet.h>|#include <dnet/eth.h>|g' \ |
153 |
- src/common/sendpacket.c || die |
154 |
- sed -i \ |
155 |
- -e 's|@\([A-Z_]*\)@|$(\1)|g' \ |
156 |
- -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \ |
157 |
- -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \ |
158 |
- src/Makefile.am || die |
159 |
- |
160 |
- eautoreconf |
161 |
-} |
162 |
- |
163 |
-src_configure() { |
164 |
- # By default it uses static linking. Avoid that, bug 252940 |
165 |
- econf \ |
166 |
- $(use_enable debug) \ |
167 |
- $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ |
168 |
- $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ |
169 |
- --disable-local-libopts \ |
170 |
- --enable-dynamic-link \ |
171 |
- --enable-shared \ |
172 |
- --with-libdnet \ |
173 |
- --with-testnic2=lo \ |
174 |
- --with-testnic=lo |
175 |
-} |
176 |
- |
177 |
-src_test() { |
178 |
- if [[ ! ${EUID} -eq 0 ]]; then |
179 |
- ewarn "Some tests were disabled due to FEATURES=userpriv" |
180 |
- ewarn "To run all tests issue the following command as root:" |
181 |
- ewarn " # make -C ${S}/test" |
182 |
- emake -j1 -C test tcpprep || die "self test failed - see ${S}/test/test.log" |
183 |
- else |
184 |
- emake -j1 test || { |
185 |
- ewarn "Note, that some tests require eth0 iface to be UP." ; |
186 |
- die "self test failed - see ${S}/test/test.log" ; } |
187 |
- fi |
188 |
-} |