|
|
|
@ -3,12 +3,12 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: mbedtls
|
|
|
|
|
Version: 2.16.6
|
|
|
|
|
Version: 2.16.7
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Light-weight cryptographic and SSL/TLS library
|
|
|
|
|
License: ASL 2.0
|
|
|
|
|
URL: https://tls.mbed.org/
|
|
|
|
|
Source0: https://tls.mbed.org/download/%{name}-%{version}-apache.tgz
|
|
|
|
|
Source0: https://tls.mbed.org/download/%{name}-%{version}.tar.gz
|
|
|
|
|
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
|
BuildRequires: cmake
|
|
|
|
@ -70,13 +70,14 @@ BuildArch: noarch
|
|
|
|
|
The %{name}-doc package contains documentation.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup
|
|
|
|
|
%autosetup -n mbedtls-mbedtls-2.16.7
|
|
|
|
|
|
|
|
|
|
sed -i 's|//\(#define MBEDTLS_PKCS11_C\)|\1|' include/mbedtls/config.h
|
|
|
|
|
sed -i 's|//\(#define MBEDTLS_HAVEGE_C\)|\1|' include/mbedtls/config.h
|
|
|
|
|
sed -i 's|//\(#define MBEDTLS_THREADING_C\)|\1|' include/mbedtls/config.h
|
|
|
|
|
sed -i 's|//\(#define MBEDTLS_THREADING_PTHREAD\)|\1|' include/mbedtls/config.h
|
|
|
|
|
sed -i 's|//\(#define MBEDTLS_ZLIB_SUPPORT\)|\1|' include/mbedtls/config.h
|
|
|
|
|
sed -i 's|//\(#define MBEDTLS_CMAC_C\)|\1|' include/mbedtls/config.h
|
|
|
|
|
|
|
|
|
|
%build
|
|
|
|
|
|
|
|
|
@ -122,6 +123,10 @@ LD_LIBRARY_PATH=$PWD/library ctest --output-on-failure -V
|
|
|
|
|
%doc apidoc/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Tue Jul 14 2020 Morten Stevens <mstevens@fedoraproject.org> - 2.16.7-1
|
|
|
|
|
- Update to 2.16.7
|
|
|
|
|
- Security Advisory 2020-07
|
|
|
|
|
|
|
|
|
|
* Wed May 27 2020 Morten Stevens <mstevens@fedoraproject.org> - 2.16.6-1
|
|
|
|
|
- Update to 2.16.6
|
|
|
|
|
- Security Advisory 2020-04 (CVE-2020-10932)
|
|
|
|
|