SHA256
1
0
forked from pool/wireshark

Accepting request 947191 from network:utilities

OBS-URL: https://build.opensuse.org/request/show/947191
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/wireshark?expand=0&rev=184
This commit is contained in:
Dominique Leuenberger 2022-01-21 00:24:55 +00:00 committed by Git OBS Bridge
commit 335b57b1e6
4 changed files with 34 additions and 2 deletions

View File

@ -0,0 +1,22 @@
commit ca61ee833ac886345ae5e6f4c239da7eae72f027
Author: Robert Frohl <rfrohl@suse.com>
Date: Tue Jan 18 10:32:42 2022 +0100
wmem_alloc() moved from libwireshark.so to libwsutil.so with 3.6.x
Some external plugins use wmem_alloc() like wireshark-plugin-libvirt.
The linker needs to find it it after the move.
Fixes wireshark/wireshark#17889
diff --git a/wireshark.pc.in b/wireshark.pc.in
index 588917812b..e755614bba 100644
--- a/wireshark.pc.in
+++ b/wireshark.pc.in
@@ -10,5 +10,5 @@ Description: Network Packet Dissection Library
Version: @VERSION@
Requires: glib-2.0, gmodule-2.0, gthread-2.0
-Libs: -L${libdir} -lwireshark
+Libs: -L${libdir} -lwireshark -lwsutil
Cflags: -I${includedir}/wireshark

View File

@ -1,3 +1,12 @@
-------------------------------------------------------------------
Tue Jan 18 09:42:36 UTC 2022 - Robert Frohl <rfrohl@suse.com>
- Fix wireshark-plugin-libvirt build after wmem_alloc() moved from
libwireshark.so to libwsutil.so (bsc#1194780)
* Added wireshark-0001-pkgconfig.patch
- Renamed wireshark-0001-dumpcap-permission-denied.patch
to wireshark-0010-dumpcap-permission-denied.patch
------------------------------------------------------------------- -------------------------------------------------------------------
Mon Jan 10 10:30:10 UTC 2022 - Robert Frohl <rfrohl@suse.com> Mon Jan 10 10:30:10 UTC 2022 - Robert Frohl <rfrohl@suse.com>

View File

@ -37,8 +37,9 @@ URL: https://www.wireshark.org/
Source: https://www.wireshark.org/download/src/%{name}-%{version}.tar.xz Source: https://www.wireshark.org/download/src/%{name}-%{version}.tar.xz
Source2: https://www.wireshark.org/download/SIGNATURES-%{version}.txt#/%{name}-%{version}.tar.xz.asc Source2: https://www.wireshark.org/download/SIGNATURES-%{version}.txt#/%{name}-%{version}.tar.xz.asc
Source3: https://www.wireshark.org/download/gerald_at_wireshark_dot_org.gpg#/wireshark.keyring Source3: https://www.wireshark.org/download/gerald_at_wireshark_dot_org.gpg#/wireshark.keyring
Patch1: wireshark-0000-wsutil-implicit_declaration_memcpy.patch Patch0: wireshark-0000-wsutil-implicit_declaration_memcpy.patch
Patch10: wireshark-0001-dumpcap-permission-denied.patch Patch1: wireshark-0001-pkgconfig.patch
Patch10: wireshark-0010-dumpcap-permission-denied.patch
BuildRequires: %{rb_default_ruby_suffix}-rubygem-asciidoctor BuildRequires: %{rb_default_ruby_suffix}-rubygem-asciidoctor
BuildRequires: bison BuildRequires: bison
BuildRequires: flex BuildRequires: flex