xz: Update to version 5.8.0

Message ID 20250331131555.3325603-3-adolf.belka@ipfire.org
State Staged
Commit d32897e39727502a0957d5cc7b0dd88445f9a9a5
Headers
Series xz: Update to version 5.8.0 |

Commit Message

Adolf Belka March 31, 2025, 1:15 p.m. UTC
  - Update from version 5.6.3 to 5.8.0
- branch 5.8 is the new stable branch. Branch 5.6 from now on will only get critical
   fixes, there will be no new releases on that old branch.
- Update of rootfile
- Changlog
    5.8.0
	This bumps the minor version of liblzma because new features were
	 added. The API and ABI are still backward compatible with liblzma
	 5.6.x, 5.4.x, 5.2.x, and 5.0.x.
	    * liblzma on 32/64-bit x86: When possible, use SSE2 intrinsics
	      instead of memcpy() in the LZMA/LZMA2 decoder. In typical cases,
	      this may reduce decompression time by 0-5 %. However, when built
	      against musl libc, over 15 % time reduction was observed with
	      highly compressed files.
	    * CMake: Make the feature test macros match the Autotools-based
	      build on NetBSD, Darwin, and mingw-w64.
	    * Update the Croatian, Italian, Portuguese, and Romanian
	      translations.
	    * Update the German, Italian, Korean, Romanian, Serbian, and
	      Ukrainian man page translations.
	Summary of changes in the 5.7.x development releases:
	    * Mark the following LZMA Utils script aliases as deprecated:
	      lzcmp, lzdiff, lzless, lzmore, lzgrep, lzegrep, and lzfgrep.
	    * liblzma:
	        - Improve LZMA/LZMA2 encoder speed on 64-bit PowerPC (both
	          endiannesses) and those 64-bit RISC-V processors that
	          support fast unaligned access.
	        - Add low-level APIs for RISC-V, ARM64, and x86 BCJ filters
	          to lzma/bcj.h. These are primarily for erofs-utils.
	        - x86/x86-64/E2K CLMUL CRC code was rewritten.
	        - Use the CRC32 instructions on LoongArch.
	    * xz:
	        - Synchronize the output file and its directory using fsync()
	          before deleting the input file. No syncing is done when xz
	          isn't going to delete the input file.
	        - Add --no-sync to disable the sync-before-delete behavior.
	        - Make --single-stream imply --keep.
	    * xz, xzdec, lzmainfo: When printing messages, replace
	      non-printable characters with question marks.
	    * xz and xzdec on Linux: Support Landlock ABI versions 5 and 6.
	    * CMake: Revise the configuration variables and some of their
	      options, and document them in the file INSTALL. CMake support
	      is no longer experimental. (It was already not experimental
	      when building for native Windows.)
	    * Add build-aux/license-check.sh.
    5.6.4
	    * liblzma: Fix LZMA/LZMA2 encoder on big endian ARM64.
	    * xz:
	        - Fix --filters= and --filters1= ... --filters9= options
	          parsing. They require an argument, thus "xz --filters lzma2"
	          should work in addition to "xz --filters=lzma2".
	        - On the man page, note in the --compress and --decompress
	          options that the default behavior is to delete the input
	          file unless writing to standard output. It was already
	          documented in the DESCRIPTION section but new users in
	          a hurry might miss it.
	    * Windows (native builds, not Cygwin): Fix regressions introduced
	      in XZ Utils 5.6.3 which caused non-ASCII characters to display
	      incorrectly. Only builds with translation support were affected
	      (--enable-nls or ENABLE_NLS=ON). The following changes affect
	      builds that have translations enabled:
	        - Require UCRT because MSVCRT doesn't support UTF-8
	          locales and thus translations won't be readable on
	          Windows 10 version 1903 and later. (MSVCRT builds
	          are still possible with --disable-nls or ENABLE_NLS=OFF.)
	        - Require gettext-runtime >= 0.23.1 because older versions
	          don't autodetect the use of the UTF-8 code page. This
	          resulted in garbled non-ASCII characters even with UCRT.
	        - Partially fix alignment issues in xz --verbose --list
	          with translated messages. Chinese (simplified),
	          Chinese (traditional), and Korean column headings
	          are misaligned still because Windows and MinGW-w64
	          don't provide wcwidth() and XZ Utils doesn't include
	          a replacement function either.
	    * CMake: Explicitly disable unity builds. This prevents build
	      failures when another project uses XZ Utils via CMake's
	      FetchContent module, and that project enables unity builds.
	    * Update Chinese (traditional) and Serbian translations.

Signed-off-by: Adolf Belka <adolf.belka@ipfire.org>
---
 config/rootfiles/common/xz | 54 +++++++++++++++++++++++++++++++++++++-
 lfs/xz                     |  6 ++---
 2 files changed, 56 insertions(+), 4 deletions(-)
  

Patch

diff --git a/config/rootfiles/common/xz b/config/rootfiles/common/xz
index cd64e2c31..3873744c8 100644
--- a/config/rootfiles/common/xz
+++ b/config/rootfiles/common/xz
@@ -41,7 +41,7 @@  usr/bin/xzmore
 #usr/lib/liblzma.la
 #usr/lib/liblzma.so
 usr/lib/liblzma.so.5
-usr/lib/liblzma.so.5.6.3
+usr/lib/liblzma.so.5.8.0
 #usr/lib/pkgconfig/liblzma.pc
 #usr/share/doc/xz
 #usr/share/doc/xz/AUTHORS
