diff options
Diffstat (limited to 'net-analyzer/tcpreplay')
-rw-r--r-- | net-analyzer/tcpreplay/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-4.3.4.ebuild | 77 | ||||
-rw-r--r-- | net-analyzer/tcpreplay/tcpreplay-4.4.1.ebuild | 87 |
3 files changed, 0 insertions, 168 deletions
diff --git a/net-analyzer/tcpreplay/Manifest b/net-analyzer/tcpreplay/Manifest index fc4278dd7b98..5680e466e917 100644 --- a/net-analyzer/tcpreplay/Manifest +++ b/net-analyzer/tcpreplay/Manifest @@ -1,10 +1,6 @@ AUX tcpreplay-4.3.0-enable-pcap_findalldevs.patch 333 BLAKE2B 1beb39a7263bf8491998760e4a62ac8908300e28c43500812d37d2512f9d63fcd175b93c1b384e03e9570e741dd95dea09ead017a014a4b62b3449833fe9b248 SHA512 3d035736c0656f6ace85b45af595866e06c8464641023e9d1606c288e598cde18eb96b1be8300514f6f31bc83756ae76b436402666036456571201ca38fe5026 AUX tcpreplay-4.4.1-fix-bashism-configure.patch 988 BLAKE2B 847d6f241a84b456f96c2ea58a0e15df98f41befcda0a46fcb0a6e1f46b8ac3f6fb5fd8454ec91eb7696601bc015b821dd2fb3452a1dd7c79260e518ca0d2d2d SHA512 e711bb603eb490c34439557c663c31aa267cccaa47db5b40b74497771b5c7daff2e1211a19773d9b0ed2826a578f373261db2456b9747330b17e7ac3f9c3e4a9 -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 -EBUILD tcpreplay-4.3.4.ebuild 1925 BLAKE2B 00949edc8ccb707a26dd93ace9d298eeb1cf9167870d130f3b335e12ec88ae7842f13b560ea1e6005cc3892b94e1d7a7aff6ea958b82efa43e25a63c19951dec SHA512 2c64a85b0e9c6b6da59264d235c8c4025e2ffa58e0efa5f4b8325937a94fd3874bea8920043f28faae7eb408bf84140f1744e8fad58ed19eb9c6478bc0f83b7c -EBUILD tcpreplay-4.4.1.ebuild 2186 BLAKE2B 8b055da62a027afe9482068b1027c4871f2047f5353bcbb8a921b7d4395a64116f480d6865e362a742f3163e45775b4be443c18b608c5c745dbe9bddb05a61af SHA512 3e52073f333de6fa15b52f5e124a555d2cef1eb6ff2b36cda45d675b6ca09bb368cfcec6f0055c68a09eb0cf8d0d861288f317ec1ce5c53ed37eefa07a12e56d EBUILD tcpreplay-4.4.2.ebuild 2131 BLAKE2B a6c8a42e51fec6bed9bc92b3bb61edccd9667795ae498fb3ab8a8d11478266f8163fc1d369c6ca0552d7c8fd09165e662643e7ed6133931c9739b18965fe3461 SHA512 4b4593adf596a1af17822997b300edd75175f3662d47d34d14459db54ac773a212c661ae48d6d74923d5650da6df7402d6aa341fb94a2ebb4712f7863237546c EBUILD tcpreplay-9999.ebuild 2133 BLAKE2B 24055b46b8746954e05cfaf88695389ef7e17171ba16f4b6de166f40e23ce3a7ef5f82f2915fc016bd6cc637ecf473fc90ed791111e87e7d905f83d0ca380629 SHA512 033159087ec5edb13a1c87a94489ffcf30b085b58707581b1de8d5f176511204a1e907e19c70b1aa46ec81678c0cb16b7bf086eb4d6c0f0562a6d74218d02718 MISC metadata.xml 1117 BLAKE2B f269c4d3da94e3fb52ad80b840c6d5b8d4acb0181dd1c370bedd88bcf75e6933f21f304f3ed5435dc601978acbef6396410d9beb96e4ec1ba1a7a53458b540c9 SHA512 bff9425e1ae71f5d106a5b2c844591db726192f356f54c6347fb9a6c10fef6b7b11cc59695b4f712d87f0359112b98ec514ce481fd824d6e343975631b105ea5 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..000000000000 --- 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 <dnet.h>|#include <dnet/eth.h>|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..000000000000 --- 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://tcpreplay.appneta.com/ https://github.com/appneta/tcpreplay" -if [[ ${PV} == *9999* ]] ; 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 - "${FILESDIR}"/${PN}-4.4.1-fix-bashism-configure.patch -) - -src_prepare() { - default - - sed -i \ - -e 's|#include <dnet.h>|#include <dnet/eth.h>|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 -} |