summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2010-10-29 06:03:08 +0000
committerJeroen Roovers <jer@gentoo.org>2010-10-29 06:03:08 +0000
commit985732cffce5a5accd65bfbd7df586af7704f167 (patch)
treee64a08c0206292047a7e186417e6c6db43bc4430 /net-analyzer/tcpreplay
parentStable for HPPA (bug #302116). (diff)
downloadhistorical-985732cffce5a5accd65bfbd7df586af7704f167.tar.gz
historical-985732cffce5a5accd65bfbd7df586af7704f167.tar.bz2
historical-985732cffce5a5accd65bfbd7df586af7704f167.zip
Beta version bump, fixes buffer overflow (bug #336605).
Package-Manager: portage-2.1.9.23/cvs/Linux i686
Diffstat (limited to 'net-analyzer/tcpreplay')
-rw-r--r--net-analyzer/tcpreplay/ChangeLog8
-rw-r--r--net-analyzer/tcpreplay/Manifest4
-rw-r--r--net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild58
3 files changed, 68 insertions, 2 deletions
diff --git a/net-analyzer/tcpreplay/ChangeLog b/net-analyzer/tcpreplay/ChangeLog
index fdf2645fba42..7b7c59b51ea2 100644
--- a/net-analyzer/tcpreplay/ChangeLog
+++ b/net-analyzer/tcpreplay/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-analyzer/tcpreplay
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.39 2010/04/21 19:24:09 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.40 2010/10/29 06:03:08 jer Exp $
+
+*tcpreplay-3.4.5_beta2 (29 Oct 2010)
+
+ 29 Oct 2010; Jeroen Roovers <jer@gentoo.org>
+ +tcpreplay-3.4.5_beta2.ebuild:
+ Beta version bump, fixes buffer overflow (bug #336605).
*tcpreplay-3.4.4 (21 Apr 2010)
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 64c391aa4330..6bc67d641c2c 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,6 +1,8 @@
DIST tcpreplay-3.4.3.tar.gz 950100 RMD160 fc3430bd5a638d3f7bc9504032948598b4efede5 SHA1 441365eefdad608d41ccce92cc995ebb8559f35c SHA256 f604ac0cdfe5a33c2eff06a999ff904fa30fc5ac858047d18ac7a43aa0d61dd4
DIST tcpreplay-3.4.4.tar.gz 947179 RMD160 672812755ff39b284044b08cba32c574ab2b7e70 SHA1 9e4cca81cfbfb919f8759e1a27ce1b3b963ff3b8 SHA256 7a809c58ddec86407fd6e5597ac883d7874a19bea81d716bb2b1c6e3b0e7b58f
+DIST tcpreplay-3.4.5beta2.tar.gz 1886620 RMD160 d1840f1d1c1e85a708af6b9b395c52cc96456652 SHA1 340f3593683e7b026aaef8f20e1a7fcc2ddb6046 SHA256 072a5ef9997e817a78b272d4a2af70386456998de66da1fd510283b2128900f6
EBUILD tcpreplay-3.4.3.ebuild 1531 RMD160 eaaecde3de14979485db78177b919c1573495757 SHA1 3fd50386bcd6131d77680486b9ca3c8c90216b42 SHA256 07c7f2bd625cc7f47f13d0154daa03fce352c64a6d02a183cb55a07126183082
EBUILD tcpreplay-3.4.4.ebuild 1530 RMD160 f611e6d8c6f4688b60715eea40d161af6088b020 SHA1 09b9e362e3881ff43d7d2c241793b2ef83f3c81d SHA256 fd78c328c37076ecb1b564370d5fe6608a90d6d1ab3d37cec47db40055dfe444
-MISC ChangeLog 6356 RMD160 c31d2df64f02e653c45dc029694b87a1025140be SHA1 3a3faa6395ac029d690b74729bacf7cc4842f4e7 SHA256 eb73f0ccb6db16a1928733d3bed49074a32610e83eabe8709f70f81e01b3c7ce
+EBUILD tcpreplay-3.4.5_beta2.ebuild 1583 RMD160 cc2afe25959036368cfc99ec78063dc5a7e06962 SHA1 d27708f63d6e574ead154de5e17bce1e019eee3c SHA256 e7b39580891ce007225c45c17be26e03c3924ec76c5d34247f692bf67c44b7d3
+MISC ChangeLog 6533 RMD160 08155a770c3057027d9da532449d3d204ae8e01f SHA1 b9cfe3d23ba8cc87f0a893ecd769dd847565d741 SHA256 7be41ef15541116742f9bef0e3f3658e35537afa8b0aacc252d029583da5e694
MISC metadata.xml 835 RMD160 f49a99ce7708fa2eae5909d38c6c195c8ff147ec SHA1 8dfb5042c39c0ebb163b15446afac2ef9a70754c SHA256 26bad01dbf458cd04f341e34abf64a5b635f5ed06a83e90f870381e917786e8a
diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild
new file mode 100644
index 000000000000..8b5360747ca3
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild,v 1.1 2010/10/29 06:03:08 jer Exp $
+
+EAPI="2"
+
+MY_P="${P/_/}"
+DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds"
+HOMEPAGE="http://tcpreplay.synfin.net/"
+SRC_URI="http://synfin.net/${MY_P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+ >=sys-devel/autogen-5.9.8
+ dev-libs/libdnet
+ >=net-libs/libpcap-0.9
+ tcpdump? ( net-analyzer/tcpdump )
+ pcapnav? ( net-libs/libpcapnav )"
+
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}/${MY_P}"
+
+src_prepare() {
+ echo "We don't use bundled libopts" > libopts/options.h
+ ./autogen.sh
+}
+
+src_configure() {
+ # By default it uses static linking. Avoid that, bug 252940
+ econf --enable-shared \
+ --disable-local-libopts \
+ $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+ $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+ $(use_enable debug)
+}
+
+src_test() {
+ if [[ ! ${EUID} -eq 0 ]]; then
+ ewarn "Some tests were disabled due to FEATURES=userpriv"
+ ewarn "To run all tests issue the following command as root:"
+ ewarn " # make -C ${S}/test"
+ make -C test tcpprep || die "self test failed - see ${S}/test/test.log"
+ else
+ make test || {
+ ewarn "Note, that some tests require eth0 iface to be UP." ;
+ die "self test failed - see ${S}/test/test.log" ; }
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ dodoc README docs/{CHANGELOG,CREDIT,HACKING,TODO} || die
+}