forked from pool/Botan
Accepting request 487837 from devel:libraries:c_c++
- Update to 1.10.16 (Fixes CVE-2017-2801, bsc#1033605) (forwarded request 487836 from dmolkentin) OBS-URL: https://build.opensuse.org/request/show/487837 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/Botan?expand=0&rev=42
This commit is contained in:
commit
c0cd26c269
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:10ed0b394db165733ac9557d8656356b7e9744d38c61c2b9c44cba6d84ff4c1c
|
||||
size 2710757
|
@ -1,11 +0,0 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEYh2vZBHhhRxM+aLhYhHr8e+637wFAlg8DKMACgkQYhHr8e+6
|
||||
37xl/gf+OoUkiVu7Mi+UvOozBoQ8k9KPrj+afhTPlSgpXJHLhrtm7k1JMyGFzYJf
|
||||
PwEUEI2POI5SQ6sEX++MhN09XYQDle3LWEwsgBmZh0aoIr+3aYHNKgH6U3FjLT6t
|
||||
B0gk7RWygEDbm8NGdxqWducHrFdLR/MVSuYjuX4zgOjR0Nr69pimdjAGc1r4KH/3
|
||||
EHrSnSFeMMWqfN0CShQg30gp00et4P7rWo4NLNXVigkVif0TvQ4dAVejWr8UWkKN
|
||||
OId+XTfngj7ynpQnkBfUZ7O9N+ybbaiLaKaEbn1xN5WwFIqYt8DeUcX3RjOT11eF
|
||||
XbMK5bJDzcpE2+crlXodw8B6KkqY7A==
|
||||
=e8ta
|
||||
-----END PGP SIGNATURE-----
|
3
Botan-1.10.16.tgz
Normal file
3
Botan-1.10.16.tgz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:6c5472401d06527e87adcb53dd270f3c9b1fb688703b04dd7a7cfb86289efe52
|
||||
size 2711177
|
11
Botan-1.10.16.tgz.asc
Normal file
11
Botan-1.10.16.tgz.asc
Normal file
@ -0,0 +1,11 @@
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQEzBAABCAAdFiEEYh2vZBHhhRxM+aLhYhHr8e+637wFAljkQzcACgkQYhHr8e+6
|
||||
37zwOAf9G0+rAaNoq5K9m4LZq4A1jP1B4HBsrddLu0PFCCDD8usYNTJkSUhoVTTt
|
||||
BZqFa9NK8+NV/cELnRiiVw1mvMCN981tzl2rBiE6yw3CrfvuLYGX21Vc3RNIIjYs
|
||||
rdH5oIvRP7C7zmRP3uuybFefsI6XXUVppjFcP6N14zDNXQxl2eoW9LZbxl0m28Dp
|
||||
tMum3qSIaQemcJzOpfoXYW1A/Q3Rz8Wh3Xh1Jfjm8kUY9GOGtf9vQwO8Jb4jn9kJ
|
||||
ftyoDlBWMQAgPd3DXKx/tfn7YcshbgmCW6lrqrwMIz84ESqkqZt8h/olPrJK/8tO
|
||||
cdPl7ovtfSfQXWRJzAL3ehF1HeKZVg==
|
||||
=EDPN
|
||||
-----END PGP SIGNATURE-----
|
@ -1,3 +1,28 @@
|
||||
-------------------------------------------------------------------
|
||||
Wed Apr 12 14:52:45 UTC 2017 - daniel.molkentin@suse.com
|
||||
|
||||
- Add patch to build SLES11 (allows for simplified backporting, e.g. bsc#968030)
|
||||
* add no-cpuid-header.patch
|
||||
- Clean up spec file
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Apr 11 11:57:53 UTC 2017 - daniel.molkentin@suse.com
|
||||
|
||||
- Update to 1.10.16 (Fixes CVE-2017-2801, bsc#1033605)
|
||||
* Fix a bug in X509 DN string comparisons that could result in out of bound
|
||||
reads. This could result in information leakage, denial of service, or
|
||||
potentially incorrect certificate validation results. (CVE-2017-2801)
|
||||
* Avoid use of C++11 std::to_string in some code added in 1.10.14 (GH #747 #834)
|
||||
- Changes from 1.10.15:
|
||||
* Change an unintended behavior of 2.0.0, which named the include directory
|
||||
botan-2.0. Since future release of Botan-2 should be compatible with code
|
||||
written against old versions, there does not seem to be any reason to
|
||||
* version the include directory with the minor number. (GH #830 #833)
|
||||
* Fix a bug which caused an error when building on Cygwin or other platforms
|
||||
where shared libraries are not supported. (GH #821)
|
||||
* Enable use of readdir on Cygwin, which allows the tests to run (GH #824)
|
||||
* Switch to readthedocs Sphinx theme by default (GH #822 #823)
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 28 12:02:11 CET 2016 - pth@suse.de
|
||||
|
||||
|
11
Botan.spec
11
Botan.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package Botan
|
||||
#
|
||||
# Copyright (c) 2016 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
# Copyright (c) 2017 SUSE LINUX GmbH, Nuernberg, Germany.
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -19,7 +19,7 @@
|
||||
%define version_suffix 1_10-1
|
||||
%define short_version 1.10
|
||||
Name: Botan
|
||||
Version: 1.10.14
|
||||
Version: 1.10.16
|
||||
Release: 0
|
||||
Summary: A C++ Crypto Library
|
||||
License: BSD-2-Clause
|
||||
@ -37,9 +37,9 @@ Patch6: Botan-fix_pkgconfig.patch
|
||||
Patch7: dont-set-mach-value.diff
|
||||
Patch8: aarch64-support.patch
|
||||
Patch9: ppc64le-support.patch
|
||||
Patch10: no-cpuid-header.patch
|
||||
BuildRequires: bzip2 >= 1.0.2
|
||||
BuildRequires: gcc-c++
|
||||
BuildRequires: gmp-devel
|
||||
BuildRequires: gmp-devel >= 4.1
|
||||
BuildRequires: libbz2-devel
|
||||
BuildRequires: openssl-devel
|
||||
@ -71,7 +71,7 @@ supported, including RSA, DSA, DES, AES, MD5, and SHA-1.
|
||||
%define botan_docdir %{_docdir}/%{name}-%{version}
|
||||
Summary: Development files for Botan
|
||||
Group: Development/Libraries/C and C++
|
||||
Requires: gmp-devel
|
||||
Requires: gmp-devel >= 4.1
|
||||
Requires: libbotan-%{version_suffix} = %{version}
|
||||
Requires: libbz2-devel
|
||||
Provides: Botan-devel = %{version}
|
||||
@ -91,6 +91,9 @@ programs that use the Botan library.
|
||||
%patch7 -p1
|
||||
%patch8
|
||||
%patch9
|
||||
%if 0%{?suse_version} == 1110
|
||||
%patch10 -p1
|
||||
%endif
|
||||
|
||||
%build
|
||||
export RPM_OPT_FLAGS
|
||||
|
13
no-cpuid-header.patch
Normal file
13
no-cpuid-header.patch
Normal file
@ -0,0 +1,13 @@
|
||||
diff --git a/src/utils/cpuid.cpp b/src/utils/cpuid.cpp
|
||||
index f6581f09c..ae087fac3 100644
|
||||
--- a/src/utils/cpuid.cpp
|
||||
+++ b/src/utils/cpuid.cpp
|
||||
@@ -36,7 +36,7 @@
|
||||
#include <ia32intrin.h>
|
||||
#define CALL_CPUID(type, out) do { __cpuid(out, type); } while(0)
|
||||
|
||||
-#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) && (BOTAN_GCC_VERSION >= 430)
|
||||
+#elif defined(BOTAN_BUILD_COMPILER_IS_GCC) && 0
|
||||
|
||||
// Only available starting in GCC 4.3
|
||||
#include <cpuid.h>
|
Loading…
Reference in New Issue
Block a user