Accepting request 701509 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/701509
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wireshark?expand=0&rev=144
This commit is contained in:
Dominique Leuenberger 2019-05-10 07:09:06 +00:00 committed by Git OBS Bridge
commit b5480c946e
7 changed files with 131 additions and 211 deletions

View File

@ -1,60 +0,0 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
wireshark-2.6.7.tar.xz: 28420060 bytes
SHA256(wireshark-2.6.7.tar.xz)=747b3e7a37414942959f76f198be49dcbcca936bda538c4408942ce71bfd2b71
RIPEMD160(wireshark-2.6.7.tar.xz)=4d27f7d67a9b8d11270c6fcf135eb5ad7648d462
SHA1(wireshark-2.6.7.tar.xz)=6d601a140b369618e5ac3acab736a1b8de8d5432
Wireshark-win64-2.6.7.exe: 60017936 bytes
SHA256(Wireshark-win64-2.6.7.exe)=ba016a14b9b99777dffd25f1a496395c4e662abb1ae8dcc252582e15cc11e20c
RIPEMD160(Wireshark-win64-2.6.7.exe)=2b86daf6cd3fea9aff87fdeaf812e2038600295e
SHA1(Wireshark-win64-2.6.7.exe)=6d08ec82f73672078b34560567ee35a2a3c80cd2
Wireshark-win32-2.6.7.exe: 54312360 bytes
SHA256(Wireshark-win32-2.6.7.exe)=efb0c94288f27ebdaf4ea7c051e399e80bcb97c4050786fa0156115861fe8ea3
RIPEMD160(Wireshark-win32-2.6.7.exe)=0b940d4978f1c04f5f18408f0ce19a2082947469
SHA1(Wireshark-win32-2.6.7.exe)=159716c4ee2969e673d1f13d1f00bfb3608b9343
Wireshark-win64-2.6.7.msi: 49393664 bytes
SHA256(Wireshark-win64-2.6.7.msi)=f527632f7f29bac6330f8847414f06ef79ecf6b2e40c37eb4c3c256c1421e719
RIPEMD160(Wireshark-win64-2.6.7.msi)=d0841ace2ac1e8ecb0c75c0113902f4c628e5ace
SHA1(Wireshark-win64-2.6.7.msi)=a76f4150f4520a5249f932d250221a13518e05be
Wireshark-win32-2.6.7.msi: 43745280 bytes
SHA256(Wireshark-win32-2.6.7.msi)=38eb93acb4128a83e9d62268d211cbc6c845df1b327a568872e910a3faf35c9b
RIPEMD160(Wireshark-win32-2.6.7.msi)=bf8d3ac103104b79535cf8a2f9f9b81265579028
SHA1(Wireshark-win32-2.6.7.msi)=32a4b5548049ec446b37fdfb87941e193e8fe2a0
WiresharkPortable_2.6.7.paf.exe: 37500928 bytes
SHA256(WiresharkPortable_2.6.7.paf.exe)=8bbae646957c9e8b7ea4d1764f048d19364cc89faefc37bb7db5328d48131921
RIPEMD160(WiresharkPortable_2.6.7.paf.exe)=86863bfc58ba710d90551b6acad05a5b51ca588c
SHA1(WiresharkPortable_2.6.7.paf.exe)=af950cccbfe5f29f9cc626343666d75f986c9e63
Wireshark 2.6.7 Intel 64.dmg: 108153377 bytes
SHA256(Wireshark 2.6.7 Intel 64.dmg)=609b51b54a566917e0b4e1a4f0e1e8f1161a178bcef6a6da4b99189288c0c0c2
RIPEMD160(Wireshark 2.6.7 Intel 64.dmg)=c3604626f81c269bba0179fbfa6db00d398e9d3a
SHA1(Wireshark 2.6.7 Intel 64.dmg)=87583c19c4507bf265348acc8f8a9fef556f6dac
You can validate these hashes using the following commands (among others):
Windows: certutil -hashfile Wireshark-win64-x.y.z.exe SHA256
Linux (GNU Coreutils): sha256sum wireshark-x.y.z.tar.xz
macOS: shasum -a 256 "Wireshark x.y.z Intel 64.dmg"
Other: openssl sha256 wireshark-x.y.z.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWlrbp9vqbD+HIk8ZgiRKeOb+ruoFAlx26h0ACgkQgiRKeOb+
rurg2A/+MxIAfpRXIFvBnVeQ03miyaGaiJl6+Vw+7POquzludbyzsMNGJJK/BJmX
cMjlkRODzTYxSaGXXpPOUxykqTZgFK6lsfGZ0WAJmEIDfInsXEMTFPrCDw1+Yvqf
WXIO5UB4fOye0piGQo9oKgYuFFLY7NwJorkKKem2A9Hkoap0vmBYoG21ATO2zGNt
GafY6iPPB1sDTy2m1N+77k/aBT+Jj5TnW9sNPR9rG4DFYpRMPkjyF7hNmvB7Box5
trfKQTpnnm9DjhTeqhquH9+WD1p6d7CoDKC9YDe0xBZXqVhMUGMlcgmNUn3fmIUG
gA5boaEGVbabO3c0DG0FyjUfppK3rJ15iglhPD4mcOo2jerzC5FO+bf59JsYRPu2
UctXR+YUfcvhWQulLiT2bzldn2N2Vd7/0JhfSjDHVsJkKpQi8yaIzZ1dv+80Z6cF
WwIEbCV+aJSDBj6NZhhiY7PzizeAc+H6Os2dWIOVNCGDlACXoKt5dHFnOC0+W1uT
0qneqcBH4TQo5jxL3C/vLIaUAbSR3Q1R1Y0MNchRHujCqmuaMdm2y0ttWjPQs97d
AA5z8e8iOQXnlpdjY/2/8Q0h9p6EXnrCFbCHr0GZUnX3SnglZwR38Vgv1pef38yG
ZQYQPW5jrZeGn3UOK8cT0fzBvOdamUVccVviBV/kZYnaji/DytM=
=bkma
-----END PGP SIGNATURE-----

