Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package mbedtls for openSUSE:Factory checked in at 2023-05-31 21:54:57 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/mbedtls (Old) and /work/SRC/openSUSE:Factory/.mbedtls.new.1533 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "mbedtls" Wed May 31 21:54:57 2023 rev:39 rq:1089972 version:3.4.0 Changes: -------- --- /work/SRC/openSUSE:Factory/mbedtls/mbedtls.changes 2023-05-08 17:24:33.668793552 +0200 +++ /work/SRC/openSUSE:Factory/.mbedtls.new.1533/mbedtls.changes 2023-05-31 21:55:01.709193718 +0200 @@ -1,0 +2,10 @@ +Mon May 29 17:41:24 UTC 2023 - Arjen de Korte <[email protected]> + +- Remove obsolete CMake options as these are not used in 3.0+ + (USE_PKCS11_HELPER_LIBRARY, ENABLE_ZLIB_SUPPORT) +- Enable MBEDTLS_THREADING_C and MBEDTLS_THREADING_PTHREAD (boo#1211810) + + mbedtls-enable-pthread.patch +- Parallel execution of ctest works just fine (no need to limit to + one job) + +------------------------------------------------------------------- New: ---- mbedtls-enable-pthread.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ mbedtls.spec ++++++ --- /var/tmp/diff_new_pack.I9Gwup/_old 2023-05-31 21:55:02.353197525 +0200 +++ /var/tmp/diff_new_pack.I9Gwup/_new 2023-05-31 21:55:02.357197548 +0200 @@ -28,11 +28,10 @@ URL: https://tls.mbed.org Source: %{name}-%{version}.tar.gz Source99: baselibs.conf +# PATCH-FEATURE-OPENSUSE - enable MBEDTLS_THREADING_PTHREAD and MBEDTLS_THREADING_C +Patch1: mbedtls-enable-pthread.patch BuildRequires: cmake BuildRequires: ninja -BuildRequires: pkgconfig -BuildRequires: pkgconfig(libpkcs11-helper-1) -BuildRequires: pkgconfig(zlib) %{?suse_build_hwcaps_libs} %description @@ -97,10 +96,6 @@ %cmake \ -DUNSAFE_BUILD=ON \ -DLINK_WITH_PTHREAD=ON \ - -DMBEDTLS_THREADING_C=ON \ - -DMBEDTLS_THREADING_PTHREAD=ON \ - -DUSE_PKCS11_HELPER_LIBRARY=ON \ - -DENABLE_ZLIB_SUPPORT=ON \ -DINSTALL_MBEDTLS_HEADERS=ON \ -DUSE_SHARED_MBEDTLS_LIBRARY=ON \ -DUSE_STATIC_MBEDTLS_LIBRARY=OFF \ @@ -112,11 +107,9 @@ %cmake_install %check -# parallel execution fails -# %%ctest pushd build LD_LIBRARY_PATH=%{buildroot}%{_libdir} \ - %{_bindir}/ctest --output-on-failure --force-new-ctest-process -j1 + %{_bindir}/ctest --output-on-failure --force-new-ctest-process %post -n %{lib_tls} -p /sbin/ldconfig %post -n %{lib_crypto} -p /sbin/ldconfig ++++++ mbedtls-enable-pthread.patch ++++++ diff -purN a/include/mbedtls/mbedtls_config.h b/include/mbedtls/mbedtls_config.h --- a/include/mbedtls/mbedtls_config.h 2023-03-27 19:05:28.000000000 +0200 +++ b/include/mbedtls/mbedtls_config.h 2023-05-29 19:15:39.917530360 +0200 @@ -1917,7 +1917,7 @@ * * Uncomment this to enable pthread mutexes. */ -//#define MBEDTLS_THREADING_PTHREAD +#define MBEDTLS_THREADING_PTHREAD /** * \def MBEDTLS_USE_PSA_CRYPTO @@ -3312,7 +3312,7 @@ * * Enable this layer to allow use of mutexes within mbed TLS */ -//#define MBEDTLS_THREADING_C +#define MBEDTLS_THREADING_C /** * \def MBEDTLS_TIMING_C
