rpms/neon/F-10 neon-0.28.4-trustv1ca.patch, NONE, 1.1 neon.spec, 1.48, 1.49

Joe Orton jorton at fedoraproject.org
Fri May 29 10:31:52 UTC 2009


Author: jorton

Update of /cvs/extras/rpms/neon/F-10
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv22278

Modified Files:
	neon.spec 
Added Files:
	neon-0.28.4-trustv1ca.patch 
Log Message:
* Fri May 29 2009 Joe Orton <jorton at redhat.com> 0.28.4-1.1
- trust V1 CA certs by default (#502451)


neon-0.28.4-trustv1ca.patch:

--- NEW FILE neon-0.28.4-trustv1ca.patch ---

https://bugzilla.redhat.com/show_bug.cgi?id=502451

--- neon-0.28.4/src/ne_gnutls.c.trustv1ca
+++ neon-0.28.4/src/ne_gnutls.c
@@ -574,6 +574,8 @@ ne_ssl_context *ne_ssl_context_create(in
         gnutls_certificate_client_set_retrieve_function(ctx->cred,
                                                         provide_client_cert);
     }
+    gnutls_certificate_set_verify_flags(ctx->cred, 
+                                        GNUTLS_VERIFY_ALLOW_X509_V1_CA_CRT);
     return ctx;
 }
 


Index: neon.spec
===================================================================
RCS file: /cvs/extras/rpms/neon/F-10/neon.spec,v
retrieving revision 1.48
retrieving revision 1.49
diff -u -p -r1.48 -r1.49
--- neon.spec	9 Mar 2009 13:32:48 -0000	1.48
+++ neon.spec	29 May 2009 10:31:22 -0000	1.49
@@ -1,12 +1,13 @@
 Summary: An HTTP and WebDAV client library
 Name: neon
 Version: 0.28.4
-Release: 1%{?dist}
+Release: 1.1%{?dist}
 License: LGPLv2+
 Group: System Environment/Libraries
 URL: http://www.webdav.org/neon/
 Source0: http://www.webdav.org/neon/neon-%{version}.tar.gz
 Patch0: neon-0.27.0-multilib.patch
+Patch1: neon-0.28.4-trustv1ca.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 BuildRequires: expat-devel, gnutls-devel, zlib-devel, krb5-devel
 BuildRequires: pkgconfig, pakchois-devel
@@ -33,6 +34,7 @@ The development library for the C langua
 %prep
 %setup -q
 %patch0 -p1 -b .multilib
+%patch1 -p1 -b .trustv1ca
 
 %build
 export CC="%{__cc} -pthread"
@@ -75,12 +77,14 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/*.so
 
 %changelog
+* Fri May 29 2009 Joe Orton <jorton at redhat.com> 0.28.4-1.1
+- trust V1 CA certs by default (#502451)
+
 * Fri Mar  6 2009 Joe Orton <jorton at redhat.com> 0.28.4-1
 - update to 0.28.4
-- use install-p in "make install" (Robert Scheck, #226189)
 
-* Tue Feb  3 2009 Joe Orton <jorton at redhat.com> 0.28.3-2.1
-- GnuTLS fixes from upstream (#445044)
+* Mon Jan 19 2009 Joe Orton <jorton at redhat.com> 0.28.3-3
+- use install-p in "make install" (Robert Scheck, #226189)
 
 * Thu Aug 28 2008 Joe Orton <jorton at redhat.com> 0.28.3-2
 - update to 0.28.3




More information about the scm-commits mailing list