From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpdump/
Date: Sat, 8 Apr 2023 21:40:14 +0000 (UTC) [thread overview]
Message-ID: <1680989817.1f5108f418a76377ea8907fec53856a388d7f5a7.sam@gentoo> (raw)
commit: 1f5108f418a76377ea8907fec53856a388d7f5a7
Author: Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 8 21:36:57 2023 +0000
Commit: Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Apr 8 21:36:57 2023 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f5108f4
net-analyzer/tcpdump: add 4.99.4
Bug: https://bugs.gentoo.org/904041
Signed-off-by: Sam James <sam <AT> gentoo.org>
net-analyzer/tcpdump/Manifest | 2 +
net-analyzer/tcpdump/tcpdump-4.99.4.ebuild | 101 +++++++++++++++++++++++++++++
2 files changed, 103 insertions(+)
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index aff8baf7a1ae..1b6e578d252e 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -4,3 +4,5 @@ DIST tcpdump-4.99.2.tar.gz 1897480 BLAKE2B be13fbf493478270c8ebc034a3c1467907a00
DIST tcpdump-4.99.2.tar.gz.sig 442 BLAKE2B 011c93803a1c339f9ce46dedb8e3420d77c5362575061c9b852647d8e8de6936079150240b444f660a84b9e45337960b8878e7c4de1f4e6ad2fff16225811d24 SHA512 33704e9b2ece65ca8a1fbf8234088e561f132a561ac859da32c7fb4d4caaeabd9a4b50ac8f939e48c18e672dade9393c7e56bc838ec8ac9828be5360e99e5692
DIST tcpdump-4.99.3.tar.gz 1901814 BLAKE2B 8e8adda6df40f3a79cbeb80bd01d43834e0b3ec44c8227bda2260b43ea0852f76beb02199120cca16adae0d793841cf684e7e276e520f49479a1b04ab1dc4821 SHA512 e1442e923d89f367cfe403dc460d0d46e19a241470d56b30b7a411bedd8d21a78c428f20ffe725cbb4fa5068f7dcc5c93d206e1a8d53feb9bccc6f0cda8bf0f9
DIST tcpdump-4.99.3.tar.gz.sig 442 BLAKE2B 97dbac4534f9b9daf0ab89d6a230835690737827330d4a6f15e7450bd8aed24af2bc097bf41511bb40534687623ffe63fb766c5e344ce66483c9dd5f34427155 SHA512 a7dfd95c11fa9066740552acc9ebfa1c674ba9242dfb6dddf27658845245b8677b4c2da392cfe1447f32b929e108e9ff5326a94cdc0be9502a05e0efc15a5934
+DIST tcpdump-4.99.4.tar.gz 1903612 BLAKE2B f100e10774574ef04a770bc30d4e2d06fd0f1f16a7b2c88848be6e8290cc4838666ff378d9f78fdc418f4ffab9716a11214edc3588c292cb5ff39636cd7cfd2d SHA512 cb51e19574707d07c0de90dd4c301955897f2c9f2a69beb7162c08f59189f55625346d1602c8d66ab2b4c626ea4b0df1f08ed8734d2d7f536d0a7840c2d6d8df
+DIST tcpdump-4.99.4.tar.gz.sig 442 BLAKE2B 2ee35036d86f643b378591c0eb93d8a0f08cb2f0e3638bde25515d550b40fef1bf0eb6c876d4d6512fa795041b0703954ca884c646c4af8771b4bc4049e7609a SHA512 bec395f0f595a37121bc144bac133f3fb31c6c1007cdadf061e4437d6fe2406c0cb0d5b68b5c63e03b932c783bfb58f0af0b7e8a58bb81beb9de6a0d681620e8
diff --git a/net-analyzer/tcpdump/tcpdump-4.99.4.ebuild b/net-analyzer/tcpdump/tcpdump-4.99.4.ebuild
new file mode 100644
index 000000000000..8d03b876b291
--- /dev/null
+++ b/net-analyzer/tcpdump/tcpdump-4.99.4.ebuild
@@ -0,0 +1,101 @@
+# Copyright 1999-2023 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"
+HOMEPAGE="https://www.tcpdump.org/ https://github.com/the-tcpdump-group/tcpdump"
+
+if [[ ${PV} == *9999* ]] ; then
+ inherit git-r3
+
+ EGIT_REPO_URI="https://github.com/the-tcpdump-group/tcpdump"
+else
+ VERIFY_SIG_OPENPGP_KEY_PATH=${BROOT}/usr/share/openpgp-keys/tcpdump.asc
+ inherit verify-sig
+
+ SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz"
+ SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig )"
+
+ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="+drop-root +smi +ssl +samba suid test"
+REQUIRED_USE="test? ( samba )"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+ >=net-libs/libpcap-1.10.1
+ drop-root? (
+ acct-group/pcap
+ acct-user/pcap
+ sys-libs/libcap-ng
+ )
+ smi? ( net-libs/libsmi )
+ ssl? (
+ >=dev-libs/openssl-0.9.6m:=
+ )
+ suid? (
+ acct-group/pcap
+ acct-user/pcap
+ )
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ dev-lang/perl
+ )
+"
+BDEPEND="drop-root? ( virtual/pkgconfig )"
+
+if [[ ${PV} != *9999* ]] ; then
+ BDEPEND+=" verify-sig? ( sec-keys/openpgp-keys-tcpdump )"
+fi
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-9999-libdir.patch
+)
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ $(use_enable samba smb) \
+ $(use_with drop-root cap-ng) \
+ $(use_with drop-root chroot '') \
+ $(use_with smi) \
+ $(use_with ssl crypto "${ESYSROOT}/usr") \
+ $(usex drop-root "--with-user=pcap" "")
+}
+
+src_test() {
+ if [[ ${EUID} -ne 0 ]] || ! use drop-root ; then
+ emake check
+ else
+ ewarn "If you want to run the test suite, make sure you either"
+ ewarn "set FEATURES=userpriv or set USE=-drop-root"
+ fi
+}
+
+src_install() {
+ dosbin tcpdump
+ doman tcpdump.1
+ dodoc *.awk
+ dodoc CHANGES CREDITS README.md
+
+ if use suid ; then
+ fowners root:pcap /usr/sbin/tcpdump
+ fperms 4110 /usr/sbin/tcpdump
+ fi
+}
+
+pkg_postinst() {
+ use suid && elog "To let normal users run tcpdump, add them to the pcap group."
+}
next reply other threads:[~2023-04-08 21:40 UTC|newest]
Thread overview: 140+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-04-08 21:40 Sam James [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-03-07 6:55 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpdump/ WANG Xuerui
2025-03-07 6:55 WANG Xuerui
2024-10-12 15:05 Sam James
2024-10-09 6:59 Arthur Zamarin
2024-10-05 14:30 Arthur Zamarin
2024-10-05 14:30 Arthur Zamarin
2024-10-05 11:12 Sam James
2023-06-14 5:30 Sam James
2023-06-09 14:17 Sam James
2023-06-09 14:00 Arthur Zamarin
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:51 Arthur Zamarin
2023-06-09 13:48 Sam James
2023-06-09 13:48 Sam James
2023-03-09 9:15 Arthur Zamarin
2023-03-09 9:15 Arthur Zamarin
2023-03-09 8:59 Sam James
2023-03-09 8:59 Sam James
2023-03-09 8:54 Sam James
2023-03-09 8:54 Sam James
2023-03-09 7:38 Arthur Zamarin
2023-01-13 7:27 Sam James
2023-01-13 7:25 Sam James
2023-01-01 2:45 Sam James
2023-01-01 2:37 Sam James
2022-12-10 4:36 Sam James
2022-12-02 11:23 Arthur Zamarin
2022-11-29 6:58 Jakov Smolić
2022-11-25 9:41 Arthur Zamarin
2022-11-25 5:21 Sam James
2022-11-25 5:15 Sam James
2022-11-25 5:04 Sam James
2022-11-25 5:03 Sam James
2022-02-20 5:51 Sam James
2021-09-21 12:31 James Le Cuirot
2021-07-31 13:40 Michał Górny
2021-07-23 11:05 Marek Szuba
2021-07-16 21:44 Sam James
2021-07-13 20:05 Sam James
2021-07-13 20:05 Sam James
2021-07-13 6:28 Agostino Sarubbo
2021-07-13 0:05 Sam James
2021-07-13 0:05 Sam James
2021-07-13 0:05 Sam James
2021-06-10 17:54 Sam James
2021-06-10 17:54 Sam James
2021-05-15 2:37 Sam James
2021-05-02 8:39 Mikle Kolyada
2021-04-16 5:33 Sam James
2021-04-16 5:33 Sam James
2021-03-17 1:44 Sam James
2021-03-10 17:29 Sergei Trofimovich
2021-03-05 16:34 Sam James
2021-03-05 7:32 Agostino Sarubbo
2021-03-05 7:27 Agostino Sarubbo
2021-03-04 5:00 Sam James
2021-03-04 4:58 Sam James
2021-02-18 20:11 Sergei Trofimovich
2021-01-30 19:31 Sam James
2020-12-31 8:53 Sam James
2020-11-08 13:22 Mikle Kolyada
2020-11-08 13:22 Mikle Kolyada
2020-11-08 0:32 Sam James
2020-11-08 0:32 Sam James
2020-11-08 0:32 Sam James
2020-11-07 20:37 Sergei Trofimovich
2020-11-07 20:10 Sergei Trofimovich
2020-11-04 0:44 Sam James
2020-11-03 21:44 Mikle Kolyada
2020-10-24 10:00 David Seifert
2020-09-05 11:47 Jeroen Roovers
2020-08-31 21:16 Jeroen Roovers
2020-08-31 21:16 Jeroen Roovers
2020-08-24 7:55 Jeroen Roovers
2020-05-06 17:25 Michał Górny
2020-02-08 18:55 David Seifert
2020-01-14 9:18 Jeroen Roovers
2019-11-12 10:12 Jeroen Roovers
2019-10-20 8:55 Mikle Kolyada
2019-10-14 9:53 Agostino Sarubbo
2019-10-14 2:41 Matt Turner
2019-10-11 22:32 Sergei Trofimovich
2019-10-07 19:12 Sergei Trofimovich
2019-10-07 10:44 Agostino Sarubbo
2019-10-07 9:52 Agostino Sarubbo
2019-10-07 9:47 Agostino Sarubbo
2019-10-07 8:42 Agostino Sarubbo
2019-10-07 0:47 Aaron Bauman
2019-10-06 21:18 Thomas Deutschmann
2019-10-02 7:06 Jeroen Roovers
2019-10-02 6:32 Jeroen Roovers
2019-10-02 6:25 Jeroen Roovers
2018-06-13 16:21 Lars Wendler
2017-09-25 8:11 Jeroen Roovers
2017-09-24 19:31 Sergei Trofimovich
2017-09-24 17:35 Sergei Trofimovich
2017-09-23 21:01 Sergei Trofimovich
2017-09-16 13:47 Kristian Fiskerstrand
2017-09-15 4:42 Markus Meier
2017-09-14 17:48 Tobias Klausmann
2017-09-09 11:53 Sergei Trofimovich
2017-09-09 9:51 Jeroen Roovers
2017-09-09 9:09 Jeroen Roovers
2017-09-08 4:13 Jeroen Roovers
2017-09-08 4:13 Jeroen Roovers
2017-09-08 4:13 Jeroen Roovers
2017-09-07 20:45 Richard Farina
2017-09-07 20:45 Richard Farina
2017-08-31 15:18 Matt Turner
2017-08-20 16:59 Thomas Deutschmann
2017-08-19 20:56 Richard Freeman
2017-08-08 20:41 Markus Meier
2017-08-08 14:03 Sergei Trofimovich
2017-07-24 19:10 Jeroen Roovers
2017-02-21 5:30 Jeroen Roovers
2017-02-14 13:39 Jeroen Roovers
2017-02-10 17:34 Michael Weber
2017-02-08 0:40 Michael Weber
2017-02-06 15:33 Jeroen Roovers
2017-01-31 5:45 Jeroen Roovers
2017-01-30 13:40 Agostino Sarubbo
2017-01-30 13:19 Tobias Klausmann
2017-01-29 19:33 Fabian Groffen
2017-01-22 11:40 Jeroen Roovers
2017-01-19 18:59 Jeroen Roovers
2017-01-16 19:56 Tobias Klausmann
2017-01-15 20:29 Jeroen Roovers
2017-01-10 15:22 Agostino Sarubbo
2017-01-10 14:56 Agostino Sarubbo
2016-12-21 13:04 Thomas Deutschmann
2016-10-26 9:04 Jeroen Roovers
2016-10-11 17:40 Jeroen Roovers
2016-10-05 18:59 Markus Meier
2016-10-01 13:59 Jeroen Roovers
2016-09-22 13:24 Jeroen Roovers
2016-09-22 10:57 Tobias Klausmann
2016-07-26 13:46 Jeroen Roovers
2016-07-26 13:46 Jeroen Roovers
2015-10-05 9:08 Julian Ospald
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1680989817.1f5108f418a76377ea8907fec53856a388d7f5a7.sam@gentoo \
--to=sam@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox