pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/xz



Module Name:    pkgsrc
Committed By:   adam
Date:           Sun Dec 21 13:06:02 UTC 2025

Modified Files:
        pkgsrc/archivers/xz: Makefile PLIST distinfo

Log Message:
xz: updated to 5.8.2

5.8.2 (2025-12-17)

* liblzma:

    - Fix the build on ARM64 on glibc versions older than
      2.24 (2016). They don't have HWCAP_CRC32 in <sys/auxv.h>.

    - Disable CLMUL CRC code when building for 32-bit x86 with
      old MSVC versions. This avoids a compiler bug. The exact
      compiler version in which the issue was fixed is unknown,
      but VS 2022 17.13 (MSVC 19.43.34808) is known to work, so
      CLMUL CRC on 32-bit x86 is disabled with MSVC versions
      older than that.

* xz:

    - Add a workaround for Red Hat Enterprise Linux 9 kernel bug
      which made xz fail with "xz: Failed to enable the sandbox".
      It only occurs with xz 5.8.0 and 5.8.1 binaries built for
      other distros. For example, running Debian 13 in a container
      on RHEL/CentOS 9 would trigger the issue.

      The bug was introduced in RHEL 9 kernel 5.14.0-603.el9
      (2025-07-30) and fixed in 5.14.0-648.el9 (2025-12-05).
      However, as of writing, the fixed kernel isn't available
      to RHEL 9 users yet, so including the workaround in this
      xz release seems reasonable. The workaround will be removed
      when it's no longer needed.

      xzdec was also affected by this issue.

    - On AIX, don't use fsync() on directories because it fails.

    - Fix the build on Emscripten.

    - Fix the build on clang-cl on Windows.

    - Take resource limits (RLIMIT_DATA, RLIMIT_AS, and RLIMIT_VMEM)
      into account when determining the default memory usage limit
      for multithreaded mode. This should prevent xz from failing
      when a resource limit has been set to a value that is less
      than 1/4 of total RAM. Other memory limits can still trigger
      the same issue, for example, Linux cgroup v2 memory.max.

* Build systems:

    - When symbol versioning is enabled, pass --undefined-version
      to the linker if the option is supported. This fixes the
      build when using LLVM's lld and some liblzma features have
      been disabled at build time.

    - ARM64: Fix autodetection of fast unaligned memory access when
      using GCC and -mstrict-align is in effect. Previously the
      build systems would incorrectly guess that unaligned access
      is fast, which would result in much slower binaries than
      needed. The fix is a workaround for GCC bug 111555;
      autodetection already worked with Clang.

    - LoongArch: Autodetect if fast unaligned memory access is
      supported. This can improve compression speed by 15 % (but
      not decompression speed).

* Translations:

    - Update the Spanish translation.

    - Add Swedish man page translations.

    - Update Italian, Korean, Romanian, Serbian, and Ukrainian
      man page translations.


To generate a diff of this commit:
cvs rdiff -u -r1.55 -r1.56 pkgsrc/archivers/xz/Makefile
cvs rdiff -u -r1.21 -r1.22 pkgsrc/archivers/xz/PLIST
cvs rdiff -u -r1.41 -r1.42 pkgsrc/archivers/xz/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/xz/Makefile
diff -u pkgsrc/archivers/xz/Makefile:1.55 pkgsrc/archivers/xz/Makefile:1.56
--- pkgsrc/archivers/xz/Makefile:1.55   Tue Apr  8 14:17:55 2025
+++ pkgsrc/archivers/xz/Makefile        Sun Dec 21 13:06:01 2025
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.55 2025/04/08 14:17:55 nia Exp $
+# $NetBSD: Makefile,v 1.56 2025/12/21 13:06:01 adam Exp $
 
-DISTNAME=      xz-5.8.1
+DISTNAME=      xz-5.8.2
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=tukaani-project/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}

Index: pkgsrc/archivers/xz/PLIST
diff -u pkgsrc/archivers/xz/PLIST:1.21 pkgsrc/archivers/xz/PLIST:1.22
--- pkgsrc/archivers/xz/PLIST:1.21      Sun Mar 30 06:13:16 2025
+++ pkgsrc/archivers/xz/PLIST   Sun Dec 21 13:06:01 2025
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.21 2025/03/30 06:13:16 adam Exp $
+@comment $NetBSD: PLIST,v 1.22 2025/12/21 13:06:01 adam Exp $
 bin/lzcat
 bin/lzcmp
 bin/lzdiff
@@ -199,6 +199,29 @@ ${PLIST.nls}man/sr/man1/xzfgrep.1
 ${PLIST.nls}man/sr/man1/xzgrep.1
 ${PLIST.nls}man/sr/man1/xzless.1
 ${PLIST.nls}man/sr/man1/xzmore.1
+${PLIST.nls}man/sv/man1/lzcat.1
+${PLIST.nls}man/sv/man1/lzcmp.1
+${PLIST.nls}man/sv/man1/lzdiff.1
+${PLIST.nls}man/sv/man1/lzegrep.1
+${PLIST.nls}man/sv/man1/lzfgrep.1
+${PLIST.nls}man/sv/man1/lzgrep.1
+${PLIST.nls}man/sv/man1/lzless.1
+${PLIST.nls}man/sv/man1/lzma.1
+${PLIST.nls}man/sv/man1/lzmadec.1
+${PLIST.nls}man/sv/man1/lzmainfo.1
+${PLIST.nls}man/sv/man1/lzmore.1
+${PLIST.nls}man/sv/man1/unlzma.1
+${PLIST.nls}man/sv/man1/unxz.1
+${PLIST.nls}man/sv/man1/xz.1
+${PLIST.nls}man/sv/man1/xzcat.1
+${PLIST.nls}man/sv/man1/xzcmp.1
+${PLIST.nls}man/sv/man1/xzdec.1
+${PLIST.nls}man/sv/man1/xzdiff.1
+${PLIST.nls}man/sv/man1/xzegrep.1
+${PLIST.nls}man/sv/man1/xzfgrep.1
+${PLIST.nls}man/sv/man1/xzgrep.1
+${PLIST.nls}man/sv/man1/xzless.1
+${PLIST.nls}man/sv/man1/xzmore.1
 ${PLIST.nls}man/uk/man1/lzcat.1
 ${PLIST.nls}man/uk/man1/lzcmp.1
 ${PLIST.nls}man/uk/man1/lzdiff.1

Index: pkgsrc/archivers/xz/distinfo
diff -u pkgsrc/archivers/xz/distinfo:1.41 pkgsrc/archivers/xz/distinfo:1.42
--- pkgsrc/archivers/xz/distinfo:1.41   Thu Apr  3 16:20:32 2025
+++ pkgsrc/archivers/xz/distinfo        Sun Dec 21 13:06:01 2025
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.41 2025/04/03 16:20:32 adam Exp $
+$NetBSD: distinfo,v 1.42 2025/12/21 13:06:01 adam Exp $
 
-BLAKE2s (xz-5.8.1.tar.bz2) = 0f3b64942c24c7a91cb39d9319e0fa7e9ccf232d985d7258131f9dc66ef98d42
-SHA512 (xz-5.8.1.tar.bz2) = 31b3dc6d5badafc0de32c0e8486c063edf9b47353876fa467a26e7968f482cde211cb11561f83d09aa328d70a76c2523fd377531d9991381558bd82960001366
-Size (xz-5.8.1.tar.bz2) = 1902964 bytes
+BLAKE2s (xz-5.8.2.tar.bz2) = 561fb29f9ae2ad1c850e87502395aa9addf095cc73f0962ffdad2a0b7c947589
+SHA512 (xz-5.8.2.tar.bz2) = f159ec23f2b206f50d10156ee9e2cf7f99fde5d3ec1f86aca6c3ce9f69b5e6560c7e6c807cc465afd832b8851e9d03e558169af841948f4d6b34cecf88a81b4f
+Size (xz-5.8.2.tar.bz2) = 1999287 bytes
 SHA1 (patch-src_xz_Makefile.in) = b9360c7b2b34159028fb8b84339aa2faf3922287



Home | Main Index | Thread Index | Old Index