Use file capabilities instead of SUID (#646479).
Signed-off-by: Adam Tkac <atkac@redhat.com>
This commit is contained in:
parent
b0c6688ece
commit
3faa33afa9
7
mtr.spec
7
mtr.spec
@ -1,7 +1,7 @@
|
||||
Summary: A network diagnostic tool
|
||||
Name: mtr
|
||||
Version: 0.80
|
||||
Release: 1%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Epoch: 2
|
||||
Group: Applications/Internet
|
||||
License: GPLv2+
|
||||
@ -78,7 +78,7 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%files
|
||||
%defattr(-,root,root,-)
|
||||
%doc AUTHORS COPYING FORMATS NEWS README SECURITY
|
||||
%attr(4755,root,root) %{_sbindir}/mtr
|
||||
%attr(0755,root,root) %caps(cap_net_raw=pe) %{_sbindir}/mtr
|
||||
%{_mandir}/man8/*
|
||||
|
||||
%files gtk
|
||||
@ -91,6 +91,9 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_datadir}/pixmaps/mtr_icon.xpm
|
||||
|
||||
%changelog
|
||||
* Wed Nov 03 2010 Adam Tkac <atkac redhat com> 2:0.80-2
|
||||
- use file capabilities instead of SUID (#646479)
|
||||
|
||||
* Tue Oct 26 2010 Jan Görig <jgorig redhat com> 2:0.80-1
|
||||
- update to 0.80
|
||||
- mtr now waits for last sent packet (#611739)
|
||||
|
Loading…
Reference in New Issue
Block a user