Сравнение tcpreplay-4.4.4 с tcpreplay-9999
| /usr/portage/net-analyzer/tcpreplay/tcpreplay-9999.ebuild 2024-08-08 10:48:54.008782003 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2023 Gentoo Authors |
|
| 1 |
# Copyright 1999-2024 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| ... | ... | |
| 12 | 12 |
inherit git-r3 |
| 13 | 13 |
else |
| 14 | 14 |
SRC_URI="https://github.com/appneta/${PN}/releases/download/v${PV}/${P}.tar.xz"
|
| 15 |
KEYWORDS="amd64 ~arm ~sparc x86" |
|
| 15 |
KEYWORDS="~amd64 ~arm ~sparc ~x86" |
|
| 16 | 16 |
fi |
| 17 | 17 | |
| 18 | 18 |
S="${WORKDIR}"/${P/_/-}
|
| ... | ... | |
| 35 | 35 |
" |
| 36 | 36 |
RDEPEND="${DEPEND}"
|
| 37 | 37 | |
| 38 |
QA_CONFIG_IMPL_DECL_SKIP=( |
|
| 39 |
pathfind # sun/solaris only command, bug 900040 |
|
| 40 |
) |
|
| 41 | ||
| 38 | 42 |
DOCS=( docs/{CHANGELOG,CREDIT,HACKING,TODO} )
|
| 39 | 43 | |
| 40 | 44 |
PATCHES=( |
| ... | ... | |
| 59 | 63 |
src_configure() {
|
| 60 | 64 |
use elibc_musl && append-flags "-lfts" |
| 61 | 65 |
# By default it uses static linking. Avoid that, bug #252940 |
| 62 |
econf \ |
|
| 63 |
$(use_enable debug) \ |
|
| 64 |
$(use_with pcapnav pcapnav-config "${BROOT}"/usr/bin/pcapnav-config) \
|
|
| 65 |
$(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump) \
|
|
| 66 |
--enable-dynamic-link \ |
|
| 67 |
--enable-local-libopts \ |
|
| 68 |
--enable-shared \ |
|
| 69 |
--with-libdnet \ |
|
| 70 |
--with-testnic2=lo \ |
|
| 66 |
local myeconfargs=( |
|
| 67 |
$(use_enable debug) |
|
| 68 |
$(use_with pcapnav pcapnav-config "${BROOT}"/usr/bin/pcapnav-config)
|
|
| 69 |
$(use_with tcpdump tcpdump "${ESYSROOT}"/usr/sbin/tcpdump)
|
|
| 70 |
--enable-dynamic-link |
|
| 71 |
--enable-local-libopts |
|
| 72 |
--enable-shared |
|
| 73 |
--with-libdnet |
|
| 74 |
--with-testnic2=lo |
|
| 71 | 75 |
--with-testnic=lo |
| 76 |
) |
|
| 77 | ||
| 78 |
econf "${myeconfargs[@]}"
|
|
| 72 | 79 |
} |
| 73 | 80 | |
| 74 | 81 |
src_test() {
|