[wireshark] fixed Fedora-specific message when user is not part of 'wireshark' group

Jan Šafránek jsafrane at fedoraproject.org
Thu Jun 16 07:33:50 UTC 2011


commit ef36da69893c7ecbcf614d76c344de859a0610d4
Author: Jan Safranek <jsafrane at redhat.com>
Date:   Thu Jun 16 09:30:51 2011 +0200

    fixed Fedora-specific message when user is not part of 'wireshark' group

 wireshark-1.4.2-group-msg.patch |    2 +-
 wireshark.spec                  |    4 ++++
 2 files changed, 5 insertions(+), 1 deletions(-)
---
diff --git a/wireshark-1.4.2-group-msg.patch b/wireshark-1.4.2-group-msg.patch
index c8bb145..36af85b 100644
--- a/wireshark-1.4.2-group-msg.patch
+++ b/wireshark-1.4.2-group-msg.patch
@@ -31,7 +31,7 @@ index 68b79f7..71de366 100644
 -      g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s",
 -                argv[0], strerror(errno));
 +      if (errno == EPERM || errno == EACCES)
-+          securitymsg = "\nAre you memeber of 'wireshark' group? Try running\n'usermod -a -G wireshark <username>' as root.";
++          securitymsg = "\nAre you memeber of 'wireshark' group? Try running\n'usermod -a -G wireshark _your_username_' as root.";
 +      g_snprintf(errmsg, sizeof errmsg, "Couldn't run %s in child process: %s%s",
 +                argv[0], strerror(errno), securitymsg);
        sync_pipe_errmsg_to_parent(2, errmsg, "");
diff --git a/wireshark.spec b/wireshark.spec
index d06fc4b..6a81546 100644
--- a/wireshark.spec
+++ b/wireshark.spec
@@ -328,6 +328,10 @@ gtk-update-icon-cache %{_datadir}/icons/hicolor &>/dev/null || :
 %{_sbindir}/idl2wrs
 
 %changelog
+* Thu Jun 16 2011 Jan Safranek <jsafrane at redhat.com> - 1.6.0-3
+- fixed Fedora-specific message when user is not part of 'wireshark' group
+  - now it does not contain '<' and '>' characters (#713545)
+
 * Thu Jun  9 2011 Jan Safranek <jsafrane at redhat.com> - 1.6.0-2
 - added wspy_dissectors directory to the package
   - other packages can add Python plugins there


More information about the scm-commits mailing list