Accepting request 81042 from home:elvigia:branches:devel:libraries:c_c++

- test suite hangs or fails in the OBS, but works locally 
  disable it.

- Load openssl engines as well, needed to support 
  AES-NI, fast/hardware provided hash functions and Ivy bridge's
  RDRAND instruction.

OBS-URL: https://build.opensuse.org/request/show/81042
OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/neon?expand=0&rev=17
This commit is contained in:
Dirk Mueller 2011-09-06 06:46:28 +00:00 committed by Git OBS Bridge
parent 35c7e0dc5a
commit 56c2df221e
3 changed files with 42 additions and 2 deletions

26
neon-aes-ni.patch Normal file
View File

@ -0,0 +1,26 @@
--- 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

View File

@ -1,3 +1,16 @@
-------------------------------------------------------------------
Mon Sep 5 23:13:56 UTC 2011 - crrodriguez@opensuse.org
- test suite hangs or fails in the OBS, but works locally
disable it.
-------------------------------------------------------------------
Mon Sep 5 19:48:00 UTC 2011 - crrodriguez@opensuse.org
- Load openssl engines as well, needed to support
AES-NI, fast/hardware provided hash functions and Ivy bridge's
RDRAND instruction.
-------------------------------------------------------------------
Thu Jul 21 14:23:23 CEST 2011 - dmueller@suse.de

View File

@ -39,6 +39,7 @@ Source: http://www.webdav.org/neon/neon-%{version}.tar.gz
Source2: baselibs.conf
# PATCH-MISSING-TAG -- See http://wiki.opensuse.org/Packaging/Patches
Patch0: %{name}-0.28.4-bloat.patch
Patch1: neon-aes-ni.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-build
%description
@ -151,7 +152,7 @@ properties (PROPPATCH/PROPFIND)
%prep
%setup -q
%patch0
%patch1
%build
rm -f aclocal.m4 ltmain.sh
sh autogen.sh