60
SIGNATURES-3.0.1.txt Normal file
View File

@ -0,0 +1,60 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
wireshark-3.0.1.tar.xz: 30903792 bytes
SHA256(wireshark-3.0.1.tar.xz)=86864c3d0f6c2311992a98d8ea7dfd429097fe62dae2e5516e1a2f6bef2ac08c
RIPEMD160(wireshark-3.0.1.tar.xz)=27ed3498a1e9a89706c1461736219c4ae4b08085
SHA1(wireshark-3.0.1.tar.xz)=33b880fb76b356dce4713a207c0bb9624f9b2c43
Wireshark-win32-3.0.1.exe: 54260984 bytes
SHA256(Wireshark-win32-3.0.1.exe)=c2c4cb14b96d66342f84fdf9da17344db6d5051952b37c1045f104733ee662c4
RIPEMD160(Wireshark-win32-3.0.1.exe)=5c607d548bc6a8af6925c91cb5a4a259fb9d7044
SHA1(Wireshark-win32-3.0.1.exe)=50f1c2392f788e6ec75cef13522336270d20264c
Wireshark-win64-3.0.1.exe: 59530896 bytes
SHA256(Wireshark-win64-3.0.1.exe)=80e9bdfcb3bfb3800c202efcdfbb286a2b89d0bf2b8d94f2727d117b0013c821
RIPEMD160(Wireshark-win64-3.0.1.exe)=9c499f0cbfccb00556aaeb63aae50ec27ee405b8
SHA1(Wireshark-win64-3.0.1.exe)=2e51ae89f86d8b3dedde94564a2f0fcdc4298789
Wireshark-win64-3.0.1.msi: 47337472 bytes
SHA256(Wireshark-win64-3.0.1.msi)=9733d9cff33fa29c663b6c132fb77ca141704ddffecd14c206abd22e0d30821b
RIPEMD160(Wireshark-win64-3.0.1.msi)=af58ad94e9c692984a38452d96a2950d32c12a73
SHA1(Wireshark-win64-3.0.1.msi)=b3f889d9dcc9abb8fe5e0513c35189c819252d94
Wireshark-win32-3.0.1.msi: 42135552 bytes
SHA256(Wireshark-win32-3.0.1.msi)=1f9c2dbcd7f17b31ee042c9f5e7265560e3bb7d7efd1140cc5e6c021655fcde4
RIPEMD160(Wireshark-win32-3.0.1.msi)=cc82b3e7ee3fb177d1ee52349522c5f7adb7d93d
SHA1(Wireshark-win32-3.0.1.msi)=fee5b350e18721c8585448c95eaec2ca6005247b
WiresharkPortable_3.0.1.paf.exe: 35936656 bytes
SHA256(WiresharkPortable_3.0.1.paf.exe)=91cd54e86e29833a682cb6dff750018386c977c07cf75ee11a19cb679286f540
RIPEMD160(WiresharkPortable_3.0.1.paf.exe)=1e0ce137bf0914699496d9ccf4582810586825c7
SHA1(WiresharkPortable_3.0.1.paf.exe)=28bef2a547775fd5a3555caf2b015b2aedea0e9d
Wireshark 3.0.1 Intel 64.dmg: 86792136 bytes
SHA256(Wireshark 3.0.1 Intel 64.dmg)=78bd0568251d95f42f3ea60cfc4d2e8e14bb76745c10cafec418f5fa0943cf64
RIPEMD160(Wireshark 3.0.1 Intel 64.dmg)=a78269012eb092ebbcda3e98582196db568d6c99
SHA1(Wireshark 3.0.1 Intel 64.dmg)=3e16218a2fba4579f2d6c3e34f5ec003b39958f8
You can validate these hashes using the following commands (among others):
Windows: certutil -hashfile Wireshark-win64-x.y.z.exe SHA256
Linux (GNU Coreutils): sha256sum wireshark-x.y.z.tar.xz
macOS: shasum -a 256 "Wireshark x.y.z Intel 64.dmg"
Other: openssl sha256 wireshark-x.y.z.tar.xz
-----BEGIN PGP SIGNATURE-----
iQIzBAEBCgAdFiEEWlrbp9vqbD+HIk8ZgiRKeOb+ruoFAlyrn8gACgkQgiRKeOb+
rurqfg//fvEPyKDprl8vg8+5zdyIAMuYGw6ixu4+5aNjNabnhM983i5mqXLKSU28
DuKUMw3i5JOSN8auVAnq06keFmQzSnrWJe22jzPlOGyhXAK9KzM6bpdHoqCHn/Gq
sBWrKELMJIKTIsIEZYYzEHSEBi2bbBCviZHEMzj3GU0aQD33oktQ8ER/Eu3+M8td
wDTu+KKt+SMgbtgc0grG/MhZBFb31kLPQgQz1oVAjkuFeEcqmXU9+5pMvW3aAGk8
8RLxS+adjjZns7+dM/6JaCjgI3fVlUXqFvz7XMskbZbHeqBsdiWR9w2YLLUBJ3ai
QGiJZRIfrfyQBosaaYb5vbUYaZZbCFRCLhKOr8BG1PTSc/2Y/bImdQlxd8XDi/dM
2B15lYE0b9hYilc1TPgd1V8y/vQ94SxFAentqf4QV9tLUTHZCeH3zmSvpD826FCw
WNUy6H+cJvl4sbytNHJzK+MIBJAiqFD4zM1zrYw0kXlj5eGbCWGKafC/+cKyOHHl
GtwWdOlarIa5C9FYl4VVPEetFk08gvW5BiKxalug5Y0Q9MsAw9brpBZhZfapXy3q
sXr/aFfHVXx1RrYUFabl3KztEnBHJEM0QTvOnLVkCL3wlfpFni2NHhr11/17Cf5+
5QIuqM+yuXhxPmWPMFGPwM0PBRA0NpR/fELAgvWRv9rbOH/aEqg=
=aM0I
-----END PGP SIGNATURE-----

