rpms/tcp_wrappers/devel tcp_wrappers-7.6-220015.patch, 1.3, 1.4 tcp_wrappers-7.6-sigchld.patch, 1.2, 1.3 tcp_wrappers.spec, 1.30, 1.31

Tomas Janousek (tjanouse) fedora-extras-commits at redhat.com
Thu Jun 28 13:47:09 UTC 2007


Author: tjanouse

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

Modified Files:
	tcp_wrappers-7.6-220015.patch tcp_wrappers-7.6-sigchld.patch 
	tcp_wrappers.spec 
Log Message:
* Thu Jun 28 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-48
- dropped the hostname resolving patch
- resolve the address given to hosts_ctl to hostname, if hostname not given
- compare localhost and localhost.localdomain as the same
- fixed a few compile warnings


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.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- tcp_wrappers-7.6-220015.patch	28 Jun 2007 13:28:22 -0000	1.3
+++ tcp_wrappers-7.6-220015.patch	28 Jun 2007 13:46:33 -0000	1.4
@@ -1,5 +1,15 @@
+--- tcp_wrappers_7.6/tcpd.h.220015	2007-06-28 15:42:49.000000000 +0200
++++ tcp_wrappers_7.6/tcpd.h	2007-06-28 15:43:59.000000000 +0200
+@@ -167,6 +167,7 @@
+ 
+ /* look up endpoint addresses */
+ extern void sock_host __P((struct request_info *));
++extern void sock_hostnofd __P((struct request_info *));
+ /* translate address to hostname */
+ extern void sock_hostname __P((struct host_info *));
+ /* address to printable address */
 --- tcp_wrappers_7.6/hosts_ctl.c.220015	1994-12-28 17:42:28.000000000 +0100
-+++ tcp_wrappers_7.6/hosts_ctl.c	2007-06-27 14:12:53.000000000 +0200
++++ tcp_wrappers_7.6/hosts_ctl.c	2007-06-28 15:42:49.000000000 +0200
 @@ -29,10 +29,12 @@
  {
      struct request_info request;
@@ -19,8 +29,8 @@
 +
 +    return (hosts_access(&request));
  }
---- tcp_wrappers_7.6/socket.c.220015	2007-06-27 14:12:53.000000000 +0200
-+++ tcp_wrappers_7.6/socket.c	2007-06-28 13:43:46.000000000 +0200
+--- tcp_wrappers_7.6/socket.c.220015	2007-06-28 15:42:49.000000000 +0200
++++ tcp_wrappers_7.6/socket.c	2007-06-28 15:42:49.000000000 +0200
 @@ -147,6 +147,51 @@
  #endif
  }

tcp_wrappers-7.6-sigchld.patch:

Index: tcp_wrappers-7.6-sigchld.patch
===================================================================
RCS file: /cvs/pkgs/rpms/tcp_wrappers/devel/tcp_wrappers-7.6-sigchld.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- tcp_wrappers-7.6-sigchld.patch	28 May 2007 13:25:10 -0000	1.2
+++ tcp_wrappers-7.6-sigchld.patch	28 Jun 2007 13:46:33 -0000	1.3
@@ -1,15 +1,18 @@
 --- tcp_wrappers_7.6/shell_cmd.c.sigchld	1994-12-28 17:42:44.000000000 +0100
-+++ tcp_wrappers_7.6/shell_cmd.c	2007-05-28 15:06:28.000000000 +0200
-@@ -20,6 +20,8 @@
++++ tcp_wrappers_7.6/shell_cmd.c	2007-06-28 15:42:17.000000000 +0200
+@@ -20,6 +20,11 @@
  #include <stdio.h>
  #include <syslog.h>
  #include <string.h>
 +#include <errno.h>
 +#include <unistd.h>
++#include <sys/wait.h>
++#include <sys/stat.h>
++#include <fcntl.h>
  
  extern void exit();
  
-@@ -31,13 +33,42 @@
+@@ -31,13 +36,42 @@
  
  static void do_child();
  
@@ -53,7 +56,7 @@
  
      /*
       * Most of the work is done within the child process, to minimize the
-@@ -49,12 +80,26 @@
+@@ -49,12 +83,26 @@
  	tcpd_warn("cannot fork: %m");
  	break;
      case 00:					/* child */


Index: tcp_wrappers.spec
===================================================================
RCS file: /cvs/pkgs/rpms/tcp_wrappers/devel/tcp_wrappers.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- tcp_wrappers.spec	28 Jun 2007 13:40:29 -0000	1.30
+++ tcp_wrappers.spec	28 Jun 2007 13:46:33 -0000	1.31
@@ -149,6 +149,7 @@
 - dropped the hostname resolving patch
 - resolve the address given to hosts_ctl to hostname, if hostname not given
 - compare localhost and localhost.localdomain as the same
+- fixed a few compile warnings
 
 * Wed Jun 06 2007 Tomas Janousek <tjanouse at redhat.com> - 7.6-47
 - fix the hostname resolving patch for x86_64




More information about the fedora-extras-commits mailing list