Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package wireshark for openSUSE:Factory checked in at 2022-10-14 15:40:30 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/wireshark (Old) and /work/SRC/openSUSE:Factory/.wireshark.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "wireshark" Fri Oct 14 15:40:30 2022 rev:195 rq:1010185 version:4.0.0 Changes: -------- --- /work/SRC/openSUSE:Factory/wireshark/wireshark.changes 2022-10-10 18:45:06.462939060 +0200 +++ /work/SRC/openSUSE:Factory/.wireshark.new.2275/wireshark.changes 2022-10-14 15:41:15.207789571 +0200 @@ -1,0 +2,11 @@ +Fri Oct 7 06:15:13 UTC 2022 - ecsos <ec...@opensuse.org> + +- Added an additional desktopfile to start wireshark which asks for + the super user password. + +------------------------------------------------------------------- +Thu Oct 6 15:48:15 UTC 2022 - ecsos <ec...@opensuse.org> + +- Fix build error for Leap. + +------------------------------------------------------------------- ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ wireshark.spec ++++++ --- /var/tmp/diff_new_pack.4B9Oao/_old 2022-10-14 15:41:15.931790780 +0200 +++ /var/tmp/diff_new_pack.4B9Oao/_new 2022-10-14 15:41:15.939790793 +0200 @@ -61,7 +61,7 @@ BuildRequires: lua51-devel BuildRequires: net-snmp-devel BuildRequires: openssl-devel -BuildRequires: pcre-devel +BuildRequires: pcre2-devel BuildRequires: pkgconfig BuildRequires: portaudio-devel BuildRequires: snappy-devel @@ -157,6 +157,7 @@ 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} @@ -219,7 +220,13 @@ install -m 644 wiretap/*.h "${IDIR}/wiretap" install -m 644 wsutil/*.h "${IDIR}/wsutil" +# 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 %f|Exec=xdg-su -c wireshark %f|g' %{buildroot}%{_datadir}/applications/%{org_name}-su.desktop + %suse_update_desktop_file %{org_name} +%suse_update_desktop_file %{org_name}-su rm -f %{buildroot}%{_datadir}/doc/wireshark/*.html @@ -281,6 +288,7 @@ %{_bindir}/wireshark %{_bindir}/ethereal %{_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}/icons/hicolor/scalable/apps/%{org_name}.svg