@@ -74,7 +74,9 @@  usr/lib/liblzma.so.5.6.3
 #usr/share/locale/hr/LC_MESSAGES/xz.mo
 #usr/share/locale/hu/LC_MESSAGES/xz.mo
 #usr/share/locale/it/LC_MESSAGES/xz.mo
+#usr/share/locale/ka/LC_MESSAGES/xz.mo
 #usr/share/locale/ko/LC_MESSAGES/xz.mo
+#usr/share/locale/nl/LC_MESSAGES/xz.mo
 #usr/share/locale/pl/LC_MESSAGES/xz.mo
 #usr/share/locale/pt/LC_MESSAGES/xz.mo
 #usr/share/locale/pt_BR/LC_MESSAGES/xz.mo
@@ -124,6 +126,31 @@  usr/lib/liblzma.so.5.6.3
 #usr/share/man/fr/man1/xzcat.1
 #usr/share/man/fr/man1/xzdec.1
 #usr/share/man/fr/man1/xzless.1
+#usr/share/man/it
+#usr/share/man/it/man1
+#usr/share/man/it/man1/lzcat.1
+#usr/share/man/it/man1/lzcmp.1
+#usr/share/man/it/man1/lzdiff.1
+#usr/share/man/it/man1/lzegrep.1
+#usr/share/man/it/man1/lzfgrep.1
+#usr/share/man/it/man1/lzgrep.1
+#usr/share/man/it/man1/lzless.1
+#usr/share/man/it/man1/lzma.1
+#usr/share/man/it/man1/lzmadec.1
+#usr/share/man/it/man1/lzmainfo.1
+#usr/share/man/it/man1/lzmore.1
+#usr/share/man/it/man1/unlzma.1
+#usr/share/man/it/man1/unxz.1
+#usr/share/man/it/man1/xz.1
+#usr/share/man/it/man1/xzcat.1
+#usr/share/man/it/man1/xzcmp.1
+#usr/share/man/it/man1/xzdec.1
+#usr/share/man/it/man1/xzdiff.1
+#usr/share/man/it/man1/xzegrep.1
+#usr/share/man/it/man1/xzfgrep.1
+#usr/share/man/it/man1/xzgrep.1
+#usr/share/man/it/man1/xzless.1
+#usr/share/man/it/man1/xzmore.1
 #usr/share/man/ko
 #usr/share/man/ko/man1
 #usr/share/man/ko/man1/lzcat.1
@@ -210,6 +237,31 @@  usr/lib/liblzma.so.5.6.3
 #usr/share/man/ro/man1/xzgrep.1
 #usr/share/man/ro/man1/xzless.1
 #usr/share/man/ro/man1/xzmore.1
+#usr/share/man/sr
+#usr/share/man/sr/man1
+#usr/share/man/sr/man1/lzcat.1
+#usr/share/man/sr/man1/lzcmp.1
+#usr/share/man/sr/man1/lzdiff.1
+#usr/share/man/sr/man1/lzegrep.1
+#usr/share/man/sr/man1/lzfgrep.1
+#usr/share/man/sr/man1/lzgrep.1
+#usr/share/man/sr/man1/lzless.1
+#usr/share/man/sr/man1/lzma.1
+#usr/share/man/sr/man1/lzmadec.1
+#usr/share/man/sr/man1/lzmainfo.1
+#usr/share/man/sr/man1/lzmore.1
+#usr/share/man/sr/man1/unlzma.1
+#usr/share/man/sr/man1/unxz.1
+#usr/share/man/sr/man1/xz.1
+#usr/share/man/sr/man1/xzcat.1
+#usr/share/man/sr/man1/xzcmp.1
+#usr/share/man/sr/man1/xzdec.1
+#usr/share/man/sr/man1/xzdiff.1
+#usr/share/man/sr/man1/xzegrep.1
+#usr/share/man/sr/man1/xzfgrep.1
+#usr/share/man/sr/man1/xzgrep.1
+#usr/share/man/sr/man1/xzless.1
+#usr/share/man/sr/man1/xzmore.1
 #usr/share/man/uk
 #usr/share/man/uk/man1
 #usr/share/man/uk/man1/lzcat.1
diff --git a/lfs/xz b/lfs/xz
index aa04a8d3a..511848c1d 100644
--- a/lfs/xz
+++ b/lfs/xz
@@ -1,7 +1,7 @@ 
 ###############################################################################
 #                                                                             #
 # IPFire.org - A linux based firewall                                         #
-# Copyright (C) 2007-2024  IPFire Team  <info@ipfire.org>                     #
+# Copyright (C) 2007-2025  IPFire Team  <info@ipfire.org>                     #
 #                                                                             #
 # This program is free software: you can redistribute it and/or modify        #
 # it under the terms of the GNU General Public License as published by        #
@@ -24,7 +24,7 @@ 
 
 include Config
 
-VER        = 5.6.3
+VER        = 5.8.0
 
 THISAPP    = xz-$(VER)
 DL_FILE    = $(THISAPP).tar.xz
@@ -45,7 +45,7 @@  objects = $(DL_FILE)
 
 $(DL_FILE) = $(DL_FROM)/$(DL_FILE)
 
-$(DL_FILE)_BLAKE2 = 7c75a334abdec370d03bea1d07f9211069633e2851e304f189b6b316d9c8363350849404cff318310c3d4a6d2ec6439e64e074f40d7ad5f02ff101757de27f99
+$(DL_FILE)_BLAKE2 = 5087c88884a857b96bc5658548fc9b07ab2f14fe9eabfaeaa19e21810e7588c97621db08353632bd56e66ae2085ec5adc421c4d6849525b630d56dadd65c9f81
 
 install : $(TARGET)