rpms/fetchmail/devel fetchmail-6.3.11-regression.patch, NONE, 1.1 fetchmail.spec, 1.68, 1.69

vcrhonek vcrhonek at fedoraproject.org
Tue Aug 18 10:37:37 UTC 2009


Author: vcrhonek

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

Modified Files:
	fetchmail.spec 
Added Files:
	fetchmail-6.3.11-regression.patch 
Log Message:
Regression bug fix for fetchmail 6.3.11

fetchmail-6.3.11-regression.patch:
 socket.c |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

--- NEW FILE fetchmail-6.3.11-regression.patch ---
diff -up fetchmail-6.3.11/socket.c_old fetchmail-6.3.11/socket.c
--- fetchmail-6.3.11/socket.c_old	2009-08-18 11:56:15.000000000 +0200
+++ fetchmail-6.3.11/socket.c	2009-08-18 11:58:17.000000000 +0200
@@ -628,9 +628,10 @@ static int SSL_verify_callback( int ok_r
 				report(stdout, GT_("Unknown Issuer CommonName\n"));
 		}
 		if ((i = X509_NAME_get_text_by_NID(subj, NID_commonName, buf, sizeof(buf))) != -1) {
-			if (outlevel >= O_VERBOSE)
+			if (outlevel >= O_VERBOSE) {
 				report(stdout, GT_("Server CommonName: %s\n"), (tt = sdump(buf, i)));
-			xfree(tt);
+				xfree(tt);
+			}
 			if ((size_t)i >= sizeof(buf) - 1) {
 				/* Possible truncation. In this case, this is a DNS name, so this
 				 * is really bad. We do not tolerate this even in the non-strict case. */


Index: fetchmail.spec
===================================================================
RCS file: /cvs/extras/rpms/fetchmail/devel/fetchmail.spec,v
retrieving revision 1.68
retrieving revision 1.69
diff -u -p -r1.68 -r1.69
--- fetchmail.spec	6 Aug 2009 08:27:45 -0000	1.68
+++ fetchmail.spec	18 Aug 2009 10:37:37 -0000	1.69
@@ -4,10 +4,13 @@
 Summary: A remote mail retrieval and forwarding utility
 Name: fetchmail
 Version: 6.3.11
-Release: 1%{?dist}
+Release: 2%{?dist}
 Requires: procmail
 Source0: http://download.berlios.de/fetchmail/fetchmail-%{version}.tar.bz2
 Source1: http://download.berlios.de/fetchmail/fetchmail-%{version}.tar.bz2.asc
+# See http://bugs.gentoo.org/show_bug.cgi?id=280760
+# Upstream has commited this in fetchmail SVN repository already
+Patch0: fetchmail-6.3.11-regression.patch
 URL: http://fetchmail.berlios.de/
 # For a breakdown of the licensing, see COPYING
 License: GPL+ and Public Domain
@@ -45,6 +48,7 @@ need to have Python and Tk installed in 
 
 %prep
 %setup -q
+%patch0 -p1 -b .regression
 
 %build
 %configure --enable-POP3 --enable-IMAP --with-ssl --with-hesiod \
@@ -83,6 +87,9 @@ rm -rf $RPM_BUILD_ROOT
 %endif
 
 %changelog
+* Tue Aug 18 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 6.3.11-2
+- Regression bug fix for fetchmail 6.3.11
+
 * Thu Aug  6 2009 Vitezslav Crhonek <vcrhonek at redhat.com> - 6.3.11-1
 - Update to fetchmail-6.3.11
 - Remove addrconf patch (upstream now)




More information about the fedora-extras-commits mailing list