[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2024-11-09 Thread Arthur Zamarin
commit: bce754df226a3e53d98328cbc95997179e70d6b7
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Nov  9 10:22:12 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Nov  9 10:22:12 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bce754df

net-analyzer/tcpreplay: Stabilize 4.5.1 x86, #942829

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
index 3a5baddd5da3..04a08af9f376 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc x86"
 fi
 
 LICENSE="BSD GPL-3"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2024-11-03 Thread Sam James
commit: 24f12d367cf99bc4be52cacc2ac11ce43a739d5f
Author: Sam James  gentoo  org>
AuthorDate: Sun Nov  3 18:02:30 2024 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Nov  3 18:02:30 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=24f12d36

net-analyzer/tcpreplay: Stabilize 4.5.1 amd64, #942829

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
index 4a2240e9cef4..3a5baddd5da3 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc ~x86"
 fi
 
 LICENSE="BSD GPL-3"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2024-07-30 Thread Arthur Zamarin
commit: 848e926dbe0e16264a92db986b89cdd5df55fc4e
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Sun Jul 28 09:51:13 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jul 30 18:33:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=848e926d

net-analyzer/tcpreplay: update live ebuild

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/37692
Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-.ebuild | 27 +--
 1 file changed, 17 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-.ebuild
index 28758be51d1b..12b855475582 100644
--- a/net-analyzer/tcpreplay/tcpreplay-.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -35,6 +35,10 @@ DEPEND="
 "
 RDEPEND="${DEPEND}"
 
+QA_CONFIG_IMPL_DECL_SKIP=(
+   pathfind # sun/solaris only command, bug 900040
+)
+
 DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
@@ -59,16 +63,19 @@ src_prepare() {
 src_configure() {
use elibc_musl && append-flags "-lfts"
# By default it uses static linking. Avoid that, bug #252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
-   --enable-dynamic-link \
-   --enable-local-libopts \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
+   local myeconfargs=(
+   $(use_enable debug)
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config)
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump)
+   --enable-dynamic-link
+   --enable-local-libopts
+   --enable-shared
+   --with-libdnet
+   --with-testnic2=lo
--with-testnic=lo
+   )
+
+   econf "${myeconfargs[@]}"
 }
 
 src_test() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2024-07-30 Thread Arthur Zamarin
commit: 6af4fc3588e4b3bb3fde552a8d00d7f8884def97
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Tue Jul 23 18:49:45 2024 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Tue Jul 30 18:33:38 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6af4fc35

net-analyzer/tcpreplay: add 4.5.1

Closes: https://bugs.gentoo.org/900040
Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild | 91 +++
 2 files changed, 92 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 821f42c144ad..1d1f538bcb2a 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,3 @@
 DIST tcpreplay-4.4.3.tar.xz 750072 BLAKE2B 
218fe1c5faab0fdd75a031afce8f468c85886a4cf21a4d9bd34089bd106756ee0e65e0df605efecb3260ccff266553a44d8ee10249b35524a044c6c5db86fcc7
 SHA512 
d8186a5faf3fbe5505da34cfc466c0375c4f298c997fe85505ea898c8c1241c16f98269596b682983a3e5cbd8493882334c925ff750d95995f3b13c5b83357cf
 DIST tcpreplay-4.4.4.tar.xz 748344 BLAKE2B 
05f586c9d68e1ee47fc5dfdbf14d866ccbd921a5734a52de4ba6c1f33f37628e510eddbf9059130c9858207690ec2c14dfbf3819f923436aa64fcc3fc2ce074d
 SHA512 
a6907c98779c96b2acf53e2f13e832f2c9a7ee840acc40d23c7290c2ceefb5885d314453dec9463069218011bee86bb7df057966120aacd6cddda942821aea9b
+DIST tcpreplay-4.5.1.tar.xz 809628 BLAKE2B 
38c61646b86ff9ed740372fe9e40d85beab4b8feda5c5281fb00e45ceca441192389611885f209931accf079aca43d3dee214e66fefc188e539836cff5097a10
 SHA512 
8cc5fda16077051d7f4cd078567eb35b8f4ad7d0e04542ae12ec10b86899c804d3d929c37f9f0325f19f3ed651e767d5a6fe140d42e04151591cee6c1337b8df

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
new file mode 100644
index ..4a2240e9cef4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.5.1.ebuild
@@ -0,0 +1,91 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+if [[ ${PV} == ** ]] ; then
+   EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+fi
+
+LICENSE="BSD GPL-3"
+SLOT="0"
+IUSE="debug pcapnav +tcpdump"
+
+# libpcapnav for pcapnav-config
+BDEPEND="
+   net-libs/libpcapnav
+   >=sys-devel/autogen-5.18.4[libopts]
+"
+DEPEND="
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   elibc_musl? ( sys-libs/fts-standalone )
+   pcapnav? ( net-libs/libpcapnav )
+   tcpdump? ( net-analyzer/tcpdump )
+"
+RDEPEND="${DEPEND}"
+
+QA_CONFIG_IMPL_DECL_SKIP=(
+   pathfind # sun/solaris only command, bug 900040
+)
+
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   use elibc_musl && append-flags "-lfts"
+   # By default it uses static linking. Avoid that, bug #252940
+   local myeconfargs=(
+   $(use_enable debug)
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config)
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump)
+   --enable-dynamic-link
+   --enable-local-libopts
+   --enable-shared
+   --with-libdnet
+   --with-testnic2=lo
+   --with-testnic=lo
+   )
+
+   econf "${myeconfargs[@]}"
+}
+
+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"
+   emake -j1 -C test tcpprep
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up."
+   die "self test failed - see ${S}/test/test.log"
+   }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2023-07-09 Thread Arthur Zamarin
commit: f92e3d6c9c2d1687aa773caedc5aa7dce96fe431
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul  9 11:02:38 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul  9 11:02:38 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f92e3d6c

net-analyzer/tcpreplay: Stabilize 4.4.4 amd64, #910087

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
index 1ccab7f37484..98be0bac5446 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~sparc x86"
+   KEYWORDS="amd64 ~arm ~sparc x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2023-07-09 Thread Arthur Zamarin
commit: fc95b1d9bb5fd85de33d3d4289f554d2cdd5ec42
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sun Jul  9 11:02:37 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sun Jul  9 11:02:37 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fc95b1d9

net-analyzer/tcpreplay: Stabilize 4.4.4 x86, #910087

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
index f953a68c1c37..1ccab7f37484 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+   KEYWORDS="~amd64 ~arm ~sparc x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2023-06-11 Thread Sam James
commit: 21d945f9f9212093cd97440282fb47ba9f625137
Author: Sam James  gentoo  org>
AuthorDate: Sun Jun 11 23:56:45 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Jun 11 23:56:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21d945f9

net-analyzer/tcpreplay: add 4.4.4

Bug: https://bugs.gentoo.org/905323
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 1aaec471..821f42c144ad 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.4.3.tar.xz 750072 BLAKE2B 
218fe1c5faab0fdd75a031afce8f468c85886a4cf21a4d9bd34089bd106756ee0e65e0df605efecb3260ccff266553a44d8ee10249b35524a044c6c5db86fcc7
 SHA512 
d8186a5faf3fbe5505da34cfc466c0375c4f298c997fe85505ea898c8c1241c16f98269596b682983a3e5cbd8493882334c925ff750d95995f3b13c5b83357cf
+DIST tcpreplay-4.4.4.tar.xz 748344 BLAKE2B 
05f586c9d68e1ee47fc5dfdbf14d866ccbd921a5734a52de4ba6c1f33f37628e510eddbf9059130c9858207690ec2c14dfbf3819f923436aa64fcc3fc2ce074d
 SHA512 
a6907c98779c96b2acf53e2f13e832f2c9a7ee840acc40d23c7290c2ceefb5885d314453dec9463069218011bee86bb7df057966120aacd6cddda942821aea9b

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
new file mode 100644
index ..f953a68c1c37
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.4.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+if [[ ${PV} == ** ]] ; then
+   EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+fi
+
+S="${WORKDIR}"/${P/_/-}
+
+LICENSE="BSD GPL-3"
+SLOT="0"
+IUSE="debug pcapnav +tcpdump"
+
+# libpcapnav for pcapnav-config
+BDEPEND="
+   net-libs/libpcapnav
+   >=sys-devel/autogen-5.18.4[libopts]
+"
+DEPEND="
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   elibc_musl? ( sys-libs/fts-standalone )
+   pcapnav? ( net-libs/libpcapnav )
+   tcpdump? ( net-analyzer/tcpdump )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   use elibc_musl && append-flags "-lfts"
+   # By default it uses static linking. Avoid that, bug #252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
+   --enable-dynamic-link \
+   --enable-local-libopts \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up."
+   die "self test failed - see ${S}/test/test.log"
+   }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/, net-analyzer/tcpreplay/files/

2023-05-01 Thread Sam James
commit: f1654f0340d745825110a57eeddfdfa0afd7e33a
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 13:28:52 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 13:28:52 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f1654f03

net-analyzer/tcpreplay: drop 4.4.2-r1

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/Manifest|  1 -
 .../files/tcpreplay-4.4.2-configure-clang16.patch  | 60 ---
 net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild   | 87 --
 3 files changed, 148 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 8e0d9474b8ee..1aaec471 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.4.2.tar.xz 750592 BLAKE2B 
c1f0bad69eca7e086aeb7100c4a35e2984a81412f81eaf981d969d24510736788e4657b511308b38ffbf88021c23272c51b9265eb2fb08318352d3eb8bed0a2a
 SHA512 
78e5482c0cd70a55aa80167c602b33811fa01203860fab4b2d504da71a95e218356ea0cc85254e12be7cb13b611487a150f13df94f9da274661f71e921bd6045
 DIST tcpreplay-4.4.3.tar.xz 750072 BLAKE2B 
218fe1c5faab0fdd75a031afce8f468c85886a4cf21a4d9bd34089bd106756ee0e65e0df605efecb3260ccff266553a44d8ee10249b35524a044c6c5db86fcc7
 SHA512 
d8186a5faf3fbe5505da34cfc466c0375c4f298c997fe85505ea898c8c1241c16f98269596b682983a3e5cbd8493882334c925ff750d95995f3b13c5b83357cf

diff --git 
a/net-analyzer/tcpreplay/files/tcpreplay-4.4.2-configure-clang16.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.4.2-configure-clang16.patch
deleted file mode 100644
index 81a5a0086958..
--- a/net-analyzer/tcpreplay/files/tcpreplay-4.4.2-configure-clang16.patch
+++ /dev/null
@@ -1,60 +0,0 @@
-https://github.com/appneta/tcpreplay/pull/757
-
-From 096197e584ebb7d646eef75e5a8654f7192a0af2 Mon Sep 17 00:00:00 2001
-From: Florian Weimer 
-Date: Thu, 24 Nov 2022 07:30:28 +0100
-Subject: [PATCH] configure.ac: Avoid implicit int, implicit function
- declarations
-
-Do not call exit without declaring it.  Add #include 
-for fork.  Add missing int type to the definition of main.
-
-Implicit ints and implicit function declarations were removed from
-C in 1999 and will not be supported by future compilers.
 a/configure.ac
