- 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
This commit is contained in:
Martin Pluskal 2019-09-03 15:04:20 +00:00 committed by Git OBS Bridge
parent 9769394294
commit ad3ba32890
4 changed files with 14 additions and 5 deletions

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:e3dab56e9093c790b7d5e0f7eb19451010fe680649d25cf1dcca9d5441669ae2
size 2506425

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:a6834fcd7b7e64b83dfaaa6ee695198cb5019a929b2806cb0162e049f98206a4
size 2555050

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Sep 3 15:01:56 UTC 2019 - Martin Pluskal <mpluskal@suse.com>
- 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 <mpluskal@suse.com>

View File

@ -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