Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package boringssl for openSUSE:Factory checked in at 2024-10-28 15:22:21 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/boringssl (Old) and /work/SRC/openSUSE:Factory/.boringssl.new.2020 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "boringssl" Mon Oct 28 15:22:21 2024 rev:14 rq:1218740 version:0.20200921 Changes: -------- --- /work/SRC/openSUSE:Factory/boringssl/boringssl.changes 2024-02-09 23:54:11.467009584 +0100 +++ /work/SRC/openSUSE:Factory/.boringssl.new.2020/boringssl.changes 2024-10-28 15:23:57.480553538 +0100 @@ -1,0 +2,13 @@ +Sun Oct 27 20:24:10 UTC 2024 - Fridrich Strba <[email protected]> + +- Change version of the sources to 0.%%cd to avoid problems when + upgrading if the versioning changes. +- Added patch: + * soname-sover.patch + + Replace patchelf run with patch that makes cmake produce the + shared libraries with the right SONAME and SOVER. +- Remove unnecessary dependencies on go, patchelf, ninja and + libunwind, since they are only needed for tests we are not + running + +------------------------------------------------------------------- Old: ---- boringssl-20200921.tar.xz New: ---- boringssl-0.20200921.tar.xz soname-sover.patch BETA DEBUG BEGIN: New:- Added patch: * soname-sover.patch + Replace patchelf run with patch that makes cmake produce the BETA DEBUG END: ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ boringssl.spec ++++++ --- /var/tmp/diff_new_pack.IiKNcB/_old 2024-10-28 15:23:59.612642602 +0100 +++ /var/tmp/diff_new_pack.IiKNcB/_new 2024-10-28 15:23:59.620642936 +0100 @@ -20,7 +20,7 @@ %define libname libboringssl%{sover} %define src_install_dir /usr/src/%{name} Name: boringssl -Version: 20200921 +Version: 0.20200921 Release: 0 Summary: An SSL/TLS protocol implementation License: OpenSSL @@ -32,13 +32,10 @@ Patch2: 0004-fix-alignment-for-ppc64le.patch Patch3: 0005-fix-alignment-for-arm.patch Patch4: 0001-Compile-for-RISC-V.patch +Patch5: soname-sover.patch BuildRequires: cmake >= 3.0 BuildRequires: fdupes BuildRequires: gcc-c++ -BuildRequires: go -BuildRequires: libunwind-devel -BuildRequires: ninja -BuildRequires: patchelf ExclusiveArch: %{ix86} x86_64 aarch64 s390x ppc64le %arm riscv64 %description @@ -85,11 +82,8 @@ %install # Install libraries -install -D -m0755 build/libcrypto.so %{buildroot}%{_libdir}/libboringssl_crypto.so.%{sover} -install -D -m0755 build/libssl.so %{buildroot}%{_libdir}/libboringssl_ssl.so.%{sover} -# Add SOVER to SONAME fields in libraries -patchelf --set-soname libboringssl_crypto.so.%{sover} %{buildroot}%{_libdir}/libboringssl_crypto.so.%{sover} -patchelf --set-soname libboringssl_ssl.so.%{sover} %{buildroot}%{_libdir}/libboringssl_ssl.so.%{sover} +install -D -m0755 build/libboringssl_crypto.so.%{sover} %{buildroot}%{_libdir}/libboringssl_crypto.so.%{sover} +install -D -m0755 build/libboringssl_ssl.so.%{sover} %{buildroot}%{_libdir}/libboringssl_ssl.so.%{sover} # Create links from *.so to *.so.SOVER ln -sf libboringssl_crypto.so.%{sover} %{buildroot}%{_libdir}/libboringssl_crypto.so ln -sf libboringssl_ssl.so.%{sover} %{buildroot}%{_libdir}/libboringssl_ssl.so ++++++ _service ++++++ --- /var/tmp/diff_new_pack.IiKNcB/_old 2024-10-28 15:23:59.952656805 +0100 +++ /var/tmp/diff_new_pack.IiKNcB/_new 2024-10-28 15:24:00.004658977 +0100 @@ -4,7 +4,7 @@ <param name="scm">git</param> <param name="changesgenerate">enable</param> <param name="filename">boringssl</param> - <param name="versionformat">%cd</param> + <param name="versionformat">0.%cd</param> <param name="revision">1ce6682c7f6cfe0426ed54a37c10775bea9d3502</param> </service> <service mode="disabled" name="recompress"> ++++++ boringssl-20200921.tar.xz -> boringssl-0.20200921.tar.xz ++++++ /work/SRC/openSUSE:Factory/boringssl/boringssl-20200921.tar.xz /work/SRC/openSUSE:Factory/.boringssl.new.2020/boringssl-0.20200921.tar.xz differ: char 15, line 1 ++++++ soname-sover.patch ++++++ diff -urEbwB boringssl-20200921.orig/CMakeLists.txt boringssl-20200921/CMakeLists.txt --- boringssl-20200921.orig/CMakeLists.txt 2024-10-27 21:00:08.071155909 +0100 +++ boringssl-20200921/CMakeLists.txt 2024-10-27 21:10:35.549252602 +0100 @@ -342,7 +342,7 @@ endif() add_library( - crypto + boringssl_crypto ${CRYPTO_ARCH_SOURCES} err_data.c @@ -577,8 +577,10 @@ src/crypto/x509v3/v3_utl.c ) +set_target_properties(boringssl_crypto PROPERTIES SOVERSION 1) + add_library( - ssl + boringssl_ssl src/ssl/bio_ssl.cc src/ssl/d1_both.cc @@ -618,6 +620,8 @@ src/ssl/tls_record.cc ) +set_target_properties(boringssl_ssl PROPERTIES SOVERSION 1) + add_executable( bssl @@ -639,10 +643,10 @@ src/tool/transport_common.cc ) -target_link_libraries(bssl ssl crypto) +target_link_libraries(bssl boringssl_ssl boringssl_crypto) if(NOT WIN32 AND NOT ANDROID) - target_link_libraries(crypto pthread) + target_link_libraries(boringssl_crypto pthread) endif() if(WIN32)
