pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/lz4



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Nov 10 12:58:26 UTC 2026

Modified Files:
        pkgsrc/archivers/lz4: Makefile distinfo
        pkgsrc/archivers/lz4/patches: patch-lib_Makefile

Log Message:
lz4: updated to 1.11.1

1.11.1

LZ4 v1.11.1 is a point release, whose main purpose is to fix LZ4_resetStreamHC(), an obsolete symbol, on dirty memory. While reset functions are expected to reset valid states, LZ4_resetStreamHC() 
has been working fine on dirty memory, which made it possible to employ it as an initializer instead. Hence, some (hopefully rare) applications may have developed a dependency on this property. 
v1.11.0 did not respect this undocumented behavior: on a dirty state, compression at levels >= 10 could result in a write out of bounds. Thus v1.11.1 is released to restore the previous behavior.

This is mostly of importance for distributions and package managers, as liblz4 may be paired with older binaries that are no longer updated. LZ4_resetStreamHC() was replaced by LZ4_initStreamHC() in 
v1.9.0 (2019). Applications still employing this symbol are invited to migrate.

This release also restores the (deprecated) unprefixed lz4frame enums, for applications that still need them. They now generate a deprecation warning: once again, actively maintained applications 
should move to the prefixed names. Build configurations accidentally broken in v1.11.0 work again: make with BUILD_STATIC=no or BUILD_SHARED=no, and MinGW with clang and lld.


To generate a diff of this commit:
cvs rdiff -u -r1.30 -r1.31 pkgsrc/archivers/lz4/Makefile
cvs rdiff -u -r1.28 -r1.29 pkgsrc/archivers/lz4/distinfo
cvs rdiff -u -r1.14 -r1.15 pkgsrc/archivers/lz4/patches/patch-lib_Makefile

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

Modified files:

Index: pkgsrc/archivers/lz4/Makefile
diff -u pkgsrc/archivers/lz4/Makefile:1.30 pkgsrc/archivers/lz4/Makefile:1.31
--- pkgsrc/archivers/lz4/Makefile:1.30  Mon Nov  9 14:20:58 2026
+++ pkgsrc/archivers/lz4/Makefile       Tue Nov 10 12:58:25 2026
@@ -1,9 +1,9 @@
-# $NetBSD: Makefile,v 1.30 2026/11/09 14:20:58 wiz Exp $
+# $NetBSD: Makefile,v 1.31 2026/11/10 12:58:25 adam Exp $
 
-DISTNAME=      lz4-1.11.0
+DISTNAME=      lz4-1.11.1
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=lz4/}
-GITHUB_RELEASE=        v${PKGVERSION_NOREV}
+GITHUB_TAG=    v${PKGVERSION_NOREV}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      https://lz4.github.io/lz4/

Index: pkgsrc/archivers/lz4/distinfo
diff -u pkgsrc/archivers/lz4/distinfo:1.28 pkgsrc/archivers/lz4/distinfo:1.29
--- pkgsrc/archivers/lz4/distinfo:1.28  Mon Nov  9 14:20:58 2026
+++ pkgsrc/archivers/lz4/distinfo       Tue Nov 10 12:58:25 2026
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.28 2026/11/09 14:20:58 wiz Exp $
+$NetBSD: distinfo,v 1.29 2026/11/10 12:58:25 adam Exp $
 
-BLAKE2s (lz4-1.11.0.tar.gz) = 8cfee74d286995f4a076c4442320899603bdca6771691089f5a95b6d412e3788
-SHA512 (lz4-1.11.0.tar.gz) = 5638a9ca76f333bea718b457588eadafd8dddbc4c8afcd8e21992805afff7af283283642558e52d1f1d4655dbe26f2aa85fa89dc365041ca621baf79c552f364
-Size (lz4-1.11.0.tar.gz) = 545646 bytes
+BLAKE2s (lz4-1.11.1.tar.gz) = 37a163627c42271fd2cd92243f418cc9e4001b7889d8d4327187a0b6b85b2518
+SHA512 (lz4-1.11.1.tar.gz) = 1b9ecf6b5d0b53be6a7e28f85c63daeecfbf55dee2759dab5eb4647675975ccfe426152e382c30b8a8adb4038d40b312cceac4c56f348fb0977919869aa24669
+Size (lz4-1.11.1.tar.gz) = 553363 bytes
 SHA1 (patch-build_make_lz4defs.make) = 27d09bfa241c00c0376d52fbdaa2e019c7f1d0c8
