rpms/iputils/devel iputils-20071127-typing_bug.patch, NONE, 1.1 iputils.spec, 1.60, 1.61

Jiri Skala (jskala) fedora-extras-commits at redhat.com
Wed Aug 6 13:53:30 UTC 2008


Author: jskala

Update of /cvs/extras/rpms/iputils/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv8234

Modified Files:
	iputils.spec 
Added Files:
	iputils-20071127-typing_bug.patch 
Log Message:
* Wed Aug 06 2008 Jiri Skala <jskala at redhat.com> - 20071127-4
- Resolves: #455713 remove suid from ping
- corrected typing error in man


iputils-20071127-typing_bug.patch:

--- NEW FILE iputils-20071127-typing_bug.patch ---
diff -up iputils-s20071127/doc/tracepath.sgml.typing_bug iputils-s20071127/doc/tracepath.sgml
--- iputils-s20071127/doc/tracepath.sgml.typing_bug	2008-08-05 15:29:51.000000000 +0200
+++ iputils-s20071127/doc/tracepath.sgml	2008-08-05 15:30:12.000000000 +0200
@@ -99,7 +99,7 @@ with TTL of 2 was rejected at the first 
 </para>
 
 <para>
-Te last line summarizes information about all the path to the destination,
+The last line summarizes information about all the path to the destination,
 it shows detected Path MTU, amount of hops to the destination and our
 guess about amount of hops from the destination to us, which can be
 different when the path is asymmetric.


Index: iputils.spec
===================================================================
RCS file: /cvs/extras/rpms/iputils/devel/iputils.spec,v
retrieving revision 1.60
retrieving revision 1.61
diff -u -r1.60 -r1.61
--- iputils.spec	3 Jun 2008 11:04:03 -0000	1.60
+++ iputils.spec	6 Aug 2008 13:53:00 -0000	1.61
@@ -1,7 +1,7 @@
 Summary: Network monitoring tools including ping
 Name: iputils
 Version: 20071127
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 URL: http://www.skbuff.net/iputils
 Group: System Environment/Daemons
@@ -24,6 +24,7 @@
 Patch11: iputils-20071127-output.patch
 Patch12: iputils-20070202-ia64_align.patch
 Patch13: iputils-20071127-warnings.patch
+Patch14: iputils-20071127-typing_bug.patch
 
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: docbook-utils perl-SGMLSpm
@@ -31,6 +32,7 @@
 BuildRequires: libsysfs-devel
 BuildRequires: libidn-devel
 Requires(post): /sbin/chkconfig
+Requires(post): /usr/sbin/setcap
 Requires(preun): /sbin/chkconfig
 Requires(preun): /sbin/service
 Requires(postun): /sbin/service
@@ -58,6 +60,7 @@
 %patch11 -p1 -b .output
 %patch12 -p1 -b .ia64_align
 %patch13 -p1 -b .warnings
+%patch14 -p1 -b .typing_bug
 
 %build
 %ifarch s390 s390x
@@ -109,6 +112,8 @@
 
 %post
 /sbin/chkconfig --add rdisc
+/usr/sbin/setcap cap_net_raw=ep /bin/ping
+/usr/sbin/setcap cap_net_raw=ep /bin/ping6
 
 %preun
 if [ $1 = 0 ]; then
@@ -134,10 +139,10 @@
 %{_sbindir}/clockdiff
 /sbin/arping
 %{_sbindir}/arping
-%attr(4755,root,root) /bin/ping
+%attr(0755,root,root) /bin/ping
 /sbin/ifenslave
 /sbin/rdisc
-%attr(4755,root,root) /bin/ping6
+%attr(0755,root,root) /bin/ping6
 /bin/tracepath
 /bin/tracepath6
 %{_sbindir}/ping6
@@ -147,6 +152,10 @@
 %{_sysconfdir}/rc.d/init.d/rdisc
 
 %changelog
+* Wed Aug 06 2008 Jiri Skala <jskala at redhat.com> - 20071127-4
+- Resolves: #455713 remove suid from ping
+- corrected typing error in man
+
 * Tue Jun 03 2008 Martin Nagy <mnagy at redhat.com> - 20071127-3
 - major patch cleanup so it will be easier to get patches upstream
 - fix for #68212, previous fix actually didn't work for ping6




More information about the fedora-extras-commits mailing list