[iputils] - fixes #646444 - Replace SETUID in spec file with the correct file capabilities
Jiri Skala
jskala at fedoraproject.org
Wed Oct 27 08:38:49 UTC 2010
commit 37d219fe5393f47bb6abd1a3973f8aee25c30788
Author: Jiri Skala <jskala at localhost.(none)>
Date: Wed Oct 27 10:38:48 2010 +0200
- fixes #646444 - Replace SETUID in spec file with the correct file capabilities
iputils.spec | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/iputils.spec b/iputils.spec
index 4b35de8..a23d025 100644
--- a/iputils.spec
+++ b/iputils.spec
@@ -1,7 +1,7 @@
Summary: Network monitoring tools including ping
Name: iputils
Version: 20101006
-Release: 1%{?dist}
+Release: 2%{?dist}
License: BSD
URL: http://www.skbuff.net/iputils
Group: System Environment/Daemons
@@ -134,10 +134,10 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sbindir}/clockdiff
/sbin/arping
%{_sbindir}/arping
-%attr(4755,root,root) /bin/ping
+%attr(0755,root,root) %caps(cap_net_raw=ep) /bin/ping
/sbin/ifenslave
/sbin/rdisc
-%attr(4755,root,root) /bin/ping6
+%attr(0755,root,root) %caps(cap_net_raw=ep) /bin/ping6
/bin/tracepath
/bin/tracepath6
%{_sbindir}/ping6
@@ -147,6 +147,9 @@ rm -rf ${RPM_BUILD_ROOT}
%{_sysconfdir}/rc.d/init.d/rdisc
%changelog
+* Wed Oct 27 2010 Jiri Skala <jskala at redhat.com> - 20101006-2
+- fixes #646444 - Replace SETUID in spec file with the correct file capabilities
+
* Mon Oct 11 2010 Jiri Skala <jskala at redhat.com> - 20101006-1
- update to latest upstream
More information about the scm-commits
mailing list