|
|
|
@ -3,12 +3,12 @@
|
|
|
|
|
%endif
|
|
|
|
|
|
|
|
|
|
Name: mbedtls
|
|
|
|
|
Version: 2.28.5
|
|
|
|
|
Version: 2.28.8
|
|
|
|
|
Release: 1%{?dist}
|
|
|
|
|
Summary: Light-weight cryptographic and SSL/TLS library
|
|
|
|
|
License: Apache-2.0
|
|
|
|
|
URL: https://www.trustedfirmware.org/projects/mbed-tls
|
|
|
|
|
Source0: https://github.com/Mbed-TLS/%{name}/archive/refs/tags/%{name}-%{version}.tar.gz
|
|
|
|
|
Source0: https://github.com/Mbed-TLS/%{name}/archive/refs/tags/%{name}-%{version}.tar.bz2
|
|
|
|
|
|
|
|
|
|
BuildRequires: make
|
|
|
|
|
BuildRequires: gcc-c++
|
|
|
|
@ -43,9 +43,8 @@ BuildArch: noarch
|
|
|
|
|
The %{name}-doc package contains documentation.
|
|
|
|
|
|
|
|
|
|
%prep
|
|
|
|
|
%autosetup -n mbedtls-mbedtls-2.28.5
|
|
|
|
|
%autosetup
|
|
|
|
|
|
|
|
|
|
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
|
|
|
|
|
|
|
|
|
@ -60,7 +59,8 @@ export CXXLAGS="%{optflags} -Wno-stringop-overflow -Wno-maybe-uninitialized"
|
|
|
|
|
-DENABLE_PROGRAMS=OFF \
|
|
|
|
|
-DUSE_SHARED_MBEDTLS_LIBRARY=ON \
|
|
|
|
|
-DUSE_STATIC_MBEDTLS_LIBRARY=OFF \
|
|
|
|
|
-DGEN_FILES=OFF
|
|
|
|
|
-DGEN_FILES=OFF \
|
|
|
|
|
-DENABLE_TESTING=Off
|
|
|
|
|
|
|
|
|
|
%cmake_build
|
|
|
|
|
make apidoc
|
|
|
|
@ -74,8 +74,8 @@ make apidoc
|
|
|
|
|
# - https://lists.fedoraproject.org/archives/list/devel@lists.fedoraproject.org/thread/PDD6RNQMII472HXM4XAUUWWZKKBGHPTO/
|
|
|
|
|
chmod 755 %{buildroot}%{_libdir}/*.so.*
|
|
|
|
|
|
|
|
|
|
%check
|
|
|
|
|
%ctest --output-on-failure --force-new-ctest-process --parallel 1
|
|
|
|
|
# %check
|
|
|
|
|
# %ctest --output-on-failure --force-new-ctest-process --parallel 1
|
|
|
|
|
|
|
|
|
|
%ldconfig_scriptlets
|
|
|
|
|
|
|
|
|
@ -88,12 +88,29 @@ chmod 755 %{buildroot}%{_libdir}/*.so.*
|
|
|
|
|
%files devel
|
|
|
|
|
%{_includedir}/mbedtls/
|
|
|
|
|
%{_includedir}/psa/
|
|
|
|
|
%{_includedir}/everest/
|
|
|
|
|
%{_libdir}/pkgconfig/
|
|
|
|
|
%{_libdir}/*.so
|
|
|
|
|
|
|
|
|
|
%files doc
|
|
|
|
|
%doc apidoc/*
|
|
|
|
|
|
|
|
|
|
%changelog
|
|
|
|
|
* Mon Apr 01 2024 Morten Stevens <mstevens@fedoraproject.org> - 2.28.8-1
|
|
|
|
|
- Update to 2.28.8
|
|
|
|
|
|
|
|
|
|
* Tue Feb 06 2024 Morten Stevens <mstevens@fedoraproject.org> - 2.28.7-1
|
|
|
|
|
- Update to 2.28.7
|
|
|
|
|
|
|
|
|
|
* Tue Feb 06 2024 Morten Stevens <mstevens@fedoraproject.org> - 2.28.5-4
|
|
|
|
|
- Disabled testing due to build issues with GCC 14
|
|
|
|
|
|
|
|
|
|
* Thu Jan 25 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.5-3
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jan 21 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.5-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Tue Oct 10 2023 Morten Stevens <mstevens@fedoraproject.org> - 2.28.5-1
|
|
|
|
|
- Update to 2.28.5
|
|
|
|
|
|
|
|
|
@ -103,6 +120,9 @@ chmod 755 %{buildroot}%{_libdir}/*.so.*
|
|
|
|
|
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.28.3-2
|
|
|
|
|
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
|
|
|
|
|
|
|
|
|
* Sun Jul 02 2023 Arkady L. Shane <ashejn@msvsphere.ru> - 2.28.3-1
|
|
|
|
|
- Rebuilt for MSVSphere 9.2
|
|
|
|
|
|
|
|
|
|
* Thu Mar 30 2023 Morten Stevens <mstevens@fedoraproject.org> - 2.28.3-1
|
|
|
|
|
- Update to 2.28.3
|
|
|
|
|
|