diff options
author | Jeroen Roovers <jer@gentoo.org> | 2015-03-11 08:11:13 +0000 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2015-03-11 08:11:13 +0000 |
commit | 71aaa15ef512e7999a1c78c875d459f34a34c571 (patch) | |
tree | ce27b487a44fc688324fe4558ec9408beddef922 /net-analyzer | |
parent | Version bump, thanks to Andreis Vinogradovs (diff) | |
download | historical-71aaa15ef512e7999a1c78c875d459f34a34c571.tar.gz historical-71aaa15ef512e7999a1c78c875d459f34a34c571.tar.bz2 historical-71aaa15ef512e7999a1c78c875d459f34a34c571.zip |
Version bump.
Package-Manager: portage-2.2.18/cvs/Linux x86_64
Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/tcpdump/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/tcpdump/Manifest | 10 | ||||
-rw-r--r-- | net-analyzer/tcpdump/tcpdump-4.7.3.ebuild | 93 |
3 files changed, 105 insertions, 5 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog index 916e29d31a76..c613bcec14a1 100644 --- a/net-analyzer/tcpdump/ChangeLog +++ b/net-analyzer/tcpdump/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/tcpdump # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.210 2015/01/16 14:43:29 jer Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.211 2015/03/11 08:11:12 jer Exp $ + +*tcpdump-4.7.3 (11 Mar 2015) + + 11 Mar 2015; Jeroen Roovers <jer@gentoo.org> +tcpdump-4.7.3.ebuild: + Version bump. 16 Jan 2015; Jeroen Roovers <jer@gentoo.org> -tcpdump-4.5.1-r1.ebuild, -tcpdump-4.6.2.ebuild: diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest index c4e95fcada12..72f7bcedfdbd 100644 --- a/net-analyzer/tcpdump/Manifest +++ b/net-analyzer/tcpdump/Manifest @@ -6,14 +6,16 @@ AUX tcpdump-4.6.2-CVE-2014-8768.patch 8335 SHA256 c91eb5a95dce1c2d846e25259e4f4c AUX tcpdump-4.6.2-CVE-2014-8769.patch 21421 SHA256 4c82594572f77673b97fef23ebe7ee993b5ad9ed23b71e748eaac76abdfd19c2 SHA512 bf54217311b9095748f0014886801556048a1feab3a7086b0e957ce26440468859db70b18b8b545f9ffa86e2227d22913d5ff2958b9b631829de731e84bf3d0f WHIRLPOOL a691cce09ca5db8875982b9a47dbe25d9f79d88fa616269c17d90671f14e4cfb9abd1c71e171ae14acc161e445099b096e28c1071430ac95f719006391ecfa1c AUX tcpdump-4.6.2-CVE-2014-9140.patch 859 SHA256 4762e0b7fe67ad340a9ac955c88bb968ef042fff831ee7fe1244b0242c586e8c SHA512 6bea98b9cf4a01e646e68689d93cad4f4fa0d17c2a457be5f3492b20115869f221a43da0ee814e482bfc3808a9d60e4c22d81f99a065c098bc866f0c74ecea38 WHIRLPOOL dba235d3897188264f67ab7910f626e0b17db2c15347613fe5189747111cc78eef98d6882ca8bd10bd6447033d3e24b77ff20cad2bc2ce13b68a699868aaf235 DIST tcpdump-4.6.2.tar.gz 1105356 SHA256 524ee4d8e83a6c663f6879004216a9a5bcb1c68b11920d653eb87b79d008e0b8 SHA512 6e1799a97378c4844460d6b0c0766e9c7d36da0678d103f9571f536ccbc6d46f05b7caf4dc21277966ca687836152d21c227546c7d1cb382b045ed8f055228fc WHIRLPOOL d540fcccb0fac8f7c472bafe800c4c451455bcc2df8208d2e21d99c5e6d58de32dda89b59a2d63ee44ea63fa2fe607100f03f113d0ce40e6aa9b1db762a79ba3 +DIST tcpdump-4.7.3.tar.gz 1152383 SHA256 1f87fb652ce996d41e7a06c601bc6ea29b13fee922945b23770c29490f1d8ace SHA512 3363e4f8f39a5c409d3e645216c6c20b1e61d3c98e42847c5156a45c1657f2e52a61fecc519f68a584981b97dff1468ff75f570b52a127f505edea87cc6b1c65 WHIRLPOOL ec6beb1f8cf26126fa0a281aa2ab8b5b25dffbcc7f7994c00e40473e18d8f8cfba263e157655c10f1d7069812a2d06e141d44c0140a7c8b306aaba2a938c677d EBUILD tcpdump-4.6.2-r1.ebuild 2355 SHA256 bc194285177f5b3787046ad44ab1cb91ae7afa855f4787bbc19cc584231f1e1f SHA512 0e53740fecebf77f3a11a516cf039b9b464770ff297fa76e1280db3d9e034c287fa38f0760cf9064e2daafe3627692ea89aa43b9904da162da8eca1f709698b5 WHIRLPOOL cf9d4f936467d408800364f58322549ccdc6a994bf517a16eb941c4b126a83624e19a3b3464d97cac7ff899da30d38b39fc6d5edcb87f464721d56044ba867db +EBUILD tcpdump-4.7.3.ebuild 2270 SHA256 02249bd7fe73c85b6f225e626eb90e1014fd4d85a34f39270cf5ae736f683c7e SHA512 bf5a3b455ada31b498547a86e32b379dcd88c9eb8730846958a5c315a47ecea2f2aec0712697c428b32ba4244d96fe7046219084a4fa2569a5f5b92f58adcb85 WHIRLPOOL aa9e160dbb8eb3b7ab82825465f5e62b95913174355f09eb9092d7aa2935c69e0c0e3916cf33de3c233f677b9a5f0ac2b439036259aeba205670277c615c44d5 EBUILD tcpdump-9999.ebuild 2108 SHA256 e6330398520d46a290dcb66e01a84c293190ebd567907ee0cf78ae375726bf5d SHA512 505b4f43fabe2478d5862bf84f5e2bb219b2f723f4c2023da50a42efd4c477f8385221675f74eab8587456ea9360d5c8cbd39bad3418df11476cb5eb8a9bf8f1 WHIRLPOOL f45036ce27034430fc194c3493816bb7260fe596eaa7e7d73ffe17b9cfd076cca01aaa7cdb64508948d0bcaaf09e4c7bc31a8c4e951af45f92dbd5b37a8e74b5 -MISC ChangeLog 28261 SHA256 254c26c78b0a009240de003a97cc9f568ae72ba6d28054f383819ca06dd8888e SHA512 9e08bc4fc1be32611056272f25e714e139b5a803aa5f657485676c9f2bf7bae22720bc4eb1f55449dce6f40404b1d0d8ccb0541f7c77356a9b7b1bd6ac6c2247 WHIRLPOOL f14b196c9363fa68c9bcf2662b7b3ff6883a76fd10de758fcb2d638ea7e59c70937ae255dc21fa2609897702bcf6d129b14bee558643060e599dabc05f59459a +MISC ChangeLog 28378 SHA256 a01ad37c4cef571d2664a7f063ea1fc6c3ea5d900b089ab5bf9ce9c0f75e774c SHA512 54d09fbef2749a1a7728233468c858b9c08ab67c54b68c4d29a9b14fb7ec15d7ed8a070caee27fcbc365df828bc99a5b2046b9f7dd26eef990a16391378c5b22 WHIRLPOOL 46614da40876a382933a481ea9133b3bbc84ffb8907ee20cc775394939707e3127503c3d5fad712a1db17f453715b08b810722fcecc2545c99abfc2a99508baf MISC metadata.xml 365 SHA256 bb85383017d0fe03c9837832a8a4b747170fee670eb579bdfd2d9245762ff08c SHA512 6725efad0a73f396087805026ea7c9dac2768537dddc479fe7e0cfe5a23e63097dfed512b2a88534e3a7bc6a90e5f1151a09fe4d09c0eadaaf7c057d697189de WHIRLPOOL 7f49d044d82bd75952d3bf257b8890528a9ccef0bd330e845fd06c1c50e1caf950f2062f78e3a2b09c140ad18d2534be6e03c8866c7d98846eab1aa10e1a8e29 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 -iEYEAREIAAYFAlS5I5IACgkQVWmRsqeSphMjEwCeL6QkAjjTAuNx0UmRwZozy6AO -KaIAn3mUoZ2PKE5hFInYwsnaS7x+Ds0J -=pZOh +iEYEAREIAAYFAlT/+KEACgkQVWmRsqeSphNDsgCeNYBuCrxM4AcyOyK5lmYKUjjc +6Y4An2He2XGYxN221jB/BRjfuYF3j9ro +=0Hyt -----END PGP SIGNATURE----- diff --git a/net-analyzer/tcpdump/tcpdump-4.7.3.ebuild b/net-analyzer/tcpdump/tcpdump-4.7.3.ebuild new file mode 100644 index 000000000000..30be08b24f6e --- /dev/null +++ b/net-analyzer/tcpdump/tcpdump-4.7.3.ebuild @@ -0,0 +1,93 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.7.3.ebuild,v 1.1 2015/03/11 08:11:12 jer Exp $ + +EAPI=5 +inherit flag-o-matic toolchain-funcs user + +DESCRIPTION="A Tool for network monitoring and data acquisition" +HOMEPAGE="http://www.tcpdump.org/" +SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz + http://www.jp.tcpdump.org/release/${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 smi ssl ipv6 samba suid test" + +RDEPEND=" + drop-root? ( sys-libs/libcap-ng ) + net-libs/libpcap + smi? ( net-libs/libsmi ) + ssl? ( >=dev-libs/openssl-0.9.6m ) +" +DEPEND=" + ${RDEPEND} + drop-root? ( virtual/pkgconfig ) + test? ( + || ( app-arch/sharutils sys-freebsd/freebsd-ubin ) + dev-lang/perl + ) +" + +pkg_setup() { + if use drop-root || use suid; then + enewgroup tcpdump + enewuser tcpdump -1 -1 -1 tcpdump + fi +} + +src_configure() { + # tcpdump needs some optimization. see bug #108391 + # but do not replace -Os + filter-flags -O[0-9] + has -O? ${CFLAGS} || append-cflags -O2 + + filter-flags -finline-functions + + if use drop-root; then + append-cppflags -DHAVE_CAP_NG_H + export LIBS=$( $(tc-getPKG_CONFIG) --libs libcap-ng ) + fi + + econf \ + $(use_enable ipv6) \ + $(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." +} |