diff options
author | Markus Ullmann <jokey@gentoo.org> | 2008-07-07 21:49:40 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2008-07-07 21:49:40 +0000 |
commit | 84da2bd55f66f263b303d841189ac877f76e8290 (patch) | |
tree | 37f9e617eafe9148f3fccb07f299fad00556c6ef /net-analyzer | |
parent | amd64 stable wrt bug #229679 (diff) | |
download | historical-84da2bd55f66f263b303d841189ac877f76e8290.tar.gz historical-84da2bd55f66f263b303d841189ac877f76e8290.tar.bz2 historical-84da2bd55f66f263b303d841189ac877f76e8290.zip |
Version bump for bug #229259
Package-Manager: portage-2.2_rc1/cvs/Linux 2.6.24-gentoo-r3 i686
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/tcpreplay/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-3.3.2.ebuild | 43 |
2 files changed, 49 insertions, 1 deletions
diff --git a/net-analyzer/tcpreplay/ChangeLog b/net-analyzer/tcpreplay/ChangeLog index 87c4614c2230..864bb2fa268e 100644 --- a/net-analyzer/tcpreplay/ChangeLog +++ b/net-analyzer/tcpreplay/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/tcpreplay # Copyright 2000-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.26 2008/03/23 14:41:09 pva Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.27 2008/07/07 21:49:40 jokey Exp $ + +*tcpreplay-3.3.2 (07 Jul 2008) + + 07 Jul 2008; Markus Ullmann <jokey@gentoo.org> +tcpreplay-3.3.2.ebuild: + Version bump for bug #229259 23 Mar 2008; <pva@gentoo.org> -tcpreplay-3.2.1.ebuild, tcpreplay-3.2.3.ebuild: diff --git a/net-analyzer/tcpreplay/tcpreplay-3.3.2.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.3.2.ebuild new file mode 100644 index 000000000000..5ef2d3942321 --- /dev/null +++ b/net-analyzer/tcpreplay/tcpreplay-3.3.2.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.3.2.ebuild,v 1.1 2008/07/07 21:49:40 jokey 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" + dodoc docs/{CHANGELOG,CREDIT,HACKING,TODO} +} |