1 |
pva 08/02/20 07:56:38 |
2 |
|
3 |
Modified: ChangeLog metadata.xml |
4 |
Added: wireshark-0.99.8_rc1.ebuild |
5 |
Log: |
6 |
Version bump to pre-release. Took maintainance. |
7 |
(Portage version: 2.1.4.4) |
8 |
|
9 |
Revision Changes Path |
10 |
1.78 net-analyzer/wireshark/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/ChangeLog?rev=1.78&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/ChangeLog?rev=1.78&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/ChangeLog?r1=1.77&r2=1.78 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v |
19 |
retrieving revision 1.77 |
20 |
retrieving revision 1.78 |
21 |
diff -u -r1.77 -r1.78 |
22 |
--- ChangeLog 26 Jan 2008 15:52:12 -0000 1.77 |
23 |
+++ ChangeLog 20 Feb 2008 07:56:38 -0000 1.78 |
24 |
@@ -1,6 +1,11 @@ |
25 |
# ChangeLog for net-analyzer/wireshark |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.77 2008/01/26 15:52:12 pva Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/ChangeLog,v 1.78 2008/02/20 07:56:38 pva Exp $ |
29 |
+ |
30 |
+*wireshark-0.99.8_rc1 (20 Feb 2008) |
31 |
+ |
32 |
+ 20 Feb 2008; <pva@g.o> metadata.xml, +wireshark-0.99.8_rc1.ebuild: |
33 |
+ Version bump to pre-release. Took maintainance. |
34 |
|
35 |
*wireshark-0.99.7-r2 (27 Jan 2008) |
36 |
|
37 |
|
38 |
|
39 |
|
40 |
1.2 net-analyzer/wireshark/metadata.xml |
41 |
|
42 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/metadata.xml?rev=1.2&view=markup |
43 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/metadata.xml?rev=1.2&content-type=text/plain |
44 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/metadata.xml?r1=1.1&r2=1.2 |
45 |
|
46 |
Index: metadata.xml |
47 |
=================================================================== |
48 |
RCS file: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/metadata.xml,v |
49 |
retrieving revision 1.1 |
50 |
retrieving revision 1.2 |
51 |
diff -u -r1.1 -r1.2 |
52 |
--- metadata.xml 30 Jun 2006 13:27:33 -0000 1.1 |
53 |
+++ metadata.xml 20 Feb 2008 07:56:38 -0000 1.2 |
54 |
@@ -2,5 +2,30 @@ |
55 |
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> |
56 |
<pkgmetadata> |
57 |
<herd>netmon</herd> |
58 |
-<longdescription>A commercial-quality network protocol analyzer</longdescription> |
59 |
+<maintainer> |
60 |
+ <email>pva@g.o</email> |
61 |
+ <name>Peter Volkov</name> |
62 |
+</maintainer> |
63 |
+<longdescription> |
64 |
+ Wireshark is the world's foremost network protocol analyzer, and is the de |
65 |
+ facto (and often de jure) standard across many industries and educational |
66 |
+ institutions. Wireshark has a rich feature set which includes 1) deep |
67 |
+ inspection of hundreds of protocols, with more being added all the time, 2) |
68 |
+ live capture and offline analysis, 3) standard three-pane packet browser, 4) |
69 |
+ captured network data can be browsed via a GUI, or via the TTY-mode TShark |
70 |
+ utility, 5) the most powerful display filters in the industry, 6) rich VoIP |
71 |
+ analysis, 7) read/write many different capture file formats: tcpdump |
72 |
+ (libpcap), Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network |
73 |
+ Monitor, Network General Sniffer® (compressed and uncompressed), Sniffer® |
74 |
+ Pro, and NetXray®, Network Instruments Observer, Novell LANalyzer, RADCOM |
75 |
+ WAN/LAN Analyzer, Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks |
76 |
+ Visual UpTime, WildPackets EtherPeek/TokenPeek/AiroPeek, and many others, 8) |
77 |
+ capture files compressed with gzip can be decompressed on the fly, 9) live |
78 |
+ data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, |
79 |
+ Token Ring, Frame Relay, FDDI, and others, 10) decryption support for many |
80 |
+ protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and |
81 |
+ WPA/WPA2, 11) coloring rules can be applied to the packet list for quick, |
82 |
+ intuitive analysis, 12) output can be exported to XML, PostScript®, CSV, or |
83 |
+ plain text |
84 |
+</longdescription> |
85 |
</pkgmetadata> |
86 |
|
87 |
|
88 |
|
89 |
1.1 net-analyzer/wireshark/wireshark-0.99.8_rc1.ebuild |
90 |
|
91 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/wireshark-0.99.8_rc1.ebuild?rev=1.1&view=markup |
92 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/net-analyzer/wireshark/wireshark-0.99.8_rc1.ebuild?rev=1.1&content-type=text/plain |
93 |
|
94 |
Index: wireshark-0.99.8_rc1.ebuild |
95 |
=================================================================== |
96 |
# Copyright 1999-2008 Gentoo Foundation |
97 |
# Distributed under the terms of the GNU General Public License v2 |
98 |
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/wireshark/wireshark-0.99.8_rc1.ebuild,v 1.1 2008/02/20 07:56:38 pva Exp $ |
99 |
|
100 |
WANT_AUTOMAKE="1.9" |
101 |
inherit autotools libtool flag-o-matic eutils toolchain-funcs |
102 |
|
103 |
DESCRIPTION="A network protocol analyzer formerly known as ethereal" |
104 |
HOMEPAGE="http://www.wireshark.org/" |
105 |
|
106 |
# _rc versions has different download location. |
107 |
[[ -n ${PV#*_rc} && ${PV#*_rc} != ${PV} ]] && { |
108 |
SRC_URI="http://www.wireshark.org/download/prerelease/${PN}-${PV/_rc/pre}.tar.gz"; |
109 |
S=${WORKDIR}/${PN}-${PV/_rc/pre} ; } || \ |
110 |
SRC_URI="http://www.wireshark.org/download/src/all-versions/${P}.tar.bz2" |
111 |
|
112 |
LICENSE="GPL-2" |
113 |
SLOT="0" |
114 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" |
115 |
IUSE="adns gtk ipv6 lua portaudio snmp ssl kerberos threads selinux" |
116 |
|
117 |
RDEPEND="sys-libs/zlib |
118 |
snmp? ( net-analyzer/net-snmp ) |
119 |
gtk? ( >=dev-libs/glib-2.0.4 |
120 |
=x11-libs/gtk+-2* |
121 |
x11-libs/pango |
122 |
dev-libs/atk ) |
123 |
!gtk? ( =dev-libs/glib-1.2* ) |
124 |
ssl? ( dev-libs/openssl ) |
125 |
!ssl? ( net-libs/gnutls ) |
126 |
net-libs/libpcap |
127 |
dev-libs/libpcre |
128 |
sys-libs/libcap |
129 |
adns? ( net-libs/adns ) |
130 |
kerberos? ( virtual/krb5 ) |
131 |
portaudio? ( media-libs/portaudio ) |
132 |
lua? ( >=dev-lang/lua-5.1 ) |
133 |
selinux? ( sec-policy/selinux-wireshark )" |
134 |
|
135 |
DEPEND="${RDEPEND} |
136 |
>=dev-util/pkgconfig-0.15.0 |
137 |
dev-lang/perl |
138 |
sys-devel/bison |
139 |
sys-devel/flex |
140 |
sys-apps/sed" |
141 |
|
142 |
pkg_setup() { |
143 |
# bug 119208 |
144 |
if has_version "<=dev-lang/perl-5.8.8_rc1" && built_with_use dev-lang/perl minimal ; then |
145 |
ewarn "wireshark will not build if dev-lang/perl is compiled with" |
146 |
ewarn "USE=minimal. Rebuild dev-lang/perl with USE=-minimal and try again." |
147 |
ebeep 5 |
148 |
die "dev-lang/perl compiled with USE=minimal" |
149 |
fi |
150 |
|
151 |
if ! use gtk; then |
152 |
ewarn "USE=-gtk will mean no gui called wireshark will be created and" |
153 |
ewarn "only command line utils are available" |
154 |
fi |
155 |
|
156 |
# Add group for users allowed to sniff. |
157 |
enewgroup wireshark || die "Failed to create wireshark group" |
158 |
} |
159 |
|
160 |
src_unpack() { |
161 |
unpack ${A} |
162 |
|
163 |
cd "${S}" |
164 |
epatch "${FILESDIR}"/${PN}-0.99.7-asneeded.patch |
165 |
|
166 |
cd "${S}"/epan |
167 |
epatch "${FILESDIR}"/wireshark-except-double-free.diff |
168 |
|
169 |
cd "${S}" |
170 |
AT_M4DIR="${S}/aclocal-fallback" |
171 |
eautoreconf |
172 |
} |
173 |
|
174 |
src_compile() { |
175 |
# optimization bug, see bug #165340, bug #40660 |
176 |
if [[ $(gcc-version) == 3.4 ]] ; then |
177 |
elog "Found gcc 3.4, forcing -O3 into CFLAGS" |
178 |
replace-flags -O? -O3 |
179 |
elif [[ $(gcc-version) == 3.3 || $(gcc-version) == 3.2 ]] ; then |
180 |
elog "Found <=gcc-3.3, forcing -O into CFLAGS" |
181 |
replace-flags -O? -O |
182 |
fi |
183 |
|
184 |
# see bug #133092 |
185 |
filter-flags -fstack-protector |
186 |
|
187 |
local myconf |
188 |
|
189 |
if use gtk; then |
190 |
einfo "Building with gtk support" |
191 |
else |
192 |
einfo "Building without gtk support" |
193 |
myconf="${myconf} --disable-wireshark --disable-warnings-as-errors" |
194 |
# the asn1 plugin needs gtk |
195 |
sed -i -e '/plugins.asn1/d' Makefile.in || die "sed failed" |
196 |
sed -i -e '/^SUBDIRS/s/asn1//' plugins/Makefile.in || die "sed failed" |
197 |
fi |
198 |
|
199 |
econf $(use_with ssl) \ |
200 |
$(use_enable ipv6) \ |
201 |
$(use_with lua) \ |
202 |
$(use_with adns) \ |
203 |
$(use_with kerberos krb5) \ |
204 |
$(use_with snmp net-snmp) \ |
205 |
$(use_with portaudio) \ |
206 |
$(use_enable gtk gtk2) \ |
207 |
$(use_enable threads) \ |
208 |
--with-libcap \ |
209 |
--enable-setuid-install \ |
210 |
--without-ucd-snmp \ |
211 |
--enable-dftest \ |
212 |
--enable-randpkt \ |
213 |
--sysconfdir=/etc/wireshark \ |
214 |
--enable-editcap \ |
215 |
--enable-capinfos \ |
216 |
--enable-text2pcap \ |
217 |
${myconf} || die "econf failed" |
218 |
|
219 |
# fixes an access violation caused by libnetsnmp - see bug 79068 |
220 |
use snmp && export MIBDIRS="${D}/usr/share/snmp/mibs" |
221 |
|
222 |
emake || die "emake failed" |
223 |
} |
224 |
|
225 |
src_install() { |
226 |
emake DESTDIR="${D}" install || die "emake install failed" |
227 |
|
228 |
for file in /usr/bin/tshark /usr/bin/dumpcap |
229 |
do |
230 |
fowners 0:wireshark ${file} |
231 |
fperms 6550 ${file} |
232 |
done |
233 |
|
234 |
insinto /usr/include/wiretap |
235 |
doins wiretap/wtap.h |
236 |
|
237 |
dodoc AUTHORS ChangeLog NEWS README* |
238 |
|
239 |
if use gtk ; then |
240 |
insinto /usr/share/icons/hicolor/16x16/apps |
241 |
newins image/hi16-app-wireshark.png wireshark.png |
242 |
insinto /usr/share/icons/hicolor/32x32/apps |
243 |
newins image/hi32-app-wireshark.png wireshark.png |
244 |
insinto /usr/share/icons/hicolor/48x48/apps |
245 |
newins image/hi48-app-wireshark.png wireshark.png |
246 |
insinto /usr/share/applications |
247 |
doins wireshark.desktop |
248 |
fi |
249 |
} |
250 |
|
251 |
pkg_postinst() { |
252 |
echo |
253 |
ewarn "With version 0.99.7, all function calls that require elevated privileges" |
254 |
ewarn "have been moved out of the GUI to dumpcap. WIRESHARK CONTAINS OVER ONE" |
255 |
ewarn "POINT FIVE MILLION LINES OF SOURCE CODE. DO NOT RUN THEM AS ROOT." |
256 |
ewarn |
257 |
ewarn "NOTE: To run wireshark as normal user you have to add yourself into" |
258 |
ewarn "wireshark group. This security measure ensures that only trusted" |
259 |
ewarn "users allowed to sniff your traffic." |
260 |
echo |
261 |
} |
262 |
|
263 |
|
264 |
|
265 |
-- |
266 |
gentoo-commits@l.g.o mailing list |