1 |
jer 15/03/31 05:21:19 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tcpreplay-4.1.0.ebuild |
5 |
Removed: tcpreplay-3.4.4-r1.ebuild |
6 |
Log: |
7 |
Version bump. |
8 |
|
9 |
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key A792A613) |
10 |
|
11 |
Revision Changes Path |
12 |
1.58 net-analyzer/tcpreplay/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/ChangeLog?rev=1.58&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/ChangeLog?rev=1.58&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/ChangeLog?r1=1.57&r2=1.58 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v |
21 |
retrieving revision 1.57 |
22 |
retrieving revision 1.58 |
23 |
diff -u -r1.57 -r1.58 |
24 |
--- ChangeLog 30 Oct 2014 09:54:08 -0000 1.57 |
25 |
+++ ChangeLog 31 Mar 2015 05:21:19 -0000 1.58 |
26 |
@@ -1,6 +1,12 @@ |
27 |
# ChangeLog for net-analyzer/tcpreplay |
28 |
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.57 2014/10/30 09:54:08 ago Exp $ |
30 |
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 |
31 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.58 2015/03/31 05:21:19 jer Exp $ |
32 |
+ |
33 |
+*tcpreplay-4.1.0 (31 Mar 2015) |
34 |
+ |
35 |
+ 31 Mar 2015; Jeroen Roovers <jer@g.o> -tcpreplay-3.4.4-r1.ebuild, |
36 |
+ +tcpreplay-4.1.0.ebuild, -files/tcpreplay-3.4.4-crash.patch: |
37 |
+ Version bump. |
38 |
|
39 |
30 Oct 2014; Agostino Sarubbo <ago@g.o> tcpreplay-4.0.4.ebuild: |
40 |
Stable for x86, wrt bug #509058 |
41 |
|
42 |
|
43 |
|
44 |
1.1 net-analyzer/tcpreplay/tcpreplay-4.1.0.ebuild |
45 |
|
46 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-4.1.0.ebuild?rev=1.1&view=markup |
47 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-4.1.0.ebuild?rev=1.1&content-type=text/plain |
48 |
|
49 |
Index: tcpreplay-4.1.0.ebuild |
50 |
=================================================================== |
51 |
# Copyright 1999-2015 Gentoo Foundation |
52 |
# Distributed under the terms of the GNU General Public License v2 |
53 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-4.1.0.ebuild,v 1.1 2015/03/31 05:21:19 jer Exp $ |
54 |
|
55 |
EAPI=5 |
56 |
inherit autotools eutils flag-o-matic |
57 |
|
58 |
DESCRIPTION="a suite of utilities for editing and replaying previously captured network traffic" |
59 |
HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay" |
60 |
LICENSE="BSD GPL-3" |
61 |
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz" |
62 |
|
63 |
SLOT="0" |
64 |
KEYWORDS="~amd64 ~sparc ~x86" |
65 |
IUSE="debug pcapnav +tcpdump" |
66 |
|
67 |
DEPEND=" |
68 |
>=sys-devel/autogen-5.16.2[libopts] |
69 |
dev-libs/libdnet |
70 |
>=net-libs/libpcap-0.9 |
71 |
tcpdump? ( net-analyzer/tcpdump ) |
72 |
pcapnav? ( net-libs/libpcapnav ) |
73 |
" |
74 |
|
75 |
RDEPEND="${DEPEND}" |
76 |
|
77 |
DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} ) |
78 |
|
79 |
src_prepare() { |
80 |
sed -i \ |
81 |
-e 's|-O3||g' \ |
82 |
-e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \ |
83 |
configure.ac || die |
84 |
sed -i \ |
85 |
-e 's|#include <dnet.h>|#include <dnet/eth.h>|g' \ |
86 |
src/common/sendpacket.c || die |
87 |
sed -i \ |
88 |
-e 's|@\([A-Z_]*\)@|$(\1)|g' \ |
89 |
-e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \ |
90 |
-e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \ |
91 |
src/Makefile.am || die |
92 |
|
93 |
eautoreconf |
94 |
} |
95 |
|
96 |
src_configure() { |
97 |
# By default it uses static linking. Avoid that, bug 252940 |
98 |
econf \ |
99 |
$(use_enable debug) \ |
100 |
$(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ |
101 |
$(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ |
102 |
--disable-local-libopts \ |
103 |
--enable-dynamic-link \ |
104 |
--enable-shared \ |
105 |
--with-libdnet \ |
106 |
--with-testnic2=lo \ |
107 |
--with-testnic=lo |
108 |
} |
109 |
|
110 |
src_test() { |
111 |
if [[ ! ${EUID} -eq 0 ]]; then |
112 |
ewarn "Some tests were disabled due to FEATURES=userpriv" |
113 |
ewarn "To run all tests issue the following command as root:" |
114 |
ewarn " # make -C ${S}/test" |
115 |
emake -j1 -C test tcpprep || die "self test failed - see ${S}/test/test.log" |
116 |
else |
117 |
emake -j1 test || { |
118 |
ewarn "Note, that some tests require eth0 iface to be UP." ; |
119 |
die "self test failed - see ${S}/test/test.log" ; } |
120 |
fi |
121 |
} |