commit: dd4bba12be445a68c841c516bb9f63dd307afdaf
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 4 03:38:57 2026 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Jan 4 03:39:37 2026 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd4bba12
net-analyzer/tcpdump: add 4.99.6
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/tcpdump/Manifest | 2 ++
.../{tcpdump-9999.ebuild => tcpdump-4.99.6.ebuild} | 28 +++++++++++++++-------
net-analyzer/tcpdump/tcpdump-9999.ebuild | 28 +++++++++++++++-------
3 files changed, 40 insertions(+), 18 deletions(-)
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index b81517174856..df890bbb02b9 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -1,2 +1,4 @@
DIST tcpdump-4.99.5.tar.gz 2045086 BLAKE2B
754c25eafe84754465356042faa1369678655aa93d1b736c259ca9a6bd1e18c44784ae136dc6a3e64af9903c05c29e1379aafd7badc0e129c5a29ae908db13ff
SHA512
69bc52ef7af7fd562370adf2e95cb592aad6193df9ab1708de52ac86a4c1cff72e8b256a739b435c324ee2df61051abde7d2659bc40f061d7c4fbcab1dcaa2e2
DIST tcpdump-4.99.5.tar.gz.sig 442 BLAKE2B
8742616147e2965ea6879b471662669f1942cdb8892834ac3ebfd4a6f610bde1a091bb85dc8c0836b26d1db7036d072608d7242ee4ddfbf590a07beb584a67cc
SHA512
e36d2023973335cb95e91cb13414f6c0e6386175ed88fdeb2c0afabf7c39ad43f138d13b18ff2e88b142aad5147d37ddc03c3111e9d4d22bf3697e0acc30905c
+DIST tcpdump-4.99.6.tar.gz 2053753 BLAKE2B
cf820f98d271a6cd97d0c2c7b4f6a6a3091b264a2cdb0c80e4cc0d0301ca4a817498b5941e0806d838cc819d20539157fc50b4be5634153eb2eeb6e540bd0196
SHA512
1a3c1855de8769ded66c86f0a8a54f5fe0943aa6855ff43bc8262895e749f7afe6a729cec4280d705f3e82942d0cee4b914bc1aa50e6ea686ad8ff798ca8df96
+DIST tcpdump-4.99.6.tar.gz.sig 442 BLAKE2B
d6c533c7a259cebb9cfa2384b969f5625d225d32526c97016ef7f604dee6dfc17bdc9795b76b680601586b8bf0e8cfd04db2a6b4cf191befcd178d9dda520cba
SHA512
421dddc51f43e93e76c6fa27aa2482a8de99247b8c42984c58f8009c4330c57f111d6f93c028e5c6506029b60ee02cdc0cc258adc4aaf346b0e11472d770fd9b
diff --git a/net-analyzer/tcpdump/tcpdump-9999.ebuild
b/net-analyzer/tcpdump/tcpdump-4.99.6.ebuild
similarity index 74%
copy from net-analyzer/tcpdump/tcpdump-9999.ebuild
copy to net-analyzer/tcpdump/tcpdump-4.99.6.ebuild
index 60b8ed3e0515..3c062623d1e6 100644
--- a/net-analyzer/tcpdump/tcpdump-9999.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-4.99.6.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
-DESCRIPTION="A tool for network monitoring and data acquisition"
+DESCRIPTION="Tool for network monitoring and data acquisition"
HOMEPAGE="https://www.tcpdump.org/
https://github.com/the-tcpdump-group/tcpdump"
if [[ ${PV} == *9999* ]] ; then
@@ -28,8 +28,10 @@ IUSE="+caps +smi +ssl +samba suid test"
REQUIRED_USE="test? ( samba )"
RESTRICT="!test? ( test )"
+# The minimum version of libpcap for tests to pass is often mentioned
+# at https://www.tcpdump.org/index.html#latest-releases
RDEPEND="
- >=net-libs/libpcap-1.10.1
+ >=net-libs/libpcap-1.10.5
caps? (
acct-group/pcap
acct-user/pcap
@@ -53,21 +55,29 @@ DEPEND="
BDEPEND="caps? ( virtual/pkgconfig )"
if [[ ${PV} != *9999* ]] ; then
- BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-tcpdump-20240901 )"
+ BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-tcpdump-20260104 )"
fi
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.99.5-libdir.patch
+ "${FILESDIR}"/${PN}-4.99.5-lfs.patch
+)
+
src_prepare() {
default
eautoreconf
}
src_configure() {
- econf \
- $(use_enable samba smb) \
- $(use_with caps cap-ng) \
- $(use_with smi) \
- $(use_with ssl crypto "${ESYSROOT}/usr") \
+ local myeconfargs=(
+ $(use_enable samba smb)
+ $(use_with caps cap-ng)
+ $(use_with smi)
+ $(use_with ssl crypto "${ESYSROOT}/usr")
$(usex caps "--with-user=pcap" "")
+ )
+
+ econf "${myeconfargs[@]}"
}
src_test() {
diff --git a/net-analyzer/tcpdump/tcpdump-9999.ebuild
b/net-analyzer/tcpdump/tcpdump-9999.ebuild
index 60b8ed3e0515..3c062623d1e6 100644
--- a/net-analyzer/tcpdump/tcpdump-9999.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-9999.ebuild
@@ -1,11 +1,11 @@
-# Copyright 1999-2025 Gentoo Authors
+# Copyright 1999-2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit autotools
-DESCRIPTION="A tool for network monitoring and data acquisition"
+DESCRIPTION="Tool for network monitoring and data acquisition"
HOMEPAGE="https://www.tcpdump.org/
https://github.com/the-tcpdump-group/tcpdump"
if [[ ${PV} == *9999* ]] ; then
@@ -28,8 +28,10 @@ IUSE="+caps +smi +ssl +samba suid test"
REQUIRED_USE="test? ( samba )"
RESTRICT="!test? ( test )"
+# The minimum version of libpcap for tests to pass is often mentioned
+# at https://www.tcpdump.org/index.html#latest-releases
RDEPEND="
- >=net-libs/libpcap-1.10.1
+ >=net-libs/libpcap-1.10.5
caps? (
acct-group/pcap
acct-user/pcap
@@ -53,21 +55,29 @@ DEPEND="
BDEPEND="caps? ( virtual/pkgconfig )"
if [[ ${PV} != *9999* ]] ; then
- BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-tcpdump-20240901 )"
+ BDEPEND+=" verify-sig? ( >=sec-keys/openpgp-keys-tcpdump-20260104 )"
fi
+PATCHES=(
+ "${FILESDIR}"/${PN}-4.99.5-libdir.patch
+ "${FILESDIR}"/${PN}-4.99.5-lfs.patch
+)
+
src_prepare() {
default
eautoreconf
}
src_configure() {
- econf \
- $(use_enable samba smb) \
- $(use_with caps cap-ng) \
- $(use_with smi) \
- $(use_with ssl crypto "${ESYSROOT}/usr") \
+ local myeconfargs=(
+ $(use_enable samba smb)
+ $(use_with caps cap-ng)
+ $(use_with smi)
+ $(use_with ssl crypto "${ESYSROOT}/usr")
$(usex caps "--with-user=pcap" "")
+ )
+
+ econf "${myeconfargs[@]}"
}
src_test() {