diff options
author | Peter Volkov <pva@gentoo.org> | 2007-12-10 12:09:16 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2007-12-10 12:09:16 +0000 |
commit | 74c5fb2d0bfe94605c0c8bd5fa4e9f15e7fc21c5 (patch) | |
tree | b8a3c7e4af64fe97a8b6b4e9c82117f988214d72 /net-analyzer/tcpreplay | |
parent | Version bump. (diff) | |
download | gentoo-2-74c5fb2d0bfe94605c0c8bd5fa4e9f15e7fc21c5.tar.gz gentoo-2-74c5fb2d0bfe94605c0c8bd5fa4e9f15e7fc21c5.tar.bz2 gentoo-2-74c5fb2d0bfe94605c0c8bd5fa4e9f15e7fc21c5.zip |
Version bump. Fixed bug, which caused emerge with FEATURES=test always fail on tests.
(Portage version: 2.1.3.19)
Diffstat (limited to 'net-analyzer/tcpreplay')
-rw-r--r-- | net-analyzer/tcpreplay/ChangeLog | 9 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/files/digest-tcpreplay-3.2.3 | 3 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild | 8 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-3.2.3.ebuild | 44 |
4 files changed, 59 insertions, 5 deletions
diff --git a/net-analyzer/tcpreplay/ChangeLog b/net-analyzer/tcpreplay/ChangeLog index e4fd0f7d173e..bea8684206c1 100644 --- a/net-analyzer/tcpreplay/ChangeLog +++ b/net-analyzer/tcpreplay/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for net-analyzer/tcpreplay # Copyright 2000-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.22 2007/11/05 16:40:40 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.23 2007/12/10 12:09:15 pva Exp $ + +*tcpreplay-3.2.3 (10 Dec 2007) + + 10 Dec 2007; <pva@gentoo.org> tcpreplay-3.2.1.ebuild, + +tcpreplay-3.2.3.ebuild: + Version bump. Fixed bug, which caused emerge with FEATURES=test always fail + on tests. 05 Nov 2007; Raúl Porcel <armin76@gentoo.org> tcpreplay-3.2.1.ebuild: Re-add ~sparc wrt #197761 diff --git a/net-analyzer/tcpreplay/files/digest-tcpreplay-3.2.3 b/net-analyzer/tcpreplay/files/digest-tcpreplay-3.2.3 new file mode 100644 index 000000000000..c4b65782aed1 --- /dev/null +++ b/net-analyzer/tcpreplay/files/digest-tcpreplay-3.2.3 @@ -0,0 +1,3 @@ +MD5 dc3b1e013cda5ff98be742e01f953788 tcpreplay-3.2.3.tar.gz 776918 +RMD160 2b6c3cdd4758ba54086e84753f2a921fce1061fa tcpreplay-3.2.3.tar.gz 776918 +SHA256 5e4a5dabf98cc75cfd3e719018de4a111d81f55eb582ab1c865a26930977db74 tcpreplay-3.2.3.tar.gz 776918 diff --git a/net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild index 20720b6564dc..ee2f1324e0a5 100644 --- a/net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild +++ b/net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild,v 1.2 2007/11/05 16:40:40 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.2.1.ebuild,v 1.3 2007/12/10 12:09:15 pva Exp $ DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" HOMEPAGE="http://tcpreplay.synfin.net/" @@ -31,9 +31,9 @@ src_test() { ewarn "For a full test as root - 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" + make test || { + ewarn "Note, that some tests require eth0 iface to be UP." ; + die "self test failed - see ${S}/test/test.log" ; } fi } diff --git a/net-analyzer/tcpreplay/tcpreplay-3.2.3.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.2.3.ebuild new file mode 100644 index 000000000000..dfd8f48fdb11 --- /dev/null +++ b/net-analyzer/tcpreplay/tcpreplay-3.2.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.2.3.ebuild,v 1.1 2007/12/10 12:09:15 pva Exp $ + +DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" +HOMEPAGE="http://tcpreplay.synfin.net/" +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" +RESTRICT="mirror" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~sparc ~x86" +IUSE="debug pcapnav" + +DEPEND=">=net-libs/libnet-1.1.1 + net-libs/libpcap + net-analyzer/tcpdump + pcapnav? ( net-libs/libpcapnav )" + +src_compile() { + econf \ + $(use_enable debug) \ + || die "econf failed" + emake || die "emake failed" +} + +src_test() { + whoami + if hasq userpriv "${FEATURES}"; then + ewarn "Some tested disabled due to FEATURES=userpriv" + ewarn "For a full test as root - 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 "emake install failed" + rm "${D}"/usr/bin/man2html + dodoc docs/{CHANGELOG,CREDIT,HACKING,TODO} +} |