-SHA1 (patch-lib_Makefile) = 13f9aaf15f7f0ab8c0bd5386d24a300c4c2b8318
+SHA1 (patch-lib_Makefile) = 10c2faed5a75fcbe693fd2ad01fe9835156f9d56
 SHA1 (patch-programs_Makefile) = 50051e64489836066581693d8ed2c2cf9f662d8a

Index: pkgsrc/archivers/lz4/patches/patch-lib_Makefile
diff -u pkgsrc/archivers/lz4/patches/patch-lib_Makefile:1.14 pkgsrc/archivers/lz4/patches/patch-lib_Makefile:1.15
--- pkgsrc/archivers/lz4/patches/patch-lib_Makefile:1.14        Mon Nov  9 14:20:58 2026
+++ pkgsrc/archivers/lz4/patches/patch-lib_Makefile     Tue Nov 10 12:58:26 2026
@@ -1,9 +1,9 @@
-$NetBSD: patch-lib_Makefile,v 1.14 2026/11/09 14:20:58 wiz Exp $
+$NetBSD: patch-lib_Makefile,v 1.15 2026/11/10 12:58:26 adam Exp $
 
 Make portable (inc. libtoolize).
 Unlock install target. Use pkgsrc install scripts.
 
---- lib/Makefile.orig  2026-11-04 00:58:16.000000000 +0000
+--- lib/Makefile.orig  2026-11-10 05:21:42.000000000 +0000
 +++ lib/Makefile
 @@ -34,9 +34,9 @@
  SED ?= sed
@@ -18,7 +18,7 @@ Unlock install target. Use pkgsrc instal
  LIBVER_SCRIPT:= $(LIBVER_MAJOR_SCRIPT).$(LIBVER_MINOR_SCRIPT).$(LIBVER_PATCH_SCRIPT)
  LIBVER_MAJOR := $(shell echo $(LIBVER_MAJOR_SCRIPT))
  LIBVER_MINOR := $(shell echo $(LIBVER_MINOR_SCRIPT))
-@@ -59,6 +59,7 @@
+@@ -59,6 +59,7 @@ ALLFLAGS = $(MCM_CFLAGS) $(CFLAGS) $(MCM
  
  SRCFILES := $(sort $(wildcard *.c))
  OBJFILES = $(SRCFILES:.c=.o)
@@ -26,7 +26,7 @@ Unlock install target. Use pkgsrc instal
  
  include ../build/make/lz4defs.make
  
-@@ -168,11 +169,18 @@
+@@ -171,11 +172,18 @@ all: lib liblz4.pc
  all32: MCM_CFLAGS += -m32
  all32: all
  
@@ -46,7 +46,7 @@ Unlock install target. Use pkgsrc instal
  endif
  
  ifeq ($(WINBASED),yes)
-@@ -200,12 +208,11 @@
+@@ -203,12 +211,11 @@ endif
  
  else   # not windows
  
@@ -64,16 +64,16 @@ Unlock install target. Use pkgsrc instal
  
  endif
  
-@@ -219,7 +226,7 @@
+@@ -222,7 +229,7 @@ liblz4.$(SHARED_EXT): liblz4.$(SHARED_EX
        $(LN_SF) $< $@
  
  .PHONY: liblz4
--liblz4: $(LIBLZ4) liblz4.$(SHARED_EXT_MAJOR) liblz4.$(SHARED_EXT)
+-liblz4: $(if $(filter yes,$(BUILD_SHARED)),$(LIBLZ4) liblz4.$(SHARED_EXT_MAJOR) liblz4.$(SHARED_EXT))
 +liblz4: liblz4.la
  
  else
  
-@@ -298,13 +305,13 @@
+@@ -301,13 +308,13 @@ install:
        [ -e $(LIBLZ4) ] || $(MAKE) liblz4
    endif
        $(MAKE) liblz4.pc PC_LIBS_PRIVATE="$(if $(filter yes,$(BUILD_STATIC)),$$($(PC_THREADS_SH)))"
@@ -92,7 +92,7 @@ Unlock install target. Use pkgsrc instal
    endif
    ifeq ($(BUILD_SHARED),yes)
  # Traditionally, one installs the DLLs in the bin directory as programs
-@@ -314,15 +321,13 @@
+@@ -317,15 +324,13 @@ install:
        $(INSTALL_PROGRAM) $(LIBLZ4) $(DESTDIR)$(bindir)
        $(INSTALL_PROGRAM) $(LIBLZ4_EXP) $(DESTDIR)$(libdir)
      else



Home | Main Index | Thread Index | Old Index