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