summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2013-05-09 03:27:23 +0000
committerJeroen Roovers <jer@gentoo.org>2013-05-09 03:27:23 +0000
commit33dcb700ae23337f6e9f7bcec479eaac6525a674 (patch)
tree0fc93ff9f1b144f12d1ddfc57f15f60dfe6f029a /net-analyzer/tcpdump
parentVersion bump. (diff)
downloadhistorical-33dcb700ae23337f6e9f7bcec479eaac6525a674.tar.gz
historical-33dcb700ae23337f6e9f7bcec479eaac6525a674.tar.bz2
historical-33dcb700ae23337f6e9f7bcec479eaac6525a674.zip
Old.
Package-Manager: portage-2.2.0_alpha174/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613
Diffstat (limited to 'net-analyzer/tcpdump')
-rw-r--r--net-analyzer/tcpdump/ChangeLog9
-rw-r--r--net-analyzer/tcpdump/Manifest21
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-4.0.0-ipv6-build.patch16
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-4.0.0-libsmi-autodep.patch25
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-4.2.0-ipv6.patch35
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-4.2.0-ppi.h9
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild92
-rw-r--r--net-analyzer/tcpdump/tcpdump-3.9.8.ebuild77
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.1.1.ebuild84
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.2.0.ebuild93
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.2.1.ebuild87
11 files changed, 12 insertions, 536 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog
index de1410659657..0ff3cb99555b 100644
--- a/net-analyzer/tcpdump/ChangeLog
+++ b/net-analyzer/tcpdump/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/tcpdump
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.164 2013/05/09 03:19:04 jer Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.165 2013/05/09 03:27:21 jer Exp $
+
+ 09 May 2013; Jeroen Roovers <jer@gentoo.org>
+ -files/tcpdump-4.0.0-ipv6-build.patch,
+ -files/tcpdump-4.0.0-libsmi-autodep.patch, -files/tcpdump-4.2.0-ipv6.patch,
+ -files/tcpdump-4.2.0-ppi.h, -tcpdump-3.9.8-r1.ebuild, -tcpdump-3.9.8.ebuild,
+ -tcpdump-4.1.1.ebuild, -tcpdump-4.2.0.ebuild, -tcpdump-4.2.1.ebuild:
+ Old.
*tcpdump-4.4.0 (09 May 2013)
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index df3913c7b67c..76be82432918 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -1,30 +1,17 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
-AUX tcpdump-4.0.0-ipv6-build.patch 288 SHA256 c61cf785e854b44bfc015e4de6223051912547b0564bf61dbbfa97d1ddc4a63a SHA512 481e605bcecd5ef81b3fa66f66265ca33b7343b91ea21e368782879764a4efa78786bbb0400d790460e1da2506d6346756a7c51bd3690870d21cab3e684881ac WHIRLPOOL b645b0c7627de62f424110b1b58aef075cf2a720a6ccbe2ef3c5e0a0f23267090b98e484b42f322c4364fb65758f1f579e006edb114bf7876f4b5316aed253ed
-AUX tcpdump-4.0.0-libsmi-autodep.patch 653 SHA256 bdbd422f50b93f0c4232ae9cea0f4497976ab15559079575ec5ef1bca9dca72d SHA512 fbaf2dedc20b4af815765dd8d6eaf37efebe8dc99868b284ab943f728a0f17fd4f522ebde043c636dc9b8319667a2383ff411ab2791ff2d679f57b874fa4caa7 WHIRLPOOL 374e1e443954e6d56573cc43506070660ce69dab5e066a1b46054eccebd86d0416f38666301c0919bb64eadac0d1a00e3a5c1fdfbb935de7dc233db0e31af9f1
-AUX tcpdump-4.2.0-ipv6.patch 829 SHA256 dfdfda533b7845089b79ccfa31445ed580694a6df18ee73dfe952f99596184e4 SHA512 7c4b04fdc60437d8ed9665f9a79d8f51b020ff9a44451757431e1229fc3dcd415e81257942ede29238876afbf199ff330f1f6ba34279a958e4254e21e42e4c2f WHIRLPOOL 5fd713e22074ed42551790f7d039864c9a563613fbca6a27adb45cb506db7e192c012bd0046de3e4e874e2e9847a648f11b881286426bc125c04848ee9d503dd
-AUX tcpdump-4.2.0-ppi.h 145 SHA256 3cc039bf75aa4b9d3a2432d37c8f751c4e6d8c478361267ad37239871ff6c665 SHA512 2278cf9e50d2e164374825fcf659f85c78d29944deec2717c2e6dc7476f338805e5a7401218831525103c777c1a34df8bf901272362588f327df3ef09b3cba4d WHIRLPOOL 9ced90185de379efb2d05b28886ac44d401da9e900c174b974c4814e1d2b53a831fdab85fed80d9be8441106711f9d13952d708b84b386743e2d85ae79385f2b
AUX tcpdump-4.3.0-ssl-detect.patch 3568 SHA256 970b709a1599e9496e77dd4cbf7e87ed80502d6c046e7c1599ff6a7683d1b597 SHA512 df93da14652f1907a29a68768e01b3f8784d04d269ab7f54592e7d8740fccc7d944166d75f4112343a71fca0a63b2693adce768190869cf11f0cbf16c81ff535 WHIRLPOOL 0dbe296397aa9e69f73c88f3755cc292314bb35b3ee7724c1486ca34dd76a76f1935673a28a1476885d3c372833049ad38a9693d63c69679e24c07bcef1c734d
-DIST tcpdump-3.9.8.tar.gz 938054 SHA256 2309c8eb1dc87436a410f4a8d041b0453ade5753c35ce7a2c5bc9a0263a8d299 SHA512 6c7f4a231330df9dafdf4321bd099c91c2fe0778fba45beb576b16e74a913e2176adaca7538da3489ec0341e6e9bf7527b0083afe0234005b7547e3a2b9e79a3 WHIRLPOOL f55a4f97a3c4c07a0d189caa8e21427377659cfc732c34cb663dc448bc7d9633fc97ba959bfb5becce0e90b51527ed09e34dc57c692bbbe06e78ab7f2b995378
-DIST tcpdump-4.1.1.tar.gz 1587392 SHA256 e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a SHA512 34df0aa98eabfc9d464645f858e6fad4f761c091979865cbc0a8bc402fd01bbe201949b98bbb78fe704b975bab409cf6d18946b0da59c29ec1a992ca9943f109 WHIRLPOOL 88f4b7406ab9ae2ba8d64ca5ea66373fb220fa9d59161b6f2b0f09e95b64e47f982bc2ee84ab994e1cfc314863def632f8ea73b4a6af806f269a08deca0835fb
-DIST tcpdump-4.2.0.tar.gz 833172 SHA256 8979aba28fa3e67ca7f97de8482b38482eef1d70c739dc1f9c33eba60c027639 SHA512 a639cb7acd4e9e1c52ad52b1b286fe364efd317167ac7037107c62c2e9260605c94d761e892a1b07404f5e65923740f864acb7653efb3170f5ea3c71c2ee4035 WHIRLPOOL 3e2c96678f33a41c77d278c81df879cbfa1b26e7ec97f262b5ee43de86b5108b2897461c4cd2d98cad6c15b1535735caf725b88cd1cc36be041c87d90adc38c2
-DIST tcpdump-4.2.1.tar.gz 887476 SHA256 5457e9a61e86efe62e88bc621903c2d1ab08dd688e9ac839c7bc2513ee4f9bff SHA512 4ab694ca2685f474b29b7c6ba2e02022b3cf415ed23c2cd89c1eb0326f9839d64d9a27493a2df6aba82635c0a0db2a6d46ba9d13da93d4159c3888e1f2af15b5 WHIRLPOOL 7687325050461433eb1f6cd6011b68b2d90bed94a87a1ee3d2773013c8d3a07a44dd6197b24f4e40cbcec00c8b0e242680a9ed9ff57f9937f83a7c5e5399d31d
DIST tcpdump-4.3.0.tar.gz 887619 SHA256 efd08b610210d39977ec3175fa82dad9fbd33587930081be2a905a712dba4286 SHA512 56a33f8aeae551fdc499be31d834207b253de27dce7bdde02e2de5ed0edc4bbe86d8e120c9d2a2303b21d5c32773a4f2984e6af4f0d6f945edb3691a6446cb3c WHIRLPOOL b7d06938816aad8313d61bc30d15efa321ae2ab4663e9355ae2c50b7645bd3cb694de85e04314b5e320459312ee6150a2d3c8c93ee7ffc47ca2ece29bebd8270
DIST tcpdump-4.4.0.tar.gz 915381 SHA256 12274bed2cb89098dadf00a022b4d40853c5108369f3b3117aedf21ec61530bd SHA512 cf31eb2f878e7e448533172241d57071e105b40265b943ebad8d25867384658016676a528f399fb38b0a2ec09d4986d99e4862fd8a09d9a491eeca75ae69d754 WHIRLPOOL f875510dd8c4f409341790281cc2f2f0be2a6e4642e7a00bd7d62ebd4a263f12e7e5f80a17a219c1fa85edf884ccd870dda259d7f90284d9b356edcb0c137d9b
-EBUILD tcpdump-3.9.8-r1.ebuild 2244 SHA256 c1ee7f5ebad0dd46d0f4546cdbf8ff7ee73b2b2d83a957e2d93ad5ec4ba87318 SHA512 c488f2019f60ed835919099dee58917ca4e0df09cba2dc623fd15315c639b06a7c53a3982626e91f8c2f2527bafad035bd06094b9713969a1f50270ef38437b6 WHIRLPOOL a9fe2e9822dd9467e3ecfc7f7aa95e2dece14e2494db99b290993597e7496d22de0ccab6c7f2f94ceacfe0e848c00a26d4b5c2958e5afd1272df0027272fe890
-EBUILD tcpdump-3.9.8.ebuild 1918 SHA256 2c3d60fba4f94ea4a9149b9f2923bc78c5d0fbe6a4fd4cdf558855d2776a6131 SHA512 92c1a0220eeb5868fa89cd0dc726f4b6c608318052b24ebb90ffda32c4fe3c09e6904b5b641c323120e29e45f51619e9c2ccda5c13569ee818c6e69bd3c72c37 WHIRLPOOL 7c6ec3857f0f260d70232c000e074327211fea3e9129122984637363367471cdb8fda9c7aab3f3a2995755a1391ca69ab760c477847d1a6edf389492ec7ab75b
-EBUILD tcpdump-4.1.1.ebuild 2215 SHA256 5c0bbd40a101c817403009db62df41e82f0563107b5accecabea96d834629a88 SHA512 516f3e240b96b141abe1492c6db8302086c3ba9da8b1628d8520bee49aa5ab0e67693f4b3d6dcde773514d601313d7ed6f158ca1493c3f5cc200cfb51f55723e WHIRLPOOL 56fc106f86d167cd0726bf6d33266608c7152da2156c8519ef3e228ff93c78a0917e8c1b51e524b0fd9fc144f43d6550ad9f38e34149951f359db9daaa45132c
-EBUILD tcpdump-4.2.0.ebuild 2327 SHA256 4295a7ba0f72511cda9f0e1412bbedb202bd1ef8b8117c2546a89553b460cda4 SHA512 71198d06977bd603d0848bea9627847dff8c8c380c0c900c96e1ed4f46795d96e84a1ca58accfc36e07ca6af1666bfb04387d97052b116726f10fe0dbdc45acf WHIRLPOOL 8bfb1b94b16862bff157b27d0cfb0a26de5d94d49d3971d2b5c15373afe42e7bd442d7acda0271956baee36a82cbf6d2580ae6de28ee1f896b7f9c5d3d1f7361
-EBUILD tcpdump-4.2.1.ebuild 2146 SHA256 474d34bdd998562d62ea47ac468724ae2c897dd1c8a671e7e4ed5276028625f0 SHA512 f28679591b24d8b3cb22c8019d80f657ba0628a7893aa14aa4c569b254f57e8ad489c61629f10b2266916d6628fc9398912ca896101c929c389ac5d9e7035fc7 WHIRLPOOL 6b50d045ede2f6d9cfd79f5d546dde25d8272dc96b831e72aefdc233cf8d44818195dbf79aed62dc345322769ac1c7511855f32dc61665180c38becde4b538f1
EBUILD tcpdump-4.3.0.ebuild 2345 SHA256 c210a21ad6a56c17add0eca2027cdf8cc4c2c58ffb8cb560d79a8e4fe030dacb SHA512 d1ee29b0ccfd7f9014d42499b87e74e7c81841674f64f70d7887a4955605623a8b4897fc0bb721192d718a72d794402bd2b8a080dfa37cd2439a458d8c47a35b WHIRLPOOL c8b276ab9612f74381cd1c5194727d53d691218e51fa998d76e531a9e89ae7f87d3d49b9c048440038c4734a3cdccd0c6d2b7a71de22c7825bd33ead761e5492
EBUILD tcpdump-4.4.0.ebuild 2349 SHA256 f4217c0792d5d448cc2f8756454163be0bebdf521455860144654bd8b0c6b9b4 SHA512 7756d7c938bf1660e4c7fbf0ff7cc8e628fbd4ce1a1afa97776532c5a5ea6bc7a3cc1bf76bc6580e57a5ea6859029b83852f42358476559478ee628094d33278 WHIRLPOOL d0b343e8c09590617e633c4c1cea6caa73c75d6735b95eb31e53e9b260339f6334dfd70d4c5d6dabe3a536d21a8a5063adf79a182f8d8d12deb73cb1a87723de
-MISC ChangeLog 22319 SHA256 0a8b1b16f7446c9838f467aa472c5a63494480fb6895fed596ac6c28e7dd5f7d SHA512 c651450e349fd2dbe5d1c489901d63474e75734c48b538a539092240f85356dea420b48a5a4ac090e0e9a001b08b848e05aebbf3dfc2cb8b3d3ffb7f4479db78 WHIRLPOOL d1b2d413dbe289fbcc3833e04dfb898b992ea7e1fe07f2dbd49ee92f5d7dad970bea7f9452f46ce605f2cd12ed6c0cbc6abe01fd755f913699729773dd4500a3
+MISC ChangeLog 22643 SHA256 1f9ca2f9a73666cd67e8d929573304a2c631201f2624fbf1d621cd88639807ba SHA512 654d70c316da48a6d507354c0316603d0de1f33c9b622d69352b800119fcf18ea720a899099b0832b95d5198a799dc3eca229de553e815cf6c3e750965662c74 WHIRLPOOL e631c716d282eaff040519b99cd41541d30b9ef3851fa0d3227f33b56a6c47dc4f346cdeb2e43dd82af650ff7845f66642946ff993702c3f3ee61c53927ebac5
MISC metadata.xml 477 SHA256 734dc211640a616efb2a10945f4ea984f9f9ea55863c1b869d95039314336285 SHA512 8b5353591b0f9a4145c5703759cea6ace05bf5d1f70c403bd483fe534f71196c5efaa4c3c160fd314bda9261bc45b2152cea5ae00b8f6635254907121eefc5e8 WHIRLPOOL dece9e0f60ef545dfc27b53f5627ecf6a31578885c87a9e3712e9adc36ae3c886b226c2f7772aa685b3cfe689dd241c49086b4673c034e6f780e15f392b814c6
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iEYEAREIAAYFAlGLFakACgkQVWmRsqeSphPR+wCfekFV7TU9mp8vP3ZI8rTY0/EA
-ZKUAniLLlbyxpnvGK3/RacDVlLAD+Ay7
-=Ve2Y
+iEYEAREIAAYFAlGLF5sACgkQVWmRsqeSphOaJACdH3eAY44HS24t61hQnBojWJSy
+xXwAnRXArR4dEB4R3rbgELi9OKYE+Fs3
+=0b0f
-----END PGP SIGNATURE-----
diff --git a/net-analyzer/tcpdump/files/tcpdump-4.0.0-ipv6-build.patch b/net-analyzer/tcpdump/files/tcpdump-4.0.0-ipv6-build.patch
deleted file mode 100644
index 4d4aa575686a..000000000000
--- a/net-analyzer/tcpdump/files/tcpdump-4.0.0-ipv6-build.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-=== modified file 'print-enc.c'
---- print-enc.c 2008-11-04 16:24:30 +0000
-+++ print-enc.c 2008-11-04 16:45:04 +0000
-@@ -77,9 +77,11 @@
- case AF_INET:
- ip_print(gndo, p, length);
- break;
-+#ifdef INET6
- case AF_INET6:
- ip6_print(p, length);
- break;
-+#endif /*INET6*/
- }
-
- out:
-
diff --git a/net-analyzer/tcpdump/files/tcpdump-4.0.0-libsmi-autodep.patch b/net-analyzer/tcpdump/files/tcpdump-4.0.0-libsmi-autodep.patch
deleted file mode 100644
index 467018d07f12..000000000000
--- a/net-analyzer/tcpdump/files/tcpdump-4.0.0-libsmi-autodep.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-=== modified file 'configure.in'
---- configure.in 2008-11-04 16:24:30 +0000
-+++ configure.in 2008-11-04 17:16:11 +0000
-@@ -70,6 +70,12 @@
- esac
-
-
-+AC_ARG_WITH(smi,
-+[ --with-smi link with libsmi (allows to load MIBs on the fly to decode SNMP packets. [default=yes]
-+ --without-smi don't link with libsmi],,
-+ with_smi=yes)
-+
-+if test "x$with_smi" != "xno" ; then
- AC_CHECK_HEADERS(smi.h)
- AC_CHECK_LIB(smi, smiInit)
- if test "$ac_cv_header_smi_h" = yes -a "$ac_cv_lib_smi_smiInit" = yes
-@@ -111,6 +117,7 @@
- libsmi=no]
- )
- fi
-+fi
-
- AC_MSG_CHECKING([whether to enable the possibly-buggy SMB printer])
- AC_ARG_ENABLE(smb,
-
diff --git a/net-analyzer/tcpdump/files/tcpdump-4.2.0-ipv6.patch b/net-analyzer/tcpdump/files/tcpdump-4.2.0-ipv6.patch
deleted file mode 100644
index ba47b5daec1f..000000000000
--- a/net-analyzer/tcpdump/files/tcpdump-4.2.0-ipv6.patch
+++ /dev/null
@@ -1,35 +0,0 @@
-Fix compiling with USE=-ipv6 (bug #395031).
-https://bugs.gentoo.org/395031
-
---- a/tcpdump-4.2.0/print-babel.c
-+++ b/tcpdump-4.2.0/print-babel.c
-@@ -115,10 +115,14 @@
- format_prefix(const u_char *prefix, unsigned char plen)
- {
- static char buf[50];
-+#ifdef INET6
- if(plen >= 96 && memcmp(prefix, v4prefix, 12) == 0)
-+#endif
- snprintf(buf, 50, "%s/%u", ipaddr_string(prefix + 12), plen - 96);
-+#ifdef INET6
- else
- snprintf(buf, 50, "%s/%u", ip6addr_string(prefix), plen);
-+#endif
- buf[49] = '\0';
- return buf;
- }
-@@ -126,10 +130,14 @@
- static const char *
- format_address(const u_char *prefix)
- {
-+#ifdef INET6
- if(memcmp(prefix, v4prefix, 12) == 0)
-+#endif
- return ipaddr_string(prefix + 12);
-+#ifdef INET6
- else
- return ip6addr_string(prefix);
-+#endif
- }
-
- static int
diff --git a/net-analyzer/tcpdump/files/tcpdump-4.2.0-ppi.h b/net-analyzer/tcpdump/files/tcpdump-4.2.0-ppi.h
deleted file mode 100644
index 733eb950f0de..000000000000
--- a/net-analyzer/tcpdump/files/tcpdump-4.2.0-ppi.h
+++ /dev/null
@@ -1,9 +0,0 @@
-typedef struct ppi_header {
- uint8_t ppi_ver;
- uint8_t ppi_flags;
- uint16_t ppi_len;
- uint32_t ppi_dlt;
-} ppi_header_t;
-
-#define PPI_HDRLEN 8
-
diff --git a/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild
deleted file mode 100644
index 2083b125e04f..000000000000
--- a/net-analyzer/tcpdump/tcpdump-3.9.8-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# 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-3.9.8-r1.ebuild,v 1.9 2012/06/12 03:32:07 zmedico Exp $
-
-inherit flag-o-matic toolchain-funcs eutils 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 hppa ia64 ~mips ~ppc ~ppc64 s390 sh sparc x86 ~x86-fbsd"
-IUSE="chroot ssl ipv6 samba"
-
-DEPEND="net-libs/libpcap
- ssl? ( >=dev-libs/openssl-0.9.6m )"
-RDEPEND="${DEPEND}"
-
-group_user_check() {
- einfo "Checking for tcpdump group ..."
- enewgroup tcpdump
- einfo "Checking for tcpdump user ..."
- enewuser tcpdump -1 -1 -1 tcpdump
-}
-
-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
- group_user_check
-}
-
-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
-
- if use chroot; then
- myconf="${myconf} --with-chroot=/var/lib/tcpdump"
- fi
-
- econf --with-user=tcpdump \
- $(use_enable ipv6) \
- $(use_enable samba smb) \
- ${myconf} || die "configure failed"
-
- make CCOPT="$CFLAGS" || die "make failed"
-}
-
-pkg_preinst() {
- group_user_check
-}
-
-src_install() {
- dosbin tcpdump
- doman tcpdump.1
- dodoc *.awk
- dodoc README FILES VERSION CHANGES CREDITS TODO
-
- keepdir /var/lib/tcpdump
- fperms 700 /var/lib/tcpdump
- fowners tcpdump:tcpdump /var/lib/tcpdump
-}
diff --git a/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild b/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild
deleted file mode 100644
index 153a4cfa3d17..000000000000
--- a/net-analyzer/tcpdump/tcpdump-3.9.8.ebuild
+++ /dev/null
@@ -1,77 +0,0 @@
-# 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-3.9.8.ebuild,v 1.10 2012/06/12 03:32:07 zmedico Exp $
-
-inherit flag-o-matic toolchain-funcs eutils 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 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 )"
-RDEPEND="${DEPEND}"
-
-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_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 --with-user=tcpdump \
- $(use_enable ipv6) \
- $(use_enable samba smb) \
- ${myconf} || die "configure failed"
-
- make CCOPT="$CFLAGS" || die "make failed"
-}
-
-pkg_preinst() {
- enewgroup tcpdump
- enewuser tcpdump -1 -1 -1 tcpdump
-}
-
-src_install() {
- dosbin tcpdump
- doman tcpdump.1
- dodoc *.awk
- dodoc README FILES VERSION CHANGES CREDITS TODO
-}
diff --git a/net-analyzer/tcpdump/tcpdump-4.1.1.ebuild b/net-analyzer/tcpdump/tcpdump-4.1.1.ebuild
deleted file mode 100644
index 0f4306fc4a62..000000000000
--- a/net-analyzer/tcpdump/tcpdump-4.1.1.ebuild
+++ /dev/null
@@ -1,84 +0,0 @@
-# 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.1.1.ebuild,v 1.6 2012/06/12 03:32:07 zmedico Exp $
-
-EAPI="2"
-inherit flag-o-matic 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 ~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_compile() {
- make CCOPT="$CFLAGS" || die "make failed"
-}
-
-src_test() {
- sed '/^\(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
-
- 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."
-}
diff --git a/net-analyzer/tcpdump/tcpdump-4.2.0.ebuild b/net-analyzer/tcpdump/tcpdump-4.2.0.ebuild
deleted file mode 100644
index caa4553494d3..000000000000
--- a/net-analyzer/tcpdump/tcpdump-4.2.0.ebuild
+++ /dev/null
@@ -1,93 +0,0 @@
-# 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.0.ebuild,v 1.3 2012/06/12 03:32:07 zmedico Exp $
-
-EAPI="4"
-inherit eutils flag-o-matic 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 ~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_prepare() {
- # http://sourceforge.net/tracker/?func=detail&aid=3444149&group_id=53066&atid=469573
- # bug #393085
- cp "${FILESDIR}"/${P}-ppi.h "${S}/ppi.h" || die
- epatch "${FILESDIR}"/${P}-ipv6.patch
-}
-
-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."
-}
diff --git a/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild b/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild
deleted file mode 100644
index 3c493b5442e9..000000000000
--- a/net-analyzer/tcpdump/tcpdump-4.2.1.ebuild
+++ /dev/null
@@ -1,87 +0,0 @@
-# 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.3 2012/06/12 03:32:07 zmedico Exp $
-
-EAPI="4"
-inherit flag-o-matic 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 ~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 "${EPREFIX}/usr") \
- $(use_with smi) \
- $(use_enable ipv6) \
- $(use_enable samba smb) \
- $(use_with chroot chroot "${EPREFIX}/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."
-}