Hello community,

here is the log from the commit of package blocxx for openSUSE:Factory
checked in at Mon Aug 15 10:11:54 CEST 2011.



--------
--- blocxx/blocxx.changes       2011-02-25 10:03:08.000000000 +0100
+++ /mounts/work_src_done/STABLE/blocxx/blocxx.changes  2011-08-14 
23:21:39.000000000 +0200
@@ -1,0 +2,5 @@
+Sun Aug 14 21:18:55 UTC 2011 - [email protected]
+
+- Add patch to make the library use AES-NI or other openssl engines
+
+-------------------------------------------------------------------

calling whatdependson for head-i586


New:
----
  blockcxx-openssl.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ blocxx-doc.spec ++++++
--- /var/tmp/diff_new_pack.FuJZpq/_old  2011-08-15 10:10:37.000000000 +0200
+++ /var/tmp/diff_new_pack.FuJZpq/_new  2011-08-15 10:10:37.000000000 +0200
@@ -21,7 +21,7 @@
 Name:           blocxx-doc
 %define blocxx_version 2.1.0
 Version:        2.1.0.342
-Release:        139
+Release:        140
 License:        BSD3c(or similar)
 Group:          Documentation/HTML
 AutoReqProv:    on

++++++ blocxx.spec ++++++
--- /var/tmp/diff_new_pack.FuJZpq/_old  2011-08-15 10:10:37.000000000 +0200
+++ /var/tmp/diff_new_pack.FuJZpq/_new  2011-08-15 10:10:37.000000000 +0200
@@ -21,7 +21,7 @@
 Name:           blocxx
 %define blocxx_version 2.1.0
 Version:        2.1.0.342
-Release:        142
+Release:        143
 License:        BSD3c(or similar)
 Group:          Development/Libraries/C and C++
 AutoReqProv:    on
@@ -39,6 +39,7 @@
 Patch6:         %{name}-2.1.0-memorybarrier.diff
 Patch7:         %{name}-2.1.0-catch-gcc45-bug_is_pod.diff
 Patch8:         %{name}-2.1.0-std-ptrdiff.diff
+Patch9:         blockcxx-openssl.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-build
 BuildRequires:  gcc-c++ pcre-devel pkg-config
 %if 0%{?suse_version} >= 1030
@@ -259,6 +260,10 @@
 %patch6 -p1
 %patch7 -p0
 %patch8 -p0
+%patch9
+
+%build
+
 if test -f ./bootstrap.sh ; then
        ./bootstrap.sh
 else
@@ -267,7 +272,6 @@
 fi
 autoreconf -fi
 
-%build
 %if %{?_with_debug:1}%{!?_with_debug:0}
 #
 # configure a special debug version
@@ -309,7 +313,7 @@
 # run testsuites
 # TODO: Condition fails on x86_64?!
 #
-#make check %_smp_mflags
+make check %_smp_mflags
 #
 
 %install

++++++ blockcxx-openssl.patch ++++++
--- src/blocxx/SSLCtxMgr.cpp.orig
+++ src/blocxx/SSLCtxMgr.cpp
@@ -53,6 +53,9 @@
 
 #include <openssl/rand.h>
 #include <openssl/err.h>
+#if defined(BLOCXX_HAVE_OPENSSL_ENGINE_H) && !defined(OPENSSL_NO_ENGINE)
+#include <openssl/engine.h>
+#endif
 #include <cstring>
 #include <csignal>
 #include <cerrno>
@@ -190,6 +193,10 @@ struct SSLGlobalWork
 
                        SSL_library_init();
                        SSL_load_error_strings();
+#if defined(BLOCXX_HAVE_OPENSSL_ENGINE_H) && !defined(OPENSSL_NO_ENGINE)
+            ENGINE_load_builtin_engines();
+            ENGINE_register_all_complete();
+#endif
                }
                initLock.release();
 
@@ -326,6 +333,9 @@ SSLCtxMgr::initCtx(const String& certfil
        {
                BLOCXX_THROW(SSLException, Format("SSLCtxMgr::initCtx(): 
SSL_CTX_new returned 0: %1", getOpenSSLErrorDescription()).c_str());
        }
+#ifdef SSL_MODE_RELEASE_BUFFERS
+    SSL_CTX_set_mode(ctx, SSL_MODE_RELEASE_BUFFERS);
+#endif
        SSL_CTX_set_default_passwd_cb(ctx, pem_passwd_cb);
        if (!certfile.empty())
        {
--- configure.in.orig
+++ configure.in
@@ -39,7 +39,8 @@ AM_MAINTAINER_MODE
 
 dnl Checks for programs.
 AC_CANONICAL_HOST
-AC_PROG_CC
+AC_PROG_CC_STDC
+AC_USE_SYSTEM_EXTENSIONS
 AC_PROG_CXX
 AC_LANG_C
 #AC_LANG_CPLUSPLUS
@@ -1417,7 +1418,7 @@ AC_CACHE_CHECK([for OpenSSL directory],
                                CPPFLAGS="$saved_CPPFLAGS -I$ssldir"
                        fi
                fi
- 
+               AC_CHECK_HEADERS([openssl/engine.h]) 
                # Basic test to check for compatible version and correct linking
                # *does not* test for RSA - that comes later.
                AC_TRY_COMPILE(

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++



Remember to have fun...

-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to