From ad3ba32890d7e159d00828c6862aa87583e5edc688dedc933b0a86d36645d3f7 Mon Sep 17 00:00:00 2001 From: Martin Pluskal Date: Tue, 3 Sep 2019 15:04:20 +0000 Subject: [PATCH] - Update to version 2.16.2: * Security improvements and bugfixes - Use ninja to for build OBS-URL: https://build.opensuse.org/package/show/security:tls/mbedtls?expand=0&rev=8 --- mbedtls-2.16.0-apache.tgz | 3 --- mbedtls-2.16.2-apache.tgz | 3 +++ mbedtls.changes | 7 +++++++ mbedtls.spec | 6 ++++-- 4 files changed, 14 insertions(+), 5 deletions(-) delete mode 100644 mbedtls-2.16.0-apache.tgz create mode 100644 mbedtls-2.16.2-apache.tgz diff --git a/mbedtls-2.16.0-apache.tgz b/mbedtls-2.16.0-apache.tgz deleted file mode 100644 index ed9a9a1..0000000 --- a/mbedtls-2.16.0-apache.tgz +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:e3dab56e9093c790b7d5e0f7eb19451010fe680649d25cf1dcca9d5441669ae2 -size 2506425 diff --git a/mbedtls-2.16.2-apache.tgz b/mbedtls-2.16.2-apache.tgz new file mode 100644 index 0000000..b5c1b3c --- /dev/null +++ b/mbedtls-2.16.2-apache.tgz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a6834fcd7b7e64b83dfaaa6ee695198cb5019a929b2806cb0162e049f98206a4 +size 2555050 diff --git a/mbedtls.changes b/mbedtls.changes index 3c03b28..08d6cc5 100644 --- a/mbedtls.changes +++ b/mbedtls.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Sep 3 15:01:56 UTC 2019 - Martin Pluskal + +- Update to version 2.16.2: + * Security improvements and bugfixes +- Use ninja to for build + ------------------------------------------------------------------- Mon Jan 7 15:18:11 UTC 2019 - Martin Pluskal diff --git a/mbedtls.spec b/mbedtls.spec index 833f047..8fbf363 100644 --- a/mbedtls.spec +++ b/mbedtls.spec @@ -20,7 +20,7 @@ %define lib_crypto libmbedcrypto3 %define lib_x509 libmbedx509-0 Name: mbedtls -Version: 2.16.0 +Version: 2.16.2 Release: 0 Summary: Libraries for crypto and SSL/TLS protocols License: Apache-2.0 @@ -29,6 +29,7 @@ URL: https://tls.mbed.org Source: https://tls.mbed.org/download/%{name}-%{version}-apache.tgz Source99: baselibs.conf BuildRequires: cmake +BuildRequires: ninja BuildRequires: pkgconfig BuildRequires: pkgconfig(libpkcs11-helper-1) BuildRequires: pkgconfig(zlib) @@ -93,6 +94,7 @@ sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h %build +%define __builder ninja %cmake \ -DLINK_WITH_PTHREAD=ON \ -DUSE_PKCS11_HELPER_LIBRARY=ON \ @@ -101,7 +103,7 @@ sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h -DUSE_SHARED_MBEDTLS_LIBRARY=ON \ -DUSE_STATIC_MBEDTLS_LIBRARY=OFF \ -DENABLE_PROGRAMS=OFF -%make_jobs +%cmake_build %install %cmake_install