Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package bzip3 for openSUSE:Factory checked in at 2026-09-12 21:21:56 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/bzip3 (Old) and /work/SRC/openSUSE:Factory/.bzip3.new.1265 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "bzip3" Sat Sep 12 21:21:56 2026 rev:9 rq:1377545 version:1.5.4 Changes: -------- --- /work/SRC/openSUSE:Factory/bzip3/bzip3.changes 2025-09-12 21:10:34.473869755 +0200 +++ /work/SRC/openSUSE:Factory/.bzip3.new.1265/bzip3.changes 2026-09-12 21:25:50.058736317 +0200 @@ -1,0 +2,14 @@ +Sat Sep 12 14:17:54 UTC 2026 - Martin Pluskal <[email protected]> + +- update to 1.5.4: + * libbz3: fix decompress rejecting valid streams from + incompressible input (BZ3_ERR_MALFORMED_HEADER). + * libbz3: fix silent data loss when input size is an exact + multiple of the block size (last block encoded empty). + * autoconf: define extra_cflags so bzip3.pc carries no + unexpanded variable. + * cmake: fix out-of-source builds; align library soname with + autotools (libbzip3.so.1). + * document default --jobs/--block values in help and man page. + +------------------------------------------------------------------- Old: ---- bzip3-1.5.3.tar.gz New: ---- bzip3-1.5.4.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ bzip3.spec ++++++ --- /var/tmp/diff_new_pack.qIO70g/_old 2026-09-12 21:25:50.541756590 +0200 +++ /var/tmp/diff_new_pack.qIO70g/_new 2026-09-12 21:25:50.543756674 +0200 @@ -1,7 +1,7 @@ # # spec file for package bzip3 # -# Copyright (c) 2025 SUSE LLC and contributors +# Copyright (c) 2026 SUSE LLC and contributors # Copyright (c) 2025 Andreas Stieger <[email protected]> # # All modifications and additions to the file contributed by third parties @@ -19,7 +19,7 @@ %define libname libbzip3-1 Name: bzip3 -Version: 1.5.3 +Version: 1.5.4 Release: 0 Summary: Compressor with Burrows–Wheeler transform and PPM context modeling License: BSD-2-Clause AND LGPL-3.0-or-later ++++++ bzip3-1.5.3.tar.gz -> bzip3-1.5.4.tar.gz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/.tarball-version new/bzip3-1.5.4/.tarball-version --- old/bzip3-1.5.3/.tarball-version 2025-08-13 11:29:42.000000000 +0200 +++ new/bzip3-1.5.4/.tarball-version 2026-09-07 21:52:51.000000000 +0200 @@ -1 +1 @@ -1.5.3 \ No newline at end of file +1.5.4 \ No newline at end of file diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/CMakeLists.txt new/bzip3-1.5.4/CMakeLists.txt --- old/bzip3-1.5.3/CMakeLists.txt 2025-08-13 11:29:24.000000000 +0200 +++ new/bzip3-1.5.4/CMakeLists.txt 2026-09-07 21:52:41.000000000 +0200 @@ -2,7 +2,7 @@ project( bzip3 - VERSION 1.5.3 + VERSION 1.5.4 DESCRIPTION "A better and stronger spiritual successor to BZip2" HOMEPAGE_URL "https://github.com/iczelia/bzip3" LANGUAGES C) @@ -82,9 +82,9 @@ set_target_properties( bz3 PROPERTIES OUTPUT_NAME bzip3 - SOVERSION "0.0.0" + SOVERSION "1" PUBLIC_HEADER include/libbz3.h - VERSION "0") + VERSION "1.0.0") if(BUILD_SHARED_LIBS) set_target_properties(bz3 PROPERTIES POSITION_INDEPENDENT_CODE ON) endif() @@ -141,15 +141,17 @@ bz3most.1 bzip3.1) foreach(BZIP3_MAN ${BZIP3_MANS}) - if(EXISTS ${BZIP3_MAN}.in) + if(EXISTS ${CMAKE_CURRENT_SOURCE_DIR}/${BZIP3_MAN}.in) string(TIMESTAMP MAN_DATE "%d %B %Y" UTC) set(TRANSFORMED_PACKAGE_NAME ${CMAKE_PROJECT_NAME}) set(MAN_DATE ${MAN_DATE}) set(VERSION ${PROJECT_VERSION}) - configure_file(${BZIP3_MAN}.in ${CMAKE_CURRENT_BINARY_DIR}/${BZIP3_MAN} + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${BZIP3_MAN}.in + ${CMAKE_CURRENT_BINARY_DIR}/${BZIP3_MAN} @ONLY) else() - configure_file(${BZIP3_MAN} ${CMAKE_CURRENT_BINARY_DIR}/${BZIP3_MAN} + configure_file(${CMAKE_CURRENT_SOURCE_DIR}/${BZIP3_MAN} + ${CMAKE_CURRENT_BINARY_DIR}/${BZIP3_MAN} COPYONLY) endif() install(FILES ${CMAKE_CURRENT_BINARY_DIR}/${BZIP3_MAN} diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/Makefile.in new/bzip3-1.5.4/Makefile.in --- old/bzip3-1.5.3/Makefile.in 2025-08-13 11:29:29.000000000 +0200 +++ new/bzip3-1.5.4/Makefile.in 2026-09-07 21:52:45.000000000 +0200 @@ -375,6 +375,7 @@ docdir = @docdir@ dvidir = @dvidir@ exec_prefix = @exec_prefix@ +extra_cflags = @extra_cflags@ host = @host@ host_alias = @host_alias@ host_cpu = @host_cpu@ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/bz3grep.1 new/bzip3-1.5.4/bz3grep.1 --- old/bzip3-1.5.3/bz3grep.1 2025-08-13 11:29:42.000000000 +0200 +++ new/bzip3-1.5.4/bz3grep.1 2026-09-07 21:52:51.000000000 +0200 @@ -1,4 +1,4 @@ -.TH bz3grep 1 "13 August 2025" "version v1.5.3" +.TH bz3grep 1 "07 September 2026" "version v1.5.4" . .SH "NAME" \fBbz3grep\fR \- print lines matching a pattern in bzip3\-compressed files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/bz3less.1 new/bzip3-1.5.4/bz3less.1 --- old/bzip3-1.5.3/bz3less.1 2025-08-13 11:29:42.000000000 +0200 +++ new/bzip3-1.5.4/bz3less.1 2026-09-07 21:52:51.000000000 +0200 @@ -1,4 +1,4 @@ -.TH bz3less 1 "13 August 2025" "version v1.5.3" +.TH bz3less 1 "07 September 2026" "version v1.5.4" . .SH "NAME" \fBbz3less\fR \- view bzip3\-compressed files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/bz3more.1 new/bzip3-1.5.4/bz3more.1 --- old/bzip3-1.5.3/bz3more.1 2025-08-13 11:29:42.000000000 +0200 +++ new/bzip3-1.5.4/bz3more.1 2026-09-07 21:52:51.000000000 +0200 @@ -1,4 +1,4 @@ -.TH bz3more 1 "13 August 2025" "version v1.5.3" +.TH bz3more 1 "07 September 2026" "version v1.5.4" . .SH "NAME" \fBbz3more\fR \- view bzip3\-compressed files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/bz3most.1 new/bzip3-1.5.4/bz3most.1 --- old/bzip3-1.5.3/bz3most.1 2025-08-13 11:29:42.000000000 +0200 +++ new/bzip3-1.5.4/bz3most.1 2026-09-07 21:52:51.000000000 +0200 @@ -1,4 +1,4 @@ -.TH bz3most 1 "13 August 2025" "version v1.5.3" +.TH bz3most 1 "07 September 2026" "version v1.5.4" . .SH "NAME" \fBbz3most\fR \- view bzip3\-compressed files diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/bzip3.1 new/bzip3-1.5.4/bzip3.1 --- old/bzip3-1.5.3/bzip3.1 2025-08-13 11:29:42.000000000 +0200 +++ new/bzip3-1.5.4/bzip3.1 2026-09-07 21:52:51.000000000 +0200 @@ -1,4 +1,4 @@ -.TH bzip3 1 "13 August 2025" "version v1.5.3" +.TH bzip3 1 "07 September 2026" "version v1.5.4" . .SH NAME bzip3 \- an efficient statistical file compressor and spiritual successor @@ -80,7 +80,7 @@ .TP .B \-b --block N Set the block size to N mebibytes. The minimum is 1MiB, the maximum is -511MiB. +511MiB. The default is 16MiB. .TP .B \-c --stdout Force writing output data to the standard output if one file is @@ -99,7 +99,8 @@ Display a help message and exit. .TP .B \-j --jobs N -Set the amount of parallel worker threads that process one block each. +Set the amount of parallel worker threads that process one block each. Default +is to use 1 worker thread. .TP .B \--rm Remove the input files after successful compression or decompression. This is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/bzip3.1.in new/bzip3-1.5.4/bzip3.1.in --- old/bzip3-1.5.3/bzip3.1.in 2025-08-13 11:29:24.000000000 +0200 +++ new/bzip3-1.5.4/bzip3.1.in 2026-09-07 21:52:41.000000000 +0200 @@ -80,7 +80,7 @@ .TP .B \-b --block N Set the block size to N mebibytes. The minimum is 1MiB, the maximum is -511MiB. +511MiB. The default is 16MiB. .TP .B \-c --stdout Force writing output data to the standard output if one file is @@ -99,7 +99,8 @@ Display a help message and exit. .TP .B \-j --jobs N -Set the amount of parallel worker threads that process one block each. +Set the amount of parallel worker threads that process one block each. Default +is to use 1 worker thread. .TP .B \--rm Remove the input files after successful compression or decompression. This is diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/configure new/bzip3-1.5.4/configure --- old/bzip3-1.5.3/configure 2025-08-13 11:29:28.000000000 +0200 +++ new/bzip3-1.5.4/configure 2026-09-07 21:52:44.000000000 +0200 @@ -1,6 +1,6 @@ #! /bin/sh # Guess values for system-dependent variables and create Makefiles. -# Generated by GNU Autoconf 2.71 for bzip3 1.5.3. +# Generated by GNU Autoconf 2.71 for bzip3 1.5.4. # # Report bugs to <https://github.com/iczelia/bzip3>. # @@ -621,8 +621,8 @@ # Identity of this package. PACKAGE_NAME='bzip3' PACKAGE_TARNAME='bzip3' -PACKAGE_VERSION='1.5.3' -PACKAGE_STRING='bzip3 1.5.3' +PACKAGE_VERSION='1.5.4' +PACKAGE_STRING='bzip3 1.5.4' PACKAGE_BUGREPORT='https://github.com/iczelia/bzip3' PACKAGE_URL='' @@ -666,6 +666,7 @@ GIT DATE TRANSFORMED_PACKAGE_NAME +extra_cflags ENABLE_STATIC_FALSE ENABLE_STATIC_TRUE ENABLE_ARCH_NATIVE_FALSE @@ -1380,7 +1381,7 @@ # Omit some internal or obsolete options to make the list less imposing. # This message is too long to be a string in the A/UX 3.1 sh. cat <<_ACEOF -\`configure' configures bzip3 1.5.3 to adapt to many kinds of systems. +\`configure' configures bzip3 1.5.4 to adapt to many kinds of systems. Usage: $0 [OPTION]... [VAR=VALUE]... @@ -1451,7 +1452,7 @@ if test -n "$ac_init_help"; then case $ac_init_help in - short | recursive ) echo "Configuration of bzip3 1.5.3:";; + short | recursive ) echo "Configuration of bzip3 1.5.4:";; esac cat <<\_ACEOF @@ -1572,7 +1573,7 @@ test -n "$ac_init_help" && exit $ac_status if $ac_init_version; then cat <<\_ACEOF -bzip3 configure 1.5.3 +bzip3 configure 1.5.4 generated by GNU Autoconf 2.71 Copyright (C) 2021 Free Software Foundation, Inc. @@ -1828,7 +1829,7 @@ This file contains any messages produced by compilers while running configure, to aid debugging if configure makes a mistake. -It was created by bzip3 $as_me 1.5.3, which was +It was created by bzip3 $as_me 1.5.4, which was generated by GNU Autoconf 2.71. Invocation command line was $ $0$ac_configure_args_raw @@ -3098,7 +3099,7 @@ # Define the identity of the package. PACKAGE='bzip3' - VERSION='1.5.3' + VERSION='1.5.4' printf "%s\n" "#define PACKAGE \"$PACKAGE\"" >>confdefs.h @@ -13695,6 +13696,7 @@ fi + if test -z "$PASSED_CFLAGS_TRUE"; then : { printf "%s\n" "$as_me:${as_lineno-$LINENO}: skipping compiler feature detection, using '$CFLAGS'" >&5 @@ -14734,7 +14736,7 @@ # report actual input values of CONFIG_FILES etc. instead of their # values after options handling. ac_log=" -This file was extended by bzip3 $as_me 1.5.3, which was +This file was extended by bzip3 $as_me 1.5.4, which was generated by GNU Autoconf 2.71. Invocation command line was CONFIG_FILES = $CONFIG_FILES @@ -14793,7 +14795,7 @@ cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1 ac_cs_config='$ac_cs_config_escaped' ac_cs_version="\\ -bzip3 config.status 1.5.3 +bzip3 config.status 1.5.4 configured by $0, generated by GNU Autoconf 2.71, with options \\"\$ac_cs_config\\" diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/configure.ac new/bzip3-1.5.4/configure.ac --- old/bzip3-1.5.3/configure.ac 2025-08-13 11:29:24.000000000 +0200 +++ new/bzip3-1.5.4/configure.ac 2026-09-07 21:52:41.000000000 +0200 @@ -1,4 +1,4 @@ -AC_PREREQ([2.68]) +AC_PREREQ([2.69]) AC_INIT([bzip3], [m4_esyscmd(build-aux/git-version-gen .tarball-version)], [https://github.com/iczelia/bzip3]) AC_CONFIG_AUX_DIR([build-aux]) AM_INIT_AUTOMAKE([foreign subdir-objects tar-ustar dist-bzip2 dist-xz dist-zip color-tests]) @@ -34,6 +34,7 @@ AC_ARG_ENABLE([static-exe], AS_HELP_STRING([--enable-static-exe], [Enable static builds of the executable.])) AM_CONDITIONAL([ENABLE_STATIC], [test x"$enable_static_exe" = xyes]) +AC_SUBST([extra_cflags], []) AM_COND_IF([PASSED_CFLAGS], [ AC_MSG_NOTICE([skipping compiler feature detection, using '$CFLAGS']) diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/src/libbz3.c new/bzip3-1.5.4/src/libbz3.c --- old/bzip3-1.5.3/src/libbz3.c 2025-08-13 11:29:24.000000000 +0200 +++ new/bzip3-1.5.4/src/libbz3.c 2026-09-07 21:52:41.000000000 +0200 @@ -910,8 +910,7 @@ // Compress and write the blocks. size_t in_offset = 0; for (u32 i = 0; i < n_blocks; i++) { - s32 size = block_size; - if (i == n_blocks - 1) size = in_size % block_size; + s32 size = (s32)(i == n_blocks - 1 ? in_size - in_offset : block_size); memcpy(compression_buf, in + in_offset, size); s32 out_size_block = bz3_encode_block(state, compression_buf, size); if (bz3_last_error(state) != BZ3_OK) { @@ -963,7 +962,7 @@ return BZ3_ERR_MALFORMED_HEADER; } s32 size = read_neutral_s32(in); - if (size < 0 || size > block_size) goto malformed_header; + if (size < 0 || size > (s32)bz3_bound(block_size)) goto malformed_header; if (in_size < size + 8) { bz3_free(state); free(compression_buf); diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/bzip3-1.5.3/src/main.c new/bzip3-1.5.4/src/main.c --- old/bzip3-1.5.3/src/main.c 2025-08-13 11:29:24.000000000 +0200 +++ new/bzip3-1.5.4/src/main.c 2026-09-07 21:52:41.000000000 +0200 @@ -68,7 +68,7 @@ " -b N, --block=N set block size in MiB {16}\n" " -B, --batch process all files specified as inputs\n" #ifdef PTHREAD - " -j N, --jobs=N set the amount of parallel threads\n" + " -j N, --jobs=N set the amount of parallel threads {1}\n" #endif "\n" "Report bugs to: https://github.com/iczelia/bzip3\n");
