components/wireshark/patches/DesktopEntry.patch
author Petr Sumbera <petr.sumbera@oracle.com>
Wed, 13 May 2015 04:53:25 -0700
branchs11-update
changeset 4313 ab47f4c0c6fc
parent 2669 098e8b6b0df7
child 5619 4d97a998cbcc
permissions -rw-r--r--
21081515 Upgrade Wireshark to version 1.12.5 19016321 Support for DCBx-CEE TLVs in wireshark 21081432 problem in UTILITY/WIRESHARK

Patch origin: in-house
Patch status: Solaris-specific; not suitable for upstream

Starts Wireshark via pfexec to leverage any given privileges.

--- wireshark.desktop
+++ wireshark.desktop
@@ -69,8 +69,8 @@
 Comment[fr]=Analyseur de trafic réseau
 Comment[sv]=Nätverkstrafikanalysator
 Icon=wireshark
-TryExec=wireshark
-Exec=wireshark %f
+TryExec=/usr/sbin/wireshark
+Exec=pfexec /usr/sbin/wireshark %f
 Terminal=false
 MimeType=application/vnd.tcpdump.pcap;application/x-pcapng;application/x-snoop;application/x-iptrace;application/x-lanalyzer;application/x-nettl;application/x-radcom;application/x-etherpeek;application/x-visualnetworks;application/x-netinstobserver;application/x-5view;
 # Category entry according to: