From b38d54aeb12337ada16c91ac0f7076fdf8c53f80 Mon Sep 17 00:00:00 2001 From: jorton Date: Jun 02 2008 11:07:57 +0000 Subject: - require ca-certificates package --- diff --git a/neon-0.28.2-nocomp.patch b/neon-0.28.2-nocomp.patch new file mode 100644 index 0000000..207c465 --- /dev/null +++ b/neon-0.28.2-nocomp.patch @@ -0,0 +1,19 @@ +--- neon-0.28.2/src/ne_openssl.c.nocomp ++++ neon-0.28.2/src/ne_openssl.c +@@ -1,6 +1,6 @@ + /* + neon SSL/TLS support using OpenSSL +- Copyright (C) 2002-2007, Joe Orton ++ Copyright (C) 2002-2008, Joe Orton + Portions are: + Copyright (C) 1999-2000 Tommi Komulainen + +@@ -545,7 +545,7 @@ ne_ssl_context *ne_ssl_context_create(in + /* set client cert callback. */ + SSL_CTX_set_client_cert_cb(ctx->ctx, provide_client_cert); + /* enable workarounds for buggy SSL server implementations */ +- SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL); ++ SSL_CTX_set_options(ctx->ctx, SSL_OP_ALL | SSL_OP_NO_COMP); + } else if (mode == NE_SSL_CTX_SERVER) { + ctx->ctx = SSL_CTX_new(SSLv23_server_method()); + SSL_CTX_set_session_cache_mode(ctx->ctx, SSL_SESS_CACHE_CLIENT); diff --git a/neon.spec b/neon.spec index 564e97f..2f4132e 100644 --- a/neon.spec +++ b/neon.spec @@ -1,7 +1,7 @@ Summary: An HTTP and WebDAV client library Name: neon Version: 0.28.2 -Release: 2 +Release: 3 License: LGPLv2+ Group: System Environment/Libraries URL: http://www.webdav.org/neon/ @@ -10,8 +10,7 @@ Patch0: neon-0.27.0-multilib.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRequires: expat-devel, gnutls-devel, zlib-devel, krb5-devel BuildRequires: pkgconfig, pakchois-devel -# For /etc/pki/tls/certs/ca-bundle.crt: -Requires: openssl +Requires: ca-certificates Conflicts: subversion < 0.22.2-4 %description @@ -76,6 +75,9 @@ rm -rf $RPM_BUILD_ROOT %{_libdir}/*.so %changelog +* Mon Jun 2 2008 Joe Orton 0.28.2-3 +- require ca-certificates package + * Thu Apr 3 2008 Joe Orton 0.28.2-2 - update to 0.28.2