summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net-analyzer/tcpdump/ChangeLog7
-rw-r--r--net-analyzer/tcpdump/Manifest16
-rw-r--r--net-analyzer/tcpdump/files/digest-tcpdump-3.9.63
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.9.6.ebuild78
4 files changed, 99 insertions, 5 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog
index f32df891e616..96f1b519259f 100644
--- a/net-analyzer/tcpdump/ChangeLog
+++ b/net-analyzer/tcpdump/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/tcpdump
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.97 2007/04/01 17:54:10 vanquirius Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.98 2007/06/23 09:39:49 cedk Exp $
+
+*tcpdump-3.9.6 (23 Jun 2007)
+
+ 23 Jun 2007; CĂ©dric Krier <cedk@gentoo.org> +tcpdump-3.9.6.ebuild:
+ Version bump
01 Apr 2007; Marcelo Goes <vanquirius@gentoo.org>
-tcpdump-3.9.4-r3.ebuild, -tcpdump-3.9.5-r1.ebuild:
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index ab5e00d9771b..9c6d8c1363d5 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -15,14 +15,19 @@ MD5 361356159496cb5a083bc49a8f4241a4 files/tcpdump-3.9.5-print-802_11.c.diff 365
RMD160 2b1186b691a9e25416eea1c7b1c3599dfc4b703f files/tcpdump-3.9.5-print-802_11.c.diff 365
SHA256 83c188a5bf08199a3c4abf481fa2a2813ff29954e12b5df81002bd40e1d5dab4 files/tcpdump-3.9.5-print-802_11.c.diff 365
DIST tcpdump-3.9.5.tar.gz 712411 RMD160 e0409ad55deda1b2a74950522720610c6c94d771 SHA1 a9850177809196008ed3e6212cb651ed1500353c SHA256 6a1617253f12bf2ac440eeb8709baeb907c6b801442bf2229a6bb84489cf38f4
+DIST tcpdump-3.9.6.tar.gz 712992 RMD160 9b098d50ab381ab8cc7d59a96a9acc41b570d929 SHA1 a07907268c200f90a8b7c5dbc6a1427917cc1058 SHA256 242b27388ada00d0c40097cef0d56ac5bdbb0a5d81dffb480cdd91b109e10d8d
EBUILD tcpdump-3.9.5-r2.ebuild 1943 RMD160 50ab9ac319913633766cfce82e08b2648ee9489c SHA1 cc1931e9904c0a6d6794c10e6b92ed22c63dc424 SHA256 393db6ecfb9176290c37c6593498f8decce9c16027e5a7aacbe65c3dcef5c550
MD5 49ef4f339ca898521cf0719482256c59 tcpdump-3.9.5-r2.ebuild 1943
RMD160 50ab9ac319913633766cfce82e08b2648ee9489c tcpdump-3.9.5-r2.ebuild 1943
SHA256 393db6ecfb9176290c37c6593498f8decce9c16027e5a7aacbe65c3dcef5c550 tcpdump-3.9.5-r2.ebuild 1943
-MISC ChangeLog 12834 RMD160 a718d6a40b6ec62c000d334486d3fcaf4844d70e SHA1 3433c59aa98d7ccaf6a704fbe146fd5f6d49bc07 SHA256 0d7826302e0d36e973e6458f7a43e7d4f0fbea1632d6eefa6af13755cd42e610
-MD5 1488244691263ebd131573086ec6b75a ChangeLog 12834
-RMD160 a718d6a40b6ec62c000d334486d3fcaf4844d70e ChangeLog 12834
-SHA256 0d7826302e0d36e973e6458f7a43e7d4f0fbea1632d6eefa6af13755cd42e610 ChangeLog 12834
+EBUILD tcpdump-3.9.6.ebuild 1962 RMD160 896a372de51d1514205005562df73f4f75022e89 SHA1 eef5edeae74fcd00ca238806db0fb195f22c2912 SHA256 f75b80dbcc87eaaa21ca81eaea9d789b83a7701e525360051748fe017a2044ce
+MD5 79ea7b3adcfff574067f6215ae7adaf9 tcpdump-3.9.6.ebuild 1962
+RMD160 896a372de51d1514205005562df73f4f75022e89 tcpdump-3.9.6.ebuild 1962
+SHA256 f75b80dbcc87eaaa21ca81eaea9d789b83a7701e525360051748fe017a2044ce tcpdump-3.9.6.ebuild 1962
+MISC ChangeLog 12944 RMD160 bd19bc33838637247135eab71d8fbe33807d09a0 SHA1 3810ad70519e6dc028373755d095ea74440be74b SHA256 eab472d9880aefb267a8fe1418e87595865edda590343643d3c09146b6aff9a0
+MD5 41516e6fe94ab5c3cdcd8c1a179987a0 ChangeLog 12944
+RMD160 bd19bc33838637247135eab71d8fbe33807d09a0 ChangeLog 12944
+SHA256 eab472d9880aefb267a8fe1418e87595865edda590343643d3c09146b6aff9a0 ChangeLog 12944
MISC metadata.xml 268 RMD160 896e1ec3be866fe1d515b55473f0ac763b9f8a12 SHA1 9a77e6e1b7e0c4469583dc9d9a20065d6ac74ab6 SHA256 01030866e2f7de584ec505f71cfbfbbb48f8a790a0ea50a3da1974b74423f827
MD5 1465cdeb961745379a8ae1402b3e51ab metadata.xml 268
RMD160 896e1ec3be866fe1d515b55473f0ac763b9f8a12 metadata.xml 268
@@ -30,3 +35,6 @@ SHA256 01030866e2f7de584ec505f71cfbfbbb48f8a790a0ea50a3da1974b74423f827 metadata
MD5 529ef132e81950340671aa911a76e183 files/digest-tcpdump-3.9.5-r2 241
RMD160 eb77d5212d7f489fa7ff696bfb37f6bb534a5ab9 files/digest-tcpdump-3.9.5-r2 241
SHA256 e7b50f54579db8c825c28d89b19081abf1c5407bd89276f47b03ada1968e085e files/digest-tcpdump-3.9.5-r2 241
+MD5 32d5d11bfd7605409e0c5c40d704f64c files/digest-tcpdump-3.9.6 241
+RMD160 c0864c48cd0c35444a17acf543f82c73d2d29e8e files/digest-tcpdump-3.9.6 241
+SHA256 145158cc8bac01f84806a47217b1b318750977d71387d055a6a7a6e4b03b6fdd files/digest-tcpdump-3.9.6 241
diff --git a/net-analyzer/tcpdump/files/digest-tcpdump-3.9.6 b/net-analyzer/tcpdump/files/digest-tcpdump-3.9.6
new file mode 100644
index 000000000000..ce08b07ecc8b
--- /dev/null
+++ b/net-analyzer/tcpdump/files/digest-tcpdump-3.9.6
@@ -0,0 +1,3 @@
+MD5 f564e46e595603ce908b54074e3709d3 tcpdump-3.9.6.tar.gz 712992
+RMD160 9b098d50ab381ab8cc7d59a96a9acc41b570d929 tcpdump-3.9.6.tar.gz 712992
+SHA256 242b27388ada00d0c40097cef0d56ac5bdbb0a5d81dffb480cdd91b109e10d8d tcpdump-3.9.6.tar.gz 712992
diff --git a/net-analyzer/tcpdump/tcpdump-3.9.6.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.6.ebuild
new file mode 100644
index 000000000000..37f552f616dc
--- /dev/null
+++ b/net-analyzer/tcpdump/tcpdump-3.9.6.ebuild
@@ -0,0 +1,78 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.6.ebuild,v 1.1 2007/06/23 09:39:49 cedk Exp $
+
+inherit flag-o-matic toolchain-funcs eutils
+
+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"
+IUSE="ssl ipv6 samba"
+
+DEPEND="net-libs/libpcap
+ ssl? ( >=dev-libs/openssl-0.9.6m )"
+
+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
+ ewarn "(Giving you 10 secs to think about it)"
+ ewarn
+ ebeep 5
+ epause 5
+ fi
+}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # bug 168916 - off-by-one heap overflow in 802.11 printer
+ epatch "${FILESDIR}"/${PN}-3.9.5-print-802_11.c.diff
+}
+
+src_compile() {
+ # tcpdump needs some optymalization. see bug #108391
+ ( ! is-flag -O? || is-flag -O0 ) && append-flags -O
+
+ replace-flags -O[3-9] -O2
+ filter-flags -finline-functions
+
+ # Fix wrt bug #48747
+ if [[ $(gcc-major-version) -gt 3 ]] || \
+ [[ $(gcc-major-version) -eq 3 && $(gcc-minor-version) -ge 4 ]]
+ then
+ filter-flags -funit-at-a-time
+ append-flags -fno-unit-at-a-time
+ fi
+
+ local myconf
+ if ! use ssl ; then
+ myconf="--without-crypto"
+ fi
+
+ econf \
+ $(use_enable ipv6) \
+ $(use_enable samba smb) \
+ ${myconf} || die "configure failed"
+
+ make CCOPT="$CFLAGS" || die "make failed"
+}
+
+src_install() {
+ dosbin tcpdump
+ doman tcpdump.1
+ dodoc *.awk
+ dodoc README FILES VERSION CHANGES CREDITS TODO
+}