1 |
commit: 2c1277732d778f8c68e3a9290e522aa20d227f37 |
2 |
Author: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Jun 22 10:13:27 2017 +0000 |
4 |
Commit: Jeroen Roovers <jer <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Jun 22 10:13:27 2017 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c127773 |
7 |
|
8 |
net-analyzer/wireshark: Old. |
9 |
|
10 |
Package-Manager: Portage-2.3.6, Repoman-2.3.2 |
11 |
|
12 |
net-analyzer/wireshark/Manifest | 1 - |
13 |
net-analyzer/wireshark/wireshark-2.2.5.ebuild | 2 +- |
14 |
net-analyzer/wireshark/wireshark-2.2.6.ebuild | 259 -------------------------- |
15 |
3 files changed, 1 insertion(+), 261 deletions(-) |
16 |
|
17 |
diff --git a/net-analyzer/wireshark/Manifest b/net-analyzer/wireshark/Manifest |
18 |
index 657a747face..10ee44a2506 100644 |
19 |
--- a/net-analyzer/wireshark/Manifest |
20 |
+++ b/net-analyzer/wireshark/Manifest |
21 |
@@ -1,4 +1,3 @@ |
22 |
DIST wireshark-2.2.5.tar.bz2 32297102 SHA256 75dd88d3d6336559e5b0b72077d8a772a988197d571f00029986225fef609ac8 SHA512 c419950683eb399f851e10cc268d541cbd6e75a957f412650fa9564760908864fcd0d5d6c3520e656d93c31cd5f1216a514be154dfa950fcfd2804e66155985e WHIRLPOOL 2c65d7806673adb550dcdd8fa032a4dce8e1087e5c57b132c9ac53d6d93d6fb0da3219573bc2ecb12df7865a9a32a1a28378e03b3e3439853200186d42f18e7d |
23 |
-DIST wireshark-2.2.6.tar.bz2 32317335 SHA256 f627d51eda85f5ae5f5c8c9fc1f6539ffc2a270dd7500dc7f67490a8534ca849 SHA512 d373254801b2d9ae248ff45be09ac36e1916b832430b8f57271421cbd2113c1ffa914ef23c7a1e704d8d5f666f0d4de5bcd9ef9d3801686a35511a5f2a230f3f WHIRLPOOL 859588103ea21fa4e8511a873af81d50e053c5a8b3a92bca2fca317e2ab3e8c4e0e37d89102b887d88a0ef7c6fc90ca45667a43466ac0d71f4ffeec4b9bbf0e0 |
24 |
DIST wireshark-2.2.7.tar.bz2 32309420 SHA256 689ddf62221b152779d8846ab5b2063cc7fd41ec1a9f04eefab09b5d5486dbb5 SHA512 417836810eb895b3f2a6ac1cfd138fb0275382ea2edc60fc5f5e5f8ce433b56b8120aa8b58b4f77296986630fdf49e4c5c3859b2c2c5e26b1ce0651393b7d716 WHIRLPOOL 0361821da9c113a8de1339cc48cae0291be84bcffb1ba34b1fc3f457b22525329e954a2060f7eef25bca550d0ccdaf4a9e9587d35394b0abd9b0d38bc6023e44 |
25 |
DIST wireshark-2.4.0rc1.tar.xz 29097628 SHA256 902aa0f7dc9e14af98dbfa1669fe6ee049caeb763571ace426949d52df1dbfde SHA512 0222e7bd6237a0d1d0c2b21c66aed3995787f5cbc623db40df11ab5e6640fdfebcdd78e1960ee2ebc14cb26b700beefa4e1164504f5aa5424cbd6d62202bc888 WHIRLPOOL 988d4643c3f413541106d686aefb4622c780b026d5b97d7dc2872540ff4ce7947ba988e4b03b92d3d26c2dc1bbf681122930be4af01888ee8534d70dbe9842c6 |
26 |
|
27 |
diff --git a/net-analyzer/wireshark/wireshark-2.2.5.ebuild b/net-analyzer/wireshark/wireshark-2.2.5.ebuild |
28 |
index e0aadc7230b..324e1ffb5d9 100644 |
29 |
--- a/net-analyzer/wireshark/wireshark-2.2.5.ebuild |
30 |
+++ b/net-analyzer/wireshark/wireshark-2.2.5.ebuild |
31 |
@@ -10,7 +10,7 @@ SRC_URI="${HOMEPAGE}download/src/all-versions/${P/_/}.tar.bz2" |
32 |
|
33 |
LICENSE="GPL-2" |
34 |
SLOT="0/${PV}" |
35 |
-KEYWORDS="alpha amd64 arm hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd" |
36 |
+KEYWORDS="ia64" |
37 |
IUSE=" |
38 |
adns androiddump +caps ciscodump cpu_flags_x86_sse4_2 crypt doc doc-pdf |
39 |
geoip +gtk kerberos lua +netlink +pcap portaudio +qt5 sbc selinux smi |
40 |
|
41 |
diff --git a/net-analyzer/wireshark/wireshark-2.2.6.ebuild b/net-analyzer/wireshark/wireshark-2.2.6.ebuild |
42 |
deleted file mode 100644 |
43 |
index dec0e3d42b7..00000000000 |
44 |
--- a/net-analyzer/wireshark/wireshark-2.2.6.ebuild |
45 |
+++ /dev/null |
46 |
@@ -1,259 +0,0 @@ |
47 |
-# Copyright 1999-2017 Gentoo Foundation |
48 |
-# Distributed under the terms of the GNU General Public License v2 |
49 |
- |
50 |
-EAPI=6 |
51 |
-inherit autotools eutils fcaps flag-o-matic multilib qmake-utils user |
52 |
- |
53 |
-DESCRIPTION="A network protocol analyzer formerly known as ethereal" |
54 |
-HOMEPAGE="https://www.wireshark.org/" |
55 |
-SRC_URI="${HOMEPAGE}download/src/all-versions/${P/_/}.tar.bz2" |
56 |
- |
57 |
-LICENSE="GPL-2" |
58 |
-SLOT="0/${PV}" |
59 |
-KEYWORDS="alpha amd64 arm hppa ~ia64 ppc ppc64 ~sparc x86 ~x86-fbsd" |
60 |
-IUSE=" |
61 |
- adns androiddump +caps ciscodump cpu_flags_x86_sse4_2 crypt doc doc-pdf |
62 |
- geoip +gtk kerberos lua +netlink +pcap portaudio +qt5 sbc selinux smi |
63 |
- libssh randpkt randpktdump sshdump ssl tfshark zlib |
64 |
-" |
65 |
-REQUIRED_USE=" |
66 |
- ciscodump? ( libssh ) |
67 |
- sshdump? ( libssh ) |
68 |
- ssl? ( crypt ) |
69 |
-" |
70 |
- |
71 |
-S=${WORKDIR}/${P/_/} |
72 |
- |
73 |
-CDEPEND=" |
74 |
- >=dev-libs/glib-2.14:2 |
75 |
- netlink? ( dev-libs/libnl:3 ) |
76 |
- adns? ( >=net-dns/c-ares-1.5 ) |
77 |
- crypt? ( dev-libs/libgcrypt:0 ) |
78 |
- caps? ( sys-libs/libcap ) |
79 |
- geoip? ( dev-libs/geoip ) |
80 |
- gtk? ( |
81 |
- x11-libs/gdk-pixbuf |
82 |
- x11-libs/gtk+:3 |
83 |
- x11-libs/pango |
84 |
- x11-misc/xdg-utils |
85 |
- ) |
86 |
- kerberos? ( virtual/krb5 ) |
87 |
- libssh? ( >=net-libs/libssh-0.6 ) |
88 |
- lua? ( >=dev-lang/lua-5.1:* ) |
89 |
- pcap? ( net-libs/libpcap ) |
90 |
- portaudio? ( media-libs/portaudio ) |
91 |
- qt5? ( |
92 |
- dev-qt/qtcore:5 |
93 |
- dev-qt/qtgui:5 |
94 |
- dev-qt/qtmultimedia:5 |
95 |
- dev-qt/qtprintsupport:5 |
96 |
- dev-qt/qtwidgets:5 |
97 |
- media-libs/speex |
98 |
- x11-misc/xdg-utils |
99 |
- ) |
100 |
- sbc? ( media-libs/sbc ) |
101 |
- smi? ( net-libs/libsmi ) |
102 |
- ssl? ( net-libs/gnutls:= ) |
103 |
- zlib? ( sys-libs/zlib !=sys-libs/zlib-1.2.4 ) |
104 |
-" |
105 |
-# We need perl for `pod2html`. The rest of the perl stuff is to block older |
106 |
-# and broken installs. #455122 |
107 |
-DEPEND=" |
108 |
- ${CDEPEND} |
109 |
- dev-lang/perl |
110 |
- !<virtual/perl-Pod-Simple-3.170 |
111 |
- !<perl-core/Pod-Simple-3.170 |
112 |
- doc? ( |
113 |
- app-doc/doxygen |
114 |
- app-text/asciidoc |
115 |
- dev-libs/libxml2 |
116 |
- dev-libs/libxslt |
117 |
- doc-pdf? ( dev-java/fop ) |
118 |
- www-client/lynx |
119 |
- ) |
120 |
- qt5? ( |
121 |
- dev-qt/linguist-tools:5 |
122 |
- ) |
123 |
- sys-devel/bison |
124 |
- sys-devel/flex |
125 |
- virtual/pkgconfig |
126 |
-" |
127 |
-RDEPEND=" |
128 |
- ${CDEPEND} |
129 |
- gtk? ( virtual/freedesktop-icon-theme ) |
130 |
- qt5? ( virtual/freedesktop-icon-theme ) |
131 |
- selinux? ( sec-policy/selinux-wireshark ) |
132 |
-" |
133 |
-PATCHES=( |
134 |
- "${FILESDIR}"/${PN}-1.99.8-qtchooser.patch |
135 |
- "${FILESDIR}"/${PN}-2.1.0-sse4_2-r1.patch |
136 |
- "${FILESDIR}"/${PN}-99999999-androiddump.patch |
137 |
-) |
138 |
- |
139 |
-pkg_setup() { |
140 |
- enewgroup wireshark |
141 |
-} |
142 |
- |
143 |
-src_prepare() { |
144 |
- default |
145 |
- |
146 |
- eautoreconf |
147 |
-} |
148 |
- |
149 |
-src_configure() { |
150 |
- local myconf |
151 |
- |
152 |
- # Workaround bug #213705. If krb5-config --libs has -lcrypto then pass |
153 |
- # --with-ssl to ./configure. (Mimics code from acinclude.m4). |
154 |
- if use kerberos; then |
155 |
- case $(krb5-config --libs) in |
156 |
- *-lcrypto*) |
157 |
- ewarn "Kerberos was built with ssl support: linkage with openssl is enabled." |
158 |
- ewarn "Note there are annoying license incompatibilities between the OpenSSL" |
159 |
- ewarn "license and the GPL, so do your check before distributing such package." |
160 |
- myconf+=( "--with-ssl" ) |
161 |
- ;; |
162 |
- esac |
163 |
- fi |
164 |
- |
165 |
- # Enable wireshark binary with any supported GUI toolkit (bug #473188) |
166 |
- if use gtk || use qt5; then |
167 |
- myconf+=( "--enable-wireshark" ) |
168 |
- else |
169 |
- myconf+=( "--disable-wireshark" ) |
170 |
- fi |
171 |
- |
172 |
- if ! use qt5; then |
173 |
- myconf+=( "--with-qt=no" ) |
174 |
- fi |
175 |
- |
176 |
- if use qt5; then |
177 |
- export QT_MIN_VERSION=5.3.0 |
178 |
- append-cxxflags -fPIC -DPIC |
179 |
- fi |
180 |
- |
181 |
- # Hack around inability to disable doxygen/fop doc generation |
182 |
- use doc || export ac_cv_prog_HAVE_DOXYGEN=false |
183 |
- use doc-pdf || export ac_cv_prog_HAVE_FOP=false |
184 |
- |
185 |
- # dumpcap requires libcap |
186 |
- # --disable-profile-build bugs #215806, #292991, #479602 |
187 |
- econf \ |
188 |
- $(use androiddump && use pcap && echo --enable-androiddump-use-libpcap=yes) \ |
189 |
- $(use_enable androiddump) \ |
190 |
- $(use_enable ciscodump) \ |
191 |
- $(use_enable randpkt) \ |
192 |
- $(use_enable randpktdump) \ |
193 |
- $(use_enable sshdump) \ |
194 |
- $(use_enable tfshark) \ |
195 |
- $(use_with adns c-ares) \ |
196 |
- $(use_with caps libcap) \ |
197 |
- $(use_with crypt gcrypt) \ |
198 |
- $(use_with geoip) \ |
199 |
- $(use_with gtk gtk 3) \ |
200 |
- $(use_with kerberos krb5) \ |
201 |
- $(use_with libssh ssh) \ |
202 |
- $(use_with lua) \ |
203 |
- $(use_with pcap dumpcap-group wireshark) \ |
204 |
- $(use_with pcap) \ |
205 |
- $(use_with portaudio) \ |
206 |
- $(use_with sbc) \ |
207 |
- $(use_with smi libsmi) \ |
208 |
- $(use_with ssl gnutls) \ |
209 |
- $(use_with zlib) \ |
210 |
- $(usex cpu_flags_x86_sse4_2 --enable-sse4_2 '') \ |
211 |
- $(usex netlink --with-libnl=3 --without-libnl) \ |
212 |
- $(usex qt5 --with-qt=5 '') \ |
213 |
- $(usex qt5 LRELEASE=$(qt5_get_bindir)/lrelease '') \ |
214 |
- $(usex qt5 MOC=$(qt5_get_bindir)/moc '') \ |
215 |
- $(usex qt5 RCC=$(qt5_get_bindir)/rcc '') \ |
216 |
- $(usex qt5 UIC=$(qt5_get_bindir)/uic '') \ |
217 |
- --disable-profile-build \ |
218 |
- --disable-warnings-as-errors \ |
219 |
- --sysconfdir="${EPREFIX}"/etc/wireshark \ |
220 |
- ${myconf[@]} |
221 |
-} |
222 |
- |
223 |
-src_compile() { |
224 |
- default |
225 |
- |
226 |
- if use doc; then |
227 |
- emake -j1 -C docbook |
228 |
- if use doc-pdf; then |
229 |
- addpredict "/root/.java" |
230 |
- emake -C docbook all-pdf |
231 |
- fi |
232 |
- fi |
233 |
-} |
234 |
- |
235 |
-src_install() { |
236 |
- default |
237 |
- |
238 |
- # FAQ is not required as is installed from help/faq.txt |
239 |
- dodoc AUTHORS ChangeLog NEWS README{,.bsd,.linux,.macos,.vmware} \ |
240 |
- doc/{randpkt.txt,README*} |
241 |
- |
242 |
- if use doc; then |
243 |
- docinto /usr/share/doc/${PF}/html |
244 |
- dodoc -r docbook/{release-notes.html,ws{d,u}g_html{,_chunked}} |
245 |
- if use doc-pdf; then |
246 |
- docinto /usr/share/doc/${PF}/pdf/ |
247 |
- dodoc docbook/{developer,user}-guide-{a4,us}.pdf docbook/release-notes.pdf |
248 |
- fi |
249 |
- fi |
250 |
- |
251 |
- # install headers |
252 |
- local wsheader |
253 |
- for wsheader in \ |
254 |
- config.h \ |
255 |
- epan/*.h \ |
256 |
- epan/crypt/*.h \ |
257 |
- epan/dfilter/*.h \ |
258 |
- epan/dissectors/*.h \ |
259 |
- epan/ftypes/*.h \ |
260 |
- epan/wmem/*.h \ |
261 |
- register.h \ |
262 |
- wiretap/*.h \ |
263 |
- ws_diag_control.h \ |
264 |
- ws_symbol_export.h \ |
265 |
- wsutil/*.h |
266 |
- do |
267 |
- insinto /usr/include/wireshark/$( dirname ${wsheader} ) |
268 |
- doins ${wsheader} |
269 |
- done |
270 |
- |
271 |
- #with the above this really shouldn't be needed, but things may be looking in wiretap/ instead of wireshark/wiretap/ |
272 |
- insinto /usr/include/wiretap |
273 |
- doins wiretap/wtap.h |
274 |
- |
275 |
- if use gtk || use qt5; then |
276 |
- local c d |
277 |
- for c in hi lo; do |
278 |
- for d in 16 32 48; do |
279 |
- insinto /usr/share/icons/${c}color/${d}x${d}/apps |
280 |
- newins image/${c}${d}-app-wireshark.png wireshark.png |
281 |
- done |
282 |
- done |
283 |
- for d in 16 24 32 48 64 128 256 ; do |
284 |
- insinto /usr/share/icons/hicolor/${d}x${d}/mimetypes |
285 |
- newins image/WiresharkDoc-${d}.png application-vnd.tcpdump.pcap.png |
286 |
- done |
287 |
- fi |
288 |
- |
289 |
- prune_libtool_files |
290 |
-} |
291 |
- |
292 |
-pkg_postinst() { |
293 |
- # Add group for users allowed to sniff. |
294 |
- enewgroup wireshark |
295 |
- |
296 |
- if use pcap; then |
297 |
- fcaps -o 0 -g wireshark -m 4710 -M 0710 \ |
298 |
- cap_dac_read_search,cap_net_raw,cap_net_admin \ |
299 |
- "${EROOT}"/usr/bin/dumpcap |
300 |
- fi |
301 |
- |
302 |
- ewarn "NOTE: To capture traffic with wireshark as normal user you have to" |
303 |
- ewarn "add yourself to the wireshark group. This security measure ensures" |
304 |
- ewarn "that only trusted users are allowed to sniff your traffic." |
305 |
-} |