pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/archivers/xz xz: updated to 5.2.7



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9cb92edf6a5e
branches:  trunk
changeset: 386713:9cb92edf6a5e
user:      adam <adam%pkgsrc.org@localhost>
date:      Thu Oct 13 16:35:10 2022 +0000

description:
xz: updated to 5.2.7

5.2.7 (2022-09-30)

* liblzma:

    - Made lzma_filters_copy() to never modify the destination
      array if an error occurs. lzma_stream_encoder() and
      lzma_stream_encoder_mt() already assumed this. Before this
      change, if a tiny memory allocation in lzma_filters_copy()
      failed it would lead to a crash (invalid free() or invalid
      memory reads) in the cleanup paths of these two encoder
      initialization functions.

    - Added missing integer overflow check to lzma_index_append().
      This affects xz --list and other applications that decode
      the Index field from .xz files using lzma_index_decoder().
      Normal decompression of .xz files doesn't call this code
      and thus most applications using liblzma aren't affected
      by this bug.

    - Single-threaded .xz decoder (lzma_stream_decoder()): If
      lzma_code() returns LZMA_MEMLIMIT_ERROR it is now possible
      to use lzma_memlimit_set() to increase the limit and continue
      decoding. This was supposed to work from the beginning
      but there was a bug. With other decoders (.lzma or
      threaded .xz decoder) this already worked correctly.

    - Fixed accumulation of integrity check type statistics in
      lzma_index_cat(). This bug made lzma_index_checks() return
      only the type of the integrity check of the last Stream
      when multiple lzma_indexes were concatenated. Most
      applications don't use these APIs but in xz it made
      xz --list not list all check types from concatenated .xz
      files. In xz --list --verbose only the per-file "Check:"
      lines were affected and in xz --robot --list only the "file"
      line was affected.

    - Added ABI compatibility with executables that were linked
      against liblzma in RHEL/CentOS 7 or other liblzma builds
      that had copied the problematic patch from RHEL/CentOS 7
      (xz-5.2.2-compat-libs.patch). For the details, see the
      comment at the top of src/liblzma/validate_map.sh.

      WARNING: This uses __symver__ attribute with GCC >= 10.
      In other cases the traditional __asm__(".symver ...")
      is used. Using link-time optimization (LTO, -flto) with
      GCC versions older than 10 can silently result in
      broken liblzma.so.5 (incorrect symbol versions)! If you
      want to use -flto with GCC, you must use GCC >= 10.
      LTO with Clang seems to work even with the traditional
      __asm__(".symver ...") method.

* xzgrep: Fixed compatibility with old shells that break if
  comments inside command substitutions have apostrophes (').
  This problem was introduced in 5.2.6.

* Build systems:

    - New #define in config.h: HAVE_SYMBOL_VERSIONS_LINUX

    - Windows: Fixed liblzma.dll build with Visual Studio project
      files. It broke in 5.2.6 due to a change that was made to
      improve CMake support.

    - Windows: Building liblzma with UNICODE defined should now
      work.

    - CMake files are now actually included in the release tarball.
      They should have been in 5.2.5 already.

    - Minor CMake fixes and improvements.

* Added a new translation: Turkish

diffstat:

 archivers/xz/Makefile |  4 ++--
 archivers/xz/PLIST    |  3 ++-
 archivers/xz/distinfo |  8 ++++----
 3 files changed, 8 insertions(+), 7 deletions(-)

diffs (43 lines):

diff -r e23406e80278 -r 9cb92edf6a5e archivers/xz/Makefile
--- a/archivers/xz/Makefile     Thu Oct 13 16:34:18 2022 +0000
+++ b/archivers/xz/Makefile     Thu Oct 13 16:35:10 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.31 2022/08/24 06:58:13 adam Exp $
+# $NetBSD: Makefile,v 1.32 2022/10/13 16:35:10 adam Exp $
 
-DISTNAME=      xz-5.2.6
+DISTNAME=      xz-5.2.7
 CATEGORIES=    archivers
 MASTER_SITES=  https://tukaani.org/xz/
 EXTRACT_SUFX=  .tar.bz2
diff -r e23406e80278 -r 9cb92edf6a5e archivers/xz/PLIST
--- a/archivers/xz/PLIST        Thu Oct 13 16:34:18 2022 +0000
+++ b/archivers/xz/PLIST        Thu Oct 13 16:35:10 2022 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2022/08/24 06:58:13 adam Exp $
+@comment $NetBSD: PLIST,v 1.12 2022/10/13 16:35:10 adam Exp $
 bin/lzcat
 bin/lzcmp
 bin/lzdiff
@@ -131,6 +131,7 @@
 ${PLIST.nls}share/locale/ro/LC_MESSAGES/xz.mo
 ${PLIST.nls}share/locale/sr/LC_MESSAGES/xz.mo
 ${PLIST.nls}share/locale/sv/LC_MESSAGES/xz.mo
+${PLIST.nls}share/locale/tr/LC_MESSAGES/xz.mo
 ${PLIST.nls}share/locale/uk/LC_MESSAGES/xz.mo
 ${PLIST.nls}share/locale/vi/LC_MESSAGES/xz.mo
 ${PLIST.nls}share/locale/zh_CN/LC_MESSAGES/xz.mo
diff -r e23406e80278 -r 9cb92edf6a5e archivers/xz/distinfo
--- a/archivers/xz/distinfo     Thu Oct 13 16:34:18 2022 +0000
+++ b/archivers/xz/distinfo     Thu Oct 13 16:35:10 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.23 2022/08/24 06:58:13 adam Exp $
+$NetBSD: distinfo,v 1.24 2022/10/13 16:35:10 adam Exp $
 
-BLAKE2s (xz-5.2.6.tar.bz2) = 065f16f168e8b385699c77b61ee88a68fbd7ba4c38db98df1d5ccf09533f58cc
-SHA512 (xz-5.2.6.tar.bz2) = 5b3e314c3d2ba9a1529c4007bfebf1f3d9bdb7007d79c36c1662dea8583fa869938309e26ff0cdd5e5d423f24b45c6c158b1e168a6b54770d69de339e8dbb76c
-Size (xz-5.2.6.tar.bz2) = 1658182 bytes
+BLAKE2s (xz-5.2.7.tar.bz2) = f1999f4c7d0348d9dbb3d944d6dbd4d2abd3d59b09e8d6d36e213516d62742a0
+SHA512 (xz-5.2.7.tar.bz2) = f660a61f3ed323cab246d07c2a022da0236d00d257b71a32ed69d2057b0d2249885135216cd7041acf8e55527cb73b532bde2ca43bb408d41da2bddaff663143
+Size (xz-5.2.7.tar.bz2) = 1653314 bytes
 SHA1 (patch-src_xz_Makefile.in) = b9360c7b2b34159028fb8b84339aa2faf3922287



Home | Main Index | Thread Index | Old Index