1 |
pva 10/04/02 06:02:17 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tcpdump-4.1.0.ebuild |
5 |
Log: |
6 |
Version bump, bug #312337, thank Richard Hartmann for report. Fixes inability to run tcpdump if built with USE=-chroot, bug 281936, thank Travis Schack for report. Tests are broken in the release. |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.140 net-analyzer/tcpdump/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/ChangeLog?rev=1.140&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/ChangeLog?rev=1.140&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/ChangeLog?r1=1.139&r2=1.140 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v |
19 |
retrieving revision 1.139 |
20 |
retrieving revision 1.140 |
21 |
diff -u -r1.139 -r1.140 |
22 |
--- ChangeLog 12 Feb 2010 14:34:14 -0000 1.139 |
23 |
+++ ChangeLog 2 Apr 2010 06:02:17 -0000 1.140 |
24 |
@@ -1,6 +1,14 @@ |
25 |
# ChangeLog for net-analyzer/tcpdump |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.139 2010/02/12 14:34:14 jer Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/ChangeLog,v 1.140 2010/04/02 06:02:17 pva Exp $ |
29 |
+ |
30 |
+*tcpdump-4.1.0 (02 Apr 2010) |
31 |
+ |
32 |
+ 02 Apr 2010; Peter Volkov <pva@g.o> +tcpdump-4.1.0.ebuild, |
33 |
+ +files/tcpdump-4.1.0-without-chroot.patch: |
34 |
+ Version bump, bug #312337, thank Richard Hartmann for report. Fixes |
35 |
+ inability to run tcpdump if built with USE=-chroot, bug 281936, thank |
36 |
+ Travis Schack for report. Tests are broken in the release. |
37 |
|
38 |
12 Feb 2010; Jeroen Roovers <jer@g.o> tcpdump-3.9.8-r1.ebuild: |
39 |
Stable for HPPA too. |
40 |
|
41 |
|
42 |
|
43 |
1.1 net-analyzer/tcpdump/tcpdump-4.1.0.ebuild |
44 |
|
45 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.1.0.ebuild?rev=1.1&view=markup |
46 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.1.0.ebuild?rev=1.1&content-type=text/plain |
47 |
|
48 |
Index: tcpdump-4.1.0.ebuild |
49 |
=================================================================== |
50 |
# Copyright 1999-2010 Gentoo Foundation |
51 |
# Distributed under the terms of the GNU General Public License v2 |
52 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcpdump/tcpdump-4.1.0.ebuild,v 1.1 2010/04/02 06:02:17 pva Exp $ |
53 |
|
54 |
EAPI="2" |
55 |
inherit flag-o-matic toolchain-funcs eutils versionator autotools |
56 |
|
57 |
DESCRIPTION="A Tool for network monitoring and data acquisition" |
58 |
HOMEPAGE="http://www.tcpdump.org/" |
59 |
SRC_URI="http://www.tcpdump.org/release/${P}.tar.gz |
60 |
http://www.jp.tcpdump.org/release/${P}.tar.gz" |
61 |
|
62 |
LICENSE="BSD" |
63 |
SLOT="0" |
64 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" |
65 |
IUSE="+chroot smi ssl ipv6 -samba test" |
66 |
|
67 |
RDEPEND="net-libs/libpcap |
68 |
smi? ( net-libs/libsmi ) |
69 |
ssl? ( >=dev-libs/openssl-0.9.6m )" |
70 |
DEPEND="${RDEPEND} |
71 |
test? ( app-arch/sharutils |
72 |
dev-lang/perl )" |
73 |
|
74 |
S=${WORKDIR}/${PN}-$(get_version_component_range 1-2) |
75 |
|
76 |
pkg_setup() { |
77 |
if use samba ; then |
78 |
ewarn |
79 |
ewarn "CAUTION !!! CAUTION !!! CAUTION" |
80 |
ewarn |
81 |
ewarn "You're about to compile tcpdump with samba printing support" |
82 |
ewarn "Upstream tags it as 'possibly-buggy SMB printer'" |
83 |
ewarn "So think twice whether this is fine with you" |
84 |
ewarn |
85 |
ewarn "CAUTION !!! CAUTION !!! CAUTION" |
86 |
ewarn |
87 |
fi |
88 |
enewgroup tcpdump |
89 |
enewuser tcpdump -1 -1 -1 tcpdump |
90 |
} |
91 |
|
92 |
src_prepare() { |
93 |
epatch "${FILESDIR}/${P}-without-chroot.patch" |
94 |
eautoconf |
95 |
} |
96 |
|
97 |
src_configure() { |
98 |
# tcpdump needs some optymalization. see bug #108391 |
99 |
( ! is-flag -O? || is-flag -O0 ) && append-flags -O2 |
100 |
|
101 |
replace-flags -O[3-9] -O2 |
102 |
filter-flags -finline-functions |
103 |
|
104 |
econf --with-user=tcpdump \ |
105 |
$(use_with ssl crypto) \ |
106 |
$(use_with smi) \ |
107 |
$(use_enable ipv6) \ |
108 |
$(use_enable samba smb) \ |
109 |
$(use_with chroot chroot /var/lib/tcpdump) |
110 |
} |
111 |
|
112 |
src_compile() { |
113 |
make CCOPT="$CFLAGS" || die "make failed" |
114 |
} |
115 |
|
116 |
src_test() { |
117 |
#sed '/^\(bgp_vpn_attrset\|ikev2four\|espudp1\|eapon1\)/d;' -i tests/TESTLIST |
118 |
#make check || die "tests failed" |
119 |
ewarn "tests are broken in the release... (tests directory missed in tarball)" |
120 |
} |
121 |
|
122 |
src_install() { |
123 |
dosbin tcpdump || die |
124 |
doman tcpdump.1 || die |
125 |
dodoc *.awk || die |
126 |
dodoc CHANGES CREDITS README || die |
127 |
|
128 |
if use chroot; then |
129 |
keepdir /var/lib/tcpdump |
130 |
fperms 700 /var/lib/tcpdump |
131 |
fowners tcpdump:tcpdump /var/lib/tcpdump |
132 |
fi |
133 |
} |