1 |
commit: b47c2c095d998e01e94c98582663dc7109523dd9 |
2 |
Author: Aaron Bauman <bman <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Apr 20 02:26:56 2019 +0000 |
4 |
Commit: Aaron Bauman <bman <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Apr 20 02:26:56 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47c2c09 |
7 |
|
8 |
net-analyzer/tcpreplay: drop vulnerable wrt bug #678266 |
9 |
|
10 |
Signed-off-by: Aaron Bauman <bman <AT> gentoo.org> |
11 |
|
12 |
net-analyzer/tcpreplay/Manifest | 1 - |
13 |
net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild | 74 --------------------------- |
14 |
2 files changed, 75 deletions(-) |
15 |
|
16 |
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest |
17 |
index 2c486a83980..6dd98931a73 100644 |
18 |
--- a/net-analyzer/tcpreplay/Manifest |
19 |
+++ b/net-analyzer/tcpreplay/Manifest |
20 |
@@ -1,2 +1 @@ |
21 |
-DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0 SHA512 2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220 |
22 |
DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6 SHA512 641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9 |
23 |
|
24 |
diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild |
25 |
deleted file mode 100644 |
26 |
index 3d0c5b4f1d7..00000000000 |
27 |
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild |
28 |
+++ /dev/null |
29 |
@@ -1,74 +0,0 @@ |
30 |
-# Copyright 1999-2019 Gentoo Authors |
31 |
-# Distributed under the terms of the GNU General Public License v2 |
32 |
- |
33 |
-EAPI=7 |
34 |
-inherit autotools flag-o-matic |
35 |
- |
36 |
-DESCRIPTION="utilities for editing and replaying previously captured network traffic" |
37 |
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay" |
38 |
-LICENSE="BSD GPL-3" |
39 |
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz -> ${P}.tar.xz" |
40 |
- |
41 |
-SLOT="0" |
42 |
-KEYWORDS="amd64 ~arm ~sparc x86" |
43 |
-IUSE="debug pcapnav +tcpdump" |
44 |
- |
45 |
-DEPEND=" |
46 |
- >=sys-devel/autogen-5.18.4[libopts] |
47 |
- dev-libs/libdnet |
48 |
- >=net-libs/libpcap-0.9 |
49 |
- tcpdump? ( net-analyzer/tcpdump ) |
50 |
- pcapnav? ( net-libs/libpcapnav ) |
51 |
-" |
52 |
-RDEPEND="${DEPEND}" |
53 |
- |
54 |
-DOCS=( |
55 |
- docs/{CHANGELOG,CREDIT,HACKING,TODO} |
56 |
-) |
57 |
-PATCHES=( |
58 |
- "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch |
59 |
-) |
60 |
- |
61 |
-S=${WORKDIR}/${P/_/-} |
62 |
- |
63 |
-src_prepare() { |
64 |
- default |
65 |
- |
66 |
- sed -i \ |
67 |
- -e 's|#include <dnet.h>|#include <dnet/eth.h>|g' \ |
68 |
- src/common/sendpacket.c || die |
69 |
- sed -i \ |
70 |
- -e 's|@\([A-Z_]*\)@|$(\1)|g' \ |
71 |
- -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \ |
72 |
- -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \ |
73 |
- src/Makefile.am || die |
74 |
- |
75 |
- eautoreconf |
76 |
-} |
77 |
- |
78 |
-src_configure() { |
79 |
- # By default it uses static linking. Avoid that, bug 252940 |
80 |
- econf \ |
81 |
- $(use_enable debug) \ |
82 |
- $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ |
83 |
- $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ |
84 |
- --enable-dynamic-link \ |
85 |
- --enable-local-libopts \ |
86 |
- --enable-shared \ |
87 |
- --with-libdnet \ |
88 |
- --with-testnic2=lo \ |
89 |
- --with-testnic=lo |
90 |
-} |
91 |
- |
92 |
-src_test() { |
93 |
- if [[ ! ${EUID} -eq 0 ]]; then |
94 |
- ewarn "Some tests were disabled due to FEATURES=userpriv" |
95 |
- ewarn "To run all tests issue the following command as root:" |
96 |
- ewarn " # make -C ${S}/test" |
97 |
- emake -j1 -C test tcpprep || die "self test failed - see ${S}/test/test.log" |
98 |
- else |
99 |
- emake -j1 test || { |
100 |
- ewarn "Note that some tests require eth0 iface to be up." ; |
101 |
- die "self test failed - see ${S}/test/test.log" ; } |
102 |
- fi |
103 |
-} |