From 0fac94060b9e41dd212512ce931ae71f6ac8ee38 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Sun, 22 Jan 2012 17:53:01 +0000 Subject: Version bump. Add --enable-dynamic-link to configure by Tupone Alfredo (bug #399749). (Portage version: 2.2.0_alpha84/cvs/Linux x86_64) --- net-analyzer/tcpreplay/ChangeLog | 12 ++++- net-analyzer/tcpreplay/tcpreplay-3.4.3.ebuild | 54 ------------------- net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild | 8 +-- net-analyzer/tcpreplay/tcpreplay-3.4.4.ebuild | 54 ------------------- .../tcpreplay/tcpreplay-3.4.5_beta2.ebuild | 10 ++-- .../tcpreplay/tcpreplay-3.4.5_beta3.ebuild | 60 ++++++++++++++++++++++ 6 files changed, 81 insertions(+), 117 deletions(-) delete mode 100644 net-analyzer/tcpreplay/tcpreplay-3.4.3.ebuild delete mode 100644 net-analyzer/tcpreplay/tcpreplay-3.4.4.ebuild create mode 100644 net-analyzer/tcpreplay/tcpreplay-3.4.5_beta3.ebuild (limited to 'net-analyzer') diff --git a/net-analyzer/tcpreplay/ChangeLog b/net-analyzer/tcpreplay/ChangeLog index 44a6ccee1176..0fe5f02ad611 100644 --- a/net-analyzer/tcpreplay/ChangeLog +++ b/net-analyzer/tcpreplay/ChangeLog @@ -1,6 +1,14 @@ # ChangeLog for net-analyzer/tcpreplay -# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.43 2011/03/21 08:12:16 tomka Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/ChangeLog,v 1.44 2012/01/22 17:53:01 jer Exp $ + +*tcpreplay-3.4.5_beta3 (22 Jan 2012) + + 22 Jan 2012; Jeroen Roovers -tcpreplay-3.4.3.ebuild, + -tcpreplay-3.4.4.ebuild, tcpreplay-3.4.4-r1.ebuild, + tcpreplay-3.4.5_beta2.ebuild, +tcpreplay-3.4.5_beta3.ebuild: + Version bump. Add --enable-dynamic-link to configure by Tupone Alfredo (bug + #399749). 21 Mar 2011; Thomas Kahle tcpreplay-3.4.4-r1.ebuild: x86 stable per bug 358665 diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.3.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.3.ebuild deleted file mode 100644 index fc2083ca7ccb..000000000000 --- a/net-analyzer/tcpreplay/tcpreplay-3.4.3.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2009 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.3.ebuild,v 1.4 2009/11/19 16:58:26 maekke Exp $ - -EAPI="2" - -DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" -HOMEPAGE="http://tcpreplay.synfin.net/" -SRC_URI="mirror://sourceforge/${PN}/${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="amd64 ~sparc x86" -IUSE="debug pcapnav +tcpdump" - -DEPEND=" - >=sys-devel/autogen-5.9.7 - dev-libs/libdnet - >=net-libs/libpcap-0.9 - tcpdump? ( net-analyzer/tcpdump ) - pcapnav? ( net-libs/libpcapnav )" - -RDEPEND="${DEPEND}" - -src_prepare() { - echo "We don't use bundled libopts" > libopts/options.h -} - -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 -} diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild index 7e8d198a8b94..99804c1484d6 100644 --- a/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild +++ b/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2011 Gentoo Foundation +# Copyright 1999-2012 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild,v 1.3 2011/03/21 08:12:16 tomka Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.4-r1.ebuild,v 1.4 2012/01/22 17:53:01 jer Exp $ EAPI="2" @@ -31,7 +31,9 @@ src_prepare() { src_configure() { # By default it uses static linking. Avoid that, bug 252940 - econf --enable-shared \ + econf \ + --enable-shared \ + --enable-dynamic-link \ --disable-local-libopts \ $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.4.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.4.ebuild deleted file mode 100644 index 72ab0197929b..000000000000 --- a/net-analyzer/tcpreplay/tcpreplay-3.4.4.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# 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.4.ebuild,v 1.1 2010/04/21 19:24:09 pva Exp $ - -EAPI="2" - -DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" -HOMEPAGE="http://tcpreplay.synfin.net/" -SRC_URI="mirror://sourceforge/${PN}/${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}" - -src_prepare() { - echo "We don't use bundled libopts" > libopts/options.h -} - -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 -} diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild index 8b5360747ca3..c720d2a9d752 100644 --- a/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild +++ b/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2010 Gentoo Foundation +# Copyright 1999-2012 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 $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta2.ebuild,v 1.2 2012/01/22 17:53:01 jer Exp $ -EAPI="2" +EAPI=4 MY_P="${P/_/}" DESCRIPTION="replay saved tcpdump or snoop files at arbitrary speeds" @@ -32,7 +32,9 @@ src_prepare() { src_configure() { # By default it uses static linking. Avoid that, bug 252940 - econf --enable-shared \ + econf \ + --enable-shared \ + --enable-dynamic-link \ --disable-local-libopts \ $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \ $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \ diff --git a/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta3.ebuild b/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta3.ebuild new file mode 100644 index 000000000000..2f4669f92b52 --- /dev/null +++ b/net-analyzer/tcpreplay/tcpreplay-3.4.5_beta3.ebuild @@ -0,0 +1,60 @@ +# Copyright 1999-2012 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_beta3.ebuild,v 1.1 2012/01/22 17:53:01 jer Exp $ + +EAPI=4 + +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 \ + --enable-dynamic-link \ + --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 +} -- cgit v1.2.3-65-gdbad