summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Volkov <pva@gentoo.org>2010-04-08 05:55:08 +0000
committerPeter Volkov <pva@gentoo.org>2010-04-08 05:55:08 +0000
commit55e9ed712c20a3a09b9c595bd3c358540e7e329a (patch)
treea90263ac330b344f74d93b27fbeeff9c1b2d3641 /net-analyzer/tcpdump
parentVersion bump. (diff)
downloadhistorical-55e9ed712c20a3a09b9c595bd3c358540e7e329a.tar.gz
historical-55e9ed712c20a3a09b9c595bd3c358540e7e329a.tar.bz2
historical-55e9ed712c20a3a09b9c595bd3c358540e7e329a.zip
Version bump.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer/tcpdump')
-rw-r--r--net-analyzer/tcpdump/ChangeLog9
-rw-r--r--net-analyzer/tcpdump/Manifest8
-rw-r--r--net-analyzer/tcpdump/files/tcpdump-4.1.0-without-chroot.patch27
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.1.0-r1.ebuild92
-rw-r--r--net-analyzer/tcpdump/tcpdump-4.1.1.ebuild (renamed from net-analyzer/tcpdump/tcpdump-4.1.0.ebuild)26
5 files changed, 24 insertions, 138 deletions
diff --git a/net-analyzer/tcpdump/ChangeLog b/net-analyzer/tcpdump/ChangeLog
index b9ec9560ea3f..2279b7154975 100644
--- a/net-analyzer/tcpdump/ChangeLog
+++ b/net-analyzer/tcpdump/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for net-analyzer/tcpdump
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.142 2010/04/07 17:24:01 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.143 2010/04/08 05:55:08 pva Exp $
+
+*tcpdump-4.1.1 (08 Apr 2010)
+
+ 08 Apr 2010; Peter Volkov <pva@gentoo.org> -tcpdump-4.1.0.ebuild,
+ -tcpdump-4.1.0-r1.ebuild, -files/tcpdump-4.1.0-without-chroot.patch,
+ +tcpdump-4.1.1.ebuild:
+ Version bump.
07 Apr 2010; Peter Volkov <pva@gentoo.org> tcpdump-4.1.0-r1.ebuild:
Print elog only if USE=suid, bug #312841, thank Martin von Gagern for
diff --git a/net-analyzer/tcpdump/Manifest b/net-analyzer/tcpdump/Manifest
index 9d43a4cd091e..f933b9b46eab 100644
--- a/net-analyzer/tcpdump/Manifest
+++ b/net-analyzer/tcpdump/Manifest
@@ -1,13 +1,11 @@
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
-AUX tcpdump-4.1.0-without-chroot.patch 952 RMD160 2fb9ef4553225889bd8c1d12a0bbedb248b2cdcd SHA1 24b85b8c98acf4a281c9b419656da89fc6098fbf SHA256 de6b29c46bd69c655391ab45cdad4e33be1d9764924e535749d2f598768b895b
DIST tcpdump-3.9.8.tar.gz 938054 RMD160 76b17d131f4d89342c2bcdc27c40d23d29ecb1f1 SHA1 98be9acb1e9154656838fcb89c4a36417cf56042 SHA256 2309c8eb1dc87436a410f4a8d041b0453ade5753c35ce7a2c5bc9a0263a8d299
DIST tcpdump-4.0.1-20090709.tar.gz 1553485 RMD160 5f56cad6a6e25ac3d320a58912b513bbae29f635 SHA1 b6ed8d5e9a57863c87bb77eabc2d8f319645f1b1 SHA256 e662e3c101fc105831b5e15d708cb95be6e80399c050a4e28a9b474436c7d8ae
-DIST tcpdump-4.1.0.tar.gz 745115 RMD160 2907475c4545aecb491fc959d7f41001204b61a1 SHA1 ee6e147853e201e362036b91dd2a90e012da9343 SHA256 360656e76d1889b3c9e89430f6291051616bcf16d357cbad091d83c586f815fa
+DIST tcpdump-4.1.1.tar.gz 1587392 RMD160 97ac07582f26c4126b09de1dcca6851ad02352d1 SHA1 8f356cbc781192ecb527623d68db90e06aa9d4b9 SHA256 e6cd4bbd61ec7adbb61ba8352c4b4734f67b8caaa845d88cb826bc0b9f1e7f0a
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.0.1_pre20090709.ebuild 2377 RMD160 b23ee67a27df295da1855ba9b93d35b5880d25b4 SHA1 c54533a920c5a0a3f313d98da28bbb2fbf01e8fd SHA256 1155b3d9f6b18d027bc92a19a208f92e5dcfbe377a7a63fb74aaf20c7923646b
-EBUILD tcpdump-4.1.0-r1.ebuild 2459 RMD160 1bb61d53800b12f286291840cff16c5697b496c3 SHA1 1e708316a4b37deb98dc98fd20ae686825c9ca08 SHA256 fa477179051d55ff3d26c4e9a9efe528bb1a28263863e0c285f96df5dbadfbfd
-EBUILD tcpdump-4.1.0.ebuild 2254 RMD160 5c155d5a14daa07deb2ff86fd402061cb7a983ff SHA1 884aea9d2a721012157305b6c2ffc7c6db72c192 SHA256 153a88014b699503dd91a0dc879666568a755fa48db07aa3733918d83af0c0bb
-MISC ChangeLog 19479 RMD160 ea8a0238dbffd1aea6c6dc0b5852239bde6f1109 SHA1 2c41e91d62de43cfd2adcc0f03fae49bbfa60916 SHA256 0137c1dd3f5eca41b9dc37eb7512e33080d73afd47da0124f10c05674ce79b9e
+EBUILD tcpdump-4.1.1.ebuild 2189 RMD160 ac11a84e0ba9c741b6b380e876145fe50da47f60 SHA1 4f26deb0f8af0508d9974ea4f93ba970256780af SHA256 7dd974286f56fd8cad40817cf6fb7e3b5b139eb6635c1a41eecdb63b1ae62cd2
+MISC ChangeLog 19690 RMD160 e796b9168a55cc97b5771930b7332ce96574cb48 SHA1 c684883a30e255c63abb6c300b2a34259fa276bc SHA256 e01a47bcc8fd872ae1c9c80cbe8b12500725bf9478a22de822584accfeb0584b
MISC metadata.xml 465 RMD160 f9751964faf36897dbf01df6258c8af50791b1e5 SHA1 e4ed0caa1ba72d0827449bee5ce0e792940f3bfe SHA256 e8f218a9ee2e142e9b19c54bdc0e2b336cdccabaed8347a30956b663e6b9f51c
diff --git a/net-analyzer/tcpdump/files/tcpdump-4.1.0-without-chroot.patch b/net-analyzer/tcpdump/files/tcpdump-4.1.0-without-chroot.patch
deleted file mode 100644
index d81af4ca776c..000000000000
--- a/net-analyzer/tcpdump/files/tcpdump-4.1.0-without-chroot.patch
+++ /dev/null
@@ -1,27 +0,0 @@
-commit 7ec07e4815965dd31b85e56ac823249bfb9afc28
-Author: Peter Volkov <pva@gentoo.org>
-Date: Fri Apr 2 09:33:30 2010 +0400
-
- Respect --without-chroot correctly
-
- ./configure --without-chroot will configure tcpdump with "no" as the
- value of chroot directory and cause tcpdump to fail with:
-
- tcpdump: Couldn't chroot/chdir to 'no': No such file or directory
-
- This patch makes ./configure to avoid chroot directory when called with
- --without-chroot.
-
-diff --git a/configure.in b/configure.in
-index 1c1b63a..eb3e5e8 100644
---- a/configure.in
-+++ b/configure.in
-@@ -159,7 +159,7 @@ fi
-
- AC_ARG_WITH(chroot, [ --with-chroot=DIRECTORY when dropping privileges, chroot to DIRECTORY])
- AC_MSG_CHECKING([whether to chroot])
--if test ! -z "$with_chroot" ; then
-+if test ! -z "$with_chroot" && test "$with_chroot" != "no" ; then
- AC_DEFINE_UNQUOTED(WITH_CHROOT, "$withval")
- AC_MSG_RESULT(to \"$withval\")
- else
diff --git a/net-analyzer/tcpdump/tcpdump-4.1.0-r1.ebuild b/net-analyzer/tcpdump/tcpdump-4.1.0-r1.ebuild
deleted file mode 100644
index 486415a54114..000000000000
--- a/net-analyzer/tcpdump/tcpdump-4.1.0-r1.ebuild
+++ /dev/null
@@ -1,92 +0,0 @@
-# Copyright 1999-2010 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.1.0-r1.ebuild,v 1.2 2010/04/07 17:24:02 pva Exp $
-
-EAPI="2"
-inherit flag-o-matic toolchain-funcs eutils versionator autotools
-
-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 ~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
- dev-lang/perl )"
-
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
-
-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() {
- epatch "${FILESDIR}/${P}-without-chroot.patch"
- eautoconf
-}
-
-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 '/^\(bgp_vpn_attrset\|ikev2four\|espudp1\|eapon1\)/d;' -i tests/TESTLIST
- #make check || die "tests failed"
- ewarn "tests are broken in the release... (tests directory missed in tarball)"
-}
-
-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.1.0.ebuild b/net-analyzer/tcpdump/tcpdump-4.1.1.ebuild
index 961840535cfb..b8270aee4c5a 100644
--- a/net-analyzer/tcpdump/tcpdump-4.1.0.ebuild
+++ b/net-analyzer/tcpdump/tcpdump-4.1.1.ebuild
@@ -1,9 +1,9 @@
# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.1.0.ebuild,v 1.1 2010/04/02 06:02:17 pva Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.1.1.ebuild,v 1.1 2010/04/08 05:55:08 pva Exp $
EAPI="2"
-inherit flag-o-matic toolchain-funcs eutils versionator autotools
+inherit flag-o-matic toolchain-funcs eutils autotools
DESCRIPTION="A Tool for network monitoring and data acquisition"
HOMEPAGE="http://www.tcpdump.org/"
@@ -13,7 +13,7 @@ SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux"
-IUSE="+chroot smi ssl ipv6 -samba test"
+IUSE="+chroot smi ssl ipv6 -samba suid test"
RDEPEND="net-libs/libpcap
smi? ( net-libs/libsmi )
@@ -22,8 +22,6 @@ DEPEND="${RDEPEND}
test? ( app-arch/sharutils
dev-lang/perl )"
-S=${WORKDIR}/${PN}-$(get_version_component_range 1-2)
-
pkg_setup() {
if use samba ; then
ewarn
@@ -40,11 +38,6 @@ pkg_setup() {
enewuser tcpdump -1 -1 -1 tcpdump
}
-src_prepare() {
- epatch "${FILESDIR}/${P}-without-chroot.patch"
- eautoconf
-}
-
src_configure() {
# tcpdump needs some optymalization. see bug #108391
( ! is-flag -O? || is-flag -O0 ) && append-flags -O2
@@ -65,9 +58,8 @@ src_compile() {
}
src_test() {
- #sed '/^\(bgp_vpn_attrset\|ikev2four\|espudp1\|eapon1\)/d;' -i tests/TESTLIST
- #make check || die "tests failed"
- ewarn "tests are broken in the release... (tests directory missed in tarball)"
+ sed '/^\(espudp1\|eapon1\)/d;' -i tests/TESTLIST
+ make check || die "tests failed"
}
src_install() {
@@ -81,4 +73,12 @@ src_install() {
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() {
+ elog "To let normal users run tcpdump add them into tcpdump group."
}