summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Harder <radhermit@gentoo.org>2012-01-04 02:43:23 +0000
committerTim Harder <radhermit@gentoo.org>2012-01-04 02:43:23 +0000
commit2d968af1d9ab9bf47d029740627d86b0d06d3dad (patch)
treed7aaea73fba418d83e1cf5b0c0193230515a4c81 /net-analyzer/tcpdump
parentVersion bump. (diff)
downloadhistorical-2d968af1d9ab9bf47d029740627d86b0d06d3dad.tar.gz
historical-2d968af1d9ab9bf47d029740627d86b0d06d3dad.tar.bz2
historical-2d968af1d9ab9bf47d029740627d86b0d06d3dad.zip
Version bump.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/tcpdump')
-rw-r--r--net-analyzer/tcpdump/ChangeLog9
-rw-r--r--net-analyzer/tcpdump/Manifest18
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.2.1.ebuild87
3 files changed, 106 insertions, 8 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog
index d4aa10471fec..3448d4efbbb2 100644
--- a/net-analyzer/tcpdump/ChangeLog
+++ b/net-analyzer/tcpdump/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/tcpdump
-# Copyright 1999-2011 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.148 2011/12/17 14:22:46 jer Exp $
+# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.149 2012/01/04 02:43:23 radhermit Exp $
+
+*tcpdump-4.2.1 (04 Jan 2012)
+
+ 04 Jan 2012; Tim Harder <radhermit@gentoo.org> +tcpdump-4.2.1.ebuild:
+ Version bump.
17 Dec 2011; Jeroen Roovers <jer@gentoo.org> tcpdump-4.2.0.ebuild,
+files/tcpdump-4.2.0-ipv6.patch:
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index 6875bb3c0614..723d95e83a01 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -1,5 +1,5 @@
-----BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
+Hash: SHA512
AUX tcpdump-4.0.0-ipv6-build.patch 288 RMD160 8e14d69d20dc2e431c6d10fc9ae694ab8976ebfb SHA1 a2e791b9612a7be04f882488e9d77e1f5c812a7e SHA256 c61cf785e854b44bfc015e4de6223051912547b0564bf61dbbfa97d1ddc4a63a
AUX tcpdump-4.0.0-libsmi-autodep.patch 653 RMD160 5ac1093c524f83b4aaf21271d302e3acde2d8220 SHA1 e5cd061e6e5a918fa648b39aa0110f8ed043d8f1 SHA256 bdbd422f50b93f0c4232ae9cea0f4497976ab15559079575ec5ef1bca9dca72d
@@ -8,16 +8,22 @@ AUX tcpdump-4.2.0-ppi.h 145 RMD160 18e03dde1a48dbbb4a8c114ce9a11660307af92e SHA1
DIST tcpdump-3.9.8.tar.gz 938054 RMD160 76b17d131f4d89342c2bcdc27c40d23d29ecb1f1 SHA1 98be9acb1e9154656838fcb89c4a36417cf56042 SHA256 2309c8eb1dc87436a410f4a8d041b0453ade5753c35ce7a2c5bc9a0263a8d299
DIST tcpdump-4.1.1.tar.gz 1587392 RMD160 97ac07582f26c4126b09de1dcca6851ad02352d1 SHA1 8f356cbc781192ecb527623d68db90e06aa9d4b9 SHA256 e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a
DIST tcpdump-4.2.0.tar.gz 833172 RMD160 8981438e5a6a7b3bf5475e886625f015400e72c5 SHA1 bd1a5559cc11a78db5a7fcea24e7b8b7cc0b9559 SHA256 8979aba28fa3e67ca7f97de8482b38482eef1d70c739dc1f9c33eba60c027639
+DIST tcpdump-4.2.1.tar.gz 887476 RMD160 3af6dded0f9a3d0ceb07b880cb1d0769cfb8f500 SHA1 56e3c86712b3ea7a3423026f4da5465bfcb2c051 SHA256 5457e9a61e86efe62e88bc621903c2d1ab08dd688e9ac839c7bc2513ee4f9bff
EBUILD tcpdump-3.9.8-r1.ebuild 2235 RMD160 b1a1a5589297b50d9a0ed6319f8726c06fda651d SHA1 4a725909b6c2a884ec5c9390f98d3e63f98c7e97 SHA256 f75d0415b2c7a4175d66dca2da4b9442791cd68e391a5edeb54c5082bbe42785
EBUILD tcpdump-3.9.8.ebuild 1908 RMD160 e1842d7bdfa207f74f2c164fcda84283780b3b42 SHA1 64b8be1fc9b2e1786836ebe42c343bdc7041fc3e SHA256 b5f1450e23d5cff9d9d3c57caf1dbaf8861e8867f97954c78a54d43f6bc78b56
EBUILD tcpdump-4.1.1.ebuild 2231 RMD160 10002a9266e14faa1b13e9e573c94bb4cb4bb8f9 SHA1 2f57d70db22d425fdd600de41be00dc58f29402d SHA256 4bdfda05171c88db3b74bcd845e0d769b61f75d50c266dd8014347127a4cda54
EBUILD tcpdump-4.2.0.ebuild 2318 RMD160 8a441f383f7482f56402a7a3c7c47fc408836e0c SHA1 a84740af7f5bf6128902ae08f8f02c771bfb5d56 SHA256 1c1239ba8e0fd185ae1f8c0c49bb1a2b7444f5d6840bd80d758157822c5342c9
-MISC ChangeLog 20525 RMD160 4d410d73a028663cfe0a3345a4dc1d70f835c56c SHA1 4f31bcbc868c392f44c809e77d15e9b320a69fa9 SHA256 ba6b4f4662aba107aeee5cfc79994141df57e8ff7366121528d01740f19867d1
+EBUILD tcpdump-4.2.1.ebuild 2114 RMD160 20fcdc69d309b2efbcc86cd6b06208ac444a48e2 SHA1 19eb50afa716ef5adec02c9b89ff15f09df72555 SHA256 c7417404febe2986ede701f4493abe14331ee702eab9764aa5d040d270812bfe
+MISC ChangeLog 20650 RMD160 d9b8895aa52638e1a297aa9d075acabe63c6d8a4 SHA1 6b07c5358ed5dfe64951126fc42a1014c49f1d2d SHA256 33ed9e7c46e695d766f3cf9d63b58bfd2d6da275f30632457b4a5c9317c086fc
MISC metadata.xml 465 RMD160 f9751964faf36897dbf01df6258c8af50791b1e5 SHA1 e4ed0caa1ba72d0827449bee5ce0e792940f3bfe SHA256 e8f218a9ee2e142e9b19c54bdc0e2b336cdccabaed8347a30956b663e6b9f51c
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.17 (GNU/Linux)
+Version: GnuPG v2.0.18 (GNU/Linux)
-iEYEARECAAYFAk7spbsACgkQVWmRsqeSphPmlQCfZiMAAmXZ0kkiYAs9dRB22OXN
-TQwAn134DPimwuG9sQ0GlmEupss86vIL
-=DhNu
+iQEcBAEBCgAGBQJPA7zQAAoJEEqz6FtPBkyjVb8H/3C0rKA/354eSRZ2ItidNidl
+RcjYOFgIZaFZhmzyqLvfdgmBNuoDMPf/hLlw8koT7lKj3lmy6V+ONRN5zhGAnhQv
+0UY9H432U6cMTgxDNEAomm0VWH3frpOVwmgLpDQf8kAwQFwSgmypv7hlgrTQLDB8
+SinzebCQhXmREmCnHLMhCn/IHpjQwi+xhfdcR4KTqtwkVufR2ZVZE/xZw5WWmEku
+sJ71OZg7NIYVkhKS7jNR1YlKLH020D04MKqD07IEqVd2sAt4qTaVPviJXhETK8I5
+l73TU1qr7HrTbNCWe0OEMLeGDnPWVkcgjkrlBEv+0soqeRzcBbV4UF2uIhe84kU=
+=bc6r
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild b/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild
new file mode 100644
index 000000000000..36ddd503cf40
--- /dev/null
+++ b/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild
@@ -0,0 +1,87 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild,v 1.1 2012/01/04 02:43:23 radhermit Exp $
+
+EAPI="4"
+inherit flag-o-matic
+
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
+IUSE="+chroot smi ssl ipv6 -samba suid test"
+
+RDEPEND="
+ net-libs/libpcap
+ smi? ( net-libs/libsmi )
+ ssl? ( >=dev-libs/openssl-0.9.6m )
+"
+DEPEND="
+ ${RDEPEND}
+ test? (
+ || ( app-arch/sharutils sys-freebsd/freebsd-ubin )
+ dev-lang/perl
+ )
+"
+
+pkg_setup() {
+ if use samba ; then
+ ewarn
+ ewarn "CAUTION !!! CAUTION !!! CAUTION"
+ ewarn
+ ewarn "You're about to compile tcpdump with samba printing support"
+ ewarn "Upstream tags it as 'possibly-buggy SMB printer'"
+ ewarn "So think twice whether this is fine with you"
+ ewarn
+ ewarn "CAUTION !!! CAUTION !!! CAUTION"
+ ewarn
+ fi
+ enewgroup tcpdump
+ enewuser tcpdump -1 -1 -1 tcpdump
+}
+
+src_configure() {
+ # tcpdump needs some optymalization. see bug #108391
+ ( ! is-flag -O? || is-flag -O0 ) && append-flags -O2
+
+ replace-flags -O[3-9] -O2
+ filter-flags -finline-functions
+
+ econf \
+ --with-user=tcpdump \
+ $(use_with ssl crypto) \
+ $(use_with smi) \
+ $(use_enable ipv6) \
+ $(use_enable samba smb) \
+ $(use_with chroot chroot /var/lib/tcpdump)
+}
+
+src_test() {
+ sed '/^\(espudp1\|eapon1\)/d;' -i tests/TESTLIST
+ emake check
+}
+
+src_install() {
+ dosbin tcpdump
+ doman tcpdump.1
+ dodoc *.awk
+ dodoc CHANGES CREDITS README
+
+ if use chroot; then
+ keepdir /var/lib/tcpdump
+ fperms 700 /var/lib/tcpdump
+ fowners tcpdump:tcpdump /var/lib/tcpdump
+ fi
+ if use suid; then
+ fowners root:tcpdump /usr/sbin/tcpdump
+ fperms 4110 /usr/sbin/tcpdump
+ fi
+}
+
+pkg_postinst() {
+ use suid && elog "To let normal users run tcpdump add them into tcpdump group."
+}