[wireshark] fixed the message in both its occurences, forgotten by previous commit
Jan Šafránek
jsafrane at fedoraproject.org
Thu Jun 16 08:21:58 UTC 2011
commit 85d4d927e59b76f7e48671b16aa634f53c562218
Author: Jan Safranek <jsafrane at redhat.com>
Date: Thu Jun 16 10:19:00 2011 +0200
fixed the message in both its occurences, forgotten by previous commit
wireshark-1.4.2-group-msg.patch | 2 +-
wireshark.spec | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/wireshark-1.4.2-group-msg.patch b/wireshark-1.4.2-group-msg.patch
index 36af85b..a599322 100644
--- a/wireshark-1.4.2-group-msg.patch
+++ b/wireshark-1.4.2-group-msg.patch
@@ -52,7 +52,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 '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 c200241..e173e96 100644
--- a/wireshark.spec
+++ b/wireshark.spec
@@ -11,7 +11,7 @@
Summary: Network traffic analyzer
Name: wireshark
Version: 1.6.0
-Release: 3%{?dist}
+Release: 4%{?dist}
License: GPL+
Group: Applications/Internet
Source0: http://wireshark.org/download/src/%{name}-%{version}.tar.bz2
@@ -328,6 +328,9 @@ 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-4
+- fixed previous incomplete fix
+
* 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)
More information about the scm-commits
mailing list