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.9



details:   https://anonhg.NetBSD.org/pkgsrc/rev/541fdcd165ef
branches:  trunk
changeset: 389190:541fdcd165ef
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Dec 02 09:17:59 2022 +0000

description:
xz: updated to 5.2.9

5.2.9 (2022-11-30)

* liblzma:

- Fixed an infinite loop in LZMA encoder initialization
  if dict_size >= 2 GiB. (The encoder only supports up
  to 1536 MiB.)

- Fixed two cases of invalid free() that can happen if
  a tiny allocation fails in encoder re-initialization
  or in lzma_filters_update(). These bugs had some
  similarities with the bug fixed in 5.2.7.

- Fixed lzma_block_encoder() not allowing the use of
  LZMA_SYNC_FLUSH with lzma_code() even though it was
  documented to be supported. The sync-flush code in
  the Block encoder was already used internally via
  lzma_stream_encoder(), so this was just a missing flag
  in the lzma_block_encoder() API function.

- GNU/Linux only: Don't put symbol versions into static
  liblzma as it breaks things in some cases (and even if
  it didn't break anything, symbol versions in static
  libraries are useless anyway). The downside of the fix
  is that if the configure options --with-pic or --without-pic
  are used then it's not possible to build both shared and
  static liblzma at the same time on GNU/Linux anymore;
  with those options --disable-static or --disable-shared
  must be used too.

diffstat:

 archivers/xz/Makefile   |   4 ++--
 archivers/xz/builtin.mk |  16 ++++++++--------
 archivers/xz/distinfo   |   8 ++++----
 3 files changed, 14 insertions(+), 14 deletions(-)

diffs (85 lines):

diff -r f3fa70098fa7 -r 541fdcd165ef archivers/xz/Makefile
--- a/archivers/xz/Makefile     Fri Dec 02 05:51:26 2022 +0000
+++ b/archivers/xz/Makefile     Fri Dec 02 09:17:59 2022 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.33 2022/11/17 17:29:47 adam Exp $
+# $NetBSD: Makefile,v 1.34 2022/12/02 09:17:59 adam Exp $
 
-DISTNAME=      xz-5.2.8
+DISTNAME=      xz-5.2.9
 CATEGORIES=    archivers
 MASTER_SITES=  https://tukaani.org/xz/
 EXTRACT_SUFX=  .tar.bz2
diff -r f3fa70098fa7 -r 541fdcd165ef archivers/xz/builtin.mk
--- a/archivers/xz/builtin.mk   Fri Dec 02 05:51:26 2022 +0000
+++ b/archivers/xz/builtin.mk   Fri Dec 02 09:17:59 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: builtin.mk,v 1.9 2022/08/24 06:58:13 adam Exp $
+# $NetBSD: builtin.mk,v 1.10 2022/12/02 09:17:59 adam Exp $
 
 BUILTIN_PKG:=  xz
 
@@ -25,7 +25,7 @@
 ### If there is a built-in implementation, then set BUILTIN_PKG.<pkg> to
 ### a package name to represent the built-in package.
 ###
-.if !defined(BUILTIN_PKG.xz) && ${IS_BUILTIN.xz:M[yY][eE][sS]}
+.if !defined(BUILTIN_PKG.xz) && ${IS_BUILTIN.xz:tl} == yes
 BUILTIN_VERSION.xz!=                                                   \
        ${AWK} 'BEGIN { M = "0" }                                       \
                /\#define[      ]+LZMA_VERSION_MAJOR/ { M = $$3 }       \
@@ -52,10 +52,10 @@
 USE_BUILTIN.xz=        no
 .  else
 USE_BUILTIN.xz=        ${IS_BUILTIN.xz}
-.    if defined(BUILTIN_PKG.xz) && ${IS_BUILTIN.xz:M[yY][eE][sS]}
+.    if defined(BUILTIN_PKG.xz) && ${IS_BUILTIN.xz:tl} == yes
 USE_BUILTIN.xz=        yes
 .      for _dep_ in ${BUILDLINK_API_DEPENDS.xz}
-.        if ${USE_BUILTIN.xz:M[yY][eE][sS]}
+.        if ${USE_BUILTIN.xz:tl} == yes
 USE_BUILTIN.xz!=                                                       \
        if ${PKG_ADMIN} pmatch ${_dep_:Q} ${BUILTIN_PKG.xz}; then       \
                ${ECHO} yes;                                            \
@@ -79,7 +79,7 @@
 # implementation.
 #
 .if defined(USE_XZ)
-.  if ${IS_BUILTIN.xz:M[nN][oO]}
+.  if ${IS_BUILTIN.xz:tl} == no
 USE_BUILTIN.xz=        no
 .  endif
 .endif
@@ -90,15 +90,15 @@
 ###
 
 CHECK_BUILTIN.xz?=     no
-.if ${CHECK_BUILTIN.xz:M[nN][oO]}
+.if ${CHECK_BUILTIN.xz:tl} == no
 
-.  if ${USE_BUILTIN.xz:M[yY][eE][sS]}
+.  if ${USE_BUILTIN.xz:tl} == yes
 BUILDLINK_FILES.xz+=   lib/pkgconfig/liblzma.pc
 .  endif
 
 # Fake pkg-config for builtin xz on NetBSD
 
-.  if ${USE_BUILTIN.xz:M[yY][eE][sS]}
+.  if ${USE_BUILTIN.xz:tl} == yes
 .    if !empty(USE_TOOLS:C/:.*//:Mpkg-config)
 do-configure-pre-hook: override-liblzma-pkgconfig
 
diff -r f3fa70098fa7 -r 541fdcd165ef archivers/xz/distinfo
--- a/archivers/xz/distinfo     Fri Dec 02 05:51:26 2022 +0000
+++ b/archivers/xz/distinfo     Fri Dec 02 09:17:59 2022 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.25 2022/11/17 17:29:47 adam Exp $
+$NetBSD: distinfo,v 1.26 2022/12/02 09:17:59 adam Exp $
 
-BLAKE2s (xz-5.2.8.tar.bz2) = 1388a81907c07e0b69e3ff5c636a213909aec4e8b9a6405bb19dc623fdbb70d5
-SHA512 (xz-5.2.8.tar.bz2) = 1dafc4219acb73be018d3fc36c38de9a1c677e6c0b0a3fdef3f47896956211d9cff533bcbc7c90e51aa9473b4bb89957a5ef144aa9f8bbc9528a81a2eebd1526
-Size (xz-5.2.8.tar.bz2) = 1648658 bytes
+BLAKE2s (xz-5.2.9.tar.bz2) = a422db133724952317588c4eb888384a9da9cf48af17c1b1a28131164b1a9d23
+SHA512 (xz-5.2.9.tar.bz2) = aa0d216c55e4782864626a04c2f2ea76d6fce14c7ff524655b6f53382b3652ea64e67a3fe1dc370c25f943e9a07d610934ce673e7b53459b466769a42b1cb768
+Size (xz-5.2.9.tar.bz2) = 1643304 bytes
 SHA1 (patch-src_xz_Makefile.in) = b9360c7b2b34159028fb8b84339aa2faf3922287



Home | Main Index | Thread Index | Old Index