diff options
author | Peter Volkov <pva@gentoo.org> | 2009-06-17 07:17:01 +0000 |
---|---|---|
committer | Peter Volkov <pva@gentoo.org> | 2009-06-17 07:17:01 +0000 |
commit | d879ffb4732e542b939c8efb282ca79c1fdea2b7 (patch) | |
tree | 04f6bde2eb2013f23d5d167867e6a0238348bc4d /net-analyzer | |
parent | Version bump up to latest git snapshot. Fixes too many bugs, e.g. now it work... (diff) | |
download | historical-d879ffb4732e542b939c8efb282ca79c1fdea2b7.tar.gz historical-d879ffb4732e542b939c8efb282ca79c1fdea2b7.tar.bz2 historical-d879ffb4732e542b939c8efb282ca79c1fdea2b7.zip |
Bump to recent git snapshot.
Package-Manager: portage-2.2_rc33/cvs/Linux i686
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/tcpdump/ChangeLog | 10 | ||||
-rw-r--r-- | net-analyzer/tcpdump/Manifest | 4 | ||||
-rw-r--r-- | net-analyzer/tcpdump/tcpdump-4.0.1_pre20090616.ebuild | 92 |
3 files changed, 103 insertions, 3 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog index b3049ae9fa5f..b42e33b87f31 100644 --- a/net-analyzer/tcpdump/ChangeLog +++ b/net-analyzer/tcpdump/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/tcpdump -# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.134 2009/02/20 18:57:18 armin76 Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.135 2009/06/17 07:17:01 pva Exp $ + +*tcpdump-4.0.1_pre20090616 (17 Jun 2009) + + 17 Jun 2009; Peter Volkov <pva@gentoo.org> + +tcpdump-4.0.1_pre20090616.ebuild: + Bump to recent git snapshot. 20 Feb 2009; Raúl Porcel <armin76@gentoo.org> tcpdump-4.0.0.ebuild: Add ~arm/~s390/~sh wrt #247076 diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest index 63bcd43054cc..db06c6ecdc0a 100644 --- a/net-analyzer/tcpdump/Manifest +++ b/net-analyzer/tcpdump/Manifest @@ -2,8 +2,10 @@ AUX tcpdump-4.0.0-ipv6-build.patch 288 RMD160 8e14d69d20dc2e431c6d10fc9ae694ab89 AUX tcpdump-4.0.0-libsmi-autodep.patch 653 RMD160 5ac1093c524f83b4aaf21271d302e3acde2d8220 SHA1 e5cd061e6e5a918fa648b39aa0110f8ed043d8f1 SHA256 bdbd422f50b93f0c4232ae9cea0f4497976ab15559079575ec5ef1bca9dca72d DIST tcpdump-3.9.8.tar.gz 938054 RMD160 76b17d131f4d89342c2bcdc27c40d23d29ecb1f1 SHA1 98be9acb1e9154656838fcb89c4a36417cf56042 SHA256 2309c8eb1dc87436a410f4a8d041b0453ade5753c35ce7a2c5bc9a0263a8d299 DIST tcpdump-4.0.0.tar.gz 708774 RMD160 294e8cc7b7026357fa061c296434eab363281de1 SHA1 618ac122d1a9d80f64865f0a4e4c4391baa54132 SHA256 5fe99efe0274b5764c9974417c96a38b5f94e21096d8a94cc1fa172a42035284 +DIST tcpdump-4.0.1-20090616.tar.gz 1559814 RMD160 2eb7875e4119182d8591db692a0559a6f171b4e5 SHA1 b2ad368c1e7a5a4028b21cf4a0f4d6f6e55155d8 SHA256 062f31ff5b9eaadca4f2fe69f5f0f1cd1c47673311efb559697009fd0ea264ce EBUILD tcpdump-3.9.8-r1.ebuild 2219 RMD160 0c5e2fe6917a1e434b666921a9114f5835ef2f6e SHA1 9d8c5e24b8a07165ffd300853714c549fa185fdc SHA256 bf9fa984f85a775b18babb86a9d8e2234d7b74da589a3df80ee60fce62ac48b8 EBUILD tcpdump-3.9.8.ebuild 1888 RMD160 1c212ef2a1bab2c31cab7b0ac40588757a4d70c4 SHA1 68fba63f9e15a12d6f3adc8d80593c4cdd477966 SHA256 6e89cffeced6843245846b4dc9f200307b251597d20110bb9a5bdf372fb73211 EBUILD tcpdump-4.0.0.ebuild 2158 RMD160 871883ec5da31ed43058acf68dcb2b2f0a2e80f0 SHA1 605b54184b8c9ea1d4ec77b7a34ec4f2c0b64b7f SHA256 50d59681916f6687df9114cd5154ceb97d1b3371a8d956926df5b9617a88d54a -MISC ChangeLog 17755 RMD160 296da196ccdc15a7871b406447f3f97bed7fc46f SHA1 035ca6df349cc08be7157d6072fe54cac80a25e1 SHA256 89d6b95a06ff0299da93f8b2cd5db3cbd31d3ad867acaa851f2006427754ed62 +EBUILD tcpdump-4.0.1_pre20090616.ebuild 2354 RMD160 75153fdc01f0e7fce340e5c79980675b7c996ba0 SHA1 187e55e4b200f649821262582d9e3179cc2e20d7 SHA256 330fef995220fe47f2063271488f89d9bc0d6a2c98a1b457d2799b841e9302ba +MISC ChangeLog 17907 RMD160 6bbc44081c951d753a8789e54034a549f69b691f SHA1 0600a82314be123c8a1b93491f5071883921ca54 SHA256 fb364181c41fc98b75491d56f737b33bee9dc1af54e061723ccd485c527ddb3a MISC metadata.xml 465 RMD160 f9751964faf36897dbf01df6258c8af50791b1e5 SHA1 e4ed0caa1ba72d0827449bee5ce0e792940f3bfe SHA256 e8f218a9ee2e142e9b19c54bdc0e2b336cdccabaed8347a30956b663e6b9f51c diff --git a/net-analyzer/tcpdump/tcpdump-4.0.1_pre20090616.ebuild b/net-analyzer/tcpdump/tcpdump-4.0.1_pre20090616.ebuild new file mode 100644 index 000000000000..16f07091f073 --- /dev/null +++ b/net-analyzer/tcpdump/tcpdump-4.0.1_pre20090616.ebuild @@ -0,0 +1,92 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.0.1_pre20090616.ebuild,v 1.1 2009/06/17 07:17:01 pva Exp $ + +EAPI="2" +inherit flag-o-matic toolchain-funcs eutils + +DESCRIPTION="A Tool for network monitoring and data acquisition" +HOMEPAGE="http://www.tcpdump.org/" +MY_P=${PN}-${PV/_pre/-} +SRC_URI="mirror://gentoo/${MY_P}.tar.gz" +S=${WORKDIR}/${MY_P} +# 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 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="+chroot smi ssl ipv6 samba test" + +DEPEND="net-libs/libpcap + smi? ( net-libs/libsmi ) + ssl? ( >=dev-libs/openssl-0.9.6m ) + test? ( app-arch/sharutils + 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 + ewarn "(Giving you 10 secs to think about it)" + ewarn + ebeep 5 + epause 5 + fi + enewgroup tcpdump + enewuser tcpdump -1 -1 -1 tcpdump +} + +#src_prepare() { +# eautoreconf +#} + +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 + + # 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 + + econf --with-user=tcpdump \ + $(use_with ssl crypto) \ + $(use_with smi) \ + $(use_enable ipv6) \ + $(use_enable samba smb) \ + $(use_enable chroot chroot /var/lib/tcpdump) +} + +src_compile() { + make CCOPT="$CFLAGS" || die "make failed" +} + +src_test() { + sed '/^\(bgp_vpn_attrset\|ikev2four\|espudp1\|eapon1\)/d;' -i tests/TESTLIST + make check || die "tests failed" +} + +src_install() { + dosbin tcpdump || die + doman tcpdump.1 || die + dodoc *.awk || die + dodoc CHANGES CREDITS README || die + + keepdir /var/lib/tcpdump + fperms 700 /var/lib/tcpdump + fowners tcpdump:tcpdump /var/lib/tcpdump +} |