diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-10-08 20:51:03 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-10-08 20:51:03 +0000 |
commit | 52194f7e6b3e4210eae5aec2d8c8e11571c11387 (patch) | |
tree | e9bb0a87e805a8fcc6b5736f23b6e70726b18740 /net-analyzer | |
parent | Version bump (diff) | |
download | gentoo-2-52194f7e6b3e4210eae5aec2d8c8e11571c11387.tar.gz gentoo-2-52194f7e6b3e4210eae5aec2d8c8e11571c11387.tar.bz2 gentoo-2-52194f7e6b3e4210eae5aec2d8c8e11571c11387.zip |
Version bump
(Portage version: 2.1.2_pre2-r6)
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/tcpdump/ChangeLog | 7 | ||||
-rw-r--r-- | net-analyzer/tcpdump/files/digest-tcpdump-3.9.5 | 3 | ||||
-rw-r--r-- | net-analyzer/tcpdump/tcpdump-3.9.5.ebuild | 55 |
3 files changed, 64 insertions, 1 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog index d66f181a3751..34c9deeebc49 100644 --- a/net-analyzer/tcpdump/ChangeLog +++ b/net-analyzer/tcpdump/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for net-analyzer/tcpdump # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.82 2006/09/04 05:36:54 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.83 2006/10/08 20:51:03 jokey Exp $ + +*tcpdump-3.9.5 (08 Oct 2006) + + 08 Oct 2006; Markus Ullmann <jokey@gentoo.org> +tcpdump-3.9.5.ebuild: + Version bump 04 Sep 2006; Joshua Kinard <kumba@gentoo.org> tcpdump-3.9.4-r2.ebuild: Marked stable on mips. diff --git a/net-analyzer/tcpdump/files/digest-tcpdump-3.9.5 b/net-analyzer/tcpdump/files/digest-tcpdump-3.9.5 new file mode 100644 index 000000000000..c7b2ab6bf4ef --- /dev/null +++ b/net-analyzer/tcpdump/files/digest-tcpdump-3.9.5 @@ -0,0 +1,3 @@ +MD5 2135e7b1f09af0eaf66d2af822bed44a tcpdump-3.9.5.tar.gz 712411 +RMD160 e0409ad55deda1b2a74950522720610c6c94d771 tcpdump-3.9.5.tar.gz 712411 +SHA256 6a1617253f12bf2ac440eeb8709baeb907c6b801442bf2229a6bb84489cf38f4 tcpdump-3.9.5.tar.gz 712411 diff --git a/net-analyzer/tcpdump/tcpdump-3.9.5.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.5.ebuild new file mode 100644 index 000000000000..4ed328e17751 --- /dev/null +++ b/net-analyzer/tcpdump/tcpdump-3.9.5.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-3.9.5.ebuild,v 1.1 2006/10/08 20:51:03 jokey 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" + #mirror://sourceforge/tcpdump/${P}.tar.gz + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="ssl ipv6" + +DEPEND="net-libs/libpcap + ssl? ( >=dev-libs/openssl-0.9.6m )" + +src_unpack() { + unpack ${A} + + if use ssl ; then + sed -i -e 's|des\(_cbc_encrypt\)|DES\1|' "${S}"/configure || \ + die "sed configure failed" + fi +} + +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 + + 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 #48747 + fi + + local myconf + use ssl || myconf="${myconf} --without-crypto" + econf $(use_enable ipv6) ${myconf} || die + make CCOPT="$CFLAGS" || die +} + +src_install() { + dosbin tcpdump || die + doman tcpdump.1 + dodoc *.awk + dodoc README FILES VERSION CHANGES +} |