Accepting request 195764 from home:elvigia:branches:devel:libraries:c_c++
- version 0.30.0 * drop neon-openssl-version.patch * API and ABI backwards-compatible with 0.27.x and later * ne_path_escape: fix excessive memory allocation * added ne_ssl_clicert_import, ne_ssl_context_get_flag, ne_set_addrlist2, added ne_addr_canonical.. * support chunked bodies with negative length passed to ne_set_request_body_provider - permanently drop neon-aes-ni.patch which is not applied and obsolete, bug in openSSL already fixed and the ENGINE loading issue addressed in a different fashion. OBS-URL: https://build.opensuse.org/request/show/195764 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=35
This commit is contained in:
parent
99645ec25b
commit
aa37ad4090
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:9c640b728d6dc80ef1e48f83181166ab6bc95309cece5537e01ffdd01b96eb43
|
|
||||||
size 882267
|
|
3
neon-0.30.0.tar.gz
Normal file
3
neon-0.30.0.tar.gz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:2962cfcb5d30f3272e3d2fa0e473434419770a3801afe3d46e5d1650787990c2
|
||||||
|
size 909989
|
@ -1,26 +0,0 @@
|
|||||||
--- src/ne_openssl.c.orig
|
|
||||||
+++ src/ne_openssl.c
|
|
||||||
@@ -35,6 +35,7 @@
|
|
||||||
#include <openssl/x509v3.h>
|
|
||||||
#include <openssl/rand.h>
|
|
||||||
#include <openssl/opensslv.h>
|
|
||||||
+#include <openssl/engine.h>
|
|
||||||
|
|
||||||
#ifdef NE_HAVE_TS_SSL
|
|
||||||
#include <stdlib.h> /* for abort() */
|
|
||||||
@@ -1132,11 +1133,15 @@ static void thread_lock_neon(int mode, i
|
|
||||||
|
|
||||||
int ne__ssl_init(void)
|
|
||||||
{
|
|
||||||
+ OPENSSL_config(NULL);
|
|
||||||
CRYPTO_malloc_init();
|
|
||||||
SSL_load_error_strings();
|
|
||||||
SSL_library_init();
|
|
||||||
+ ENGINE_load_builtin_engines();
|
|
||||||
+ ENGINE_register_all_complete();
|
|
||||||
OpenSSL_add_all_algorithms();
|
|
||||||
|
|
||||||
+
|
|
||||||
#ifdef NE_HAVE_TS_SSL
|
|
||||||
/* If some other library has already come along and set up the
|
|
||||||
* thread-safety callbacks, then it must be presumed that the
|
|
@ -1,21 +0,0 @@
|
|||||||
Index: neon-0.29.6/src/ne_socket.c
|
|
||||||
===================================================================
|
|
||||||
--- neon-0.29.6.orig/src/ne_socket.c
|
|
||||||
+++ neon-0.29.6/src/ne_socket.c
|
|
||||||
@@ -1718,12 +1718,16 @@ int ne_sock_connect_ssl(ne_socket *sock,
|
|
||||||
return NE_SOCK_ERROR;
|
|
||||||
}
|
|
||||||
|
|
||||||
+#if 0
|
|
||||||
+ /* with openssl 1.0 the version checking is not needed anymore
|
|
||||||
+ * as compatibility is now better */
|
|
||||||
/* 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;
|
|
||||||
}
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
sock->ssl = ssl = SSL_new(ctx->ctx);
|
|
||||||
if (!ssl) {
|
|
19
neon.changes
19
neon.changes
@ -1,3 +1,22 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 21 03:19:07 UTC 2013 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- version 0.30.0
|
||||||
|
* drop neon-openssl-version.patch
|
||||||
|
* API and ABI backwards-compatible with 0.27.x and later
|
||||||
|
* ne_path_escape: fix excessive memory allocation
|
||||||
|
* added ne_ssl_clicert_import, ne_ssl_context_get_flag,
|
||||||
|
ne_set_addrlist2, added ne_addr_canonical..
|
||||||
|
* support chunked bodies with negative length passed to
|
||||||
|
ne_set_request_body_provider
|
||||||
|
|
||||||
|
-------------------------------------------------------------------
|
||||||
|
Wed Aug 21 00:34:06 UTC 2013 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
- permanently drop neon-aes-ni.patch which is not applied
|
||||||
|
and obsolete, bug in openSSL already fixed and the ENGINE
|
||||||
|
loading issue addressed in a different fashion.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Jun 6 13:45:57 CEST 2012 - meissner@suse.de
|
Wed Jun 6 13:45:57 CEST 2012 - meissner@suse.de
|
||||||
|
|
||||||
|
11
neon.spec
11
neon.spec
@ -1,7 +1,7 @@
|
|||||||
#
|
#
|
||||||
# spec file for package neon
|
# spec file for package neon
|
||||||
#
|
#
|
||||||
# Copyright (c) 2012 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
# Copyright (c) 2013 SUSE LINUX Products GmbH, Nuernberg, Germany.
|
||||||
#
|
#
|
||||||
# All modifications and additions to the file contributed by third parties
|
# All modifications and additions to the file contributed by third parties
|
||||||
# remain the property of their copyright owners, unless otherwise agreed
|
# remain the property of their copyright owners, unless otherwise agreed
|
||||||
@ -17,7 +17,7 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: neon
|
Name: neon
|
||||||
Version: 0.29.6
|
Version: 0.30.0
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: An HTTP and WebDAV Client Library
|
Summary: An HTTP and WebDAV Client Library
|
||||||
License: GPL-2.0+
|
License: GPL-2.0+
|
||||||
@ -39,9 +39,6 @@ Source: http://www.webdav.org/neon/neon-%{version}.tar.gz
|
|||||||
Source2: baselibs.conf
|
Source2: baselibs.conf
|
||||||
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
|
||||||
Patch0: %{name}-0.28.4-bloat.patch
|
Patch0: %{name}-0.28.4-bloat.patch
|
||||||
Patch1: neon-aes-ni.patch
|
|
||||||
# PATCH-FIX-UPSTREAM neon-openssl-version.patch [bnc#764906] -- fix "SSL disabled due to library version mismatch"
|
|
||||||
Patch2: neon-openssl-version.patch
|
|
||||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||||
|
|
||||||
%description
|
%description
|
||||||
@ -152,10 +149,6 @@ properties (PROPPATCH/PROPFIND)
|
|||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0
|
%patch0
|
||||||
# disable temporarily (bnc#720601)
|
|
||||||
#%patch1
|
|
||||||
|
|
||||||
%patch2 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
rm -f aclocal.m4 ltmain.sh
|
rm -f aclocal.m4 ltmain.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user