rpms/tcp_wrappers/devel tcp_wrappers-7.6-220015.patch, 1.1, 1.2 tcp_wrappers.spec, 1.27, 1.28

Tomas Janousek (tjanouse) fedora-extras-commits at redhat.com
Wed Jun 6 12:55:28 UTC 2007


Author: tjanouse

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

Modified Files:
	tcp_wrappers-7.6-220015.patch tcp_wrappers.spec 
Log Message:
* Wed Jun 06 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-47
- fix the hostname resolving patch for x86_64


tcp_wrappers-7.6-220015.patch:

Index: tcp_wrappers-7.6-220015.patch
===================================================================
RCS file: /cvs/pkgs/rpms/tcp_wrappers/devel/tcp_wrappers-7.6-220015.patch,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -r1.1 -r1.2
--- tcp_wrappers-7.6-220015.patch	9 Mar 2007 10:12:45 -0000	1.1
+++ tcp_wrappers-7.6-220015.patch	6 Jun 2007 12:54:31 -0000	1.2
@@ -1,5 +1,16 @@
---- tcp_wrappers_7.6/hosts_access.c.220015	2007-02-08 15:39:51.000000000 +0100
-+++ tcp_wrappers_7.6/hosts_access.c	2007-02-08 15:39:51.000000000 +0100
+--- tcp_wrappers_7.6/tcpd.h.220015	2007-06-06 14:46:32.000000000 +0200
++++ tcp_wrappers_7.6/tcpd.h	2007-06-06 14:50:44.000000000 +0200
+@@ -171,6 +171,8 @@
+ extern void sock_hostname __P((struct host_info *));
+ /* address to printable address */
+ extern void sock_hostaddr __P((struct host_info *));
++/* resolve hostname */
++extern const char * sock_resolve __P((const char *hostname, int family));
+ 
+ #define sock_methods(r) \
+ 	{ (r)->hostname = sock_hostname; (r)->hostaddr = sock_hostaddr; }
+--- tcp_wrappers_7.6/hosts_access.c.220015	2007-06-06 14:46:32.000000000 +0200
++++ tcp_wrappers_7.6/hosts_access.c	2007-06-06 14:46:32.000000000 +0200
 @@ -312,8 +312,28 @@
      } else if ((mask = split_at(tok, '/')) != 0) {	/* net/mask */
  	return (masked_match(tok, mask, eval_hostaddr(host)));
@@ -31,8 +42,8 @@
      }
  }
  
---- tcp_wrappers_7.6/socket.c.220015	2007-02-08 15:39:51.000000000 +0100
-+++ tcp_wrappers_7.6/socket.c	2007-02-08 15:41:38.000000000 +0100
+--- tcp_wrappers_7.6/socket.c.220015	2007-06-06 14:46:32.000000000 +0200
++++ tcp_wrappers_7.6/socket.c	2007-06-06 14:46:32.000000000 +0200
 @@ -435,3 +435,43 @@
  
      (void) recvfrom(fd, buf, sizeof(buf), 0, (struct sockaddr *) & sin, &size);


Index: tcp_wrappers.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcp_wrappers/devel/tcp_wrappers.spec,v
retrieving revision 1.27
retrieving revision 1.28
diff -u -r1.27 -r1.28
--- tcp_wrappers.spec	28 May 2007 13:25:10 -0000	1.27
+++ tcp_wrappers.spec	6 Jun 2007 12:54:31 -0000	1.28
@@ -1,7 +1,7 @@
 Summary: A security tool which acts as a wrapper for TCP daemons.
 Name: tcp_wrappers
 Version: 7.6
-Release: 46%{?dist}
+Release: 47%{?dist}
 
 %define LIB_MAJOR 0
 %define LIB_MINOR 7
@@ -143,6 +143,9 @@
 %{_mandir}/man3/*
 
 %changelog
+* Wed Jun 06 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-47
+- fix the hostname resolving patch for x86_64
+
 * Mon May 28 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-46
 - modified the fix for #112975 to fix #156373 as well
 




More information about the fedora-extras-commits mailing list