1 |
commit: 337849c854aaafec1bc0cbd8ecd0988c4553f79a |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Feb 3 16:52:39 2019 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Feb 4 05:06:40 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337849c8 |
7 |
|
8 |
net-analyzer/tcpreplay: Old |
9 |
|
10 |
Package-Manager: Portage-2.3.59, Repoman-2.3.12 |
11 |
Signed-off-by: Jeroen Roovers <jer <AT> gentoo.org> |
12 |
|
13 |
net-analyzer/tcpreplay/Manifest | 1 - |
14 |
net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild | 77 ------------------------ |
15 |
2 files changed, 78 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest |
18 |
index 238771e1da6..ed40a9677c0 100644 |
19 |
--- a/net-analyzer/tcpreplay/Manifest |
20 |
+++ b/net-analyzer/tcpreplay/Manifest |
21 |
@@ -1,2 +1 @@ |
22 |
-DIST tcpreplay-4.1.2.tar.gz 2162175 BLAKE2B a99542277084a419c1f1208392e3d5b47aaf0be61a8e8de33bee9ba8e4f636fa78ae8eabcc07031c9bb659a8ba58a0aad6e4cc102e56d3dbddb0c3cf11c9df51 SHA512 3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360 |
23 |
DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0 SHA512 2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220 |
24 |
|
25 |
diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild |
26 |
deleted file mode 100644 |
27 |
index abd2c47ceca..00000000000 |
28 |
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild |
29 |
+++ /dev/null |
30 |
@@ -1,77 +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" |
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 |
- "${FILESDIR}"/${PN}-4.1.2-CVE-2017-6429.patch |
61 |
-) |
62 |
- |
63 |
-src_prepare() { |
64 |
- default |
65 |
- |
66 |
- sed -i \ |
67 |
- -e 's|-O3||g' \ |
68 |
- -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ |
69 |
- configure.ac || die |
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 |
-} |