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