Gentoo Archives: gentoo-commits

From: Jeroen Roovers <jer@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/wireshark/
Date: Wed, 07 Feb 2018 21:14:09
Message-Id: 1518038043.cba7859ac9db337e8ae1856ea76b76b12b95497b.jer@gentoo
1 commit: cba7859ac9db337e8ae1856ea76b76b12b95497b
2 Author: Jeroen Roovers <jer <AT> gentoo <DOT> org>
3 AuthorDate: Wed Feb 7 21:12:47 2018 +0000
4 Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org>
5 CommitDate: Wed Feb 7 21:14:03 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cba7859a
7
8 net-analyzer/wireshark: Version 2.5.0.
9
10 Package-Manager: Portage-2.3.24, Repoman-2.3.6
11
12 net-analyzer/wireshark/Manifest | 1 +
13 net-analyzer/wireshark/metadata.xml | 114 ++++++++++-----------
14 ...hark-99999999.ebuild => wireshark-2.5.0.ebuild} | 53 ++++------
15 net-analyzer/wireshark/wireshark-99999999.ebuild | 43 ++++----
16 4 files changed, 99 insertions(+), 112 deletions(-)
17
18 diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest
19 index c1eff3b0239..0f73f429f21 100644
20 --- a/net-analyzer/wireshark/Manifest
21 +++ b/net-analyzer/wireshark/Manifest
22 @@ -1,3 +1,4 @@
23 DIST wireshark-2.2.7.tar.bz2 32309420 BLAKE2B a4ec32fab15235c5bde9f03ceafc5760055a769dd40d96526a18ad16d5642e957f620fc58f42c3323745bd679d6ef7b006283e7b9ddc52ddadc2680789d957ea SHA512 417836810eb895b3f2a6ac1cfd138fb0275382ea2edc60fc5f5e5f8ce433b56b8120aa8b58b4f77296986630fdf49e4c5c3859b2c2c5e26b1ce0651393b7d716
24 DIST wireshark-2.4.3.tar.xz 28807920 BLAKE2B 831691d084fc9ed6198b23c0347efa487398df37ca0cf5972db64b0724fad04b3104a5faed104b5d4b560254b19a2e41118c8d7b71cce785f38ede077215e80f SHA512 4344b9efeda3afba4b13bb468f7a12c4565da96c6182a8203cc5815baa11e7d84f3f11003b4289c6c11391cfb590b8c0319268196cc646a8f0226c432e9bb433
25 DIST wireshark-2.4.4.tar.xz 28818372 BLAKE2B 1a28cabdc8dfbed16244c6906ef360c2d3edee3cd75a5134ea7b21b138c3be08de9327a1415cb308f7a01c382e0aa5cf14e4466b4c3762c29a7f7cbc4683890e SHA512 b6625f860a10e10babd686820680a5e169594f171e7e176fc96325255ec096481da2e8a0fdff10b42cead82011740714a4331003dda0d48bf3b419da37834bdc
26 +DIST wireshark-2.5.0.tar.xz 28197388 BLAKE2B 5d50d3752078a71d1d83f48a85ee564d14950efab39d5679430a61a266f9b93749278cd19d155036326753fbab86f83c5edb764adec5d68325730dbba19a920f SHA512 963c03dd363850cd0ad8a32a3e8c85410f2b23fadc081f00e4e3a2ad3a324a5f35626fbb7e490ec01c61260500363fef93c52bf7796b917e9490fff4044ee67f
27
28 diff --git a/net-analyzer/wireshark/metadata.xml b/net-analyzer/wireshark/metadata.xml
29 index 1dcbdb4e477..9801f150cc4 100644
30 --- a/net-analyzer/wireshark/metadata.xml
31 +++ b/net-analyzer/wireshark/metadata.xml
32 @@ -1,62 +1,62 @@
33 <?xml version="1.0" encoding="UTF-8"?>
34 <!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
35 <pkgmetadata>
36 - <maintainer type="project">
37 - <email>netmon@g.o</email>
38 - <name>Gentoo network monitoring and analysis project</name>
39 - </maintainer>
40 - <longdescription>
41 - Wireshark is the world's foremost network protocol analyzer, and is the de
42 - facto (and often de jure) standard across many industries and educational
43 - institutions. Wireshark has a rich feature set which includes 1) deep
44 - inspection of hundreds of protocols, with more being added all the time, 2)
45 - live capture and offline analysis, 3) standard three-pane packet browser, 4)
46 - captured network data can be browsed via a GUI, or via the TTY-mode TShark
47 - utility, 5) the most powerful display filters in the industry, 6) rich VoIP
48 - analysis, 7) read/write many different capture file formats: tcpdump
49 - (libpcap), Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network
50 - Monitor, Network General Sniffer® (compressed and uncompressed), Sniffer®
51 - Pro, and NetXray®, Network Instruments Observer, Novell LANalyzer, RADCOM
52 - WAN/LAN Analyzer, Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks
53 - Visual UpTime, WildPackets EtherPeek/TokenPeek/AiroPeek, and many others, 8)
54 - capture files compressed with gzip can be decompressed on the fly, 9) live
55 - data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB,
56 - Token Ring, Frame Relay, FDDI, and others, 10) decryption support for many
57 - protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and
58 - WPA/WPA2, 11) coloring rules can be applied to the packet list for quick,
59 - intuitive analysis, 12) output can be exported to XML, PostScript®, CSV, or
60 - plain text
61 +<maintainer type="project">
62 +<email>netmon@g.o</email>
63 +<name>Gentoo network monitoring and analysis project</name>
64 +</maintainer>
65 +<longdescription>
66 +Wireshark is the world's foremost network protocol analyzer, and is the de
67 +facto (and often de jure) standard across many industries and educational
68 +institutions. Wireshark has a rich feature set which includes 1) deep
69 +inspection of hundreds of protocols, with more being added all the time, 2)
70 +live capture and offline analysis, 3) standard three-pane packet browser, 4)
71 +captured network data can be browsed via a GUI, or via the TTY-mode TShark
72 +utility, 5) the most powerful display filters in the industry, 6) rich VoIP
73 +analysis, 7) read/write many different capture file formats: tcpdump (libpcap),
74 +Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network Monitor, Network
75 +General Sniffer® (compressed and uncompressed), Sniffer® Pro, and NetXray®,
76 +Network Instruments Observer, Novell LANalyzer, RADCOM WAN/LAN Analyzer,
77 +Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks Visual UpTime,
78 +WildPackets EtherPeek/TokenPeek/AiroPeek, and many others, 8) capture files
79 +compressed with gzip can be decompressed on the fly, 9) live data can be read
80 +from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame
81 +Relay, FDDI, and others, 10) decryption support for many protocols, including
82 +IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and WPA/WPA2, 11) coloring rules
83 +can be applied to the packet list for quick, intuitive analysis, 12) output can
84 +be exported to XML, PostScript®, CSV, or plain text.
85 </longdescription>
86 - <use>
87 - <flag name="adns">Use the GNU <pkg>net-dns/c-ares</pkg> library to resolve DNS names</flag>
88 - <flag name="androiddump">Install androiddump, an extcap interface to capture from Android devices</flag>
89 - <flag name="capinfos">Install capinfos, to print information about capture files</flag>
90 - <flag name="captype">Install captype, to print the file types of capture files</flag>
91 - <flag name="ciscodump">Install ciscodump, extcap interface to capture from a remote Cisco router</flag>
92 - <flag name="crypt">Use <pkg>dev-libs/libgcrypt</pkg> to decrypt traffic</flag>
93 - <flag name="dftest">Install dftest, to display filter byte-code, for debugging dfilter routines</flag>
94 - <flag name="doc-pdf">Build documentation in pdf format (US and a4 paper sizes)</flag>
95 - <flag name="dumpcap">Install dumpcap, to dump network traffic from inside wireshark</flag>
96 - <flag name="editcap">Install editcap, to edit and/or translate the format of capture files</flag>
97 - <flag name="libssh">Use <pkg>net-libs/libssh</pkg> (for sshdump)</flag>
98 - <flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> for handling XML configuration in dissectors</flag>
99 - <flag name="lz4">Use <pkg>app-arch/lz4</pkg> for compression/decompression</flag>
100 - <flag name="mergecap">Install mergecap, to merge two or more capture files into one</flag>
101 - <flag name="netlink">Use <pkg>dev-libs/libnl</pkg></flag>
102 - <flag name="nghttp2">Use <pkg>net-libs/nghttp2</pkg> for HTTP/2 support</flag>
103 - <flag name="pcap">Use <pkg>net-libs/libpcap</pkg> for network packet capturing (build dumpcap, rawshark)</flag>
104 - <flag name="randpkt">Install randpkt, a utility for creating pcap trace files full of random packets</flag>
105 - <flag name="randpktdump">Install randpktdump, an extcap interface to provide access to the random packet generator (randpkt)</flag>
106 - <flag name="reordercap">Install reordercap, to reorder input file by timestamp into output file</flag>
107 - <flag name="sbc">Use <pkg>media-libs/sbc</pkg> for playing back SBC encoded packets</flag>
108 - <flag name="sharkd">Install sharkd, the daemon variant of wireshark</flag>
109 - <flag name="smi">Use <pkg>net-libs/libsmi</pkg> to resolve numeric OIDs into human readable format</flag>
110 - <flag name="snappy">Use <pkg>app-arch/snappy</pkg> for snappy compression and decompression</flag>
111 - <flag name="spandsp">Use <pkg>media-libs/spandsp</pkg> for for G.722 and G.726 codec support in the RTP Player</flag>
112 - <flag name="sshdump">Install sshdump, an extcap interface to capture from a remote host through SSH</flag>
113 - <flag name="text2pcap">Install text2pcap, to generate a capture file from an ASCII hexdump of packets</flag>
114 - <flag name="tfshark">Install tfshark, a terminal-based version of the FileShark capability</flag>
115 - <flag name="tshark">Install tshark, to dump and analyzer network traffic from the command line</flag>
116 - <flag name="udpdump">Install udpdump, to get packets exported from a source (like a network device or a GSMTAP producer) that are dumped to a pcap file</flag>
117 - </use>
118 +<use>
119 +<flag name="adns">Use <pkg>net-dns/c-ares</pkg> to resolve DNS names</flag>
120 +<flag name="androiddump">Install androiddump, an extcap interface to capture from Android devices</flag>
121 +<flag name="bcg729">Use <pkg>media-plugins/mediastreamer-bcg729</pkg> to play G.729 codec</flag>
122 +<flag name="capinfos">Install capinfos, to print information about capture files</flag>
123 +<flag name="captype">Install captype, to print the file types of capture files</flag>
124 +<flag name="ciscodump">Install ciscodump, extcap interface to capture from a remote Cisco router</flag>
125 +<flag name="crypt">Use <pkg>dev-libs/libgcrypt</pkg> to decrypt traffic</flag>
126 +<flag name="dftest">Install dftest, to display filter byte-code, for debugging dfilter routines</flag>
127 +<flag name="doc-pdf">Build documentation in pdf format (US and a4 paper sizes)</flag>
128 +<flag name="dumpcap">Install dumpcap, to dump network traffic from inside wireshark</flag>
129 +<flag name="editcap">Install editcap, to edit and/or translate the format of capture files</flag>
130 +<flag name="libssh">Use <pkg>net-libs/libssh</pkg> (for sshdump)</flag>
131 +<flag name="libxml2">Use <pkg>dev-libs/libxml2</pkg> for handling XML configuration in dissectors</flag>
132 +<flag name="lz4">Use <pkg>app-arch/lz4</pkg> for compression/decompression</flag>
133 +<flag name="mergecap">Install mergecap, to merge two or more capture files into one</flag>
134 +<flag name="netlink">Use <pkg>dev-libs/libnl</pkg></flag>
135 +<flag name="nghttp2">Use <pkg>net-libs/nghttp2</pkg> for HTTP/2 support</flag>
136 +<flag name="pcap">Use <pkg>net-libs/libpcap</pkg> for network packet capturing (build dumpcap, rawshark)</flag>
137 +<flag name="randpkt">Install randpkt, a utility for creating pcap trace files full of random packets</flag>
138 +<flag name="randpktdump">Install randpktdump, an extcap interface to provide access to the random packet generator (randpkt)</flag>
139 +<flag name="reordercap">Install reordercap, to reorder input file by timestamp into output file</flag>
140 +<flag name="sbc">Use <pkg>media-libs/sbc</pkg> for playing back SBC encoded packets</flag>
141 +<flag name="sharkd">Install sharkd, the daemon variant of wireshark</flag>
142 +<flag name="smi">Use <pkg>net-libs/libsmi</pkg> to resolve numeric OIDs into human readable format</flag>
143 +<flag name="snappy">Use <pkg>app-arch/snappy</pkg> for snappy compression and decompression</flag>
144 +<flag name="spandsp">Use <pkg>media-libs/spandsp</pkg> for for G.722 and G.726 codec support in the RTP Player</flag>
145 +<flag name="sshdump">Install sshdump, an extcap interface to capture from a remote host through SSH</flag>
146 +<flag name="text2pcap">Install text2pcap, to generate a capture file from an ASCII hexdump of packets</flag>
147 +<flag name="tfshark">Install tfshark, a terminal-based version of the FileShark capability</flag>
148 +<flag name="tshark">Install tshark, to dump and analyzer network traffic from the command line</flag>
149 +<flag name="udpdump">Install udpdump, to get packets exported from a source (like a network device or a GSMTAP producer) that are dumped to a pcap file</flag>
150 +</use>
151 </pkgmetadata>
152
153 diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-2.5.0.ebuild
154 similarity index 82%
155 copy from net-analyzer/wireshark/wireshark-99999999.ebuild
156 copy to net-analyzer/wireshark/wireshark-2.5.0.ebuild
157 index 9d9fca8d8a0..b3cf7e25694 100644
158 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild
159 +++ b/net-analyzer/wireshark/wireshark-2.5.0.ebuild
160 @@ -1,22 +1,22 @@
161 -# Copyright 1999-2017 Gentoo Foundation
162 +# Copyright 1999-2018 Gentoo Foundation
163 # Distributed under the terms of the GNU General Public License v2
164
165 EAPI=6
166 -inherit autotools eutils fcaps flag-o-matic git-r3 gnome2-utils multilib qmake-utils user xdg-utils
167 +inherit autotools eutils fcaps flag-o-matic gnome2-utils multilib qmake-utils user xdg-utils
168
169 DESCRIPTION="A network protocol analyzer formerly known as ethereal"
170 HOMEPAGE="https://www.wireshark.org/"
171 -EGIT_REPO_URI="https://code.wireshark.org/review/wireshark"
172 +SRC_URI="${HOMEPAGE}download/src/all-versions/${P/_/}.tar.xz"
173
174 LICENSE="GPL-2"
175 SLOT="0/${PV}"
176 -KEYWORDS=""
177 +KEYWORDS="~amd64 ~hppa ~x86"
178 IUSE="
179 - adns androiddump +capinfos +caps +captype ciscodump cpu_flags_x86_sse4_2
180 - +dftest doc doc-pdf +dumpcap +editcap geoip gtk kerberos libssh libxml2 lua
181 - lz4 +mergecap +netlink nghttp2 +pcap portaudio +qt5 +randpkt +randpktdump
182 - +reordercap sbc selinux +sharkd smi snappy spandsp sshdump ssl +text2pcap
183 - tfshark +tshark +udpdump zlib
184 + adns androiddump bcg729 +capinfos +caps +captype ciscodump
185 + cpu_flags_x86_sse4_2 +dftest doc doc-pdf +dumpcap +editcap geoip gtk
186 + kerberos libssh libxml2 lua lz4 +mergecap +netlink nghttp2 +pcap portaudio
187 + +qt5 +randpkt +randpktdump +reordercap sbc selinux +sharkd smi snappy
188 + spandsp sshdump ssl +text2pcap tfshark +tshark +udpdump zlib
189 "
190 REQUIRED_USE="
191 ciscodump? ( libssh )
192 @@ -30,6 +30,7 @@ CDEPEND="
193 dev-libs/libgcrypt:0
194 netlink? ( dev-libs/libnl:3 )
195 adns? ( >=net-dns/c-ares-1.5 )
196 + bcg729? ( media-libs/bcg729 )
197 caps? ( sys-libs/libcap )
198 geoip? ( dev-libs/geoip )
199 gtk? (
200 @@ -104,10 +105,6 @@ pkg_setup() {
201 enewgroup wireshark
202 }
203
204 -src_unpack() {
205 - git-r3_src_unpack
206 -}
207 -
208 src_prepare() {
209 default
210
211 @@ -171,6 +168,7 @@ src_configure() {
212 $(use_enable tshark) \
213 $(use_enable udpdump) \
214 $(use_with adns c-ares) \
215 + $(use_with bcg729) \
216 $(use_with caps libcap) \
217 $(use_with geoip) \
218 $(use_with gtk gtk 3) \
219 @@ -216,16 +214,11 @@ src_install() {
220 default
221
222 # FAQ is not required as is installed from help/faq.txt
223 - dodoc AUTHORS ChangeLog NEWS README.* \
224 - doc/{randpkt.txt,README*}
225 + dodoc AUTHORS ChangeLog NEWS README* doc/randpkt.txt doc/README*
226
227 - if use doc; then
228 - docinto /usr/share/doc/${PF}/html
229 - dodoc -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
230 - if use doc-pdf; then
231 - docinto /usr/share/doc/${PF}/pdf/
232 - dodoc docbook/{developer,user}-guide-{a4,us}.pdf docbook/release-notes.pdf
233 - fi
234 + if use doc-pdf; then
235 + docinto /usr/share/doc/${PF}/pdf/
236 + dodoc docbook/{developer,user}-guide.pdf
237 fi
238
239 # install headers
240 @@ -252,16 +245,14 @@ src_install() {
241 doins wiretap/wtap.h
242
243 if use gtk || use qt5; then
244 - local c d
245 - for c in hi lo; do
246 - for d in 16 32 48; do
247 - insinto /usr/share/icons/${c}color/${d}x${d}/apps
248 - newins image/${c}${d}-app-wireshark.png wireshark.png
249 - done
250 + local s
251 + for s in 16 32 48 64 128 256 512 1024; do
252 + insinto /usr/share/icons/hicolor/${s}x${s}/apps
253 + newins image/wsicon${s}.png wireshark.png
254 done
255 - for d in 16 24 32 48 64 128 256 ; do
256 - insinto /usr/share/icons/hicolor/${d}x${d}/mimetypes
257 - newins image/WiresharkDoc-${d}.png application-vnd.tcpdump.pcap.png
258 + for s in 16 24 32 48 64 128 256 ; do
259 + insinto /usr/share/icons/hicolor/${s}x${s}/mimetypes
260 + newins image/WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png
261 done
262 fi
263
264
265 diff --git a/net-analyzer/wireshark/wireshark-99999999.ebuild b/net-analyzer/wireshark/wireshark-99999999.ebuild
266 index 9d9fca8d8a0..bb1724389ab 100644
267 --- a/net-analyzer/wireshark/wireshark-99999999.ebuild
268 +++ b/net-analyzer/wireshark/wireshark-99999999.ebuild
269 @@ -1,4 +1,4 @@
270 -# Copyright 1999-2017 Gentoo Foundation
271 +# Copyright 1999-2018 Gentoo Foundation
272 # Distributed under the terms of the GNU General Public License v2
273
274 EAPI=6
275 @@ -12,11 +12,11 @@ LICENSE="GPL-2"
276 SLOT="0/${PV}"
277 KEYWORDS=""
278 IUSE="
279 - adns androiddump +capinfos +caps +captype ciscodump cpu_flags_x86_sse4_2
280 - +dftest doc doc-pdf +dumpcap +editcap geoip gtk kerberos libssh libxml2 lua
281 - lz4 +mergecap +netlink nghttp2 +pcap portaudio +qt5 +randpkt +randpktdump
282 - +reordercap sbc selinux +sharkd smi snappy spandsp sshdump ssl +text2pcap
283 - tfshark +tshark +udpdump zlib
284 + adns androiddump bcg729 +capinfos +caps +captype ciscodump
285 + cpu_flags_x86_sse4_2 +dftest doc doc-pdf +dumpcap +editcap geoip gtk
286 + kerberos libssh libxml2 lua lz4 +mergecap +netlink nghttp2 +pcap portaudio
287 + +qt5 +randpkt +randpktdump +reordercap sbc selinux +sharkd smi snappy
288 + spandsp sshdump ssl +text2pcap tfshark +tshark +udpdump zlib
289 "
290 REQUIRED_USE="
291 ciscodump? ( libssh )
292 @@ -30,6 +30,7 @@ CDEPEND="
293 dev-libs/libgcrypt:0
294 netlink? ( dev-libs/libnl:3 )
295 adns? ( >=net-dns/c-ares-1.5 )
296 + bcg729? ( media-libs/bcg729 )
297 caps? ( sys-libs/libcap )
298 geoip? ( dev-libs/geoip )
299 gtk? (
300 @@ -171,6 +172,7 @@ src_configure() {
301 $(use_enable tshark) \
302 $(use_enable udpdump) \
303 $(use_with adns c-ares) \
304 + $(use_with bcg729) \
305 $(use_with caps libcap) \
306 $(use_with geoip) \
307 $(use_with gtk gtk 3) \
308 @@ -216,16 +218,11 @@ src_install() {
309 default
310
311 # FAQ is not required as is installed from help/faq.txt
312 - dodoc AUTHORS ChangeLog NEWS README.* \
313 - doc/{randpkt.txt,README*}
314 + dodoc AUTHORS ChangeLog NEWS README* doc/randpkt.txt doc/README*
315
316 - if use doc; then
317 - docinto /usr/share/doc/${PF}/html
318 - dodoc -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}}
319 - if use doc-pdf; then
320 - docinto /usr/share/doc/${PF}/pdf/
321 - dodoc docbook/{developer,user}-guide-{a4,us}.pdf docbook/release-notes.pdf
322 - fi
323 + if use doc-pdf; then
324 + docinto /usr/share/doc/${PF}/pdf/
325 + dodoc docbook/{developer,user}-guide.pdf
326 fi
327
328 # install headers
329 @@ -252,16 +249,14 @@ src_install() {
330 doins wiretap/wtap.h
331
332 if use gtk || use qt5; then
333 - local c d
334 - for c in hi lo; do
335 - for d in 16 32 48; do
336 - insinto /usr/share/icons/${c}color/${d}x${d}/apps
337 - newins image/${c}${d}-app-wireshark.png wireshark.png
338 - done
339 + local s
340 + for s in 16 32 48 64 128 256 512 1024; do
341 + insinto /usr/share/icons/hicolor/${s}x${s}/apps
342 + newins image/wsicon${s}.png wireshark.png
343 done
344 - for d in 16 24 32 48 64 128 256 ; do
345 - insinto /usr/share/icons/hicolor/${d}x${d}/mimetypes
346 - newins image/WiresharkDoc-${d}.png application-vnd.tcpdump.pcap.png
347 + for s in 16 24 32 48 64 128 256 ; do
348 + insinto /usr/share/icons/hicolor/${s}x${s}/mimetypes
349 + newins image/WiresharkDoc-${s}.png application-vnd.tcpdump.pcap.png
350 done
351 fi