Accepting request 1186693 from home:rfrohl:branches:network:utilities
wireshark 4.2.6 OBS-URL: https://build.opensuse.org/request/show/1186693 OBS-URL: https://build.opensuse.org/package/show/network:utilities/wireshark?expand=0&rev=439
This commit is contained in:
commit
81e98d58d2
23
.gitattributes
vendored
Normal file
23
.gitattributes
vendored
Normal file
@ -0,0 +1,23 @@
|
||||
## Default LFS
|
||||
*.7z filter=lfs diff=lfs merge=lfs -text
|
||||
*.bsp filter=lfs diff=lfs merge=lfs -text
|
||||
*.bz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.gem filter=lfs diff=lfs merge=lfs -text
|
||||
*.gz filter=lfs diff=lfs merge=lfs -text
|
||||
*.jar filter=lfs diff=lfs merge=lfs -text
|
||||
*.lz filter=lfs diff=lfs merge=lfs -text
|
||||
*.lzma filter=lfs diff=lfs merge=lfs -text
|
||||
*.obscpio filter=lfs diff=lfs merge=lfs -text
|
||||
*.oxt filter=lfs diff=lfs merge=lfs -text
|
||||
*.pdf filter=lfs diff=lfs merge=lfs -text
|
||||
*.png filter=lfs diff=lfs merge=lfs -text
|
||||
*.rpm filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz filter=lfs diff=lfs merge=lfs -text
|
||||
*.tbz2 filter=lfs diff=lfs merge=lfs -text
|
||||
*.tgz filter=lfs diff=lfs merge=lfs -text
|
||||
*.ttf filter=lfs diff=lfs merge=lfs -text
|
||||
*.txz filter=lfs diff=lfs merge=lfs -text
|
||||
*.whl filter=lfs diff=lfs merge=lfs -text
|
||||
*.xz filter=lfs diff=lfs merge=lfs -text
|
||||
*.zip filter=lfs diff=lfs merge=lfs -text
|
||||
*.zst filter=lfs diff=lfs merge=lfs -text
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
@ -0,0 +1 @@
|
||||
.osc
|
19
_constraints
Normal file
19
_constraints
Normal file
@ -0,0 +1,19 @@
|
||||
<?xml version="1.0"?>
|
||||
<constraints>
|
||||
<hardware>
|
||||
<disk>
|
||||
<size unit="G">5</size>
|
||||
</disk>
|
||||
</hardware>
|
||||
<overwrite>
|
||||
<conditions>
|
||||
<arch>ppc</arch>
|
||||
<arch>ppc64le</arch>
|
||||
</conditions>
|
||||
<hardware>
|
||||
<physicalmemory>
|
||||
<size unit="G">5</size>
|
||||
</physicalmemory>
|
||||
</hardware>
|
||||
</overwrite>
|
||||
</constraints>
|
14
wireshark-0000-wsutil-implicit_declaration_memcpy.patch
Normal file
14
wireshark-0000-wsutil-implicit_declaration_memcpy.patch
Normal file
@ -0,0 +1,14 @@
|
||||
Index: wireshark-4.2.0rc2/wsutil/glib-compat.h
|
||||
===================================================================
|
||||
--- wireshark-4.2.0rc2.orig/wsutil/glib-compat.h
|
||||
+++ wireshark-4.2.0rc2/wsutil/glib-compat.h
|
||||
@@ -23,6 +23,9 @@ extern "C" {
|
||||
#endif /* __cplusplus */
|
||||
|
||||
#if !GLIB_CHECK_VERSION(2, 68, 0)
|
||||
+
|
||||
+#include <string.h>
|
||||
+
|
||||
static inline void *
|
||||
g_memdup2(gconstpointer mem, size_t byte_size)
|
||||
{
|
43
wireshark-0010-dumpcap-permission-denied.patch
Normal file
43
wireshark-0010-dumpcap-permission-denied.patch
Normal file
@ -0,0 +1,43 @@
|
||||
commit acac613af7d702dae533cbdf9ef49cef803d0559
|
||||
Author: Robert Frohl <rfrohl@suse.com>
|
||||
Date: Tue Sep 12 14:53:17 2023 +0200
|
||||
|
||||
Warn if user can't access dumpcap.
|
||||
|
||||
Index: wireshark-4.2.0rc2/capture/capture_sync.c
|
||||
===================================================================
|
||||
--- wireshark-4.2.0rc2.orig/capture/capture_sync.c
|
||||
+++ wireshark-4.2.0rc2/capture/capture_sync.c
|
||||
@@ -24,6 +24,10 @@
|
||||
#include <wsutil/strtoi.h>
|
||||
#include <wsutil/ws_assert.h>
|
||||
|
||||
+#include <sys/stat.h>
|
||||
+#include <fcntl.h>
|
||||
+#include <grp.h>
|
||||
+
|
||||
#ifdef _WIN32
|
||||
#include <wsutil/unicode-utils.h>
|
||||
#include <wsutil/win32-utils.h>
|
||||
@@ -530,10 +534,21 @@ sync_pipe_open_command(char* const argv[
|
||||
ws_close(data_pipe[PIPE_READ]);
|
||||
ws_close(data_pipe[PIPE_WRITE]);
|
||||
}
|
||||
+ char * grp_warning = calloc(1, 256);
|
||||
dup2(sync_pipe[PIPE_WRITE], 2);
|
||||
ws_close(sync_pipe[PIPE_READ]);
|
||||
ws_close(sync_pipe[PIPE_WRITE]);
|
||||
execv(argv[0], argv);
|
||||
+ if (errno == EPERM || errno == EACCES) {
|
||||
+ struct stat statbuf;
|
||||
+ struct group *grp;
|
||||
+ if(stat("/usr/bin/dumpcap", &statbuf) == 0) {
|
||||
+ if ((grp = getgrgid(statbuf.st_gid)) != NULL) {
|
||||
+ snprintf(grp_warning , 256, "\nYou need to be a member of the '%s' group. Try running\n'usermod -a -G %s <YOUR_USERNAME>' as root.", grp->gr_name, grp->gr_name);
|
||||
+ }
|
||||
+ }
|
||||
+ }
|
||||
+ free(grp_warning);
|
||||
sync_pipe_write_int_msg(2, SP_EXEC_FAILED, errno);
|
||||
|
||||
/* Exit with "_exit()", so that we don't close the connection
|
BIN
wireshark-4.2.5.tar.xz
(Stored with Git LFS)
Normal file
BIN
wireshark-4.2.5.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
53
wireshark-4.2.5.tar.xz.hash
Normal file
53
wireshark-4.2.5.tar.xz.hash
Normal file
@ -0,0 +1,53 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
wireshark-4.2.5.tar.xz: 45014156 bytes
|
||||
SHA256(wireshark-4.2.5.tar.xz)=55e793ab87a9a73aac44336235c92cb76c52180c469b362ed3a54f26fbb1261f
|
||||
SHA1(wireshark-4.2.5.tar.xz)=03293699260d2492166ac805ef0c10b8a6b531e6
|
||||
|
||||
Wireshark-4.2.5-x64.exe: 86489296 bytes
|
||||
SHA256(Wireshark-4.2.5-x64.exe)=3d921ee584d0984f694f60a771a6581a6f32a9de995a5cd4bca1931185a4e618
|
||||
SHA1(Wireshark-4.2.5-x64.exe)=0e3c7b4dcd5c247c8f9726195a4d5a70b99f8b1b
|
||||
|
||||
Wireshark-4.2.5-arm64.exe: 67980200 bytes
|
||||
SHA256(Wireshark-4.2.5-arm64.exe)=331a0925ee1e4d6d1b16af6982972631335fc238afe626903ed122e146830c5a
|
||||
SHA1(Wireshark-4.2.5-arm64.exe)=e0b5789980c0f12e344f6b8820f49facd5b379c6
|
||||
|
||||
Wireshark-4.2.5-x64.msi: 62894080 bytes
|
||||
SHA256(Wireshark-4.2.5-x64.msi)=65413e0733192979e168f8a11940828d1c2410ae21862f2e7012a3edb7e22ee1
|
||||
SHA1(Wireshark-4.2.5-x64.msi)=e925d3cee2e604ab659e4da42df0880a6531151f
|
||||
|
||||
WiresharkPortable64_4.2.5.paf.exe: 53647808 bytes
|
||||
SHA256(WiresharkPortable64_4.2.5.paf.exe)=1706e3c2d5e198270707641bbbde3042d8921cb95d2683633dd855fee921847d
|
||||
SHA1(WiresharkPortable64_4.2.5.paf.exe)=ef0c034a38d77ead057dbb6444cce70f9a07815c
|
||||
|
||||
Wireshark 4.2.5 Arm 64.dmg: 65573656 bytes
|
||||
SHA256(Wireshark 4.2.5 Arm 64.dmg)=72d670ad068ac46c1d16ffb5fc8e6b582136a0eed6fc278b9f36877311e4e4af
|
||||
SHA1(Wireshark 4.2.5 Arm 64.dmg)=84fe8ed0cf40b861f8039d811a1bb1704f9e57db
|
||||
|
||||
Wireshark 4.2.5 Intel 64.dmg: 69328176 bytes
|
||||
SHA256(Wireshark 4.2.5 Intel 64.dmg)=67a1ea88226c2f5699c3c6c36fb0006d84c62bdbfe5474dccff30860fd9f81b7
|
||||
SHA1(Wireshark 4.2.5 Intel 64.dmg)=a72a8034474e42c4e20a0f05e464ddb1f3616c66
|
||||
|
||||
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 Arm 64.dmg"
|
||||
Other: openssl sha256 wireshark-x.y.z.tar.xz
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAEBCgAdFiEEWlrbp9vqbD+HIk8ZgiRKeOb+ruoFAmZFCq4ACgkQgiRKeOb+
|
||||
ruoxyQ/+PWOKU9/4HVVhI+fKlfUfuzH5F8ABE+aH4wasbh6Yzw8rYy3d/bvpXimc
|
||||
Cc3YKGNoQ/7ErwIvE2dF+fCaIo95mSDtQcrGn/gznSExGLXAPoBzfpchGm2qmqV9
|
||||
/qVKLPo9SR0ucwY054XyDcncIa2g2iXi9x2T5fsbLdNWoUZAkj5rk3bq0scQA1Pa
|
||||
yt/F6M+alQpA2sUS2Lebq/1UVZtfGRbEP8ustmN7FeqlTZNfZezaFK2h0uVekJ0e
|
||||
DqQJWh9Tvb/UIVusWh509HwfcuS8aQU5bJ/fN4JS5aNp41Aup5guiAIs+c96TPuy
|
||||
EfrkHilFwvZsHJDsA+wH1Mq317Xjh/RiheDjUh/Gn1f9bubL6nkU2f3AOon3fAtX
|
||||
xpRjNymEhvwiZYNTRv3PaGo21lsS4Oxggt/eZhmy0tntnB/fq3Ylrogn6SbOm0p7
|
||||
wuRfhl09Pb6m2Ol0pfkxck7OEiLn28RTqJmYwAiood0TMD8X6HNnNITqhPQq5ihb
|
||||
96MNRfna6ES8mAmjFdiMSsUX+9jZYSDogQ/jxz1n+fcYLXXOMnPEYsyPt+xSMp6o
|
||||
7CjIikcjTZ1cCKAuienirJWBt58PSjsewpVMVyDVkNeNniLtS+QB6Q2uW6W2UcHj
|
||||
KhqMLvrX18YuTgdO/ZrxN33+H4nqyq07uS2n/E+cMAaAD2qVOKc=
|
||||
=pOkW
|
||||
-----END PGP SIGNATURE-----
|
BIN
wireshark-4.2.6.tar.xz
(Stored with Git LFS)
Normal file
BIN
wireshark-4.2.6.tar.xz
(Stored with Git LFS)
Normal file
Binary file not shown.
53
wireshark-4.2.6.tar.xz.hash
Normal file
53
wireshark-4.2.6.tar.xz.hash
Normal file
@ -0,0 +1,53 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
wireshark-4.2.6.tar.xz: 45015272 bytes
|
||||
SHA256(wireshark-4.2.6.tar.xz)=5ec6028df29068d889c98489bf194a884b00831106fea1e921fea3c65f2003f5
|
||||
SHA1(wireshark-4.2.6.tar.xz)=db0374dce360b99d8abb9a3f3471f3fc98d6d099
|
||||
|
||||
Wireshark-4.2.6-arm64.exe: 67985184 bytes
|
||||
SHA256(Wireshark-4.2.6-arm64.exe)=602b5b95249f8955c5a6dbc41b2012c3b06a26daafbb07ed5ea66fa43c7a6574
|
||||
SHA1(Wireshark-4.2.6-arm64.exe)=4ee9ec6fc05a0d63f0f3d7110964689ab9f4f122
|
||||
|
||||
Wireshark-4.2.6-x64.exe: 86491216 bytes
|
||||
SHA256(Wireshark-4.2.6-x64.exe)=ba679117304718a009092a5327abfdbc559031d9216512fc7540cb03d30a5545
|
||||
SHA1(Wireshark-4.2.6-x64.exe)=129df64c8aa44d9ce2ad191fa783faffd71301ae
|
||||
|
||||
Wireshark-4.2.6-x64.msi: 62926848 bytes
|
||||
SHA256(Wireshark-4.2.6-x64.msi)=cf8399afd61f2cadefd73b46dc9a206186502d30f6867457fe163a94574c1214
|
||||
SHA1(Wireshark-4.2.6-x64.msi)=825e5d80806f2e613373255c1e3fd3d6d280e9f6
|
||||
|
||||
WiresharkPortable64_4.2.6.paf.exe: 53648680 bytes
|
||||
SHA256(WiresharkPortable64_4.2.6.paf.exe)=5924198bbbcd75f8f4709799b5185be1a5c20f08f678534ed00675842bcbc5d9
|
||||
SHA1(WiresharkPortable64_4.2.6.paf.exe)=dde23431f3878cafa6fb5f43e461259960b4f990
|
||||
|
||||
Wireshark 4.2.6 Arm 64.dmg: 65590940 bytes
|
||||
SHA256(Wireshark 4.2.6 Arm 64.dmg)=11fc3f8b12b8369398e373058f9b8f0730e3228611ecf3d7ecc63c5f1855241e
|
||||
SHA1(Wireshark 4.2.6 Arm 64.dmg)=57ef4f0600644c15566a9b6e9e2e71a1d2735b66
|
||||
|
||||
Wireshark 4.2.6 Intel 64.dmg: 69344904 bytes
|
||||
SHA256(Wireshark 4.2.6 Intel 64.dmg)=41601877fa5294ec7c20f8d81c799612c6bca7fa689f237fdbf6595b5fc22071
|
||||
SHA1(Wireshark 4.2.6 Intel 64.dmg)=391319afa4bd74af89baf3d73d820ab0171da0ac
|
||||
|
||||
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 Arm 64.dmg"
|
||||
Other: openssl sha256 wireshark-x.y.z.tar.xz
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQIzBAEBCgAdFiEEWlrbp9vqbD+HIk8ZgiRKeOb+ruoFAmaO0uIACgkQgiRKeOb+
|
||||
ruo+eQ//TQBxIVPnBX2isKfGpngWQ+e75/2Xk/00173P0lIiuV3x5gtRQ7SiVh5H
|
||||
qC1bb6bbcD0+wK6BDU/K15eMQ30ODI0BdbQSElH9CaZZ6w84gAK2x+iJFy/kQl/O
|
||||
3FQMM8v2MYMlN1Algs/czKDBK0Bbex/hCuIARMn60Z+35MEZvJqraY4aMTkBQ94t
|
||||
uaJM2rZPq1kCU+eeX+KqRwJMvd11Re850j/YdzWPEvu9k1+isbB7drZKTmI9d1HT
|
||||
HUIWpjYJDhJ2hFFamXHkY/OR/UVVTBfAJMSZ/nodHa2WKX2u76CnESqNTrFelUZs
|
||||
jdtSTUA/S3DfcVvhx4FTWmwRmSgzAnauYwanFW9Zd+KuEKmPQA6JKBW4niUS11g8
|
||||
Luj+bPG9rJwPfiwbTl1VtS9DiMrm6hWnmvzySqQ3PhyDIBXT/2tx6SQhcK2u2/Vk
|
||||
LtIGBDqjGltaagex8zm89HBgp3ByDy1Jh2yOaC2cHdidrkL9Wqo8bniA58Dt5jZS
|
||||
0hHrAg+tT65sLVd2huHAX6yHzgbWtFp4F6N3pKPE4OY9rBbkVA/oQqiYGTWK0eaP
|
||||
FQfg3yWWRV159xbDl/DnfnJ6T9puKk1/u+bMwfmjRMr+CJFAe0c1qYn/t/eP7oKl
|
||||
mm3hd2NmhFG5RFRCGTArl6IkCHSyV6GuUkgUPfRqyCt6rLZishs=
|
||||
=t1tY
|
||||
-----END PGP SIGNATURE-----
|
4592
wireshark.changes
Normal file
4592
wireshark.changes
Normal file
File diff suppressed because it is too large
Load Diff
67
wireshark.keyring
Normal file
67
wireshark.keyring
Normal file
@ -0,0 +1,67 @@
|
||||
-----BEGIN PGP PUBLIC KEY BLOCK-----
|
||||
Version: GnuPG v2
|
||||
|
||||
mQINBFb7GpMBEADwNvKCk7Sabp4nIRocLA5dXf/0t3FisLO1qT0j/7cQna0Y6Vxn
|
||||
ls9d152002/sAeFIbV2eueIw6SfRsvSJr/9xhqx/F8WtsTCW2z/alGVuGUlVoQc8
|
||||
LdMBtFBxs8RNKXOSEGS53dddhZ+S3+h9xYxWHq1TgJGudx1RMLFUg+rf7F6nJ9yi
|
||||
iIWDY3we2aTEYM01KqBiDSnw9tPVeFm58+zipIUpnSuCPx79OFwDyTqefHZ7G8q7
|
||||
qUKORdFmGfSBVFV2e3mwkVm+lqV41b4fkdXax9XfU9plqpCC4hE4ig2gjIuaNLvJ
|
||||
Xfo+YBwLwpaz/wuTIUyJMLw+sOUEd7CNgbrEUINbeShzi3+LQO+sk4egETZd4nt4
|
||||
H1R/pMo10CJWWlfj30bj/vE2ZHkSBISdfFj3rF7/iF8Fqbe55TsH+CeavvCkceFw
|
||||
illy0+KlzhtYjWIpJ0dlSY+GnmyO9xptWmZVnTRfCevPfVqWmcWEPS0hfwvND/5N
|
||||
dkbFDNrI0x2MmluimbB4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||
RLOQEhWN/CzObuvQb3SPkbRXptrRt/dbVnAej+TFrtXvea1lIPxuOMvuWAAFw5S6
|
||||
w4tPjuc6/HxmRCR07y9bfYFsBUKKUsk/HbGDv1tVWNWdZ/ovcjldobDBGnqnzhZe
|
||||
wpy8TaPNiisvhpVGDiFs45hLZ8tNo0+p3WWrdwnpNJCf3rlcc/GAv4iQOoh5j7iZ
|
||||
zOwo9aXgoZOwq/9McKj75Qk2liuvqlp1riHMF6ZkEcmZLDUQeLw+Lnw6BSfLD771
|
||||
rEW3p3awEywiBFkqSWfkDvGQ8W4T/ANwNWo78FoDpOazKJ9JjYiQs9jwg0jN7f5t
|
||||
yUGSReIlUbmgTF/bx8E8zRR3+zUeMDwjDkCQ6Em4hh7r/vpE08flaLxK4pZ0qVvX
|
||||
hYqoY12hGFC595sEcl+S7IQXy/u7PL4A6o/ZyY/g3Jjne9b12GmMkifgTJ/EEBW1
|
||||
/d6RXj1z84lvlb1iRxNM1bymERhZgIsQLUCz
|
||||
=eisl
|
||||
-----END PGP PUBLIC KEY BLOCK-----
|
298
wireshark.spec
Normal file
298
wireshark.spec
Normal file
@ -0,0 +1,298 @@
|
||||
#
|
||||
# spec file for package wireshark
|
||||
#
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
# Copyright (c) 2024 Andreas Stieger <Andreas.Stieger@gmx.de>
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
# upon. The license for this file, and modifications and additions to the
|
||||
# file, is the same license as for the pristine package itself (unless the
|
||||
# license for the pristine package is not an Open Source License, in which
|
||||
# case the license is the MIT License). An "Open Source License" is a
|
||||
# license that conforms to the Open Source Definition (Version 1.9)
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via https://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
# define libraries
|
||||
%define libtap libwiretap14
|
||||
%define libutil libwsutil15
|
||||
%define libwire libwireshark17
|
||||
%define org_name org.wireshark.Wireshark
|
||||
%if 0%{?suse_version} >= 1500
|
||||
%bcond_without lz4
|
||||
%else
|
||||
%bcond_with lz4
|
||||
%endif
|
||||
%bcond_without qt5
|
||||
Name: wireshark
|
||||
Version: 4.2.6
|
||||
Release: 0
|
||||
Summary: A Network Traffic Analyser
|
||||
License: GPL-2.0-or-later AND GPL-3.0-or-later
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
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#/%{name}-%{version}.tar.xz.hash
|
||||
Source3: https://www.wireshark.org/download/gerald_at_wireshark_dot_org.gpg#/wireshark.keyring
|
||||
# PATCH-FIX-UPSTREAM wireshark-0000-wsutil-implicit_declaration_memcpy.patch
|
||||
Patch0: wireshark-0000-wsutil-implicit_declaration_memcpy.patch
|
||||
# PATCH-FEATURE-SLE wireshark-0010-dumpcap-permission-denied.patch bsc#1180102
|
||||
Patch10: wireshark-0010-dumpcap-permission-denied.patch
|
||||
BuildRequires: %{rb_default_ruby_suffix}-rubygem-asciidoctor
|
||||
BuildRequires: bison
|
||||
BuildRequires: flex
|
||||
BuildRequires: glib2-devel >= 2.32
|
||||
BuildRequires: hicolor-icon-theme
|
||||
BuildRequires: krb5-devel
|
||||
BuildRequires: libbrotli-devel
|
||||
BuildRequires: libcap-devel
|
||||
BuildRequires: libcares-devel >= 1.5.0
|
||||
BuildRequires: libgcrypt-devel >= 1.4.2
|
||||
BuildRequires: libgnutls-devel >= 3.2
|
||||
BuildRequires: libpcap-devel
|
||||
BuildRequires: libsmi-devel
|
||||
BuildRequires: libtool
|
||||
BuildRequires: lua51-devel
|
||||
BuildRequires: net-snmp-devel
|
||||
BuildRequires: openssl-devel
|
||||
BuildRequires: pcre2-devel
|
||||
BuildRequires: pkgconfig
|
||||
BuildRequires: portaudio-devel
|
||||
BuildRequires: snappy-devel
|
||||
BuildRequires: spandsp-devel
|
||||
BuildRequires: tcpd-devel
|
||||
BuildRequires: update-desktop-files
|
||||
BuildRequires: zlib-devel
|
||||
BuildRequires: pkgconfig(libmaxminddb)
|
||||
BuildRequires: pkgconfig(libnghttp2)
|
||||
BuildRequires: pkgconfig(libnl-3.0)
|
||||
BuildRequires: pkgconfig(libssh) >= 0.6.0
|
||||
BuildRequires: pkgconfig(libsystemd)
|
||||
BuildRequires: pkgconfig(libxml-2.0)
|
||||
BuildRequires: pkgconfig(minizip)
|
||||
BuildRequires: pkgconfig(opus)
|
||||
BuildRequires: pkgconfig(sbc)
|
||||
BuildRequires: pkgconfig(speexdsp)
|
||||
Requires(pre): permissions
|
||||
Requires(pre): shadow
|
||||
Recommends: wireshark-ui = %{version}
|
||||
Provides: group(wireshark)
|
||||
%if %{with qt5}
|
||||
BuildRequires: libqt5-linguist-devel
|
||||
BuildRequires: pkgconfig(Qt5Concurrent) >= 5.3.0
|
||||
BuildRequires: pkgconfig(Qt5Core) >= 5.3.0
|
||||
BuildRequires: pkgconfig(Qt5Gui)
|
||||
BuildRequires: pkgconfig(Qt5Multimedia)
|
||||
BuildRequires: pkgconfig(Qt5PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt5Svg)
|
||||
BuildRequires: pkgconfig(Qt5Widgets)
|
||||
%else
|
||||
BuildRequires: qt6-linguist-devel
|
||||
BuildRequires: qt6-qt5compat-devel
|
||||
BuildRequires: pkgconfig(Qt6Concurrent)
|
||||
BuildRequires: pkgconfig(Qt6Core)
|
||||
BuildRequires: pkgconfig(Qt6Gui)
|
||||
BuildRequires: pkgconfig(Qt6Multimedia)
|
||||
BuildRequires: pkgconfig(Qt6PrintSupport)
|
||||
BuildRequires: pkgconfig(Qt6Svg)
|
||||
BuildRequires: pkgconfig(Qt6Widgets)
|
||||
%endif
|
||||
%if 0%{?is_opensuse} && 0%{?suse_version} >= 1550
|
||||
# enable ITU G.729 Annex A/B speech codec only in Tumbleweed
|
||||
BuildRequires: pkgconfig(libbcg729)
|
||||
%endif
|
||||
%if %{with lz4}
|
||||
BuildRequires: pkgconfig(liblz4)
|
||||
# in openSUSE Leap 42.3, lz4 was incorrectly packaged
|
||||
BuildConflicts: pkgconfig(liblz4) = 124
|
||||
%endif
|
||||
|
||||
%description
|
||||
Wireshark is a network protocol analyzer. It allows examining data
|
||||
from a live network or from a capture file on disk. You can
|
||||
interactively browse the capture data, viewing summary and detailed
|
||||
information for each packet. Wireshark has several features,
|
||||
including a rich display filter language and the ability to view the
|
||||
reconstructed stream of a TCP session.
|
||||
|
||||
%package -n %{libutil}
|
||||
Summary: Library for wireshark utilities
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libutil}
|
||||
The libwsutil library provides utility functions for libwireshark.
|
||||
|
||||
%package -n %{libwire}
|
||||
Summary: Network packet dissection library
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libwire}
|
||||
The libwireshark library provides the network packet dissection services
|
||||
developed by the Wireshark project.
|
||||
|
||||
%package -n %{libtap}
|
||||
Summary: Wireshark library for tapping
|
||||
Group: System/Libraries
|
||||
|
||||
%description -n %{libtap}
|
||||
Wiretap, part of the Wireshark project, is a library that allows one to read
|
||||
and write several packet capture file formats.
|
||||
|
||||
%package devel
|
||||
Summary: A Network Traffic Analyser
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: %{libtap} = %{version}
|
||||
Requires: %{libutil} = %{version}
|
||||
Requires: %{libwire} = %{version}
|
||||
Requires: %{name} = %{version}
|
||||
Requires: glib2-devel
|
||||
Requires: glibc-devel
|
||||
|
||||
%description devel
|
||||
Wireshark is a network protocol analyzer. It allows examining data
|
||||
from a live network or from a capture file on disk.
|
||||
|
||||
%package ui-qt
|
||||
Summary: A Network Traffic Analyser - Qt UI
|
||||
Group: Productivity/Networking/Diagnostic
|
||||
Requires: %{name} = %{version}
|
||||
Requires: hicolor-icon-theme
|
||||
Requires: xdg-utils
|
||||
Provides: %{name}-ui = %{version}
|
||||
# gtk is the deprecated ui so ensure its uninstall
|
||||
Provides: %{name}-ui-gtk = %{version}
|
||||
Obsoletes: %{name}-ui-gtk < %{version}
|
||||
|
||||
%description ui-qt
|
||||
This package contains the Qt based UI for Wireshark.
|
||||
|
||||
%prep
|
||||
# The publisher doesn't sign the source tarball, but a signatures file containing multiple hashes.
|
||||
# Verify hashes in that file against source tarball.
|
||||
echo "`grep %{name}-%{version}.tar.xz %{SOURCE2} | grep SHA256 | head -n1 | cut -d= -f2` %{SOURCE0}" | sha256sum -c
|
||||
|
||||
%autosetup -p1
|
||||
|
||||
%build
|
||||
%if %{with qt5}
|
||||
%cmake -DCMAKE_INSTALL_LIBDIR='%{_lib}/' -DUSE_qt6=OFF
|
||||
%else
|
||||
%cmake -DCMAKE_INSTALL_LIBDIR='%{_lib}/'
|
||||
%endif
|
||||
%if 0%{?is_opensuse}
|
||||
%cmake_build
|
||||
%else
|
||||
# if the cmake_build makro does not exit we build it by hand...
|
||||
%{_bindir}/make \
|
||||
%if "%{_bindir}/make" == "%{_bindir}/make"
|
||||
-O VERBOSE=1 \
|
||||
%else
|
||||
-v \
|
||||
%endif
|
||||
-j8
|
||||
%endif
|
||||
|
||||
%install
|
||||
%cmake_install
|
||||
cmake --install build --component Development --prefix %{buildroot}%{_prefix}
|
||||
|
||||
cmakedocdir=%{_docdir}/wireshark
|
||||
if [ -d %{buildroot}%{_datadir}/doc/wireshark ]; then
|
||||
cmakedocdir=%{_datadir}/doc/wireshark
|
||||
fi
|
||||
# removing doc files that are not needed
|
||||
rm %{buildroot}/${cmakedocdir}/COPYING
|
||||
rm %{buildroot}/${cmakedocdir}/README.xml-output
|
||||
rm %{buildroot}/${cmakedocdir}/pdml2html.xsl
|
||||
rm %{buildroot}/${cmakedocdir}/ws.css
|
||||
|
||||
install -d -m 0755 %{buildroot}%{_sysconfdir}
|
||||
install -d -m 0755 %{buildroot}%{_mandir}/man1/
|
||||
|
||||
# desktop file
|
||||
cp resources/freedesktop/%{org_name}.desktop %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop
|
||||
sed -i -e 's|Name=Wireshark|Name=Wireshark - Super User Mode|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop
|
||||
sed -i -e 's|^Exec=wireshark|Exec=xdg-su -c wireshark|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop
|
||||
|
||||
%suse_update_desktop_file %{org_name}
|
||||
%suse_update_desktop_file %{org_name}-su
|
||||
|
||||
rm -f %{buildroot}${cmakedocdir}/*.html
|
||||
|
||||
%pre
|
||||
getent group wireshark >/dev/null || groupadd -r wireshark
|
||||
|
||||
%verifyscript
|
||||
%verify_permissions -e %{_bindir}/dumpcap
|
||||
|
||||
%post
|
||||
%set_permissions %{_bindir}/dumpcap
|
||||
exit 0
|
||||
|
||||
%post ui-qt
|
||||
%desktop_database_post
|
||||
%icon_theme_cache_post
|
||||
|
||||
%postun ui-qt
|
||||
%desktop_database_postun
|
||||
%icon_theme_cache_postun
|
||||
|
||||
%ldconfig_scriptlets -n %{libutil}
|
||||
%ldconfig_scriptlets -n %{libwire}
|
||||
%ldconfig_scriptlets -n %{libtap}
|
||||
|
||||
%files
|
||||
%license COPYING
|
||||
%doc AUTHORS NEWS README.md README.linux
|
||||
%{_mandir}/man1/[^i]*
|
||||
%{_mandir}/man4/*
|
||||
%{_bindir}/capinfos
|
||||
%{_bindir}/captype
|
||||
%{_bindir}/editcap
|
||||
%{_bindir}/idl2wrs
|
||||
%{_bindir}/mergecap
|
||||
%{_bindir}/mmdbresolve
|
||||
%{_bindir}/randpkt
|
||||
%{_bindir}/rawshark
|
||||
%{_bindir}/reordercap
|
||||
%{_bindir}/sharkd
|
||||
%{_bindir}/text2pcap
|
||||
%{_bindir}/tshark
|
||||
%verify(not mode caps) %attr(0750,root,wireshark) %caps(cap_net_raw,cap_net_admin=ep) %{_bindir}/dumpcap
|
||||
%{_libdir}/wireshark/
|
||||
%{_datadir}/wireshark/
|
||||
|
||||
%files -n %{libutil}
|
||||
%license COPYING
|
||||
%{_libdir}/libwsutil*.so.*
|
||||
|
||||
%files -n %{libwire}
|
||||
%license COPYING
|
||||
%{_libdir}/libwireshark.so.*
|
||||
|
||||
%files -n %{libtap}
|
||||
%license COPYING
|
||||
%{_libdir}/libwiretap.so.*
|
||||
|
||||
%files devel
|
||||
%license COPYING
|
||||
%{_includedir}/wireshark/
|
||||
%{_libdir}/lib*.so
|
||||
%{_libdir}/pkgconfig/wireshark.pc
|
||||
%{_libdir}/cmake/wireshark/
|
||||
|
||||
%files ui-qt
|
||||
%license COPYING
|
||||
%{_bindir}/wireshark
|
||||
%{_datadir}/applications/%{org_name}.desktop
|
||||
%{_datadir}/applications/%{org_name}-su.desktop
|
||||
%{_datadir}/icons/hicolor/*/apps/%{org_name}.png
|
||||
%{_datadir}/icons/hicolor/*/mimetypes/%{org_name}-mimetype.png
|
||||
%{_datadir}/mime/packages/%{org_name}.xml
|
||||
%{_datadir}/metainfo/%{org_name}.metainfo.xml
|
||||
|
||||
%changelog
|
Loading…
Reference in New Issue
Block a user