public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Jeroen Roovers" <jer@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpdump/
Date: Wed, 26 Oct 2016 09:04:16 +0000 (UTC)	[thread overview]
Message-ID: <1477472654.83bd7933e60753ca2d20f7a3c098e81451b10775.jer@gentoo> (raw)

commit:     83bd7933e60753ca2d20f7a3c098e81451b10775
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 26 09:03:25 2016 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Wed Oct 26 09:04:14 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83bd7933

net-analyzer/tcpdump: Version bump.

Package-Manager: portage-2.3.2

 net-analyzer/tcpdump/Manifest             |  1 +
 net-analyzer/tcpdump/tcpdump-4.8.1.ebuild | 94 +++++++++++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index d3b9358..fe4a513 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -1,2 +1,3 @@
 DIST tcpdump-4.7.4.tar.gz 1153657 SHA256 6be520269a89036f99c0b2126713a60965953eab921002b07608ccfc0c47d9af SHA512 5660d82abdf7327c3e1717db519b2c98cd217fff17440019f3ccf166b3cb28ab1c1850b7c42f8c6ee38110838bb8a4a10cd394f25123783bb3d58e1f350ef326 WHIRLPOOL 7c320adf64bf5ff57af7f98fec9919ba3c07056fbbbe1c8a87ac73ecb767ce245c4963e69e24ff71704be7b42dc604992f261173a34b12a87cd0eab153762816
 DIST tcpdump-4.8.0.tar.gz 1149698 SHA256 6d80fe345d0f5ee42fd273bfafe076231ad700c2daaf56805d17dc8159a6d1a7 SHA512 c35b26bd170706116a5274846f967893c2d6f1f67082c0aa264d0811b6bdd2d7bd9dcde3f725179b0916c0160088bc87298af061179d2f1ca47a0f3e2cd870ab WHIRLPOOL 43129349417cb68b2076efb2d01683f122d998d98e625e39edc25c336d06fc714ccb06beb85e8ce4bcbe12f185cff9865c27583e242420dd3b44b7b26dd3ca90
+DIST tcpdump-4.8.1.tar.gz 1156643 SHA256 3cdfd4ef11ae751fd6ac2622148d93784b3ef8385b671d61f56c3b38c432a69b SHA512 b7d4afbaf30389954d3ca6e91db5d3351aa229a48a330eec89602e8650d16ba3284de51f66b2e365f064b8c2b906b67b469d0a00e603e0518ec22e5215724466 WHIRLPOOL 76f5f51f482f0834899a5f07ab6b6ab14688f8527810e2065c425356c1b08a0013b932017d95fdf140cb38d80db4d7df735cc815c0ffb418560c8ea4113eb98b

diff --git a/net-analyzer/tcpdump/tcpdump-4.8.1.ebuild b/net-analyzer/tcpdump/tcpdump-4.8.1.ebuild
new file mode 100644
index 00000000..edeef25
--- /dev/null
+++ b/net-analyzer/tcpdump/tcpdump-4.8.1.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+inherit flag-o-matic toolchain-funcs user
+
+DESCRIPTION="A Tool for network monitoring and data acquisition"
+HOMEPAGE="
+	http://www.tcpdump.org/
+	https://github.com/the-tcpdump-group/tcpdump
+"
+SRC_URI="
+	https://github.com/the-${PN}-group/${PN}/archive/${P}.tar.gz
+"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~arm-linux ~x86-linux"
+IUSE="+drop-root libressl smi ssl samba suid test"
+
+RDEPEND="
+	drop-root? ( sys-libs/libcap-ng )
+	net-libs/libpcap
+	smi? ( net-libs/libsmi )
+	ssl? (
+		!libressl? ( >=dev-libs/openssl-0.9.6m:0 )
+		libressl? ( dev-libs/libressl )
+	)
+"
+DEPEND="
+	${RDEPEND}
+	drop-root? ( virtual/pkgconfig )
+	test? (
+		|| ( app-arch/sharutils sys-freebsd/freebsd-ubin )
+		dev-lang/perl
+	)
+"
+
+S=${WORKDIR}/${PN}-${P}
+
+pkg_setup() {
+	if use drop-root || use suid; then
+		enewgroup tcpdump
+		enewuser tcpdump -1 -1 -1 tcpdump
+	fi
+}
+
+src_configure() {
+	if use drop-root; then
+		append-cppflags -DHAVE_CAP_NG_H
+		export LIBS=$( $(tc-getPKG_CONFIG) --libs libcap-ng )
+	fi
+
+	econf \
+		$(use_enable samba smb) \
+		$(use_with drop-root chroot '') \
+		$(use_with smi) \
+		$(use_with ssl crypto "${EPREFIX}/usr") \
+		$(usex drop-root "--with-user=tcpdump" "")
+}
+
+src_test() {
+	if [[ ${EUID} -ne 0 ]] || ! use drop-root; then
+		sed -i -e '/^\(espudp1\|eapon1\)/d;' tests/TESTLIST || die
+		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:tcpdump /usr/sbin/tcpdump
+		fperms 4110 /usr/sbin/tcpdump
+	fi
+}
+
+pkg_preinst() {
+	if use drop-root || use suid; then
+		enewgroup tcpdump
+		enewuser tcpdump -1 -1 -1 tcpdump
+	fi
+}
+
+pkg_postinst() {
+	use suid && elog "To let normal users run tcpdump add them into tcpdump group."
+}


             reply	other threads:[~2016-10-26  9:04 UTC|newest]

Thread overview: 136+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-10-26  9:04 Jeroen Roovers [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-10-05 14:30 [gentoo-commits] repo/gentoo:master commit in: net-analyzer/tcpdump/ 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-04-08 21:40 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-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=1477472654.83bd7933e60753ca2d20f7a3c098e81451b10775.jer@gentoo \
    --to=jer@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