rpms/ypserv/devel ypserv-2.19-nodbclose.patch, NONE, 1.1 ypserv.spec, 1.49, 1.50

Karel Klíč kklic at fedoraproject.org
Wed Jan 27 13:19:48 UTC 2010


Author: kklic

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

Modified Files:
	ypserv.spec 
Added Files:
	ypserv-2.19-nodbclose.patch 
Log Message:
Added patch removing invalid ypdb_close call

ypserv-2.19-nodbclose.patch:
 server.c |    1 -
 1 file changed, 1 deletion(-)

--- NEW FILE ypserv-2.19-nodbclose.patch ---
diff -up ypserv-2.19/ypserv/server.c.nodbclose ypserv-2.19/ypserv/server.c
--- ypserv-2.19/ypserv/server.c.nodbclose	2010-01-26 15:40:51.000000000 +0100
+++ ypserv-2.19/ypserv/server.c	2010-01-26 18:19:33.478791025 +0100
@@ -590,7 +590,6 @@ ypproc_xfr_2_svc (ypreq_xfr *argp, ypres
 	    log_msg ("refuse to transfer %s from %s, no trusted master",
 		     argp->map_parms.map, inet_ntoa (rqhost->sin_addr));
 
-	  ypdb_close (dbp);
 	  result->xfrstat = YPXFR_NODOM;
 	  return TRUE;
 	}


Index: ypserv.spec
===================================================================
RCS file: /cvs/extras/rpms/ypserv/devel/ypserv.spec,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -p -r1.49 -r1.50
--- ypserv.spec	21 Jan 2010 18:12:03 -0000	1.49
+++ ypserv.spec	27 Jan 2010 13:19:48 -0000	1.50
@@ -4,7 +4,7 @@ Summary: The NIS (Network Information Se
 Url: http://www.linux-nis.org/nis/ypserv/index.html
 Name: ypserv
 Version: 2.21
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2
 Group: System Environment/Daemons
 Source0: ftp://ftp.kernel.org/pub/linux/utils/net/NIS/ypserv-%{version}.tar.bz2
@@ -33,6 +33,8 @@ Patch7: ypserv-2.19-slp-warning.patch
 # called by all daemons.
 # Not sent to upstream.
 Patch8: ypserv-2.21-pidfile.patch
+# Accepted by upstream on 2010-01-27.
+Patch9: ypserv-2.19-nodbclose.patch
 Obsoletes: yppasswd
 BuildRequires: gdbm-devel
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
@@ -64,6 +66,7 @@ machines.
 %patch6 -p1 -b .nonedomain
 %patch7 -p1 -b .slp-warning
 %patch8 -p1 -b .pidfile
+%patch9 -p1 -b .nodbclose
 
 %build
 cp etc/README etc/README.etc
@@ -149,6 +152,9 @@ exit 0
 %{_includedir}/*/*
 
 %changelog
+* Wed Jan 27 2010 Karel Klic <kklic at redhat.com> - 2.21-3
+- Added patch removing invalid ypdb_close call (#403621, #430902)
+
 * Thu Jan 21 2010 Karel Klic <kklic at redhat.com> - 2.21-2
 - Added patch for rpc.ypxfrd to create a pid file
 - Rewrote initscripts to become closer to Packaging:SysVInitScript



More information about the scm-commits mailing list