Hello community,

here is the log from the commit of package libcryptopp for openSUSE:Factory 
checked in at 2014-09-25 08:43:20
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/libcryptopp (Old)
 and      /work/SRC/openSUSE:Factory/.libcryptopp.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "libcryptopp"

Changes:
--------
--- /work/SRC/openSUSE:Factory/libcryptopp/libcryptopp.changes  2014-04-04 
16:35:24.000000000 +0200
+++ /work/SRC/openSUSE:Factory/.libcryptopp.new/libcryptopp.changes     
2014-09-25 08:43:21.000000000 +0200
@@ -1,0 +2,7 @@
+Fri Aug 15 01:39:59 UTC 2014 - [email protected]
+
+- Added 0001-disable_os_rng_test.patch
+  Fixes buildfailure on openSUSE_Factory x86_64 within OBS environment,
+  due to OS supplied Random Number Generator taking too long to respond 
+
+-------------------------------------------------------------------

New:
----
  0001-disable_os_rng_test.patch

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

Other differences:
------------------
++++++ libcryptopp.spec ++++++
--- /var/tmp/diff_new_pack.KdRGL9/_old  2014-09-25 08:43:22.000000000 +0200
+++ /var/tmp/diff_new_pack.KdRGL9/_new  2014-09-25 08:43:22.000000000 +0200
@@ -33,11 +33,14 @@
 Group:          Development/Libraries/C and C++
 Url:            http://www.cryptopp.com
 Source:         http://www.cryptopp.com/cryptopp%{pkg_version}.zip
+Source1:        baselibs.conf
 Source2:        cryptopp.pc
 # PATCH-FEATURE-OPENSUSE libcryptopp-shared.patch -- improve shared library 
creation
 Patch1:         libcryptopp-shared.patch
 Patch2:         libcryptopp-s390.patch
 Patch3:         libcryptopp-m68k.patch
+# PATCH-BUILDFIX-OPENSUSE 0001-disable_os_rng_test.patch [email protected] 
-- disable OS Random Number Generator test
+Patch4:         0001-disable_os_rng_test.patch
 BuildRequires:  gcc-c++
 BuildRequires:  pkg-config
 BuildRequires:  unzip
@@ -74,6 +77,7 @@
 %patch1 -p1
 %patch2
 %patch3 -p1
+%patch4 -p1
 
 %build
 make %{?_smp_mflags} \

++++++ 0001-disable_os_rng_test.patch ++++++
Index: libcryptopp-5.6.2/test.cpp
===================================================================
--- libcryptopp-5.6.2.orig/test.cpp
+++ libcryptopp-5.6.2/test.cpp
@@ -774,7 +774,7 @@ bool Validate(int alg, bool thorough, co
        {
        case 0: result = ValidateAll(thorough); break;
        case 1: result = TestSettings(); break;
-       case 2: result = TestOS_RNG(); break;
+//     case 2: result = TestOS_RNG(); break;
        case 3: result = ValidateMD5(); break;
        case 4: result = ValidateSHA(); break;
        case 5: result = ValidateDES(); break;
Index: libcryptopp-5.6.2/validat1.cpp
===================================================================
--- libcryptopp-5.6.2.orig/validat1.cpp
+++ libcryptopp-5.6.2/validat1.cpp
@@ -48,7 +48,9 @@ USING_NAMESPACE(std)
 bool ValidateAll(bool thorough)
 {
        bool pass=TestSettings();
-       pass=TestOS_RNG() && pass;
+
+       // this does not work reliably in our kvm buildroots, they have not 
much randomness
+       // pass=TestOS_RNG() && pass;
 
        pass=ValidateCRC32() && pass;
        pass=ValidateAdler32() && pass;

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

Reply via email to