rpms/iputils/devel .cvsignore, 1.10, 1.11 iputils-20070202-idn.patch, 1.1, 1.2 iputils.spec, 1.48, 1.49 sources, 1.14, 1.15

Martin Bacovsky (mbacovsk) fedora-extras-commits at redhat.com
Tue Aug 7 09:15:09 UTC 2007


Author: mbacovsk

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

Modified Files:
	.cvsignore iputils-20070202-idn.patch iputils.spec sources 
Log Message:
* Fri Aug  3 2007 Martin Bacovsky <mbacovsk at redhat.com> - 20070202-4
- resolves: #236725: ping does not work for subsecond intervals for ordinary user
- resolves: #243197: RFE: Please sync ifenslave with current kernel
- resolves: #246954: Initscript Review



Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/iputils/devel/.cvsignore,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- .cvsignore	15 Mar 2007 16:43:36 -0000	1.10
+++ .cvsignore	7 Aug 2007 09:14:36 -0000	1.11
@@ -1 +1,3 @@
 iputils-s20070202.tar.bz2
+rdisc.initd
+ifenslave.tar.gz

iputils-20070202-idn.patch:

Index: iputils-20070202-idn.patch
===================================================================
RCS file: /cvs/pkgs/rpms/iputils/devel/iputils-20070202-idn.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- iputils-20070202-idn.patch	27 Mar 2007 11:34:20 -0000	1.1
+++ iputils-20070202-idn.patch	7 Aug 2007 09:14:36 -0000	1.2
@@ -1,10 +1,5 @@
-Patch by Robert Scheck <redhat at linuxnetz.de> for iputils >= 20070202, which adds
-IDN support (umlaut domains) to ping and ping6. For ping this requires the libidn
-package installed. For ping6, glibc >= 2.3.4 or glibc 2.3.3 CVS >= 20031001 is
-needed.
-
---- iputils-s20070202/ping.c			2007-03-11 12:22:08.000000000 +0100
-+++ iputils-s20070202/ping.c.idn		2007-03-11 14:05:40.000000000 +0100
+--- iputils-s20070202/ping.c.idn	2007-08-06 14:45:36.000000000 +0200
++++ iputils-s20070202/ping.c	2007-08-06 14:45:36.000000000 +0200
 @@ -58,6 +58,12 @@
   *	This program has to run SUID to ROOT to access the ICMP socket.
   */
@@ -17,8 +12,8 @@
 +
  #include "ping_common.h"
  
- #include <linux/icmp.h>
-@@ -115,6 +121,12 @@
+ #include <netinet/ip.h>
+@@ -122,6 +128,12 @@
  	char *target, hnamebuf[MAXHOSTNAMELEN];
  	char rspace[3 + 4 * NROUTES + 1];	/* record route space */
  
@@ -31,7 +26,7 @@
  	icmp_sock = socket(AF_INET, SOCK_RAW, IPPROTO_ICMP);
  	socket_errno = errno;
  
-@@ -236,13 +248,35 @@
+@@ -242,13 +254,35 @@
  			if (argc == 1)
  				options |= F_NUMERIC;
  		} else {
@@ -67,9 +62,9 @@
  			hnamebuf[sizeof(hnamebuf) - 1] = 0;
  			hostname = hnamebuf;
  		}
---- iputils-s20070202/Makefile			2007-03-11 12:22:08.000000000 +0100 
-+++ iputils-s20070202/Makefile.idn		2007-03-11 14:16:56.000000000 +0100
-@@ -35,8 +35,13 @@
+--- iputils-s20070202/Makefile.idn	2007-08-06 14:45:36.000000000 +0200
++++ iputils-s20070202/Makefile	2007-08-06 14:45:36.000000000 +0200
+@@ -27,8 +27,13 @@
  
  
  tftpd: tftpd.o tftpsubs.o
@@ -83,8 +78,8 @@
  ping.o ping6.o ping_common.o: ping_common.h
  tftpd.o tftpsubs.o: tftp.h
  
---- iputils-s20070202/ping6.c			2007-03-25 13:21:27.000000000 +0200
-+++ iputils-s20070202/ping6.c.idn		2007-03-25 13:53:16.000000000 +0200
+--- iputils-s20070202/ping6.c.idn	2007-08-06 14:45:36.000000000 +0200
++++ iputils-s20070202/ping6.c	2007-08-06 14:45:36.000000000 +0200
 @@ -66,6 +66,12 @@
   *	More statistics could always be gathered.
   *	This program has to run SUID to ROOT to access the ICMP socket.
@@ -129,3 +124,34 @@
  	gai = getaddrinfo(target, NULL, &hints, &ai);
  	if (gai) {
  		fprintf(stderr, "unknown host\n");
+--- iputils-s20070202/ping_common.c.idn	2007-08-06 14:45:36.000000000 +0200
++++ iputils-s20070202/ping_common.c	2007-08-06 14:47:41.000000000 +0200
+@@ -1,3 +1,8 @@
++#define LIBIDN
++#ifdef LIBIDN
++#include <locale.h>
++#endif
++
+ #include "ping_common.h"
+ #include <ctype.h>
+ #include <sched.h>
+@@ -97,6 +102,9 @@
+ 
+ void common_options(int ch)
+ {
++#ifdef LIBIDN
++	setlocale(LC_ALL, "C");
++#endif
+ 	switch(ch) {
+ 	case 'a':
+ 		options |= F_AUDIBLE;
+@@ -222,6 +230,9 @@
+ 	default:
+ 		abort();
+ 	}
++#ifdef LIBIDN
++	setlocale(LC_ALL, "");
++#endif
+ }
+ 
+ 


Index: iputils.spec
===================================================================
RCS file: /cvs/pkgs/rpms/iputils/devel/iputils.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -r1.48 -r1.49
--- iputils.spec	6 Apr 2007 11:01:00 -0000	1.48
+++ iputils.spec	7 Aug 2007 09:14:36 -0000	1.49
@@ -1,7 +1,7 @@
 Summary: Network monitoring tools including ping
 Name: iputils
 Version: 20070202
-Release: 3%{?dist}
+Release: 4%{?dist}
 License: BSD
 URL: http://www.skbuff.net/iputils
 Group: System Environment/Daemons
@@ -145,6 +145,11 @@
 %{_sysconfdir}/rc.d/init.d/rdisc
 
 %changelog
+* Fri Aug  3 2007 Martin Bacovsky <mbacovsk at redhat.com> - 20070202-4
+- resolves: #236725: ping does not work for subsecond intervals for ordinary user
+- resolves: #243197: RFE: Please sync ifenslave with current kernel
+- resolves: #246954: Initscript Review
+
 * Fri Apr  6 2007 Martin Bacovsky <mbacovsk at redhat.com> - 20070202-3
 - resolves: #235374: Update of iputils starts rdisc, breaking connectivity 
 


Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/iputils/devel/sources,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- sources	15 Mar 2007 16:43:36 -0000	1.14
+++ sources	7 Aug 2007 09:14:36 -0000	1.15
@@ -1,3 +1,3 @@
-349c02b907d61a143876f85cbd006c89  rdisc.initd
-7b1b81338efea21dd5ecac3fd1f89c1b  ifenslave.tar.gz
 1d38fb3cfc2b71496e43cf646bfc1d6e  iputils-s20070202.tar.bz2
+3d892612fea39310ee054f59f3931132  rdisc.initd
+9071449369f52f374faf40811b1669ed  ifenslave.tar.gz




More information about the fedora-extras-commits mailing list