View File

@ -1,24 +0,0 @@
From: prusnak@opensuse.org
References: [bnc#650434]
Upstream: never
- fix lua error at startup (enable_lua.patch) [bnc#650434]
previously named wireshark-1.2.4-enable_lua.patch
---
epan/wslua/template-init.lua | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: wireshark-1.10.0rc2/epan/wslua/template-init.lua
===================================================================
--- wireshark-1.10.0rc2.orig/epan/wslua/template-init.lua 2013-04-22 19:04:37.000000000 +0100
+++ wireshark-1.10.0rc2/epan/wslua/template-init.lua 2013-05-26 17:43:20.000000000 +0100
@@ -43,7 +43,7 @@ if running_superuser then
local disabled_lib = {}
setmetatable(disabled_lib,{ __index = function() error("this package ".. hint) end } );
- dofile = function() error("dofile " .. hint) end
+-- dofile = function() error("dofile " .. hint) end
loadfile = function() error("loadfile " .. hint) end
loadlib = function() error("loadlib " .. hint) end
require = function() error("require " .. hint) end

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:747b3e7a37414942959f76f198be49dcbcca936bda538c4408942ce71bfd2b71
size 28420060

3
wireshark-3.0.1.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:86864c3d0f6c2311992a98d8ea7dfd429097fe62dae2e5516e1a2f6bef2ac08c
size 30903792

View File

@ -1,3 +1,51 @@
-------------------------------------------------------------------
Wed Apr 17 15:47:01 UTC 2019 - Robert Frohl <rfrohl@suse.com>
- Added config.h again, which got lost during the wireshark 3 update.
-------------------------------------------------------------------
Tue Apr 9 07:38:06 UTC 2019 - Robert Frohl <rfrohl@suse.com>
- Wireshark 3.0.1 (bsc#1131941)
* CVE-2019-10895: NetScaler file parser crash.
* CVE-2019-10899: SRVLOC dissector crash.
* CVE-2019-10897: IEEE 802.11 dissector infinite loop.
* CVE-2019-10898: GSUP dissector infinite loop.
* CVE-2019-10900: Rbm dissector infinite loop.
* CVE-2019-10894: GSS-API dissector crash.
* CVE-2019-10896: DOF dissector crash.
* CVE-2019-10902: TSDNS dissector crash.
* CVE-2019-10901: LDSS dissector crash.
* CVE-2019-10903: DCERPC SPOOLSS dissector crash.
- Further features, bug fixes and updated protocol support as listed in:
https://www.wireshark.org/docs/relnotes/wireshark-3.0.1.html
-------------------------------------------------------------------
Thu Mar 21 14:09:53 UTC 2019 - Robert Frohl <rfrohl@suse.com>
- Wireshark 3.0.0
* The IP map feature (the "Map" button in the "Endpoints" dialog) has been
added back in a modernized form.
* Initial support for using PKCS #11 tokens for RSA decryption in TLS. This
can be configured at Preferences, RSA Keys.
* Conversation timestamps are supported for UDP/UDP-Lite protocols.
* TShark now supports the -G elastic-mapping option which generates an
ElasticSearch mapping file.
* The Ethernet and IEEE 802.11 dissectors no longer validate the frame check
sequence (checksum) by default.
* The TCP dissector gained a new "Reassemble out-of-order segments"
preference to fix dissection and decryption issues in case TCP segments are
received out-of-order.
* Decryption support for the new WireGuard dissector.
* The BOOTP dissector has been renamed to DHCP. With the exception of
"bootp.dhcp", the old "bootp.*" display filter fields are still supported
but may be removed in a future release.
* The SSL dissector has been renamed to TLS. As with BOOTP the old "ssl.*"
display filter fields are supported but may be removed in a future release.
- Further features, bug fixes and updated protocol support as listed in:
https://www.wireshark.org/docs/relnotes/wireshark-3.0.0.html
- removed wireshark-1.10.0-enable_lua.patch, because LUA is enabled by default.
-------------------------------------------------------------------
Thu Feb 28 13:21:47 UTC 2019 - Robert Frohl <rfrohl@suse.com>

View File

@ -17,27 +17,17 @@
# define libraries
%define libutil libwsutil9
%define libwire libwireshark10
%define libtap libwiretap8
%define libutil libwsutil10
%define libwire libwireshark12
%define libtap libwiretap9
%define libcodecs libwscodecs2
# Enable new Qt gui on new releases and build old GTK2 gui on old releases
%if 0%{?suse_version} > 1140
%bcond_without gnutls
%bcond_without qt
%bcond_with gtk
%else
%bcond_with gnutls
%bcond_with qt
%bcond_without gtk
%endif
%if 0%{?suse_version} >= 1500
%bcond_without lz4
%else
%bcond_with lz4
%endif
Name: wireshark
Version: 2.6.7
Version: 3.0.1
Release: 0
Summary: A Network Traffic Analyser
License: GPL-2.0-or-later AND GPL-3.0-or-later
@ -46,15 +36,14 @@ URL: https://www.wireshark.org/
Source: https://www.wireshark.org/download/src/%{name}-%{version}.tar.xz
Source2: https://www.wireshark.org/download/SIGNATURES-%{version}.txt
Source3: https://www.wireshark.org/download/gerald_at_wireshark_dot_org.gpg#/wireshark.keyring
Patch4: wireshark-1.10.0-enable_lua.patch
BuildRequires: bison
BuildRequires: flex
BuildRequires: glib2-devel
BuildRequires: glib2-devel >= 2.32
BuildRequires: hicolor-icon-theme
BuildRequires: krb5-devel
BuildRequires: libcap-devel
BuildRequires: libcares-devel
BuildRequires: libgcrypt-devel >= 1.4.2
BuildRequires: libgcrypt-devel >= 1.8.0
BuildRequires: libpcap-devel
BuildRequires: libsmi-devel
BuildRequires: libtool
@ -64,6 +53,7 @@ BuildRequires: pcre-devel
BuildRequires: pkgconfig
BuildRequires: portaudio-devel
BuildRequires: snappy-devel
BuildRequires: systemd-devel
BuildRequires: tcpd-devel
BuildRequires: update-desktop-files
BuildRequires: zlib-devel
@ -83,24 +73,17 @@ BuildRequires: pkgconfig(liblz4)
# in openSUSE Leap 42.3, lz4 was incorrectly packaged
BuildConflicts: pkgconfig(liblz4) = 124
%endif
%if %{with gnutls}
BuildRequires: libgnutls-devel >= 2.12.0
%endif
BuildRequires: libgnutls-devel >= 3.2
%if 0%{?suse_version} > 1310
BuildRequires: pkgconfig(libnl-3.0)
%endif
%if %{with gtk}
BuildRequires: cairo-devel
BuildRequires: gtk2-devel >= 2.12.0
%endif
%if %{with qt}
BuildRequires: libqt5-linguist
BuildRequires: pkgconfig(Qt5Core) >= 5.0.0
BuildRequires: libqt5-linguist-devel
BuildRequires: pkgconfig(Qt5Core) >= 5.2.0
BuildRequires: pkgconfig(Qt5Gui)
BuildRequires: pkgconfig(Qt5Multimedia)
BuildRequires: pkgconfig(Qt5PrintSupport)
BuildRequires: pkgconfig(Qt5Svg)
BuildRequires: pkgconfig(Qt5Widgets)
%endif
%if 0%{?suse_version} > 1320
BuildRequires: lua51-devel
%else
@ -162,29 +145,17 @@ Obsoletes: ethereal-devel < %{version}
Wireshark is a network protocol analyzer. It allows examining data
from a live network or from a capture file on disk.
%if %{with gtk}
%package ui-gtk
Summary: A Network Traffic Analyser - GTK+ UI
Group: Productivity/Networking/Diagnostic
Requires: %{name} = %{version}
Provides: %{name}-ui = %{version}
%description ui-gtk
This package contains the GTK+ UI of Wireshark.
%endif
%if %{with qt}
%package ui-qt
Summary: A Network Traffic Analyser - Qt UI
Group: Productivity/Networking/Diagnostic
Requires: %{name} = %{version}
Provides: %{name}-ui = %{version}
# gtk is the deprecated ui so ensure its uninstall
Obsoletes: %{name}-ui-gtk
Provides: %{name}-ui-gtk = %{version}
Obsoletes: %{name}-ui-gtk < %{version}
%description ui-qt
This package contains the Qt based UI for Wireshark.
%endif
%prep
# The publisher doesn't sign the source tarball, but a signatures file containing multiple hashes.
@ -193,72 +164,28 @@ echo "`grep %{name}-%{version}.tar.xz %{SOURCE2} | grep SHA1 | head -n1 | cut -d
echo "`grep %{name}-%{version}.tar.xz %{SOURCE2} | grep SHA256 | head -n1 | cut -d= -f2` %{SOURCE0}" | sha256sum -c
%setup -q
%patch4 -p1
sed -i 's/^Icon=wireshark.png$/Icon=wireshark/' wireshark*.desktop
%build
export CFLAGS="%{optflags} -fPIC"
export CXXFLAGS="%{optflags} -fPIC"
export LDFLAGS="-pie"
%if %{with qt}
#XXX: buggy autoconf checks..
export PATH="%{_libdir}/qt5/bin:$PATH"
%endif
%configure \
%if %{with gtk}
--with-gtk=2 \
%endif
%if %{with qt}
--with-qt=yes \
%else
--with-qt=no \
%endif
%if %{with gnutls}
--with-gnutls=yes \
%else
--with-gnutls=no \
%endif
--with-libssh=yes \
--with-maxminddb=yes \
--with-krb5=yes \
--with-c-ares=yes \
--with-snappy=yes \
%if %{with lz4}
--with-lz4=yes \
%endif
--with-zlib=yes \
--with-nghttp2=yes \
--with-pic=yes
make %{?_smp_mflags} V=1
%cmake -DCMAKE_INSTALL_LIBDIR='%{_lib}/'
%cmake_build
%install
%make_install
%cmake_install
find %{buildroot} -type f -name "*.la" -delete -print
# Ethereal support (remove when SLE-11 is out of scope
%if %{with gtk}
ln -fs wireshark-gtk %{buildroot}%{_bindir}/ethereal
%endif
%if %{with qt}
ln -fs wireshark %{buildroot}%{_bindir}/ethereal
%endif
ln -fs tshark %{buildroot}%{_bindir}/tethereal
install -d -m 0755 %{buildroot}%{_sysconfdir}
install -d -m 0755 %{buildroot}%{_mandir}/man1/
# install separate appdata files corresponding to .desktop files for AppStore integration
%if %{with qt}
install -d -m0755 %{buildroot}%{_datadir}/appdata
install -m644 wireshark.appdata.xml %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
sed -i -e "/<description>/i \ \ \ \ <name>Wireshark (QT) Network Analyzer<\/name>" \
-e "/<description>/i \ \ \ \ <summary>QT interface for wireshark network traffic analyzer<\/summary>" \
%{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%else
rm -f %{buildroot}%{_datadir}/appdata/%{name}.appdata.xml
%endif
# -devel
install -d -m 0755 %{buildroot}%{_includedir}/wireshark
@ -272,6 +199,7 @@ mkdir -p "${IDIR}/epan/wmem"
mkdir -p "${IDIR}/wiretap"
mkdir -p "${IDIR}/wsutil"
install -m 644 *.h "${IDIR}/"
install -m 644 build/config.h "${IDIR}/"
install -m 644 epan/*.h "${IDIR}/epan/"
install -m 644 epan/crypt/*.h "${IDIR}/epan/crypt"
install -m 644 epan/ftypes/*.h "${IDIR}/epan/ftypes"
@ -281,22 +209,11 @@ install -m 644 epan/wmem/*.h "${IDIR}/epan/wmem"
install -m 644 wiretap/*.h "${IDIR}/wiretap"
install -m 644 wsutil/*.h "${IDIR}/wsutil"
%if %{with gtk}
install -D -m 0644 image/wsicon48.png %{buildroot}%{_datadir}/pixmaps/wireshark-gtk.png
install -D -m 0644 wireshark-gtk.desktop %{buildroot}%{_datadir}/applications/wireshark-gtk.desktop
%suse_update_desktop_file -n %{name}-gtk
%else
# sometimes the gtk.desktop gets autoinstalled by make_install
rm -f %{buildroot}%{_datadir}/applications/wireshark-gtk.desktop
%endif
%if %{with qt}
install -D -m 0644 image/wsicon48.png %{buildroot}%{_datadir}/pixmaps/wireshark.png
install -D -m 0644 wireshark.desktop %{buildroot}%{_datadir}/applications/wireshark.desktop
%suse_update_desktop_file %{name}
%else
rm -f %{buildroot}%{_datadir}/applications/wireshark.desktop
%endif
rm -f %{buildroot}%{_datadir}/doc/wireshark/*.html
%pre
getent group wireshark >/dev/null || groupadd -r wireshark
@ -357,30 +274,10 @@ exit 0
%files devel
%{_includedir}/wireshark
%{_includedir}/wireshark/config.h
%{_libdir}/lib*.so
%{_libdir}/pkgconfig/wireshark.pc
%if %{with gtk}
%files ui-gtk
%{_bindir}/wireshark-gtk
%{_bindir}/ethereal
%{_datadir}/applications/wireshark-gtk.desktop
%{_datadir}/pixmaps/wireshark-gtk.png
%post ui-gtk
test -f %{_bindir}/update-mime-database && %{_bindir}/update-mime-database %{_datadir}/mime > /dev/null || :
test -f %{_bindir}/update-desktop-database && %{_bindir}/update-desktop-database > /dev/null || :
test -f /sbin/conf.d/SuSEconfig.gtk2 && SuSEconfig --module gtk2 > /dev/null || :
test -f /sbin/conf.d/SuSEconfig.glib2 && SuSEconfig --module glib2 > /dev/null || :
%postun ui-gtk
test -f %{_bindir}/update-mime-database && %{_bindir}/update-mime-database %{_datadir}/mime > /dev/null || :
test -f %{_bindir}/update-desktop-database && %{_bindir}/update-desktop-database > /dev/null || :
test -f /sbin/conf.d/SuSEconfig.gtk2 && SuSEconfig --module gtk2 > /dev/null || :
test -f /sbin/conf.d/SuSEconfig.glib2 && SuSEconfig --module glib2 > /dev/null || :
%endif
%if %{with qt}
%files ui-qt
%{_bindir}/wireshark
%{_bindir}/ethereal
@ -396,6 +293,5 @@ test -f /sbin/conf.d/SuSEconfig.glib2 && SuSEconfig --module glib2 > /dev/null |
%postun ui-qt
%desktop_database_postun
%icon_theme_cache_postun
%endif
%changelog