rpms/gnupg2/devel gnupg-2.0.5-no_close.patch, NONE, 1.1 gnupg2.spec, 1.70, 1.71

Rex Dieter (rdieter) fedora-extras-commits at redhat.com
Mon Jul 16 11:54:46 UTC 2007


Author: rdieter

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

Modified Files:
	gnupg2.spec 
Added Files:
	gnupg-2.0.5-no_close.patch 
Log Message:
* Mon Jul 16 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.5-3
- 2.0.5 too many open files fix


gnupg-2.0.5-no_close.patch:

--- NEW FILE gnupg-2.0.5-no_close.patch ---
--- common/estream.c    (revision 4541)
+++ common/estream.c    (working copy)
@@ -861,6 +861,7 @@
 #endif
 
   file_cookie->fd = fd;
+  file_cookie->no_close = 0;
   *cookie = file_cookie;
   *filedes = fd;


Index: gnupg2.spec
===================================================================
RCS file: /cvs/pkgs/rpms/gnupg2/devel/gnupg2.spec,v
retrieving revision 1.70
retrieving revision 1.71
diff -u -r1.70 -r1.71
--- gnupg2.spec	6 Jul 2007 15:32:49 -0000	1.70
+++ gnupg2.spec	16 Jul 2007 11:54:14 -0000	1.71
@@ -10,7 +10,7 @@
 Summary: Utility for secure communication and data storage
 Name:    gnupg2
 Version: 2.0.5
-Release: 2%{?dist}
+Release: 3%{?dist}
 
 License: GPL
 Group:   Applications/System
@@ -24,6 +24,8 @@
 Source11: gpg-agent-shutdown.sh
 
 Patch1: gnupg-1.9.16-testverbose.patch
+# http://lists.gnupg.org/pipermail/gnupg-devel/2007-July/023923.html
+Patch2: gnupg-2.0.5-no_close.patch
 
 # ancient, deprecated
 #Obsoletes: newpg < 0.9.5
@@ -82,6 +84,7 @@
 %setup -q -n gnupg-%{version}%{?beta}
 
 #patch1 -p1 -b .testverbose
+%patch2 -p0 -b .no_close
 
 # pcsc-lite library major: 0 in 1.2.0, 1 in 1.2.9+ (dlopen()'d in pcsc-wrapper)
 # Note: this is just the name of the default shared lib to load in scdaemon,
@@ -126,7 +129,6 @@
 # file conflicts with gnupg-1.x 
 rm -f $RPM_BUILD_ROOT%{_bindir}/{gpgsplit,gpg-zip} 
 rm -f $RPM_BUILD_ROOT%{_datadir}/gnupg/{FAQ,faq.html}
-mv $RPM_BUILD_ROOT%{_mandir}/man7/gnupg.7 $RPM_BUILD_ROOT%{_mandir}/man7/gnupg2.7 ||:
 
 # Unpackaged files
 rm -f $RPM_BUILD_ROOT%{_infodir}/dir
@@ -178,6 +180,9 @@
 
 
 %changelog
+* Mon Jul 16 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.5-3
+- 2.0.5 too many open files fix
+
 * Fri Jul 06 2007 Rex Dieter <rdieter[AT]fedoraproject.org> 2.0.5-2
 - gnupg-2.0.5
 - gpg-agent not restarted after kde session crash/killed (#196327)




More information about the scm-commits mailing list