From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id C6EAF13835A for ; Sat, 3 Apr 2021 16:10:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 247E3E08ED; Sat, 3 Apr 2021 16:10:46 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id EED2CE08ED for ; Sat, 3 Apr 2021 16:10:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F546335D16 for ; Sat, 3 Apr 2021 16:10:45 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0286F63F for ; Sat, 3 Apr 2021 16:10:42 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1617466229.9df4894edb868c80d3e867d5c36af980989aaf39.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpreplay/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-analyzer/tcpreplay/tcpreplay-4.3.3.ebuild net-analyzer/tcpreplay/tcpreplay-999999.ebuild X-VCS-Directories: net-analyzer/tcpreplay/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 9df4894edb868c80d3e867d5c36af980989aaf39 X-VCS-Branch: master Date: Sat, 3 Apr 2021 16:10:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: cbbf1e70-e1d8-4016-8ca3-65903706a13a X-Archives-Hash: a874bedf293272e820c721a6922bc43c commit: 9df4894edb868c80d3e867d5c36af980989aaf39 Author: Sam James gentoo org> AuthorDate: Fri Apr 2 00:50:33 2021 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 3 16:10:29 2021 +0000 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-999999.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-999999.ebuild b/net-analyzer/tcpreplay/tcpreplay-999999.ebuild index 9e2776949df..52407c59ac7 100644 --- a/net-analyzer/tcpreplay/tcpreplay-999999.ebuild +++ b/net-analyzer/tcpreplay/tcpreplay-999999.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 \