1 |
pva 09/04/05 19:14:22 |
2 |
|
3 |
Modified: metadata.xml ChangeLog |
4 |
Added: tcpreplay-3.4.1.ebuild |
5 |
Log: |
6 |
Version bump, bug #261201, thank DrChandra the Gentoo Person for report. Fixes statical linking with libpcap and make sure we don't use bundled libopts, bug #252940, thank Diego E. 'Flameeyes' Pettenò for report. |
7 |
(Portage version: 2.2_rc28/cvs/Linux i686) |
8 |
|
9 |
Revision Changes Path |
10 |
1.4 net-analyzer/tcpreplay/metadata.xml |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/metadata.xml?rev=1.4&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/metadata.xml?rev=1.4&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/metadata.xml?r1=1.3&r2=1.4 |
15 |
|
16 |
Index: metadata.xml |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/metadata.xml,v |
19 |
retrieving revision 1.3 |
20 |
retrieving revision 1.4 |
21 |
diff -u -r1.3 -r1.4 |
22 |
--- metadata.xml 4 Aug 2008 20:15:13 -0000 1.3 |
23 |
+++ metadata.xml 5 Apr 2009 19:14:22 -0000 1.4 |
24 |
@@ -2,6 +2,16 @@ |
25 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
26 |
<pkgmetadata> |
27 |
<herd>netmon</herd> |
28 |
-<longdescription>replay saved tcpdump or snoop files at arbitrary speeds</longdescription> |
29 |
-<use><flag name='pcapnav'>Enable if you want the jump to byte offset feature via <pkg>net-libs/libpcapnav</pkg></flag></use> |
30 |
+<longdescription> |
31 |
+ Tcpreplay is a suite of utilities for UNIX systems for editing and replaying |
32 |
+ network traffic which was previously captured by tools like tcpdump and |
33 |
+ ethereal/wireshark. The goal of tcpreplay is to provide the means for |
34 |
+ providing reliable and repeatible means for testing a variety of network |
35 |
+ devices such as switches, router, firewalls, network intrusion detection and |
36 |
+ prevention systems (IDS and IPS). |
37 |
+</longdescription> |
38 |
+<use> |
39 |
+ <flag name='pcapnav'>Enable if you want the jump to byte offset feature via <pkg>net-libs/libpcapnav</pkg></flag> |
40 |
+ <flag name='tcpdump'>Use <pkg>net-analyzer/tcpdump</pkg> for packet decoding feature </flag> |
41 |
+</use> |
42 |
</pkgmetadata> |
43 |
|
44 |
|
45 |
|
46 |
1.31 net-analyzer/tcpreplay/ChangeLog |
47 |
|
48 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/ChangeLog?rev=1.31&view=markup |
49 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/ChangeLog?rev=1.31&content-type=text/plain |
50 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/ChangeLog?r1=1.30&r2=1.31 |
51 |
|
52 |
Index: ChangeLog |
53 |
=================================================================== |
54 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v |
55 |
retrieving revision 1.30 |
56 |
retrieving revision 1.31 |
57 |
diff -u -r1.30 -r1.31 |
58 |
--- ChangeLog 17 Aug 2008 19:47:40 -0000 1.30 |
59 |
+++ ChangeLog 5 Apr 2009 19:14:22 -0000 1.31 |
60 |
@@ -1,6 +1,15 @@ |
61 |
# ChangeLog for net-analyzer/tcpreplay |
62 |
-# Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 |
63 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.30 2008/08/17 19:47:40 gentoofan23 Exp $ |
64 |
+# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2 |
65 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.31 2009/04/05 19:14:22 pva Exp $ |
66 |
+ |
67 |
+*tcpreplay-3.4.1 (05 Apr 2009) |
68 |
+ |
69 |
+ 05 Apr 2009; Peter Volkov <pva@g.o> |
70 |
+ +files/tcpreplay-3.4.1-errx-exit.patch, metadata.xml, |
71 |
+ +tcpreplay-3.4.1.ebuild: |
72 |
+ Version bump, bug #261201, thank DrChandra the Gentoo Person for report. |
73 |
+ Fixes statical linking with libpcap and make sure we don't use bundled |
74 |
+ libopts, bug #252940, thank Diego E. 'Flameeyes' Pettenò for report. |
75 |
|
76 |
17 Aug 2008; Thomas Anderson <gentoofan23@g.o> |
77 |
tcpreplay-3.3.2.ebuild: |
78 |
|
79 |
|
80 |
|
81 |
1.1 net-analyzer/tcpreplay/tcpreplay-3.4.1.ebuild |
82 |
|
83 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.1.ebuild?rev=1.1&view=markup |
84 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.1.ebuild?rev=1.1&content-type=text/plain |
85 |
|
86 |
Index: tcpreplay-3.4.1.ebuild |
87 |
=================================================================== |
88 |
# Copyright 1999-2009 Gentoo Foundation |
89 |
# Distributed under the terms of the GNU General Public License v2 |
90 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.1.ebuild,v 1.1 2009/04/05 19:14:22 pva Exp $ |
91 |
|
92 |
EAPI="2" |
93 |
|
94 |
inherit eutils |
95 |
|
96 |
DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" |
97 |
HOMEPAGE="http://tcpreplay.synfin.net/" |
98 |
SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" |
99 |
|
100 |
LICENSE="BSD" |
101 |
SLOT="0" |
102 |
KEYWORDS="~amd64 ~sparc ~x86" |
103 |
IUSE="debug pcapnav +tcpdump" |
104 |
|
105 |
DEPEND=" |
106 |
>=sys-devel/autogen-5.9.7 |
107 |
dev-libs/libdnet |
108 |
>=net-libs/libpcap-0.9 |
109 |
tcpdump? ( net-analyzer/tcpdump ) |
110 |
pcapnav? ( net-libs/libpcapnav )" |
111 |
|
112 |
RDEPEND="${DEPEND}" |
113 |
|
114 |
src_prepare() { |
115 |
echo "We don't use bundled libopts" > libopts/options.h |
116 |
epatch "${FILESDIR}/tcpreplay-3.4.1-errx-exit.patch" |
117 |
} |
118 |
|
119 |
src_configure() { |
120 |
# By default it uses static linking. Avoid that, bug 252940 |
121 |
econf --enable-shared \ |
122 |
--disable-local-libopts \ |
123 |
$(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ |
124 |
$(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ |
125 |
$(use_enable debug) |
126 |
} |
127 |
|
128 |
src_test() { |
129 |
if hasq userpriv "${FEATURES}"; then |
130 |
ewarn "Some tested disabled due to FEATURES=userpriv" |
131 |
ewarn "For a full test as root - make -C ${S}/test" |
132 |
make -C test tcpprep || die "self test failed - see ${S}/test/test.log" |
133 |
else |
134 |
make test || { |
135 |
ewarn "Note, that some tests require eth0 iface to be UP." ; |
136 |
die "self test failed - see ${S}/test/test.log" ; } |
137 |
fi |
138 |
} |
139 |
|
140 |
src_install() { |
141 |
make DESTDIR="${D}" install || die "emake install failed" |
142 |
dodoc README docs/{CHANGELOG,CREDIT,HACKING,TODO} || die |
143 |
} |