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: Thu Oct 13 16:35:11 UTC 2022
Modified Files:
pkgsrc/archivers/xz: Makefile PLIST distinfo
Log Message:
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
To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/archivers/xz/Makefile
cvs rdiff -u -r1.11 -r1.12 pkgsrc/archivers/xz/PLIST
cvs rdiff -u -r1.23 -r1.24 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.31 pkgsrc/archivers/xz/Makefile:1.32
--- pkgsrc/archivers/xz/Makefile:1.31 Wed Aug 24 06:58:13 2022
+++ pkgsrc/archivers/xz/Makefile Thu Oct 13 16:35:10 2022
@@ -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
Index: pkgsrc/archivers/xz/PLIST
diff -u pkgsrc/archivers/xz/PLIST:1.11 pkgsrc/archivers/xz/PLIST:1.12
--- pkgsrc/archivers/xz/PLIST:1.11 Wed Aug 24 06:58:13 2022
+++ pkgsrc/archivers/xz/PLIST Thu Oct 13 16:35:10 2022
@@ -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/pt_BR/LC_MESSAG
${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
Index: pkgsrc/archivers/xz/distinfo
diff -u pkgsrc/archivers/xz/distinfo:1.23 pkgsrc/archivers/xz/distinfo:1.24
--- pkgsrc/archivers/xz/distinfo:1.23 Wed Aug 24 06:58:13 2022
+++ pkgsrc/archivers/xz/distinfo Thu Oct 13 16:35:10 2022
@@ -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