-+++ b/configure.ac
-@@ -1681,8 +1681,8 @@ int
- main (int argc, char *argv[])
- {
- if (strncmp(PCAPNAV_VERSION, PCAPNAV_TEST, 3) >= 0)
--exit(0);
--exit(1);
-+return 0;
-+return 1;
- }   ]])],[libpcapnav_ver=yes
- AC_MSG_RESULT(>= 0.4)],[libpcapnav_ver=no
- AC_MSG_RESULT(< 0.4)],[libpcapnav_ver=no
-@@ -1726,26 +1726,27 @@ case "$host_os" in
- #include 
- #include 
- #include 
-+#include 
- unsigned char a[[5]] = { 1, 2, 3, 4, 5 };
--main() {
-+int main() {
- unsigned int i;
- pid_t pid;
- int status;
- /* avoid "core dumped" message */
- pid = fork();
- if (pid <  0)
--exit(2);
-+return 2;
- if (pid > 0) {
- /* parent */
- pid = waitpid(pid, &status, 0);
- if (pid < 0)
--exit(3);
--exit(!WIFEXITED(status));
-+return 3;
-+return !WIFEXITED(status);
- }
- /* child */
- i = *(unsigned int *)&a[[1]];
- printf("%d\n", i);
--exit(0);
-+return 0;
- }
- EOF
- ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS \
-

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild
deleted file mode 100644
index 2cc1e8f862c3..
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-if [[ ${PV} == ** ]] ; then
-   EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
-   inherit git-r3
-else
-   
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~sparc x86"
-fi
-
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="BSD GPL-3"
-SLOT="0"
-IUSE="debug pcapnav +tcpdump"
-
-# libpcapnav for pcapnav-config
-BDEPEND="
-   net-libs/libpcapnav
-   >=sys-devel/autogen-5.18.4[libopts]
-"
-DEPEND="
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   elibc_musl? ( sys-libs/fts-standalone )
-   pcapnav? ( net-libs/libpcapnav )
-   tcpdump? ( net-analyzer/tcpdump )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
-
-PATCHES=(
- 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2023-03-03 Thread Arthur Zamarin
commit: a1e8967f0b4dee19ebe7be443083eeefa42e792b
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 07:37:41 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 07:37:41 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a1e8967f

net-analyzer/tcpreplay: Stabilize 4.4.3 x86, #899402

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
index 8808ce145db6..98be0bac5446 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2023-03-03 Thread Arthur Zamarin
commit: 612be78d235fb6288c62f4a6880a3db6cf5f45b2
Author: Arthur Zamarin  gentoo  org>
AuthorDate: Sat Mar  4 05:46:31 2023 +
Commit: Arthur Zamarin  gentoo  org>
CommitDate: Sat Mar  4 05:46:31 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=612be78d

net-analyzer/tcpreplay: Stabilize 4.4.3 amd64, #899402

Signed-off-by: Arthur Zamarin  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
index f953a68c1c37..8808ce145db6 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc ~x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2023-01-02 Thread Sam James
commit: 0cf8c048361b807c7e4ecd5b0270ec4311d07bc7
Author: Sam James  gentoo  org>
AuthorDate: Tue Jan  3 03:32:08 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Jan  3 03:33:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cf8c048

net-analyzer/tcpreplay: add 4.4.3

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild | 86 +++
 2 files changed, 87 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 8375ad4c3a9f..8e0d9474b8ee 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.4.2.tar.xz 750592 BLAKE2B 
c1f0bad69eca7e086aeb7100c4a35e2984a81412f81eaf981d969d24510736788e4657b511308b38ffbf88021c23272c51b9265eb2fb08318352d3eb8bed0a2a
 SHA512 
78e5482c0cd70a55aa80167c602b33811fa01203860fab4b2d504da71a95e218356ea0cc85254e12be7cb13b611487a150f13df94f9da274661f71e921bd6045
+DIST tcpreplay-4.4.3.tar.xz 750072 BLAKE2B 
218fe1c5faab0fdd75a031afce8f468c85886a4cf21a4d9bd34089bd106756ee0e65e0df605efecb3260ccff266553a44d8ee10249b35524a044c6c5db86fcc7
 SHA512 
d8186a5faf3fbe5505da34cfc466c0375c4f298c997fe85505ea898c8c1241c16f98269596b682983a3e5cbd8493882334c925ff750d95995f3b13c5b83357cf

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
new file mode 100644
index ..f953a68c1c37
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.3.ebuild
@@ -0,0 +1,86 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools flag-o-matic
+
+DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+if [[ ${PV} == ** ]] ; then
+   EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+fi
+
+S="${WORKDIR}"/${P/_/-}
+
+LICENSE="BSD GPL-3"
+SLOT="0"
+IUSE="debug pcapnav +tcpdump"
+
+# libpcapnav for pcapnav-config
+BDEPEND="
+   net-libs/libpcapnav
+   >=sys-devel/autogen-5.18.4[libopts]
+"
+DEPEND="
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   elibc_musl? ( sys-libs/fts-standalone )
+   pcapnav? ( net-libs/libpcapnav )
+   tcpdump? ( net-analyzer/tcpdump )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   use elibc_musl && append-flags "-lfts"
+   # By default it uses static linking. Avoid that, bug #252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
+   --enable-dynamic-link \
+   --enable-local-libopts \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up."
+   die "self test failed - see ${S}/test/test.log"
+   }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/, net-analyzer/tcpreplay/files/

2022-11-24 Thread Sam James
commit: c3d3a026966dbb4245543951ab61f7db413bf8ed
Author: Sam James  gentoo  org>
AuthorDate: Thu Nov 24 08:40:25 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Nov 24 08:40:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3d3a026

net-analyzer/tcpreplay: fix configure w/ clang 16

Signed-off-by: Sam James  gentoo.org>

 .../files/tcpreplay-4.4.2-configure-clang16.patch  | 60 ++
 ...play-4.4.2.ebuild => tcpreplay-4.4.2-r1.ebuild} |  1 +
 2 files changed, 61 insertions(+)

diff --git 
a/net-analyzer/tcpreplay/files/tcpreplay-4.4.2-configure-clang16.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.4.2-configure-clang16.patch
new file mode 100644
index ..81a5a0086958
--- /dev/null
+++ b/net-analyzer/tcpreplay/files/tcpreplay-4.4.2-configure-clang16.patch
@@ -0,0 +1,60 @@
+https://github.com/appneta/tcpreplay/pull/757
+
+From 096197e584ebb7d646eef75e5a8654f7192a0af2 Mon Sep 17 00:00:00 2001
+From: Florian Weimer 
+Date: Thu, 24 Nov 2022 07:30:28 +0100
+Subject: [PATCH] configure.ac: Avoid implicit int, implicit function
+ declarations
+
+Do not call exit without declaring it.  Add #include 
+for fork.  Add missing int type to the definition of main.
+
+Implicit ints and implicit function declarations were removed from
+C in 1999 and will not be supported by future compilers.
+--- a/configure.ac
 b/configure.ac
+@@ -1681,8 +1681,8 @@ int
+ main (int argc, char *argv[])
+ {
+ if (strncmp(PCAPNAV_VERSION, PCAPNAV_TEST, 3) >= 0)
+-exit(0);
+-exit(1);
++return 0;
++return 1;
+ }   ]])],[libpcapnav_ver=yes
+ AC_MSG_RESULT(>= 0.4)],[libpcapnav_ver=no
+ AC_MSG_RESULT(< 0.4)],[libpcapnav_ver=no
+@@ -1726,26 +1726,27 @@ case "$host_os" in
+ #include 
+ #include 
+ #include 
++#include 
+ unsigned char a[[5]] = { 1, 2, 3, 4, 5 };
+-main() {
++int main() {
+ unsigned int i;
+ pid_t pid;
+ int status;
+ /* avoid "core dumped" message */
+ pid = fork();
+ if (pid <  0)
+-exit(2);
++return 2;
+ if (pid > 0) {
+ /* parent */
+ pid = waitpid(pid, &status, 0);
+ if (pid < 0)
+-exit(3);
+-exit(!WIFEXITED(status));
++return 3;
++return !WIFEXITED(status);
+ }
+ /* child */
+ i = *(unsigned int *)&a[[1]];
+ printf("%d\n", i);
+-exit(0);
++return 0;
+ }
+ EOF
+ ${CC-cc} -o conftest $CFLAGS $CPPFLAGS $LDFLAGS \
+

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild
similarity index 97%
rename from net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
rename to net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild
index aebdcc9142d9..2cc1e8f862c3 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.2-r1.ebuild
@@ -39,6 +39,7 @@ DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+   "${FILESDIR}"/${PN}-4.4.2-configure-clang16.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/files/

2022-10-23 Thread Conrad Kostecki
commit: 737b1617927e5b8d1b7dc7f3e67cd7fcfb6830b7
Author: Michael Mair-Keimberger  levelnine  at>
AuthorDate: Wed Oct 19 17:05:07 2022 +
Commit: Conrad Kostecki  gentoo  org>
CommitDate: Sun Oct 23 20:36:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=737b1617

net-analyzer/tcpreplay: remove unused patch

Signed-off-by: Michael Mair-Keimberger  levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/27851
Signed-off-by: Conrad Kostecki  gentoo.org>

 .../tcpreplay-4.4.1-fix-bashism-configure.patch| 34 --
 1 file changed, 34 deletions(-)

diff --git 
a/net-analyzer/tcpreplay/files/tcpreplay-4.4.1-fix-bashism-configure.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.4.1-fix-bashism-configure.patch
deleted file mode 100644
index f1d424274333..
--- a/net-analyzer/tcpreplay/files/tcpreplay-4.4.1-fix-bashism-configure.patch
+++ /dev/null
@@ -1,34 +0,0 @@
-https://github.com/appneta/tcpreplay/pull/714
-
-From bd93776c50ec1d0574c72f253095afe22eb6bf73 Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Sun, 13 Feb 2022 16:09:23 +
-Subject: [PATCH] build: fix bashism in configure
-
-configure scripts are run with /bin/sh which is supposed
-to be a POSIX-compliant shell, so if /bin/sh is provided
-by e.g. dash (like on Debian) rather than bash, we hit
-errors.
-
-This has no effect on functionality for bash &
-retains compatibility.
-
-Signed-off-by: Sam James 

- configure.ac | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/configure.ac b/configure.ac
-index 11a1e4ea..4c577c42 100644
 a/configure.ac
-+++ b/configure.ac
-@@ -1808,7 +1808,7 @@ fi
- dnl No 'make test' when cross compile
- 
- AC_MSG_CHECKING(for 'make test' profile)
--if test "$host" == "$build" ; then
-+if test "$host" = "$build" ; then
- AC_MSG_RESULT([yes])
- else
- AC_MSG_WARN(Unable to do tests when cross-compiling)
-



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-10-16 Thread John Helmert III
commit: 5d5ed53a1fde4bc265745acf50499481a20054a1
Author: John Helmert III  gentoo  org>
AuthorDate: Sun Oct 16 15:03:41 2022 +
Commit: John Helmert III  gentoo  org>
CommitDate: Sun Oct 16 15:03:41 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5d5ed53a

net-analyzer/tcpreplay: drop 4.3.4, 4.4.1

Bug: https://bugs.gentoo.org/836240
Bug: https://bugs.gentoo.org/833139
Signed-off-by: John Helmert III  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  2 -
 net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild | 77 
 net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild | 87 ---
 3 files changed, 166 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 89a8c894147b..8375ad4c3a9f 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1 @@
-DIST tcpreplay-4.3.4.tar.xz 739280 BLAKE2B 
8b680363ee182fc7581f99cc4587d50e36285446d07a5be370e2439b31582ad88c786c11d662e28dadc5b69aee376889b1c0f6a86d61c106426ab6ab2c085012
 SHA512 
6d19cf492114c68a9fafcf7790c08f31607d2c0112e02fa41eed8747255bbbef85f281f74348e1d51f1d476b88f07d64715224618ec15268688baefaf7cc7124
-DIST tcpreplay-4.4.1.tar.xz 751036 BLAKE2B 
cf6a4e23f68fd0d6f23392c3ded14ea6486d275eeb8e278ce02d6b34e8b426e69841858cac49cc5ea952e0398f2960049789d16180b0896e38d665511237b352
 SHA512 
25a4a94b7c0c416b8ef57aba5640803dcd6e271fe8789f3f6e281529e336e326b35738d7673fd44ac4ded0faf577dc4c6255b926bd67b8ba5104a8bad81a98f1
 DIST tcpreplay-4.4.2.tar.xz 750592 BLAKE2B 
c1f0bad69eca7e086aeb7100c4a35e2984a81412f81eaf981d969d24510736788e4657b511308b38ffbf88021c23272c51b9265eb2fb08318352d3eb8bed0a2a
 SHA512 
78e5482c0cd70a55aa80167c602b33811fa01203860fab4b2d504da71a95e218356ea0cc85254e12be7cb13b611487a150f13df94f9da274661f71e921bd6045

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
deleted file mode 100644
index 908816ad6f53..
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="BSD GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-# libpcapnav for pcapnav-config
-BDEPEND="
-   net-libs/libpcapnav
-   >=sys-devel/autogen-5.18.4[libopts]
-"
-DEPEND="
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   pcapnav? ( net-libs/libpcapnav )
-   tcpdump? ( net-analyzer/tcpdump )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-)
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug #252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
-   --enable-dynamic-link \
-   --enable-local-libopts \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep
-   else
-   emake -j1 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-4.4.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
deleted file mode 100644
index 931ea85bf4a9..
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit autotools flag-o-matic
-
-DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpre

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-10-13 Thread Sam James
commit: 0896fd72a09a7366ffb07d9e8fbc431e20f98ba6
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 13 23:03:13 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 13 23:03:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0896fd72

net-analyzer/tcpreplay: Stabilize 4.4.2 x86, #877033

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
index c0738cb35991..aebdcc9142d9 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-10-13 Thread Sam James
commit: 2f5bb830d853abf131b2a9686d225c7c2f40850e
Author: Sam James  gentoo  org>
AuthorDate: Thu Oct 13 22:36:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Thu Oct 13 22:36:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2f5bb830

net-analyzer/tcpreplay: Stabilize 4.4.2 amd64, #877033

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
index 28758be51d1b..c0738cb35991 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc ~x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-08-27 Thread Sam James
commit: f8a5c2cc9833bc9c4f85eb8be95bc5dcc83ea8e8
Author: Sam James  gentoo  org>
AuthorDate: Sat Aug 27 05:57:30 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Aug 27 06:05:56 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f8a5c2cc

net-analyzer/tcpreplay: add 4.4.2

Bug: https://bugs.gentoo.org/836240
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/Manifest  | 1 +
 net-analyzer/tcpreplay/{tcpreplay-.ebuild => tcpreplay-4.4.2.ebuild} | 1 -
 net-analyzer/tcpreplay/tcpreplay-.ebuild | 1 -
 3 files changed, 1 insertion(+), 2 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index ad3c5de2681d..89a8c894147b 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,3 @@
 DIST tcpreplay-4.3.4.tar.xz 739280 BLAKE2B 
8b680363ee182fc7581f99cc4587d50e36285446d07a5be370e2439b31582ad88c786c11d662e28dadc5b69aee376889b1c0f6a86d61c106426ab6ab2c085012
 SHA512 
6d19cf492114c68a9fafcf7790c08f31607d2c0112e02fa41eed8747255bbbef85f281f74348e1d51f1d476b88f07d64715224618ec15268688baefaf7cc7124
 DIST tcpreplay-4.4.1.tar.xz 751036 BLAKE2B 
cf6a4e23f68fd0d6f23392c3ded14ea6486d275eeb8e278ce02d6b34e8b426e69841858cac49cc5ea952e0398f2960049789d16180b0896e38d665511237b352
 SHA512 
25a4a94b7c0c416b8ef57aba5640803dcd6e271fe8789f3f6e281529e336e326b35738d7673fd44ac4ded0faf577dc4c6255b926bd67b8ba5104a8bad81a98f1
+DIST tcpreplay-4.4.2.tar.xz 750592 BLAKE2B 
c1f0bad69eca7e086aeb7100c4a35e2984a81412f81eaf981d969d24510736788e4657b511308b38ffbf88021c23272c51b9265eb2fb08318352d3eb8bed0a2a
 SHA512 
78e5482c0cd70a55aa80167c602b33811fa01203860fab4b2d504da71a95e218356ea0cc85254e12be7cb13b611487a150f13df94f9da274661f71e921bd6045

diff --git a/net-analyzer/tcpreplay/tcpreplay-.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
similarity index 97%
copy from net-analyzer/tcpreplay/tcpreplay-.ebuild
copy to net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
index 01eca400dbe0..28758be51d1b 100644
--- a/net-analyzer/tcpreplay/tcpreplay-.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.2.ebuild
@@ -39,7 +39,6 @@ DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-   "${FILESDIR}"/${PN}-4.4.1-fix-bashism-configure.patch
 )
 
 src_prepare() {

diff --git a/net-analyzer/tcpreplay/tcpreplay-.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-.ebuild
index 01eca400dbe0..28758be51d1b 100644
--- a/net-analyzer/tcpreplay/tcpreplay-.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-.ebuild
@@ -39,7 +39,6 @@ DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-   "${FILESDIR}"/${PN}-4.4.1-fix-bashism-configure.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-06-27 Thread Sam James
commit: 840c8861d9d4aa90721853527d0325628d5b3c46
Author: Cristian Othón Martínez Vera  cfuga  mx>
AuthorDate: Mon Jun 27 18:59:03 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jun 27 23:20:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840c8861

net-analyzer/tcpreplay: fix musl build

* Add sys-libs/fts-standalone as dependency
* Append the flag "-lfts" for compilation

Signed-off-by: Cristian Othón Martínez Vera  cfuga.mx>
Bug: https://bugs.gentoo.org/836577
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild |  4 +++-
 net-analyzer/tcpreplay/tcpreplay-.ebuild  | 29 ++-
 2 files changed, 23 insertions(+), 10 deletions(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
index f3f9e2d4d05c..931ea85bf4a9 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit autotools
+inherit autotools flag-o-matic
 
 DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
@@ -29,6 +29,7 @@ BDEPEND="
 DEPEND="
dev-libs/libdnet
>=net-libs/libpcap-0.9
+   elibc_musl? ( sys-libs/fts-standalone )
pcapnav? ( net-libs/libpcapnav )
tcpdump? ( net-analyzer/tcpdump )
 "
@@ -57,6 +58,7 @@ src_prepare() {
 }
 
 src_configure() {
+   use elibc_musl && append-flags "-lfts"
# By default it uses static linking. Avoid that, bug #252940
econf \
$(use_enable debug) \

diff --git a/net-analyzer/tcpreplay/tcpreplay-.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-.ebuild
index ab3477f795b6..01eca400dbe0 100644
--- a/net-analyzer/tcpreplay/tcpreplay-.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-.ebuild
@@ -1,13 +1,20 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit autotools git-r3
+inherit autotools flag-o-matic
 
 DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+if [[ ${PV} == ** ]] ; then
+   EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+fi
+
 S="${WORKDIR}"/${P/_/-}
 
 LICENSE="BSD GPL-3"
@@ -22,6 +29,7 @@ BDEPEND="
 DEPEND="
dev-libs/libdnet
>=net-libs/libpcap-0.9
+   elibc_musl? ( sys-libs/fts-standalone )
pcapnav? ( net-libs/libpcapnav )
tcpdump? ( net-analyzer/tcpdump )
 "
@@ -31,6 +39,7 @@ DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+   "${FILESDIR}"/${PN}-4.4.1-fix-bashism-configure.patch
 )
 
 src_prepare() {
@@ -49,13 +58,14 @@ src_prepare() {
 }
 
 src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
+   use elibc_musl && append-flags "-lfts"
+   # By default it uses static linking. Avoid that, bug #252940
econf \
$(use_enable debug) \
$(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
$(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
-   --disable-local-libopts \
--enable-dynamic-link \
+   --enable-local-libopts \
--enable-shared \
--with-libdnet \
--with-testnic2=lo \
@@ -63,14 +73,15 @@ src_configure() {
 }
 
 src_test() {
-   if [[ ! ${EUID} -eq 0 ]]; then
-   ewarn "Some tests will be disabled due to FEATURES=userpriv"
+   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"
emake -j1 -C test tcpprep
else
emake -j1 test || {
-   ewarn "Note that some tests require eth0 iface to be 
up." ;
-   die "self test failed - see ${S}/test/test.log" ; }
+   ewarn "Note that some tests require eth0 iface to be 
up."
+   die "self test failed - see ${S}/test/test.log"
+   }
fi
 }



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-03-01 Thread Sam James
commit: 983f185bb39a20a9ce89d81c13d351312a10cb05
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  2 03:42:36 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  2 03:42:36 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=983f185b

net-analyzer/tcpreplay: Stabilize 4.4.1 x86, #834459

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
index c888c55d41bb..f3f9e2d4d05c 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2022-03-01 Thread Sam James
commit: fea7d98b579efa23db1bfe5d7960d4a1c576f656
Author: Sam James  gentoo  org>
AuthorDate: Wed Mar  2 03:42:05 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Mar  2 03:42:05 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea7d98b

net-analyzer/tcpreplay: Stabilize 4.4.1 amd64, #834459

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
index 35febc8f8703..c888c55d41bb 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
@@ -12,7 +12,7 @@ if [[ ${PV} == ** ]] ; then
inherit git-r3
 else

SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+   KEYWORDS="amd64 ~arm ~sparc ~x86"
 fi
 
 S="${WORKDIR}"/${P/_/-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/files/, net-analyzer/tcpreplay/

2022-02-13 Thread Sam James
commit: f59a2f395f9edd7db3c03ac4628300e417f827b3
Author: Sam James  gentoo  org>
AuthorDate: Sun Feb 13 16:18:46 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Sun Feb 13 16:19:25 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f59a2f39

net-analyzer/tcpreplay: add 4.4.1

Bug: https://bugs.gentoo.org/833139
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/Manifest|  1 +
 .../tcpreplay-4.4.1-fix-bashism-configure.patch| 34 ++
 ...replay-99.ebuild => tcpreplay-4.4.1.ebuild} | 29 +++---
 ...preplay-99.ebuild => tcpreplay-.ebuild} |  2 +-
 4 files changed, 55 insertions(+), 11 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index ddd047da0039..ad3c5de2681d 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.3.4.tar.xz 739280 BLAKE2B 
8b680363ee182fc7581f99cc4587d50e36285446d07a5be370e2439b31582ad88c786c11d662e28dadc5b69aee376889b1c0f6a86d61c106426ab6ab2c085012
 SHA512 
6d19cf492114c68a9fafcf7790c08f31607d2c0112e02fa41eed8747255bbbef85f281f74348e1d51f1d476b88f07d64715224618ec15268688baefaf7cc7124
+DIST tcpreplay-4.4.1.tar.xz 751036 BLAKE2B 
cf6a4e23f68fd0d6f23392c3ded14ea6486d275eeb8e278ce02d6b34e8b426e69841858cac49cc5ea952e0398f2960049789d16180b0896e38d665511237b352
 SHA512 
25a4a94b7c0c416b8ef57aba5640803dcd6e271fe8789f3f6e281529e336e326b35738d7673fd44ac4ded0faf577dc4c6255b926bd67b8ba5104a8bad81a98f1

diff --git 
a/net-analyzer/tcpreplay/files/tcpreplay-4.4.1-fix-bashism-configure.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.4.1-fix-bashism-configure.patch
new file mode 100644
index ..f1d424274333
--- /dev/null
+++ b/net-analyzer/tcpreplay/files/tcpreplay-4.4.1-fix-bashism-configure.patch
@@ -0,0 +1,34 @@
+https://github.com/appneta/tcpreplay/pull/714
+
+From bd93776c50ec1d0574c72f253095afe22eb6bf73 Mon Sep 17 00:00:00 2001
+From: Sam James 
+Date: Sun, 13 Feb 2022 16:09:23 +
+Subject: [PATCH] build: fix bashism in configure
+
+configure scripts are run with /bin/sh which is supposed
+to be a POSIX-compliant shell, so if /bin/sh is provided
+by e.g. dash (like on Debian) rather than bash, we hit
+errors.
+
+This has no effect on functionality for bash &
+retains compatibility.
+
+Signed-off-by: Sam James 
+---
+ configure.ac | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/configure.ac b/configure.ac
+index 11a1e4ea..4c577c42 100644
+--- a/configure.ac
 b/configure.ac
+@@ -1808,7 +1808,7 @@ fi
+ dnl No 'make test' when cross compile
+ 
+ AC_MSG_CHECKING(for 'make test' profile)
+-if test "$host" == "$build" ; then
++if test "$host" = "$build" ; then
+ AC_MSG_RESULT([yes])
+ else
+ AC_MSG_WARN(Unable to do tests when cross-compiling)
+

diff --git a/net-analyzer/tcpreplay/tcpreplay-99.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
similarity index 69%
copy from net-analyzer/tcpreplay/tcpreplay-99.ebuild
copy to net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
index 52407c59ac72..35febc8f8703 100644
--- a/net-analyzer/tcpreplay/tcpreplay-99.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild
@@ -1,13 +1,20 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=7
+EAPI=8
 
-inherit autotools git-r3
+inherit autotools
 
 DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+if [[ ${PV} == ** ]] ; then
+   EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+   KEYWORDS="~amd64 ~arm ~sparc ~x86"
+fi
+
 S="${WORKDIR}"/${P/_/-}
 
 LICENSE="BSD GPL-3"
@@ -31,6 +38,7 @@ DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
 
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+   "${FILESDIR}"/${PN}-4.4.1-fix-bashism-configure.patch
 )
 
 src_prepare() {
@@ -49,13 +57,13 @@ src_prepare() {
 }
 
 src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
+   # By default it uses static linking. Avoid that, bug #252940
econf \
$(use_enable debug) \
$(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
$(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
-   --disable-local-libopts \
--enable-dynamic-link \
+   --enable-local-libopts \
--enable-shared \
--with-libdnet \
--with-testnic2=lo \
@@ -63,14 +71,15 @@ src_configure() {
 }
 
 src_test() {
-   if [[ ! ${EUID} -eq 0 ]]; then
- 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2021-05-25 Thread Thomas Deutschmann
commit: 840391c3fc715e59f7d5ff2c531b6351273d5fa1
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Tue May 25 13:59:19 2021 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Tue May 25 13:59:28 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=840391c3

net-analyzer/tcpreplay: security cleanup

Bug: https://bugs.gentoo.org/750344
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild | 77 ---
 2 files changed, 78 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 913acf2a40f..ddd047da003 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.3.3.tar.xz 748220 BLAKE2B 
2de09f75e6bb6035fc25f34f41d9ce2ccbb961d7464a9a6dae16ec417d629e4819593fd781d95075293ffa3a3db7c4a50ae8667c4e7d07c0b425361027c8df06
 SHA512 
110d7768a176d2126766829466a209cdd983afcf0c988f7e128baa5057b3ac1dc918fcaeb168a2e6654429100a146afcbdafcda8c3d67adf6b17892a48689a02
 DIST tcpreplay-4.3.4.tar.xz 739280 BLAKE2B 
8b680363ee182fc7581f99cc4587d50e36285446d07a5be370e2439b31582ad88c786c11d662e28dadc5b69aee376889b1c0f6a86d61c106426ab6ab2c085012
 SHA512 
6d19cf492114c68a9fafcf7790c08f31607d2c0112e02fa41eed8747255bbbef85f281f74348e1d51f1d476b88f07d64715224618ec15268688baefaf7cc7124

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
deleted file mode 100644
index 3df344d4160..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools
-
-DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-S="${WORKDIR}"/${P/_/-}
-
-LICENSE="BSD GPL-3"
-SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-# libpcapnav for pcapnav-config
-BDEPEND="
-   net-libs/libpcapnav
-   >=sys-devel/autogen-5.18.4[libopts]
-"
-DEPEND="
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   pcapnav? ( net-libs/libpcapnav )
-   tcpdump? ( net-analyzer/tcpdump )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
-
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-)
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
-   --enable-dynamic-link \
-   --enable-local-libopts \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep
-   else
-   emake -j1 test || {
-   ewarn "Note that some tests require eth0 iface to be 
up." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2021-05-08 Thread Sam James
commit: 8ca8e9e37cd2914f07a3d7b72d7f47e4148ec124
Author: Sam James  gentoo  org>
AuthorDate: Sun May  9 06:00:39 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  9 06:00:39 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8ca8e9e3

net-analyzer/tcpreplay: Stabilize 4.3.4 x86, #750344

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
index 6e0e65afa27..908816ad6f5 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${P/_/-}
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 # libpcapnav for pcapnav-config



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2021-05-08 Thread Sam James
commit: 2e2efa0675d38ab7e49162ece727376dedc04731
Author: Sam James  gentoo  org>
AuthorDate: Sun May  9 05:59:52 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sun May  9 05:59:52 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e2efa06

net-analyzer/tcpreplay: Stabilize 4.3.4 amd64, #750344

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
index d15c8f13c99..6e0e65afa27 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
@@ -12,7 +12,7 @@ S="${WORKDIR}"/${P/_/-}
 
 LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~sparc ~x86"
 IUSE="debug pcapnav +tcpdump"
 
 # libpcapnav for pcapnav-config



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2021-05-04 Thread Sam James
commit: 57e374eeca287bc0071422169c85a252d44c5229
Author: Sam James  gentoo  org>
AuthorDate: Tue May  4 21:22:36 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Tue May  4 21:25:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57e374ee

net-analyzer/tcpreplay: add 4.3.4

Bug: https://bugs.gentoo.org/750344
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 311b4ba4d1c..913acf2a40f 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.3.3.tar.xz 748220 BLAKE2B 
2de09f75e6bb6035fc25f34f41d9ce2ccbb961d7464a9a6dae16ec417d629e4819593fd781d95075293ffa3a3db7c4a50ae8667c4e7d07c0b425361027c8df06
 SHA512 
110d7768a176d2126766829466a209cdd983afcf0c988f7e128baa5057b3ac1dc918fcaeb168a2e6654429100a146afcbdafcda8c3d67adf6b17892a48689a02
+DIST tcpreplay-4.3.4.tar.xz 739280 BLAKE2B 
8b680363ee182fc7581f99cc4587d50e36285446d07a5be370e2439b31582ad88c786c11d662e28dadc5b69aee376889b1c0f6a86d61c106426ab6ab2c085012
 SHA512 
6d19cf492114c68a9fafcf7790c08f31607d2c0112e02fa41eed8747255bbbef85f281f74348e1d51f1d476b88f07d64715224618ec15268688baefaf7cc7124

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
new file mode 100644
index 000..d15c8f13c99
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+S="${WORKDIR}"/${P/_/-}
+
+LICENSE="BSD GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+# libpcapnav for pcapnav-config
+BDEPEND="
+   net-libs/libpcapnav
+   >=sys-devel/autogen-5.18.4[libopts]
+"
+DEPEND="
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   pcapnav? ( net-libs/libpcapnav )
+   tcpdump? ( net-analyzer/tcpdump )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug #252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
+   --enable-dynamic-link \
+   --enable-local-libopts \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2021-04-03 Thread Sam James
commit: 9df4894edb868c80d3e867d5c36af980989aaf39
Author: Sam James  gentoo  org>
AuthorDate: Fri Apr  2 00:50:33 2021 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Apr  3 16:10:29 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9df4894e

net-analyzer/tcpreplay: EAPI 7, flag-o-matic--

Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild  | 29 +---
 net-analyzer/tcpreplay/tcpreplay-99.ebuild | 31 ++
 2 files changed, 33 insertions(+), 27 deletions(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
index a5ce8388372..3df344d4160 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
@@ -1,36 +1,39 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools flag-o-matic
 
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+inherit autotools
+
+DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
+S="${WORKDIR}"/${P/_/-}
 
+LICENSE="BSD GPL-3"
 SLOT="0"
 KEYWORDS="amd64 ~arm ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
-DEPEND="
+# libpcapnav for pcapnav-config
+BDEPEND="
+   net-libs/libpcapnav
>=sys-devel/autogen-5.18.4[libopts]
+"
+DEPEND="
dev-libs/libdnet
>=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
pcapnav? ( net-libs/libpcapnav )
+   tcpdump? ( net-analyzer/tcpdump )
 "
 RDEPEND="${DEPEND}"
 
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
 )
 
-S=${WORKDIR}/${P/_/-}
-
 src_prepare() {
default
 
@@ -50,8 +53,8 @@ src_configure() {
# By default it uses static linking. Avoid that, bug 252940
econf \
$(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
--enable-dynamic-link \
--enable-local-libopts \
--enable-shared \

diff --git a/net-analyzer/tcpreplay/tcpreplay-99.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-99.ebuild
index 9e2776949df..52407c59ac7 100644
--- a/net-analyzer/tcpreplay/tcpreplay-99.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-99.ebuild
@@ -1,35 +1,38 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
-inherit autotools flag-o-matic git-r3
 
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+inherit autotools git-r3
+
+DESCRIPTION="Utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
 EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+S="${WORKDIR}"/${P/_/-}
 
+LICENSE="BSD GPL-3"
 SLOT="0"
-KEYWORDS=""
 IUSE="debug pcapnav +tcpdump"
 
-DEPEND="
+# libpcapnav for pcapnav-config
+BDEPEND="
+   net-libs/libpcapnav
>=sys-devel/autogen-5.18.4[libopts]
+"
+DEPEND="
dev-libs/libdnet
>=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
pcapnav? ( net-libs/libpcapnav )
+   tcpdump? ( net-analyzer/tcpdump )
 "
 RDEPEND="${DEPEND}"
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
+
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
 PATCHES=(
"${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
 )
 
-S=${WORKDIR}/${P/_/-}
-
 src_prepare() {
default
 
@@ -49,8 +52,8 @@ src_configure() {
# By default it uses static linking. Avoid that, bug 252940
econf \
$(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   $(use_with pcapnav pcapnav-config 
"${BROOT}"/usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
--disable-local-libopts \
--enable-dynamic-link \
--enable-shared \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-07-19 Thread Jeroen Roovers
commit: 665863d84651aebe7975237e9b4d1bcfc2c31d2e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Jul 19 10:41:48 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Jul 19 10:42:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=665863d8

net-analyzer/tcpreplay: Old

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Bug: https://bugs.gentoo.org/show_bug.cgi?id=721662
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 14ed293b4ae..311b4ba4d1c 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 
27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6
 SHA512 
641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9
 DIST tcpreplay-4.3.3.tar.xz 748220 BLAKE2B 
2de09f75e6bb6035fc25f34f41d9ce2ccbb961d7464a9a6dae16ec417d629e4819593fd781d95075293ffa3a3db7c4a50ae8667c4e7d07c0b425361027c8df06
 SHA512 
110d7768a176d2126766829466a209cdd983afcf0c988f7e128baa5057b3ac1dc918fcaeb168a2e6654429100a146afcbdafcda8c3d67adf6b17892a48689a02

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
deleted file mode 100644
index a5ce8388372..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
-
-SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --enable-dynamic-link \
-   --enable-local-libopts \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep
-   else
-   emake -j1 test || {
-   ewarn "Note that some tests require eth0 iface to be 
up." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-07-18 Thread Sam James
commit: 9415c7e412cb4429882b4e0f767e1e790f6d7a18
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 18 13:58:12 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 18 14:04:14 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9415c7e4

net-analyzer/tcpreplay: amd64 stable (bug #721662)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
index 59fcd5c1e03..a5ce8388372 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~sparc x86"
+KEYWORDS="amd64 ~arm ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-07-18 Thread Sam James
commit: c60bf2377f2da8c830ed24ae7b5f43ef81a35c32
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 18 11:37:02 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 18 11:42:56 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c60bf237

net-analyzer/tcpreplay: x86 stable (bug #721662)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
index d27b84b1c38..59fcd5c1e03 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-06-15 Thread Jeroen Roovers
commit: 5bc4fadf383304908144dd39e08d44b0cf8af6bf
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jun 15 08:34:19 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jun 15 08:34:59 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5bc4fadf

net-analyzer/tcpreplay: Update SRC_URI

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
index 003400e4ef7..a5ce8388372 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -7,7 +7,7 @@ inherit autotools flag-o-matic
 DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
 LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
 
 SLOT="0"
 KEYWORDS="amd64 ~arm ~sparc x86"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-06-15 Thread Jeroen Roovers
commit: 275786e52e04c5ec77f6c8698f7e583a767c4163
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jun 15 08:23:43 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jun 15 08:25:39 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=275786e5

net-analyzer/tcpreplay: Update SRC_URI

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
index 015df52f86f..d27b84b1c38 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
@@ -7,7 +7,7 @@ inherit autotools flag-o-matic
 DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
 HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
 LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz";
 
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~sparc ~x86"



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-06-15 Thread Jeroen Roovers
commit: a7f07d5ca45c74621c4dbc51d030cf50ecb50864
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Jun 15 07:27:12 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Jun 15 07:30:52 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7f07d5c

net-analyzer/tcpreplay: Version 4.3.3

Package-Manager: Portage-2.3.101, Repoman-2.3.22
Bug: https://bugs.gentoo.org/show_bug.cgi?id=721662
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest | 2 +-
 .../tcpreplay/{tcpreplay-4.3.3_beta1.ebuild => tcpreplay-4.3.3.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 18c8153e5a5..14ed293b4ae 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,2 @@
 DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 
27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6
 SHA512 
641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9
-DIST tcpreplay-4.3.3_beta1.tar.xz 748424 BLAKE2B 
9bccca73c0be4d6a72a61f2ebd4c6f61c160d829772605183e25177d4356e01d83be0602eaa84d154df2c316db1c6d09899e49311137be734a4c0b373be6e77f
 SHA512 
d8c80d107ca0fdddc5d2ef88924cdee8b5897e0f4bb468b982f4bbacb01547a40c4fa324f7ee7dd93e1288c87e11e709a99c08e31d397b8ca3f28cc78e6d61a4
+DIST tcpreplay-4.3.3.tar.xz 748220 BLAKE2B 
2de09f75e6bb6035fc25f34f41d9ce2ccbb961d7464a9a6dae16ec417d629e4819593fd781d95075293ffa3a3db7c4a50ae8667c4e7d07c0b425361027c8df06
 SHA512 
110d7768a176d2126766829466a209cdd983afcf0c988f7e128baa5057b3ac1dc918fcaeb168a2e6654429100a146afcbdafcda8c3d67adf6b17892a48689a02

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild
similarity index 100%
rename from net-analyzer/tcpreplay/tcpreplay-4.3.3_beta1.ebuild
rename to net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2020-06-04 Thread Jeroen Roovers
commit: 2d01ec5e9c47c9253ead65635bac33d16aacc9ad
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Jun  5 05:26:25 2020 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Jun  5 05:28:03 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2d01ec5e

net-analyzer/tcpreplay: Version 4.3.3_beta1

Package-Manager: Portage-2.3.100, Repoman-2.3.22
Bug: https://bugs.gentoo.org/show_bug.cgi?id=721662
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest|  1 +
 .../tcpreplay/tcpreplay-4.3.3_beta1.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 6dd98931a73..18c8153e5a5 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 
27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6
 SHA512 
641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9
+DIST tcpreplay-4.3.3_beta1.tar.xz 748424 BLAKE2B 
9bccca73c0be4d6a72a61f2ebd4c6f61c160d829772605183e25177d4356e01d83be0602eaa84d154df2c316db1c6d09899e49311137be734a4c0b373be6e77f
 SHA512 
d8c80d107ca0fdddc5d2ef88924cdee8b5897e0f4bb468b982f4bbacb01547a40c4fa324f7ee7dd93e1288c87e11e709a99c08e31d397b8ca3f28cc78e6d61a4

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.3_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.3_beta1.ebuild
new file mode 100644
index 000..015df52f86f
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.3_beta1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --enable-dynamic-link \
+   --enable-local-libopts \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-04-20 Thread Aaron Bauman
commit: b47c2c095d998e01e94c98582663dc7109523dd9
Author: Aaron Bauman  gentoo  org>
AuthorDate: Sat Apr 20 02:26:56 2019 +
Commit: Aaron Bauman  gentoo  org>
CommitDate: Sat Apr 20 02:26:56 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b47c2c09

net-analyzer/tcpreplay: drop vulnerable wrt bug #678266

Signed-off-by: Aaron Bauman  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 2c486a83980..6dd98931a73 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B 
c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0
 SHA512 
2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220
 DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 
27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6
 SHA512 
641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
deleted file mode 100644
index 3d0c5b4f1d7..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
-
-SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --enable-dynamic-link \
-   --enable-local-libopts \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note that some tests require eth0 iface to be 
up." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-04-10 Thread Thomas Deutschmann
commit: 2e6d83fb688795035850b6dff43423e6653e4ff8
Author: Thomas Deutschmann  gentoo  org>
AuthorDate: Wed Apr 10 16:20:09 2019 +
Commit: Thomas Deutschmann  gentoo  org>
CommitDate: Wed Apr 10 17:04:43 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2e6d83fb

net-analyzer/tcpreplay: x86 stable (bug #678266)

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
index a9f8339e6ef..3d0c5b4f1d7 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
 
 SLOT="0"
-KEYWORDS="amd64 ~arm ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-04-05 Thread Agostino Sarubbo
commit: 4e2238e2f3dbab56e8f3f5f841f5a42ae1e7776f
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Fri Apr  5 20:46:52 2019 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Fri Apr  5 20:46:52 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4e2238e2

net-analyzer/tcpreplay: amd64 stable wrt bug #678266

Signed-off-by: Agostino Sarubbo  gentoo.org>
Package-Manager: Portage-2.3.62, Repoman-2.3.11
RepoMan-Options: --include-arches="amd64"

 net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
index a73ca26a8cc..a9f8339e6ef 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~sparc ~x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-03-12 Thread Jeroen Roovers
commit: dffabcbf5eaf67bbb49b27ea4bb9d7ca6158f343
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Mar 12 21:12:04 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Mar 12 21:13:01 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dffabcbf

net-analyzer/tcpreplay: Version 4.3.2

Bug: https://bugs.gentoo.org/678266
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index ed40a9677c0..2c486a83980 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B 
c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0
 SHA512 
2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220
+DIST tcpreplay-4.3.2.tar.xz 747268 BLAKE2B 
27cad902785975f9c7fbfb8abef24ae95fbc8812e0a4fabd3b1ecf74bb9f0a99cdb0c37db72c433296d3cebba89d0bbc90e944195e585bf2d1c2d93ef234c4f6
 SHA512 
641dd636d9c5c30637d0103f8b21da3ce234f9e3ed7ab4d2b20d004fc4a14301672dcd678b2d5e0eb90d55a97bcb0c4c67f31c790a5aa3c509a92d1142c5b7b9

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
new file mode 100644
index 000..a73ca26a8cc
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --enable-dynamic-link \
+   --enable-local-libopts \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/files/

2019-02-12 Thread Jeroen Roovers
commit: db3705b1037f8b707105ea7dbc7095ef2e9683f2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Tue Feb 12 17:01:37 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Tue Feb 12 17:01:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db3705b1

net-analyzer/tcpreplay: Clean up patches

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 .../tcpreplay-4.1.0-enable-pcap_findalldevs.patch  | 19 ---
 .../files/tcpreplay-4.1.2-CVE-2017-6429.patch  | 27 --
 2 files changed, 46 deletions(-)

diff --git 
a/net-analyzer/tcpreplay/files/tcpreplay-4.1.0-enable-pcap_findalldevs.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.1.0-enable-pcap_findalldevs.patch
deleted file mode 100644
index f45d14cd1da..000
--- a/net-analyzer/tcpreplay/files/tcpreplay-4.1.0-enable-pcap_findalldevs.patch
+++ /dev/null
@@ -1,19 +0,0 @@
 a/configure.ac
-+++ b/configure.ac
-@@ -1499,6 +1499,8 @@
- AC_MSG_WARN(Unable to do tests when cross-compiling)
- fi
- 
-+disable_pcap_findalldevs=no
-+
- dnl Allows user to choose which nic to use for testing purposes
- AC_ARG_WITH(testnic,
- AC_HELP_STRING([--with-testnic=NIC], [Select which network card to use 
for testing]),
-@@ -1509,7 +1511,6 @@
- 
- dnl There's a bug in OS X which causes pcap_findalldevs() to make the wifi 
NIC to disassociate
- dnl so under OSX we disable the interface list feature
--disable_pcap_findalldevs=no
- 
- osx_frameworks=no
- dnl these need to be dynamic based on OS

diff --git a/net-analyzer/tcpreplay/files/tcpreplay-4.1.2-CVE-2017-6429.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.1.2-CVE-2017-6429.patch
deleted file mode 100644
index 42c74d65071..000
--- a/net-analyzer/tcpreplay/files/tcpreplay-4.1.2-CVE-2017-6429.patch
+++ /dev/null
@@ -1,27 +0,0 @@
 a/src/tcpcapinfo.c
-+++ b/src/tcpcapinfo.c
-@@ -281,6 +281,15 @@ main(int argc, char *argv[])
- caplen = pcap_ph.caplen;
- }
- 
-+if (caplentoobig) {
-+printf("\n\nCapture file appears to be damaged or corrupt.\n"
-+"Contains packet of size %u, bigger than snap length 
%u\n",
-+caplen, pcap_fh.snaplen);
-+
-+close(fd);
-+break;
-+}
-+
- /* check to make sure timestamps don't go backwards */
- if (last_sec > 0 && last_usec > 0) {
- if ((pcap_ph.ts.tv_sec == last_sec) ? 
-@@ -306,7 +315,7 @@ main(int argc, char *argv[])
- }
- 
- close(fd);
--continue;
-+break;
- }
- 
- /* print the frame checksum */



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-02-03 Thread Jeroen Roovers
commit: 337849c854aaafec1bc0cbd8ecd0988c4553f79a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  3 16:52:39 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Feb  4 05:06:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=337849c8

net-analyzer/tcpreplay: Old

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest  |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild | 77 
 2 files changed, 78 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 238771e1da6..ed40a9677c0 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.1.2.tar.gz 2162175 BLAKE2B 
a99542277084a419c1f1208392e3d5b47aaf0be61a8e8de33bee9ba8e4f636fa78ae8eabcc07031c9bb659a8ba58a0aad6e4cc102e56d3dbddb0c3cf11c9df51
 SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B 
c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0
 SHA512 
2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
deleted file mode 100644
index abd2c47ceca..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-   "${FILESDIR}"/${PN}-4.1.2-CVE-2017-6429.patch
-)
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|-O3||g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.ac || die
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-02-03 Thread Jeroen Roovers
commit: e1c3326f84baa1e2050df2653cc37736d2a64796
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  3 16:49:11 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  3 16:52:03 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1c3326f

net-analyzer/tcpreplay: Live ebuild

Package-Manager: Portage-2.3.59, Repoman-2.3.12
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-99.ebuild | 73 ++
 1 file changed, 73 insertions(+)

diff --git a/net-analyzer/tcpreplay/tcpreplay-99.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-99.ebuild
new file mode 100644
index 000..36c173f66f5
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-99.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+inherit autotools flag-o-matic git-r3
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+EGIT_REPO_URI="https://github.com/appneta/tcpreplay";
+
+SLOT="0"
+KEYWORDS=""
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+src_test() {
+   if [[ ! ${EUID} -eq 0 ]]; then
+   ewarn "Some tests will be disabled due to FEATURES=userpriv"
+   ewarn "To run all tests issue the following command as root:"
+   ewarn " # make -C ${S}/test"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2019-02-03 Thread Jeroen Roovers
commit: 04d7b39f4cae5dd04ce42ab7edef6c65449e7024
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Feb  3 15:13:39 2019 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Feb  3 16:52:02 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=04d7b39f

net-analyzer/tcpreplay: Stable for AMD64 x86 too.

Package-Manager: Portage-2.3.59, Repoman-2.3.12
RepoMan-Options: --ignore-arches
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
index 1dfd57b11cd..3d0c5b4f1d7 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
 
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~sparc ~x86"
+KEYWORDS="amd64 ~arm ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/, net-analyzer/tcpreplay/files/

2018-12-31 Thread Jeroen Roovers
commit: 176877f778d193e7af634c1d38db2841bc7108f6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Dec 31 17:39:01 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Dec 31 17:40:49 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=176877f7

net-analyzer/tcpreplay: Version 4.3.1

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Bug: https://bugs.gentoo.org/674156
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  2 +-
 .../files/tcpreplay-4.3.0-enable-pcap_findalldevs.patch   | 11 +++
 .../{tcpreplay-4.3.0_beta1.ebuild => tcpreplay-4.3.1.ebuild}  |  8 
 3 files changed, 16 insertions(+), 5 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 34fe3f97958..c3783ba664c 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 BLAKE2B 
a99542277084a419c1f1208392e3d5b47aaf0be61a8e8de33bee9ba8e4f636fa78ae8eabcc07031c9bb659a8ba58a0aad6e4cc102e56d3dbddb0c3cf11c9df51
 SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 DIST tcpreplay-4.2.6.tar.gz 3494827 BLAKE2B 
57222d7347efd780d2e1297145a7d81c8cce58a8d43bdb9b1485ef2514751e61af317dc4f5ff2068c214b2a33115d8099204d4b3165671d87bd8549c2df08bbd
 SHA512 
a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e
-DIST tcpreplay-4.3.0_beta1.tar.xz 719884 BLAKE2B 
872ea10a3986f122cbf48bf9217d8df96f8c8c08e37aee095fc92ab5d5cf2607b42327aab9de5453c8bd198e1a32a3ae8964b085ba3065a6b3adfd853dd0b43b
 SHA512 
55a9c419d4604cb4912571a631035ad4bc70d06b44d0248629a47b76411c23cba63b824322c23e0f2eeac4131a5d6e4c1fb2b9a60c0f57a7397d46760ff818f9
+DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B 
c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0
 SHA512 
2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220

diff --git 
a/net-analyzer/tcpreplay/files/tcpreplay-4.3.0-enable-pcap_findalldevs.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.3.0-enable-pcap_findalldevs.patch
new file mode 100644
index 000..6c4d2c02dc0
--- /dev/null
+++ b/net-analyzer/tcpreplay/files/tcpreplay-4.3.0-enable-pcap_findalldevs.patch
@@ -0,0 +1,11 @@
+--- a/configure.ac
 b/configure.ac
+@@ -1499,6 +1499,8 @@
+ AC_MSG_WARN(Unable to do tests when cross-compiling)
+ fi
+ 
++disable_pcap_findalldevs=no
++
+ dnl Allows user to choose which nic to use for testing purposes
+ AC_ARG_WITH(testnic,
+ AC_HELP_STRING([--with-testnic=NIC], [Select which network card to use 
for testing]),

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
similarity index 93%
rename from net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
rename to net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
index d9206da3d29..1dfd57b11cd 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 inherit autotools flag-o-matic
 
 DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
@@ -26,7 +26,7 @@ DOCS=(
docs/{CHANGELOG,CREDIT,HACKING,TODO}
 )
 PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+   "${FILESDIR}"/${PN}-4.3.0-enable-pcap_findalldevs.patch
 )
 
 S=${WORKDIR}/${P/_/-}
@@ -52,8 +52,8 @@ src_configure() {
$(use_enable debug) \
$(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
$(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
--enable-dynamic-link \
+   --enable-local-libopts \
--enable-shared \
--with-libdnet \
--with-testnic2=lo \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2018-12-31 Thread Jeroen Roovers
commit: e70150d187c1358ab9b2ff8d65c6afdf187877bb
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Dec 31 17:40:25 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Dec 31 17:40:50 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e70150d1

net-analyzer/tcpreplay: Old

Package-Manager: Portage-2.3.53, Repoman-2.3.12
Bug: https://bugs.gentoo.org/674156
Signed-off-by: Jeroen Roovers  gentoo.org>

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index c3783ba664c..238771e1da6 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,2 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 BLAKE2B 
a99542277084a419c1f1208392e3d5b47aaf0be61a8e8de33bee9ba8e4f636fa78ae8eabcc07031c9bb659a8ba58a0aad6e4cc102e56d3dbddb0c3cf11c9df51
 SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
-DIST tcpreplay-4.2.6.tar.gz 3494827 BLAKE2B 
57222d7347efd780d2e1297145a7d81c8cce58a8d43bdb9b1485ef2514751e61af317dc4f5ff2068c214b2a33115d8099204d4b3165671d87bd8549c2df08bbd
 SHA512 
a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e
 DIST tcpreplay-4.3.1.tar.xz 746804 BLAKE2B 
c1feb541b8243b00b2fa6ee9742ced4ef47c58a58d3a95be88faa0fa4301da0cb962a620df724cd4526ea31e74a0e7d7161eb44afea37467a19976a20855e0e0
 SHA512 
2dbad1a88ed19db897cc1222883c02eb7f0808f64cafb3c3ef8f21c0cfcb14d3ebb92a8a01ea203ca128ed675d2e7dcdb30d0bce30eb79e729d9d45d309f9220

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild
deleted file mode 100644
index ee0ea9dffd4..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2018-05-29 Thread Markus Meier
commit: 0d932e3b8e13fc7a9bb0b60c3d410d19e2378777
Author: Markus Meier  gentoo  org>
AuthorDate: Wed May 30 04:39:54 2018 +
Commit: Markus Meier  gentoo  org>
CommitDate: Wed May 30 04:39:54 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0d932e3b

net-analyzer/tcpreplay: add ~arm, bug #621432

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="arm"

 net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
index 24946408748..d9206da3d29 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
 
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~sparc ~x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2018-02-12 Thread Jeroen Roovers
commit: 86d9feeb49088b883fd3a7d128c342658d6d6ead
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Feb 12 19:51:16 2018 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Feb 12 19:51:16 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86d9feeb

net-analyzer/tcpreplay: Version 4.3.0_beta1.

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/tcpreplay/Manifest|  1 +
 .../tcpreplay/tcpreplay-4.3.0_beta1.ebuild | 74 ++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index a5a7e79becd..34fe3f97958 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 BLAKE2B 
a99542277084a419c1f1208392e3d5b47aaf0be61a8e8de33bee9ba8e4f636fa78ae8eabcc07031c9bb659a8ba58a0aad6e4cc102e56d3dbddb0c3cf11c9df51
 SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 DIST tcpreplay-4.2.6.tar.gz 3494827 BLAKE2B 
57222d7347efd780d2e1297145a7d81c8cce58a8d43bdb9b1485ef2514751e61af317dc4f5ff2068c214b2a33115d8099204d4b3165671d87bd8549c2df08bbd
 SHA512 
a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e
+DIST tcpreplay-4.3.0_beta1.tar.xz 719884 BLAKE2B 
872ea10a3986f122cbf48bf9217d8df96f8c8c08e37aee095fc92ab5d5cf2607b42327aab9de5453c8bd198e1a32a3ae8964b085ba3065a6b3adfd853dd0b43b
 SHA512 
55a9c419d4604cb4912571a631035ad4bc70d06b44d0248629a47b76411c23cba63b824322c23e0f2eeac4131a5d6e4c1fb2b9a60c0f57a7397d46760ff818f9

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
new file mode 100644
index 000..24946408748
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.3.0_beta1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.xz
 -> ${P}.tar.xz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note that some tests require eth0 iface to be 
up." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-06-01 Thread Jeroen Roovers
commit: 3a573b5df5f10c04589693dad3d41ce6076aec2f
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Jun  1 22:09:09 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Jun  1 22:09:09 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a573b5d

net-analyzer/tcpreplay: Old.

Package-Manager: Portage-2.3.6, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 7d3243af82a..10b33ec2fe6 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,2 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.5.tar.gz 3494832 SHA256 
941026be34e1db5101d3d22ebddd6fff76179a1ee81e273338f533ba4eca89d7 SHA512 
d4f8e2fd8be0f996b9595fc2ff04b1b38de0663266b304e60b1d5619255113c877ac8472ca3db5f92115f10c9a7985de3509a596324fe0b35cda604c4b2ae51d
 WHIRLPOOL 
56053ddfbb00b94b3969cc0ac7ae6b34c740d95a4f35c30d5b1a2a359d399b9071178b3139bcf66a41e78607284f6beaf52f4e96c0f98303b764948850e3937b
 DIST tcpreplay-4.2.6.tar.gz 3494827 SHA256 
043756c532dab93e2be33a517ef46b1341f7239278a1045ae670041dd8a4531d SHA512 
a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e
 WHIRLPOOL 
97502778faee6dd27516c0323b6f4589b30a621e0380c579a68bd75744e03e1ec542e45b86427bff9482145dacae4d98d4a2025436c6411cb25f0fec306acc8f

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild
deleted file mode 100644
index ee0ea9dffd4..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-05-19 Thread Jeroen Roovers
commit: 0127e769400e2d120b1f118179bc67b98c5e7e91
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May 19 07:05:53 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May 19 07:06:18 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0127e769

net-analyzer/tcpreplay: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index e6710d79e1e..7d3243af82a 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,4 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 
da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 
b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10
 WHIRLPOOL 
7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb
 DIST tcpreplay-4.2.5.tar.gz 3494832 SHA256 
941026be34e1db5101d3d22ebddd6fff76179a1ee81e273338f533ba4eca89d7 SHA512 
d4f8e2fd8be0f996b9595fc2ff04b1b38de0663266b304e60b1d5619255113c877ac8472ca3db5f92115f10c9a7985de3509a596324fe0b35cda604c4b2ae51d
 WHIRLPOOL 
56053ddfbb00b94b3969cc0ac7ae6b34c740d95a4f35c30d5b1a2a359d399b9071178b3139bcf66a41e78607284f6beaf52f4e96c0f98303b764948850e3937b
 DIST tcpreplay-4.2.6.tar.gz 3494827 SHA256 
043756c532dab93e2be33a517ef46b1341f7239278a1045ae670041dd8a4531d SHA512 
a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e
 WHIRLPOOL 
97502778faee6dd27516c0323b6f4589b30a621e0380c579a68bd75744e03e1ec542e45b86427bff9482145dacae4d98d4a2025436c6411cb25f0fec306acc8f

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild
deleted file mode 100644
index ee0ea9dffd4..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-05-19 Thread Jeroen Roovers
commit: fa3632a2d1db782e20e0a0ba31d7aed3876dc226
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May 19 07:05:02 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May 19 07:06:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa3632a2

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index dfd9c1d017f..e6710d79e1e 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,4 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
 DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 
da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 
b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10
 WHIRLPOOL 
7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb
 DIST tcpreplay-4.2.5.tar.gz 3494832 SHA256 
941026be34e1db5101d3d22ebddd6fff76179a1ee81e273338f533ba4eca89d7 SHA512 
d4f8e2fd8be0f996b9595fc2ff04b1b38de0663266b304e60b1d5619255113c877ac8472ca3db5f92115f10c9a7985de3509a596324fe0b35cda604c4b2ae51d
 WHIRLPOOL 
56053ddfbb00b94b3969cc0ac7ae6b34c740d95a4f35c30d5b1a2a359d399b9071178b3139bcf66a41e78607284f6beaf52f4e96c0f98303b764948850e3937b
+DIST tcpreplay-4.2.6.tar.gz 3494827 SHA256 
043756c532dab93e2be33a517ef46b1341f7239278a1045ae670041dd8a4531d SHA512 
a46846b29e3cd7fbc635faee9c4be90db0d346c0d0f291ac8e007e1fbf614289094e14480c1c5b40feb5a175d3cbad018e2dd4d1a5762b7d31a4325af6102e7e
 WHIRLPOOL 
97502778faee6dd27516c0323b6f4589b30a621e0380c579a68bd75744e03e1ec542e45b86427bff9482145dacae4d98d4a2025436c6411cb25f0fec306acc8f

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild
new file mode 100644
index 000..ee0ea9dffd4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.6.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-05-10 Thread Jeroen Roovers
commit: bbe9f562555c083119bb7e1f843cdc85459e2a00
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 10 11:36:16 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 10 11:36:16 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe9f562

net-analyzer/tcpreplay: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 5bee7acf53e..dfd9c1d017f 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,4 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.3.tar.gz 3490534 SHA256 
68d8d49dab5bf58b2e8d244eee1ee7f2379d967da19fe97dd9d59bcf40a22abc SHA512 
0d92c8cdb231d602dddc58e1c5b4e4a443a68f302b20a8ac402fb4eefbac365fd1ba72cfbe05ca667240e4b82ce9fd5de6a04b7eed7017e5b9563eff779c3a85
 WHIRLPOOL 
d87a2176e980d44993a932c4cc90b360834f31e4d49003d979a83b337fb7e15d1c0a0de8967ef7b6ddbc58d74302be38a5361a0925e437f0b38702203a450eaa
 DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 
da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 
b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10
 WHIRLPOOL 
7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb
 DIST tcpreplay-4.2.5.tar.gz 3494832 SHA256 
941026be34e1db5101d3d22ebddd6fff76179a1ee81e273338f533ba4eca89d7 SHA512 
d4f8e2fd8be0f996b9595fc2ff04b1b38de0663266b304e60b1d5619255113c877ac8472ca3db5f92115f10c9a7985de3509a596324fe0b35cda604c4b2ae51d
 WHIRLPOOL 
56053ddfbb00b94b3969cc0ac7ae6b34c740d95a4f35c30d5b1a2a359d399b9071178b3139bcf66a41e78607284f6beaf52f4e96c0f98303b764948850e3937b

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild
deleted file mode 100644
index ee0ea9dffd4..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-05-10 Thread Jeroen Roovers
commit: e1eeb87c57884a98c83e405d2b7591ca1d64296d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed May 10 11:35:46 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed May 10 11:35:46 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1eeb87c

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 19d8f0a7d57..5bee7acf53e 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,4 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
 DIST tcpreplay-4.2.3.tar.gz 3490534 SHA256 
68d8d49dab5bf58b2e8d244eee1ee7f2379d967da19fe97dd9d59bcf40a22abc SHA512 
0d92c8cdb231d602dddc58e1c5b4e4a443a68f302b20a8ac402fb4eefbac365fd1ba72cfbe05ca667240e4b82ce9fd5de6a04b7eed7017e5b9563eff779c3a85
 WHIRLPOOL 
d87a2176e980d44993a932c4cc90b360834f31e4d49003d979a83b337fb7e15d1c0a0de8967ef7b6ddbc58d74302be38a5361a0925e437f0b38702203a450eaa
 DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 
da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 
b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10
 WHIRLPOOL 
7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb
+DIST tcpreplay-4.2.5.tar.gz 3494832 SHA256 
941026be34e1db5101d3d22ebddd6fff76179a1ee81e273338f533ba4eca89d7 SHA512 
d4f8e2fd8be0f996b9595fc2ff04b1b38de0663266b304e60b1d5619255113c877ac8472ca3db5f92115f10c9a7985de3509a596324fe0b35cda604c4b2ae51d
 WHIRLPOOL 
56053ddfbb00b94b3969cc0ac7ae6b34c740d95a4f35c30d5b1a2a359d399b9071178b3139bcf66a41e78607284f6beaf52f4e96c0f98303b764948850e3937b

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild
new file mode 100644
index 000..ee0ea9dffd4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.5.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-04-27 Thread Jeroen Roovers
commit: 3511d0d1af15070c84a0e6251147f0c6f8859b9a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Apr 27 12:54:24 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Apr 27 12:54:24 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3511d0d1

net-analyzer/tcpreplay: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  2 -
 net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild | 74 ---
 net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild | 74 ---
 3 files changed, 150 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 52a20cb27f9..19d8f0a7d57 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,5 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 
224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 
0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875
 WHIRLPOOL 
b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350
-DIST tcpreplay-4.2.2.tar.gz 3597722 SHA256 
e674166b54486db8f5417554ed88c06f44f368d70585c2897b0bc085009d8dd5 SHA512 
5ae57957ab95790df8e880a53905e0e8e62b3a3d80f1fb2030e7bc360d8d4146335b48d7a5c02448edacafc146f2ea485086a824ce4e305eb3a34a8587ac46ae
 WHIRLPOOL 
195ef1c28850e8a57f7cf520d4bb3e32e1bdc89a1e230176ac2334ff7b9f8026f24ef0d07ab9331e93ed106485ef3b501521fc4a8a3ba9752cabeb4f4d675dc5
 DIST tcpreplay-4.2.3.tar.gz 3490534 SHA256 
68d8d49dab5bf58b2e8d244eee1ee7f2379d967da19fe97dd9d59bcf40a22abc SHA512 
0d92c8cdb231d602dddc58e1c5b4e4a443a68f302b20a8ac402fb4eefbac365fd1ba72cfbe05ca667240e4b82ce9fd5de6a04b7eed7017e5b9563eff779c3a85
 WHIRLPOOL 
d87a2176e980d44993a932c4cc90b360834f31e4d49003d979a83b337fb7e15d1c0a0de8967ef7b6ddbc58d74302be38a5361a0925e437f0b38702203a450eaa
 DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 
da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 
b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10
 WHIRLPOOL 
7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild
deleted file mode 100644
index ee0ea9dffd4..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-src_test() {
-   if [[ ! ${EUID} -eq 0 ]]; then
-   ewarn "Some tests were disabled due to FEATURES=userpriv"
-   ewarn "To run all tests iss

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-04-27 Thread Jeroen Roovers
commit: b46998560eed21f2245b5e0b253626974c9dc7b9
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Apr 27 12:53:36 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Apr 27 12:53:36 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4699856

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index cf8a70f9d0d..52a20cb27f9 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -2,3 +2,4 @@ DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e
 DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 
224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 
0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875
 WHIRLPOOL 
b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350
 DIST tcpreplay-4.2.2.tar.gz 3597722 SHA256 
e674166b54486db8f5417554ed88c06f44f368d70585c2897b0bc085009d8dd5 SHA512 
5ae57957ab95790df8e880a53905e0e8e62b3a3d80f1fb2030e7bc360d8d4146335b48d7a5c02448edacafc146f2ea485086a824ce4e305eb3a34a8587ac46ae
 WHIRLPOOL 
195ef1c28850e8a57f7cf520d4bb3e32e1bdc89a1e230176ac2334ff7b9f8026f24ef0d07ab9331e93ed106485ef3b501521fc4a8a3ba9752cabeb4f4d675dc5
 DIST tcpreplay-4.2.3.tar.gz 3490534 SHA256 
68d8d49dab5bf58b2e8d244eee1ee7f2379d967da19fe97dd9d59bcf40a22abc SHA512 
0d92c8cdb231d602dddc58e1c5b4e4a443a68f302b20a8ac402fb4eefbac365fd1ba72cfbe05ca667240e4b82ce9fd5de6a04b7eed7017e5b9563eff779c3a85
 WHIRLPOOL 
d87a2176e980d44993a932c4cc90b360834f31e4d49003d979a83b337fb7e15d1c0a0de8967ef7b6ddbc58d74302be38a5361a0925e437f0b38702203a450eaa
+DIST tcpreplay-4.2.4.tar.gz 3489615 SHA256 
da78ea1a1fe8ff177a4f9e71c4c6739b79ac86db2c2bb90955318b8e8439beb7 SHA512 
b29463272abb18789b5e095a86b0c10433e3f3c8a1af8a906f68221d78c1c9e6703d3f000e7ad86151ec6356f24aa80e1d0c6d128a52c426a14f080341e1cc10
 WHIRLPOOL 
7d116a159928088e18ba1bcf4a5dbb3b3bae91cb43227820baa42aff9f5406b43383381844d18cf038d40d3844b40bf064ff724a772a2025f0871e98c31573eb

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild
new file mode 100644
index 000..ee0ea9dffd4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.4.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" 

[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-04-22 Thread Jeroen Roovers
commit: 954ca4bcecd8457fb5329f1c28c417b7c1de7183
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Apr 22 10:12:36 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Apr 22 10:19:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=954ca4bc

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 16cc14e45d6..cf8a70f9d0d 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,4 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
 DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 
224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 
0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875
 WHIRLPOOL 
b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350
 DIST tcpreplay-4.2.2.tar.gz 3597722 SHA256 
e674166b54486db8f5417554ed88c06f44f368d70585c2897b0bc085009d8dd5 SHA512 
5ae57957ab95790df8e880a53905e0e8e62b3a3d80f1fb2030e7bc360d8d4146335b48d7a5c02448edacafc146f2ea485086a824ce4e305eb3a34a8587ac46ae
 WHIRLPOOL 
195ef1c28850e8a57f7cf520d4bb3e32e1bdc89a1e230176ac2334ff7b9f8026f24ef0d07ab9331e93ed106485ef3b501521fc4a8a3ba9752cabeb4f4d675dc5
+DIST tcpreplay-4.2.3.tar.gz 3490534 SHA256 
68d8d49dab5bf58b2e8d244eee1ee7f2379d967da19fe97dd9d59bcf40a22abc SHA512 
0d92c8cdb231d602dddc58e1c5b4e4a443a68f302b20a8ac402fb4eefbac365fd1ba72cfbe05ca667240e4b82ce9fd5de6a04b7eed7017e5b9563eff779c3a85
 WHIRLPOOL 
d87a2176e980d44993a932c4cc90b360834f31e4d49003d979a83b337fb7e15d1c0a0de8967ef7b6ddbc58d74302be38a5361a0925e437f0b38702203a450eaa

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild
new file mode 100644
index 000..ee0ea9dffd4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.3.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-04-10 Thread Jeroen Roovers
commit: 0708522eca6fd052f3f34f350a8690726c3a49fc
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Mon Apr 10 15:52:58 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Mon Apr 10 15:54:03 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0708522e

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index ecb79cc01a3..16cc14e45d6 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
 DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 
224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 
0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875
 WHIRLPOOL 
b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350
+DIST tcpreplay-4.2.2.tar.gz 3597722 SHA256 
e674166b54486db8f5417554ed88c06f44f368d70585c2897b0bc085009d8dd5 SHA512 
5ae57957ab95790df8e880a53905e0e8e62b3a3d80f1fb2030e7bc360d8d4146335b48d7a5c02448edacafc146f2ea485086a824ce4e305eb3a34a8587ac46ae
 WHIRLPOOL 
195ef1c28850e8a57f7cf520d4bb3e32e1bdc89a1e230176ac2334ff7b9f8026f24ef0d07ab9331e93ed106485ef3b501521fc4a8a3ba9752cabeb4f4d675dc5

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild
new file mode 100644
index 000..ee0ea9dffd4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.2.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-24 Thread Jeroen Roovers
commit: f723aa71c90c247aaa6b2e7d6875443c6a5d4f8e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Mar 24 14:53:15 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Mar 24 14:53:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f723aa71

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild | 74 +++
 2 files changed, 75 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 13e24d420bd..1ab41c48b2d 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,3 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
 DIST tcpreplay-4.2.0.tar.gz 3534486 SHA256 
924f80cd1958a4c4447f0a6a54e8d3af7aebd3674aa4ef9973f69b43b1675221 SHA512 
a129cf069b4b725f017c3c595462f5105441f236a01daf57d45fa9240264c40e6fd918a70aa6ddc8f090dcc2ebcc46fe9f4cb87d17a9b9147369472ea565b444
 WHIRLPOOL 
cbc29b45e583b1cbdbb5d3b65523d907e61d5fb8ddd35fc86c0be32d520456e72535aea7cf43abc85f58afd79d42638b488cb3d45f3453a542724dfa302ac8e8
+DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 
224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 
0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875
 WHIRLPOOL 
b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild
new file mode 100644
index 000..ee0ea9dffd4
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.1.ebuild
@@ -0,0 +1,74 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-24 Thread Jeroen Roovers
commit: eb9cffdb8913241a5696e4cf7a6c136c8a37eba6
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri Mar 24 14:54:12 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri Mar 24 14:54:12 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb9cffdb

net-analyzer/tcpreplay: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild | 74 ---
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 1ab41c48b2d..ecb79cc01a3 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,2 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.0.tar.gz 3534486 SHA256 
924f80cd1958a4c4447f0a6a54e8d3af7aebd3674aa4ef9973f69b43b1675221 SHA512 
a129cf069b4b725f017c3c595462f5105441f236a01daf57d45fa9240264c40e6fd918a70aa6ddc8f090dcc2ebcc46fe9f4cb87d17a9b9147369472ea565b444
 WHIRLPOOL 
cbc29b45e583b1cbdbb5d3b65523d907e61d5fb8ddd35fc86c0be32d520456e72535aea7cf43abc85f58afd79d42638b488cb3d45f3453a542724dfa302ac8e8
 DIST tcpreplay-4.2.1.tar.gz 3528019 SHA256 
224b519e561d969b4bdb0e700c2283e036620e3cb5895d5aab2a7e4f27d21a79 SHA512 
0ecfc6ec80c94b2ea001ea1fee31f06cfb265dcd7bb45cc09d480aa6ed2d11733b7383c54425805bfed02750e05339500f3d4de9b7c6054fa12f015153366875
 WHIRLPOOL 
b6d1bbb0c18398b9f10562f1040780e4a058046e8b040a195fdf0a937ccfa9282fed520ec5478ed443b92fa322412bc6b3ff2040728393903acf2080eedbf350

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild
deleted file mode 100644
index ee0ea9dffd4..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-)
-
-S=${WORKDIR}/${P/_/-}
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-22 Thread Jeroen Roovers
commit: fba66b8af6876c9896c6aa286a64984c53b2e154
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 22 17:44:37 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 22 17:44:37 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fba66b8a

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   | 2 +-
 .../{tcpreplay-4.2.0_beta2.ebuild => tcpreplay-4.2.0.ebuild}  | 4 
 2 files changed, 1 insertion(+), 5 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index ba72adb4375..13e24d420bd 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,2 @@
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.0_beta2.tar.gz 2484518 SHA256 
46e8b8c7b74c7d3aff7d3223f2ccd50a10baa9ee4b475333504a7523d5d57ce4 SHA512 
e59b443dff1242dcf50bb9e68efcbaa79df8763192cb20853d3a41b5ba75d87717cf37b2e1227bd45807867442e27547950deb44aab784229b74cb51e4b9bae5
 WHIRLPOOL 
617d4a2b2739ddc77c7981ef72b7514ebeaf293f461ecb8dda7cbaf5930c16a6840a7ac83fcac41eb614de1a4f905019cbfe886a1c06243e4545c3d8c2cf8279
+DIST tcpreplay-4.2.0.tar.gz 3534486 SHA256 
924f80cd1958a4c4447f0a6a54e8d3af7aebd3674aa4ef9973f69b43b1675221 SHA512 
a129cf069b4b725f017c3c595462f5105441f236a01daf57d45fa9240264c40e6fd918a70aa6ddc8f090dcc2ebcc46fe9f4cb87d17a9b9147369472ea565b444
 WHIRLPOOL 
cbc29b45e583b1cbdbb5d3b65523d907e61d5fb8ddd35fc86c0be32d520456e72535aea7cf43abc85f58afd79d42638b488cb3d45f3453a542724dfa302ac8e8

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild
similarity index 95%
rename from net-analyzer/tcpreplay/tcpreplay-4.2.0_beta2.ebuild
rename to net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild
index 1277c9de85f..ee0ea9dffd4 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.0.ebuild
@@ -35,10 +35,6 @@ src_prepare() {
default
 
sed -i \
-   -e 's|-O3||g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.ac || die
-   sed -i \
-e 's|#include |#include |g' \
src/common/sendpacket.c || die
sed -i \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-22 Thread Jeroen Roovers
commit: e26b6ec9d9c886784cfd72d05d193a4d3153cd4a
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Mar 22 08:58:50 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Mar 22 08:58:50 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e26b6ec9

net-analyzer/tcpreplay: Old.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild | 72 ---
 2 files changed, 73 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 2c20c65998b..ba72adb4375 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,2 @@
-DIST tcpreplay-4.1.1.tar.gz 2173781 SHA256 
61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4 SHA512 
6be88d3742b93fa557c9142eebe7ae2cf61a5436087f8400260472f87c1dd0d61515b338706afa1c850ae2380c0d5fa664691052d3dc01f3099ad068b67eee87
 WHIRLPOOL 
ce1e4fe845ffbc019316f7a11249828d7b8c65afd9bfbff04950d0666aa79ee61e3bfd98d0870f820423cfb5b21e5274bf328cb4a020f290b0e7faa81297c544
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
 DIST tcpreplay-4.2.0_beta2.tar.gz 2484518 SHA256 
46e8b8c7b74c7d3aff7d3223f2ccd50a10baa9ee4b475333504a7523d5d57ce4 SHA512 
e59b443dff1242dcf50bb9e68efcbaa79df8763192cb20853d3a41b5ba75d87717cf37b2e1227bd45807867442e27547950deb44aab784229b74cb51e4b9bae5
 WHIRLPOOL 
617d4a2b2739ddc77c7981ef72b7514ebeaf293f461ecb8dda7cbaf5930c16a6840a7ac83fcac41eb614de1a4f905019cbfe886a1c06243e4545c3d8c2cf8279

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
deleted file mode 100644
index 5adf9557c30..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
+++ /dev/null
@@ -1,72 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit autotools eutils flag-o-matic
-
-DESCRIPTION="a suite of utilities for editing and replaying previously 
captured network traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-
-RDEPEND="${DEPEND}"
-
-DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-
-   sed -i \
-   -e 's|-O3||g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.ac || die
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-20 Thread Agostino Sarubbo
commit: d199de919d51fb1c255142be42f55ce7fa6ac861
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Mar 20 12:24:28 2017 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Mar 20 12:24:28 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d199de91

net-analyzer/tcpreplay: amd64 stable wrt bug #612224

Package-Manager: Portage-2.3.3, Repoman-2.3.1
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
index 90d4ff01657..f74db6adf5f 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
@@ -10,7 +10,7 @@ LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
 
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="amd64 ~sparc ~x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-18 Thread Jeroen Roovers
commit: f31e452d4cd404a9beb6ea923e52bc0196690370
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 18 11:20:15 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 18 11:28:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f31e452d

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest | 2 +-
 .../{tcpreplay-4.2.0_beta1.ebuild => tcpreplay-4.2.0_beta2.ebuild}  | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 4f8dcfeb252..2c20c65998b 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,3 +1,3 @@
 DIST tcpreplay-4.1.1.tar.gz 2173781 SHA256 
61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4 SHA512 
6be88d3742b93fa557c9142eebe7ae2cf61a5436087f8400260472f87c1dd0d61515b338706afa1c850ae2380c0d5fa664691052d3dc01f3099ad068b67eee87
 WHIRLPOOL 
ce1e4fe845ffbc019316f7a11249828d7b8c65afd9bfbff04950d0666aa79ee61e3bfd98d0870f820423cfb5b21e5274bf328cb4a020f290b0e7faa81297c544
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
-DIST tcpreplay-4.2.0_beta1.tar.gz 2163459 SHA256 
dea8b5870ed0669832cb1c6fa83e8283274fcd86717225c1f99fdd07015da3c0 SHA512 
e031aceb9f193ea069783afce321b4a7f9f775c80f86d4d378088ed456d25e65216fd04bc18be03f8dcffe05bfe3c9fd224ad1372f8e268a6edff67816d98327
 WHIRLPOOL 
baf4ddf3906fc914411ca52d490e609b876bd68d4c8085c4b683a5a2f4f15668e531479085d60e6efe97f9a1c6a594019018d25574962f85a669ec99b2e516d6
+DIST tcpreplay-4.2.0_beta2.tar.gz 2484518 SHA256 
46e8b8c7b74c7d3aff7d3223f2ccd50a10baa9ee4b475333504a7523d5d57ce4 SHA512 
e59b443dff1242dcf50bb9e68efcbaa79df8763192cb20853d3a41b5ba75d87717cf37b2e1227bd45807867442e27547950deb44aab784229b74cb51e4b9bae5
 WHIRLPOOL 
617d4a2b2739ddc77c7981ef72b7514ebeaf293f461ecb8dda7cbaf5930c16a6840a7ac83fcac41eb614de1a4f905019cbfe886a1c06243e4545c3d8c2cf8279

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta2.ebuild
similarity index 100%
rename from net-analyzer/tcpreplay/tcpreplay-4.2.0_beta1.ebuild
rename to net-analyzer/tcpreplay/tcpreplay-4.2.0_beta2.ebuild



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/, net-analyzer/tcpreplay/files/

2017-03-18 Thread Jeroen Roovers
commit: b4d13b3c9625fbb1308177dfbd192f399ab26c9d
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 18 11:28:00 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 18 11:28:19 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b4d13b3c

net-analyzer/tcpreplay: Add patch for CVE-2017-6429 (bug #612224).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 .../files/tcpreplay-4.1.2-CVE-2017-6429.patch  | 27 ++
 ...play-4.1.2.ebuild => tcpreplay-4.1.2-r1.ebuild} |  3 ++-
 2 files changed, 29 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/files/tcpreplay-4.1.2-CVE-2017-6429.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.1.2-CVE-2017-6429.patch
new file mode 100644
index 000..42c74d65071
--- /dev/null
+++ b/net-analyzer/tcpreplay/files/tcpreplay-4.1.2-CVE-2017-6429.patch
@@ -0,0 +1,27 @@
+--- a/src/tcpcapinfo.c
 b/src/tcpcapinfo.c
+@@ -281,6 +281,15 @@ main(int argc, char *argv[])
+ caplen = pcap_ph.caplen;
+ }
+ 
++if (caplentoobig) {
++printf("\n\nCapture file appears to be damaged or corrupt.\n"
++"Contains packet of size %u, bigger than snap length 
%u\n",
++caplen, pcap_fh.snaplen);
++
++close(fd);
++break;
++}
++
+ /* check to make sure timestamps don't go backwards */
+ if (last_sec > 0 && last_usec > 0) {
+ if ((pcap_ph.ts.tv_sec == last_sec) ? 
+@@ -306,7 +315,7 @@ main(int argc, char *argv[])
+ }
+ 
+ close(fd);
+-continue;
++break;
+ }
+ 
+ /* print the frame checksum */

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
similarity index 95%
rename from net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild
rename to net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
index a27f9136a0b..90d4ff01657 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -27,6 +27,7 @@ DOCS=(
 )
 PATCHES=(
"${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+   "${FILESDIR}"/${PN}-4.1.2-CVE-2017-6429.patch
 )
 
 src_prepare() {



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2017-03-10 Thread Jeroen Roovers
commit: b6636a6876e61f9114a457e2112294986a7a576e
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Mar 11 04:29:15 2017 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Mar 11 04:29:15 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6636a68

net-analyzer/tcpreplay: Version bump.

Package-Manager: Portage-2.3.4, Repoman-2.3.2

 net-analyzer/tcpreplay/Manifest|  1 +
 .../tcpreplay/tcpreplay-4.2.0_beta1.ebuild | 78 ++
 2 files changed, 79 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index bab25a62d86..4f8dcfeb252 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1,3 @@
 DIST tcpreplay-4.1.1.tar.gz 2173781 SHA256 
61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4 SHA512 
6be88d3742b93fa557c9142eebe7ae2cf61a5436087f8400260472f87c1dd0d61515b338706afa1c850ae2380c0d5fa664691052d3dc01f3099ad068b67eee87
 WHIRLPOOL 
ce1e4fe845ffbc019316f7a11249828d7b8c65afd9bfbff04950d0666aa79ee61e3bfd98d0870f820423cfb5b21e5274bf328cb4a020f290b0e7faa81297c544
 DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6
+DIST tcpreplay-4.2.0_beta1.tar.gz 2163459 SHA256 
dea8b5870ed0669832cb1c6fa83e8283274fcd86717225c1f99fdd07015da3c0 SHA512 
e031aceb9f193ea069783afce321b4a7f9f775c80f86d4d378088ed456d25e65216fd04bc18be03f8dcffe05bfe3c9fd224ad1372f8e268a6edff67816d98327
 WHIRLPOOL 
baf4ddf3906fc914411ca52d490e609b876bd68d4c8085c4b683a5a2f4f15668e531479085d60e6efe97f9a1c6a594019018d25574962f85a669ec99b2e516d6

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta1.ebuild
new file mode 100644
index 000..1277c9de85f
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.2.0_beta1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV/_/-}/${P/_/-}.tar.gz
 -> ${P}.tar.gz"
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+S=${WORKDIR}/${P/_/-}
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|-O3||g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+   configure.ac || die
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2016-11-24 Thread Jeroen Roovers
commit: 1aea737bf0bcaed2d63f3f9268e5c2934f35920c
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Nov 24 22:42:01 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Nov 24 22:42:01 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1aea737b

net-analyzer/tcpreplay: Version bump.

Package-Manager: portage-2.3.2

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild | 77 +++
 2 files changed, 78 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 4c66272..bab25a6 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.1.1.tar.gz 2173781 SHA256 
61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4 SHA512 
6be88d3742b93fa557c9142eebe7ae2cf61a5436087f8400260472f87c1dd0d61515b338706afa1c850ae2380c0d5fa664691052d3dc01f3099ad068b67eee87
 WHIRLPOOL 
ce1e4fe845ffbc019316f7a11249828d7b8c65afd9bfbff04950d0666aa79ee61e3bfd98d0870f820423cfb5b21e5274bf328cb4a020f290b0e7faa81297c544
+DIST tcpreplay-4.1.2.tar.gz 2162175 SHA256 
da483347e83a9b5df0e0dbb0f822a2d37236e79dda35f4bc4e6684fa827f25ea SHA512 
3a7d125f38fe15070d666eacb4a5ef026a73ff850adec7ef3592966f38d1d155002792c5d5ac2476aa034d71be5f31b9dacd5be34af01a336149af3a42cad360
 WHIRLPOOL 
e5ca80234655b3614eebd400954b53d958d08dbe91cf123db07935e5bebfb34ad40cd41a7a25a8d8ee684dbcaeda41c75a18503172830141dca022713b7814d6

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild
new file mode 100644
index ..964c486
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|-O3||g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+   configure.ac || die
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/, net-analyzer/tcpreplay/files/

2016-11-24 Thread Jeroen Roovers
commit: 158d982b5393f96dbe7eaeff6bd200260d5f1aa1
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Thu Nov 24 22:42:36 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Thu Nov 24 22:42:36 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=158d982b

net-analyzer/tcpreplay: Old.

Package-Manager: portage-2.3.2

 .../files/tcpreplay-4.1.1-MAXPACKET.patch  | 22 --
 net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild   | 78 --
 2 files changed, 100 deletions(-)

diff --git a/net-analyzer/tcpreplay/files/tcpreplay-4.1.1-MAXPACKET.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.1.1-MAXPACKET.patch
deleted file mode 100644
index ccb2dca..
--- a/net-analyzer/tcpreplay/files/tcpreplay-4.1.1-MAXPACKET.patch
+++ /dev/null
@@ -1,22 +0,0 @@
 a/src/defines.h.in
-+++ b/src/defines.h.in
-@@ -145,7 +145,7 @@
- #define DEFAULT_MTU 1500/* Max Transmission Unit of standard ethernet
-  * don't forget *frames* are MTU + L2 header! 
*/
- 
--#define MAXPACKET 65535 /* was 16436 linux loopback, but maybe 
something is bigger then
-+#define MAXPACKET 65549 /* was 16436 linux loopback, but maybe 
something is bigger then
-linux loopback */
- 
- #define MAX_SNAPLEN 65535   /* tell libpcap to capture the entire packet 
*/
 a/src/tcprewrite.c
-+++ b/src/tcprewrite.c
-@@ -253,6 +253,8 @@ rewrite_packets(tcpedit_t *tcpedit, pcap_t *pin, 
pcap_dumper_t *pout)
- packetnum++;
- dbgx(2, "packet " COUNTER_SPEC " caplen %d", packetnum, 
pkthdr.caplen);
- 
-+if (pkthdr.caplen > MAXPACKET)
-+errx(-1, "Frame too big, caplen %d exceeds %d", pkthdr.caplen, 
MAXPACKET);
- /* 
-  * copy over the packet so we can pad it out if necessary and
-  * because pcap_next() returns a const ptr

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild
deleted file mode 100644
index 93eb633..
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild
+++ /dev/null
@@ -1,78 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=6
-inherit autotools flag-o-matic
-
-DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.18.4[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-RDEPEND="${DEPEND}"
-
-DOCS=(
-   docs/{CHANGELOG,CREDIT,HACKING,TODO}
-)
-PATCHES=(
-   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-   "${FILESDIR}"/${PN}-4.1.1-MAXPACKET.patch
-)
-
-src_prepare() {
-   default
-
-   sed -i \
-   -e 's|-O3||g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.ac || die
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/files/, net-analyzer/tcpreplay/

2016-11-19 Thread Jeroen Roovers
commit: 7335969291b9d994b6dfc031b713c71b16c20e58
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sat Nov 19 09:20:28 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sat Nov 19 09:20:28 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=73359692

net-analyzer/tcpreplay: Add MAXPACKET patch (bug #588302).

Package-Manager: portage-2.3.2

 .../files/tcpreplay-4.1.1-MAXPACKET.patch  | 22 ++
 net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild   | 78 ++
 2 files changed, 100 insertions(+)

diff --git a/net-analyzer/tcpreplay/files/tcpreplay-4.1.1-MAXPACKET.patch 
b/net-analyzer/tcpreplay/files/tcpreplay-4.1.1-MAXPACKET.patch
new file mode 100644
index ..ccb2dca
--- /dev/null
+++ b/net-analyzer/tcpreplay/files/tcpreplay-4.1.1-MAXPACKET.patch
@@ -0,0 +1,22 @@
+--- a/src/defines.h.in
 b/src/defines.h.in
+@@ -145,7 +145,7 @@
+ #define DEFAULT_MTU 1500/* Max Transmission Unit of standard ethernet
+  * don't forget *frames* are MTU + L2 header! 
*/
+ 
+-#define MAXPACKET 65535 /* was 16436 linux loopback, but maybe 
something is bigger then
++#define MAXPACKET 65549 /* was 16436 linux loopback, but maybe 
something is bigger then
+linux loopback */
+ 
+ #define MAX_SNAPLEN 65535   /* tell libpcap to capture the entire packet 
*/
+--- a/src/tcprewrite.c
 b/src/tcprewrite.c
+@@ -253,6 +253,8 @@ rewrite_packets(tcpedit_t *tcpedit, pcap_t *pin, 
pcap_dumper_t *pout)
+ packetnum++;
+ dbgx(2, "packet " COUNTER_SPEC " caplen %d", packetnum, 
pkthdr.caplen);
+ 
++if (pkthdr.caplen > MAXPACKET)
++errx(-1, "Frame too big, caplen %d exceeds %d", pkthdr.caplen, 
MAXPACKET);
+ /* 
+  * copy over the packet so we can pad it out if necessary and
+  * because pcap_next() returns a const ptr

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild
new file mode 100644
index ..93eb633
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.1-r1.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit autotools flag-o-matic
+
+DESCRIPTION="utilities for editing and replaying previously captured network 
traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+RDEPEND="${DEPEND}"
+
+DOCS=(
+   docs/{CHANGELOG,CREDIT,HACKING,TODO}
+)
+PATCHES=(
+   "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+   "${FILESDIR}"/${PN}-4.1.1-MAXPACKET.patch
+)
+
+src_prepare() {
+   default
+
+   sed -i \
+   -e 's|-O3||g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+   configure.ac || die
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2016-05-05 Thread Jeroen Roovers
commit: 605a2edb259f027e326eba47c35b645db2b771a5
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Fri May  6 05:46:07 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Fri May  6 05:47:38 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=605a2edb

net-analyzer/tcpreplay: Old.

Package-Manager: portage-2.2.28

 net-analyzer/tcpreplay/Manifest  |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild | 73 
 2 files changed, 74 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 79d59e6..4c66272 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.1.0.tar.gz 2118212 SHA256 
ad285b08d7a61ed88799713c4c5d657a7a503eee832304d3a767f67efe5d1a20 SHA512 
bfd7a0679dccd86aba7ca5d102665e6feba72bffb1596915985bc50261f9ac10ce56b870e1aa64a33efa79e3bee89b8c66e2c26328fb15d3722a5bc957ea77a2
 WHIRLPOOL 
e6a07495cb07a09f707b3784d15a266c04a7b3d369b7d8eb9d7d5683838accdcc539255ff05f99c2fc8036d045e66f3a250a0c7f1896024c65065a6c6d282b7a
 DIST tcpreplay-4.1.1.tar.gz 2173781 SHA256 
61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4 SHA512 
6be88d3742b93fa557c9142eebe7ae2cf61a5436087f8400260472f87c1dd0d61515b338706afa1c850ae2380c0d5fa664691052d3dc01f3099ad068b67eee87
 WHIRLPOOL 
ce1e4fe845ffbc019316f7a11249828d7b8c65afd9bfbff04950d0666aa79ee61e3bfd98d0870f820423cfb5b21e5274bf328cb4a020f290b0e7faa81297c544

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
deleted file mode 100644
index 325f34c..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils flag-o-matic
-
-DESCRIPTION="a suite of utilities for editing and replaying previously 
captured network traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
-LICENSE="BSD GPL-3"
-SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
-
-SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.16.2[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-
-RDEPEND="${DEPEND}"
-
-DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-
-   sed -i \
-   -e 's|-O3||g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.ac || die
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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"
-   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
-   else
-   emake -j1 test || {
-   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
-   die "self test failed - see ${S}/test/test.log" ; }
-   fi
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2016-03-15 Thread Agostino Sarubbo
commit: d2e588315b9448cd71b2372263023be172d49e15
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Mar 15 17:55:12 2016 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Mar 15 17:55:12 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d2e58831

net-analyzer/tcpreplay: x86 stable wrt bug #574946

Package-Manager: portage-2.2.26
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
index d483b1a..b073194 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
@@ -11,7 +11,7 @@ LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
 
 SLOT="0"
-KEYWORDS="amd64 ~sparc ~x86"
+KEYWORDS="amd64 ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2016-01-13 Thread Jeroen Roovers
commit: 5e8286d5c4b5efa8bde774fce0b287ef86e491a2
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Wed Jan 13 08:26:35 2016 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Wed Jan 13 08:46:42 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5e8286d5

net-analyzer/tcpreplay: Version bump.

Package-Manager: portage-2.2.26

 net-analyzer/tcpreplay/Manifest   |  1 +
 net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild | 73 +++
 2 files changed, 74 insertions(+)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 2a2b7ad..79d59e6 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1 +1,2 @@
 DIST tcpreplay-4.1.0.tar.gz 2118212 SHA256 
ad285b08d7a61ed88799713c4c5d657a7a503eee832304d3a767f67efe5d1a20 SHA512 
bfd7a0679dccd86aba7ca5d102665e6feba72bffb1596915985bc50261f9ac10ce56b870e1aa64a33efa79e3bee89b8c66e2c26328fb15d3722a5bc957ea77a2
 WHIRLPOOL 
e6a07495cb07a09f707b3784d15a266c04a7b3d369b7d8eb9d7d5683838accdcc539255ff05f99c2fc8036d045e66f3a250a0c7f1896024c65065a6c6d282b7a
+DIST tcpreplay-4.1.1.tar.gz 2173781 SHA256 
61b916ef91049cad2a9ddc8de6f5e3e3cc5d9998dbb644dc91cf3a798497ffe4 SHA512 
6be88d3742b93fa557c9142eebe7ae2cf61a5436087f8400260472f87c1dd0d61515b338706afa1c850ae2380c0d5fa664691052d3dc01f3099ad068b67eee87
 WHIRLPOOL 
ce1e4fe845ffbc019316f7a11249828d7b8c65afd9bfbff04950d0666aa79ee61e3bfd98d0870f820423cfb5b21e5274bf328cb4a020f290b0e7faa81297c544

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
new file mode 100644
index 000..1136474
--- /dev/null
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.1.ebuild
@@ -0,0 +1,73 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+inherit autotools eutils flag-o-matic
+
+DESCRIPTION="a suite of utilities for editing and replaying previously 
captured network traffic"
+HOMEPAGE="http://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay";
+LICENSE="BSD GPL-3"
+SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
+
+SLOT="0"
+KEYWORDS="~amd64 ~sparc ~x86"
+IUSE="debug pcapnav +tcpdump"
+
+DEPEND="
+   >=sys-devel/autogen-5.18.4[libopts]
+   dev-libs/libdnet
+   >=net-libs/libpcap-0.9
+   tcpdump? ( net-analyzer/tcpdump )
+   pcapnav? ( net-libs/libpcapnav )
+"
+
+RDEPEND="${DEPEND}"
+
+DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
+
+src_prepare() {
+   epatch "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
+
+   sed -i \
+   -e 's|-O3||g' \
+   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
+   configure.ac || die
+   sed -i \
+   -e 's|#include |#include |g' \
+   src/common/sendpacket.c || die
+   sed -i \
+   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
+   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
+   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
+   src/Makefile.am || die
+
+   eautoreconf
+}
+
+src_configure() {
+   # By default it uses static linking. Avoid that, bug 252940
+   econf \
+   $(use_enable debug) \
+   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
+   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
+   --disable-local-libopts \
+   --enable-dynamic-link \
+   --enable-shared \
+   --with-libdnet \
+   --with-testnic2=lo \
+   --with-testnic=lo
+}
+
+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"
+   emake -j1 -C test tcpprep || die "self test failed - see 
${S}/test/test.log"
+   else
+   emake -j1 test || {
+   ewarn "Note, that some tests require eth0 iface to be 
UP." ;
+   die "self test failed - see ${S}/test/test.log" ; }
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2015-10-25 Thread Jeroen Roovers
commit: eae9ac41117133f4de1f341e387bf6f11d464272
Author: Jeroen Roovers  gentoo  org>
AuthorDate: Sun Oct 25 17:11:29 2015 +
Commit: Jeroen Roovers  gentoo  org>
CommitDate: Sun Oct 25 17:11:29 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eae9ac41

net-analyzer/tcpreplay: Old.

Package-Manager: portage-2.2.23

 net-analyzer/tcpreplay/Manifest  |  1 -
 net-analyzer/tcpreplay/tcpreplay-4.0.5-r1.ebuild | 74 
 2 files changed, 75 deletions(-)

diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest
index 5b1a684..2a2b7ad 100644
--- a/net-analyzer/tcpreplay/Manifest
+++ b/net-analyzer/tcpreplay/Manifest
@@ -1,2 +1 @@
-DIST tcpreplay-4.0.5.tar.gz 2059744 SHA256 
63798c8adc9e5be79467e23593838ce0e617b25938cfce3116feda2630344d80 SHA512 
bf0e8e64d9431bbf8379d2578edf0a53e6803dfc06d973c388aa885bcc4f029499dad02aed0ee17b78b5eef178b450b6c0b851b9a52a1ac27dc0e1cb2b83a88d
 WHIRLPOOL 
dcb446268956fc5f89d211e0aafa1323a2984c614b0637c7cdefdeaa617e594893397476bb358d1dc58cebc7d185fd4914cb88db97b23286606a7ae133a1ec50
 DIST tcpreplay-4.1.0.tar.gz 2118212 SHA256 
ad285b08d7a61ed88799713c4c5d657a7a503eee832304d3a767f67efe5d1a20 SHA512 
bfd7a0679dccd86aba7ca5d102665e6feba72bffb1596915985bc50261f9ac10ce56b870e1aa64a33efa79e3bee89b8c66e2c26328fb15d3722a5bc957ea77a2
 WHIRLPOOL 
e6a07495cb07a09f707b3784d15a266c04a7b3d369b7d8eb9d7d5683838accdcc539255ff05f99c2fc8036d045e66f3a250a0c7f1896024c65065a6c6d282b7a

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.0.5-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.0.5-r1.ebuild
deleted file mode 100644
index 80e5d95..000
--- a/net-analyzer/tcpreplay/tcpreplay-4.0.5-r1.ebuild
+++ /dev/null
@@ -1,74 +0,0 @@
-# Copyright 1999-2015 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Id$
-
-EAPI=5
-inherit autotools eutils flag-o-matic
-
-DESCRIPTION="a suite of utilities for editing and replaying previously 
captured network traffic"
-HOMEPAGE="http://tcpreplay.appneta.com/";
-LICENSE="BSD GPL-3"
-SRC_URI="mirror://sourceforge/project/${PN}/${PN}/${PV}/${P}.tar.gz"
-
-SLOT="0"
-KEYWORDS="amd64 ~sparc x86"
-IUSE="debug pcapnav +tcpdump"
-
-DEPEND="
-   >=sys-devel/autogen-5.16.2[libopts]
-   dev-libs/libdnet
-   >=net-libs/libpcap-0.9
-   tcpdump? ( net-analyzer/tcpdump )
-   pcapnav? ( net-libs/libpcapnav )
-"
-
-RDEPEND="${DEPEND}"
-
-DOCS=( README docs/{CHANGELOG,CREDIT,HACKING,TODO} )
-
-src_prepare() {
-   epatch "${FILESDIR}"/${PN}-4.1.0-enable-pcap_findalldevs.patch
-
-   sed -i \
-   -e '/CFLAGS=/s|-ggdb -std=gnu99|-std=gnu99|g' \
-   -e 's|-O3||g' \
-   -e 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|g' \
-   configure.ac || die
-   sed -i \
-   -e 's|#include |#include |g' \
-   src/common/sendpacket.c || die
-   sed -i \
-   -e 's|@\([A-Z_]*\)@|$(\1)|g' \
-   -e '/tcpliveplay_CFLAGS/s|$| $(LDNETINC)|g' \
-   -e '/tcpliveplay_LDADD/s|$| $(LDNETLIB)|g' \
-   src/Makefile.am || die
-
-   eautoreconf
-}
-
-src_configure() {
-   # By default it uses static linking. Avoid that, bug 252940
-   econf \
-   $(use_enable debug) \
-   $(use_with pcapnav pcapnav-config /usr/bin/pcapnav-config) \
-   $(use_with tcpdump tcpdump /usr/sbin/tcpdump) \
-   --disable-local-libopts \
-   --enable-dynamic-link \
-   --enable-shared \
-   --with-libdnet \
-   --with-testnic2=lo \
-   --with-testnic=lo
-}
-
-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
-}



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2015-10-25 Thread Mikle Kolyada
commit: d30ec71fe076dea8858894aed35d39ee3db5488c
Author: Mikle Kolyada  gentoo  org>
AuthorDate: Sun Oct 25 11:11:55 2015 +
Commit: Mikle Kolyada  gentoo  org>
CommitDate: Sun Oct 25 11:12:11 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d30ec71f

net-analyzer/tcpreplay: x86 stable wrt bug #562276

Package-Manager: portage-2.2.20.1

 net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
index e70bd4f..325f34c 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
@@ -11,7 +11,7 @@ LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
 
 SLOT="0"
-KEYWORDS="amd64 ~sparc ~x86"
+KEYWORDS="amd64 ~sparc x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/

2015-10-19 Thread Agostino Sarubbo
commit: 2de825a13a4d384b35317ee6f59cd10957725e0d
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Mon Oct 19 09:26:45 2015 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Mon Oct 19 09:26:45 2015 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2de825a1

net-analyzer/tcpreplay: amd64 stable wrt bug #562276

Package-Manager: portage-2.2.20.1
RepoMan-Options: --include-arches="amd64"

 net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild 
b/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
index 1eeb57f..e70bd4f 100644
--- a/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
+++ b/net-analyzer/tcpreplay/tcpreplay-4.1.0-r1.ebuild
@@ -11,7 +11,7 @@ LICENSE="BSD GPL-3"
 SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.gz";
 
 SLOT="0"
-KEYWORDS="~amd64 ~sparc ~x86"
+KEYWORDS="amd64 ~sparc ~x86"
 IUSE="debug pcapnav +tcpdump"
 
 DEPEND="