[packages/neon] lock down to openssl version used at compile time

glen glen at pld-linux.org
Thu May 2 11:37:30 CEST 2013


commit 00c6dbc2309d9d93db6a6f469fc8516981bdb405
Author: Elan Ruusamäe <glen at delfi.ee>
Date:   Thu May 2 12:32:01 2013 +0300

    lock down to openssl version used at compile time
    
    or pootle will give most dramatic error when svn fails i've ever seen
    
    [Thu May 02 11:14:34 2013] [error] 2013-05-02 11:14:34,511 ERROR near fatal catastrophe, exception [SVN] Subversion error running '['svn', 'update', u'/var/lib/pootle/po/dcdb_sso/dcdbsso.pot']': svn: OPTIONS of 'https://pootle@localhost/svn/dcdb/sso/trunk/po': SSL handshake failed: SSL disabled due to library version mismatch (https://localhost)
    [Thu May 02 11:14:34 2013] [error]  while updating /var/lib/pootle/po/dcdb_sso/dcdbsso.pot from version control
    
    src/ne_socket.c reads:
    
        /* If runtime library version differs from compile-time version
         * number in major/minor/fix level, abort soon. */
        if ((SSLeay() ^ OPENSSL_VERSION_NUMBER) & 0xFFFFF000) {
            set_error(sock, _("SSL disabled due to library version mismatch"));
            return NE_SOCK_ERROR;
        }
    
    my system broke when upgraded openssl-1.0.0j-1.x86_64.rpm to openssl-1.0.1e-1.x86_64.rpm

 neon.spec | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
---
diff --git a/neon.spec b/neon.spec
index 7ba03a2..b04223c 100644
--- a/neon.spec
+++ b/neon.spec
@@ -10,7 +10,7 @@ Summary:	An HTTP and WebDAV client library
 Summary(pl.UTF-8):	Biblioteka kliencka HTTP i WebDAV
 Name:		neon
 Version:	0.29.6
-Release:	6
+Release:	7
 License:	LGPL v2+
 Group:		Libraries
 Source0:	http://www.webdav.org/neon/%{name}-%{version}.tar.gz
@@ -26,6 +26,7 @@ BuildRequires:	openssl-devel >= 0.9.7d
 %{?with_pakchois:BuildRequires:	pakchois-devel}
 BuildRequires:	pkgconfig
 BuildRequires:	zlib-devel
+%requires_ge_to	openssl openssl-devel
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/neon.git/commitdiff/00c6dbc2309d9d93db6a6f469fc8516981bdb405



More information about the pld-cvs-commit mailing list