rpms/xinetd/devel xinetd-2.3.14-tcpmux.patch, NONE, 1.1 xinetd.spec, 1.66, 1.67

Jan Zeleny jzeleny at fedoraproject.org
Thu Jan 21 09:38:27 UTC 2010


Author: jzeleny

Update of /cvs/extras/rpms/xinetd/devel
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv11424

Modified Files:
	xinetd.spec 
Added Files:
	xinetd-2.3.14-tcpmux.patch 
Log Message:
fixed issue with tcpmux service (#543968)

xinetd-2.3.14-tcpmux.patch:
 service.c |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

--- NEW FILE xinetd-2.3.14-tcpmux.patch ---
--- xinetd-2.3.14/xinetd/service.c.tcpmux	2010-01-21 09:50:05.000000000 +0100
+++ xinetd-2.3.14/xinetd/service.c	2010-01-21 10:21:14.000000000 +0100
@@ -952,7 +952,12 @@ void close_all_svc_descriptors(void)
         out_of_memory( "close_all_svc_descriptors" ) ;
 
    for ( osp = SP( psi_start( iter ) ) ; osp ; osp = SP( psi_next( iter ) ) )
-        (void) Sclose( SVC_FD( osp ) ) ;
+   {
+#ifdef HAVE_POLL
+        if ( osp && SVC_POLLFD( osp ) )
+#endif
+            (void) Sclose( SVC_FD( osp ) ) ;
+   }
   
    psi_destroy( iter ) ;
 }


Index: xinetd.spec
===================================================================
RCS file: /cvs/extras/rpms/xinetd/devel/xinetd.spec,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- xinetd.spec	20 Oct 2009 11:51:46 -0000	1.66
+++ xinetd.spec	21 Jan 2010 09:38:27 -0000	1.67
@@ -1,7 +1,7 @@
 Summary: A secure replacement for inetd
 Name: xinetd
 Version: 2.3.14
-Release: 27%{?dist}
+Release: 28%{?dist}
 License: xinetd 
 Group: System Environment/Daemons
 Epoch: 2
@@ -22,6 +22,7 @@ Patch9: xinetd-2.3.14-readable-debuginfo
 Patch10: xinetd-2.3.14-autoconf.patch
 Patch11: xinetd-2.3.14-poll.patch
 Patch12: xinetd-2.3.14-file-limit.patch
+Patch13: xinetd-2.3.14-tcpmux.patch
 
 BuildRequires: autoconf, automake
 BuildRequires: libselinux-devel >= 1.30
@@ -62,6 +63,7 @@ located in the /etc/xinetd.d directory.
 %patch10 -p1 -b .autoconf
 %patch11 -p1 -b .poll
 %patch12 -p1 -b .file-limit
+%patch13 -p1 -b .tcpmux
 
 aclocal
 autoconf
@@ -121,6 +123,9 @@ fi
 %{_mandir}/*/*
 
 %changelog
+* Thu Jan 21 2010 Jan Zeleny <jzeleny at redhat.com> - 2:2.3.14-28
+- fixed issue with tcpmux service (#543968)
+
 * Tue Oct 20 2009 Jan Zeleny <jzeleny at redhat.com> - 2:2.3.14-27
 - last update of init script modified to work with SELinux correctly
 - added support for new configuration option - file limit for service



More information about the scm-commits mailing list