Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package aws-c-cal for openSUSE:Factory checked in at 2024-04-16 20:05:10 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/aws-c-cal (Old) and /work/SRC/openSUSE:Factory/.aws-c-cal.new.26366 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "aws-c-cal" Tue Apr 16 20:05:10 2024 rev:3 rq:1167978 version:0.6.11 Changes: -------- --- /work/SRC/openSUSE:Factory/aws-c-cal/aws-c-cal.changes 2024-02-21 17:59:17.577544388 +0100 +++ /work/SRC/openSUSE:Factory/.aws-c-cal.new.26366/aws-c-cal.changes 2024-04-16 20:11:24.365126249 +0200 @@ -1,0 +2,10 @@ +Mon Apr 15 11:41:44 UTC 2024 - John Paul Adrian Glaubitz <adrian.glaub...@suse.com> + +- Update to version 0.6.11 + * Not install tests stuff by @TingDaoK in (#177) + * chore(ci): Performance boost to OpenBSD CI jobs by @knightjoel in (#179) + * CI job for FreeBSD by @knightjoel in (#178) + * Fix: Use buffer without memory allocation by @alfred2g in (#180) +- Drop aws-c-cal package as upstream no longer installs the binaries + +------------------------------------------------------------------- Old: ---- v0.6.10.tar.gz New: ---- v0.6.11.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ aws-c-cal.spec ++++++ --- /var/tmp/diff_new_pack.Qx2st5/_old 2024-04-16 20:11:25.565170349 +0200 +++ /var/tmp/diff_new_pack.Qx2st5/_new 2024-04-16 20:11:25.565170349 +0200 @@ -19,7 +19,7 @@ %define library_version 1.0.0 %define library_soversion 0unstable Name: aws-c-cal -Version: 0.6.10 +Version: 0.6.11 Release: 0 Summary: AWS C99 wrapper for cryptography primitives License: Apache-2.0 @@ -78,9 +78,6 @@ %post -n lib%{name}%{library_soversion} -p /sbin/ldconfig %postun -n lib%{name}%{library_soversion} -p /sbin/ldconfig -%files -%{_bindir}/* - %files -n lib%{name}%{library_soversion} %doc README.md %license LICENSE ++++++ v0.6.10.tar.gz -> v0.6.11.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.10/.github/workflows/ci.yml new/aws-c-cal-0.6.11/.github/workflows/ci.yml --- old/aws-c-cal-0.6.10/.github/workflows/ci.yml 2024-02-14 22:37:34.000000000 +0100 +++ new/aws-c-cal-0.6.11/.github/workflows/ci.yml 2024-03-05 01:49:59.000000000 +0100 @@ -6,7 +6,7 @@ - 'main' env: - BUILDER_VERSION: v0.9.55 + BUILDER_VERSION: v0.9.57 BUILDER_SOURCE: releases BUILDER_HOST: https://d19elf31gohf1l.cloudfront.net PACKAGE_NAME: aws-c-cal @@ -177,16 +177,33 @@ chmod a+x builder ./builder build -p ${{ env.PACKAGE_NAME }} --cmake-extra=-DCMAKE_OSX_DEPLOYMENT_TARGET=10.9 + freebsd: + runs-on: ubuntu-22.04 # latest + steps: + - uses: actions/checkout@v4 + - name: Build ${{ env.PACKAGE_NAME }} + consumers + uses: cross-platform-actions/action@v0.23.0 + with: + operating_system: freebsd + architecture: x86-64 + version: '14.0' + shell: bash + run: | + sudo pkg install -y python3 py39-urllib3 + python3 -c "from urllib.request import urlretrieve; urlretrieve('${{ env.BUILDER_HOST }}/${{ env.BUILDER_SOURCE }}/${{ env.BUILDER_VERSION }}/builder.pyz', 'builder')" + chmod a+x builder + ./builder build -p ${{ env.PACKAGE_NAME }} + openbsd: - runs-on: macos-12 # macos's virtual machine is faster than ubuntu's + runs-on: ubuntu-22.04 # latest steps: - - uses: actions/checkout@v3 + - uses: actions/checkout@v4 - name: Build ${{ env.PACKAGE_NAME }} + consumers - uses: cross-platform-actions/action@v0.10.0 + uses: cross-platform-actions/action@v0.23.0 with: operating_system: openbsd architecture: x86-64 - version: '7.2' + version: '7.4' shell: bash run: | sudo pkg_add py3-urllib3 diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.10/bin/produce_x_platform_fuzz_corpus/CMakeLists.txt new/aws-c-cal-0.6.11/bin/produce_x_platform_fuzz_corpus/CMakeLists.txt --- old/aws-c-cal-0.6.10/bin/produce_x_platform_fuzz_corpus/CMakeLists.txt 2024-02-14 22:37:34.000000000 +0100 +++ new/aws-c-cal-0.6.11/bin/produce_x_platform_fuzz_corpus/CMakeLists.txt 2024-03-05 01:49:59.000000000 +0100 @@ -5,13 +5,12 @@ file(GLOB PROFILE_SRC "*.c" - ) +) set(PROFILE_PROJECT_NAME produce_x_platform_fuzz_corpus) add_executable(${PROFILE_PROJECT_NAME} ${PROFILE_SRC}) aws_set_common_properties(${PROFILE_PROJECT_NAME}) - target_include_directories(${PROFILE_PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:include>) @@ -21,10 +20,3 @@ if (BUILD_SHARED_LIBS AND NOT WIN32) message(INFO " produce_x_platform_fuzz_corpus will be built with shared libs, but you may need to set LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib to run the application") endif() - -install(TARGETS ${PROFILE_PROJECT_NAME} - EXPORT ${PROFILE_PROJECT_NAME}-targets - COMPONENT Runtime - RUNTIME - DESTINATION bin - COMPONENT Runtime) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.10/bin/run_x_platform_fuzz_corpus/CMakeLists.txt new/aws-c-cal-0.6.11/bin/run_x_platform_fuzz_corpus/CMakeLists.txt --- old/aws-c-cal-0.6.10/bin/run_x_platform_fuzz_corpus/CMakeLists.txt 2024-02-14 22:37:34.000000000 +0100 +++ new/aws-c-cal-0.6.11/bin/run_x_platform_fuzz_corpus/CMakeLists.txt 2024-03-05 01:49:59.000000000 +0100 @@ -5,13 +5,12 @@ file(GLOB PROFILE_SRC "*.c" - ) +) set(PROFILE_PROJECT_NAME run_x_platform_fuzz_corpus) add_executable(${PROFILE_PROJECT_NAME} ${PROFILE_SRC}) aws_set_common_properties(${PROFILE_PROJECT_NAME}) - target_include_directories(${PROFILE_PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:include>) @@ -21,10 +20,3 @@ if (BUILD_SHARED_LIBS AND NOT WIN32) message(INFO " run_x_platform_fuzz_corpus will be built with shared libs, but you may need to set LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib to run the application") endif() - -install(TARGETS ${PROFILE_PROJECT_NAME} - EXPORT ${PROFILE_PROJECT_NAME}-targets - COMPONENT Runtime - RUNTIME - DESTINATION bin - COMPONENT Runtime) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.10/bin/sha256_profile/CMakeLists.txt new/aws-c-cal-0.6.11/bin/sha256_profile/CMakeLists.txt --- old/aws-c-cal-0.6.10/bin/sha256_profile/CMakeLists.txt 2024-02-14 22:37:34.000000000 +0100 +++ new/aws-c-cal-0.6.11/bin/sha256_profile/CMakeLists.txt 2024-03-05 01:49:59.000000000 +0100 @@ -5,13 +5,12 @@ file(GLOB PROFILE_SRC "*.c" - ) +) set(PROFILE_PROJECT_NAME sha256_profile) add_executable(${PROFILE_PROJECT_NAME} ${PROFILE_SRC}) aws_set_common_properties(${PROFILE_PROJECT_NAME}) - target_include_directories(${PROFILE_PROJECT_NAME} PUBLIC $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> $<INSTALL_INTERFACE:include>) @@ -21,10 +20,3 @@ if (BUILD_SHARED_LIBS AND NOT WIN32) message(INFO " sha256_profile will be built with shared libs, but you may need to set LD_LIBRARY_PATH=${CMAKE_INSTALL_PREFIX}/lib to run the application") endif() - -install(TARGETS ${PROFILE_PROJECT_NAME} - EXPORT ${PROFILE_PROJECT_NAME}-targets - COMPONENT Runtime - RUNTIME - DESTINATION bin - COMPONENT Runtime) \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.10/builder.json new/aws-c-cal-0.6.11/builder.json --- old/aws-c-cal-0.6.10/builder.json 2024-02-14 22:37:34.000000000 +0100 +++ new/aws-c-cal-0.6.11/builder.json 2024-03-05 01:49:59.000000000 +0100 @@ -26,12 +26,26 @@ } ] }, + "freebsd": { + "upstream": [ + { + "name": "aws-lc" + } + ] + }, "openbsd": { "upstream": [ { "name": "aws-lc" } ] + }, + "windows": { + "!test_steps": [ + "test", + "{build_dir}/aws-c-cal/bin/sha256_profile/RelWithDebInfo/sha256_profile.exe", + "{build_dir}/aws-c-cal/bin/run_x_platform_fuzz_corpus/RelWithDebInfo/run_x_platform_fuzz_corpus.exe --corpus-path {source_dir}/ecdsa-fuzz-corpus" + ] } }, "variants": { @@ -80,9 +94,9 @@ "test_steps": [ "test", [ - "{install_dir}/bin/sha256_profile" + "{build_dir}/aws-c-cal/bin/sha256_profile/sha256_profile" ], - "{install_dir}/bin/run_x_platform_fuzz_corpus --corpus-path {source_dir}/ecdsa-fuzz-corpus" + "{build_dir}/aws-c-cal/bin/run_x_platform_fuzz_corpus/run_x_platform_fuzz_corpus --corpus-path {source_dir}/ecdsa-fuzz-corpus" ] } diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/aws-c-cal-0.6.10/source/windows/bcrypt_aes.c new/aws-c-cal-0.6.11/source/windows/bcrypt_aes.c --- old/aws-c-cal-0.6.10/source/windows/bcrypt_aes.c 2024-02-14 22:37:34.000000000 +0100 +++ new/aws-c-cal-0.6.11/source/windows/bcrypt_aes.c 2024-03-05 01:49:59.000000000 +0100 @@ -277,9 +277,12 @@ } aws_byte_buf_secure_zero(&cipher_impl->overflow); - aws_byte_buf_secure_zero(&cipher_impl->working_mac_buffer); - /* windows handles this, just go ahead and tell the API it's got a length. */ - cipher_impl->working_mac_buffer.len = AWS_AES_256_CIPHER_BLOCK_SIZE; + + if (cipher_impl->working_mac_buffer.capacity != 0) { + aws_byte_buf_secure_zero(&cipher_impl->working_mac_buffer); + /* windows handles this, just go ahead and tell the API it's got a length. */ + cipher_impl->working_mac_buffer.len = AWS_AES_256_CIPHER_BLOCK_SIZE; + } } static int s_reset_cbc_cipher(struct aws_symmetric_cipher *cipher) {