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 Aug 16 13:02:56 UTC 2022

Modified Files:
        pkgsrc/archivers/lz4: Makefile distinfo
        pkgsrc/archivers/lz4/patches: patch-Makefile.inc patch-lib_Makefile
            patch-programs_Makefile
Removed Files:
        pkgsrc/archivers/lz4/patches: patch-lib_lz4.c

Log Message:
lz4: updated to 1.9.4

v1.9.4:
perf : faster decoding speed (~+20%) on Apple Silicon platforms, by @zeux
perf : faster decoding speed (~+70%) for -BD4 setting in CLI
api : new function LZ4_decompress_safe_partial_usingDict() by @yawqi
api : lz4frame: ability to provide custom allocators at state creation
api : can skip checksum validation for improved decoding speed
api : new experimental unit lz4file for file i/o API, by @anjiahao1
api : new experimental function LZ4F_uncompressedUpdate(), by @alexmohr
cli : --list works on stdin input, by @Low-power
cli : --no-crc does not produce (compression) nor check (decompression) checksums
cli : fix: --test and --list produce an error code when parsing invalid input
cli : fix: support skippable frames when passed via stdin, reported by @davidmankin
build: fix: Makefile respects CFLAGS directives passed via environment variable
build: LZ4_FREESTANDING, new build macro for freestanding environments, by @t-mat
build: make and make test are compatible with -j parallel run
build: AS/400 compatibility, by @jonrumsey
build: Solaris 10 compatibility, by @pekdon
build: MSVC 2022 support, by @t-mat
build: improved meson script, by @eli-schwartz
doc : Updated LZ4 block format, provide an "implementation notes" section


To generate a diff of this commit:
cvs rdiff -u -r1.24 -r1.25 pkgsrc/archivers/lz4/Makefile
cvs rdiff -u -r1.22 -r1.23 pkgsrc/archivers/lz4/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/archivers/lz4/patches/patch-Makefile.inc
cvs rdiff -u -r1.10 -r1.11 pkgsrc/archivers/lz4/patches/patch-lib_Makefile
cvs rdiff -u -r1.1 -r0 pkgsrc/archivers/lz4/patches/patch-lib_lz4.c
cvs rdiff -u -r1.12 -r1.13 \
    pkgsrc/archivers/lz4/patches/patch-programs_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.24 pkgsrc/archivers/lz4/Makefile:1.25
--- pkgsrc/archivers/lz4/Makefile:1.24  Mon Jul 25 11:12:18 2022
+++ pkgsrc/archivers/lz4/Makefile       Tue Aug 16 13:02:56 2022
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.24 2022/07/25 11:12:18 wiz Exp $
+# $NetBSD: Makefile,v 1.25 2022/08/16 13:02:56 adam Exp $
 
-DISTNAME=      lz4-1.9.3
-PKGREVISION=   1
+DISTNAME=      lz4-1.9.4
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=lz4/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/archivers/lz4/distinfo
diff -u pkgsrc/archivers/lz4/distinfo:1.22 pkgsrc/archivers/lz4/distinfo:1.23
--- pkgsrc/archivers/lz4/distinfo:1.22  Tue Oct 26 09:57:09 2021
+++ pkgsrc/archivers/lz4/distinfo       Tue Aug 16 13:02:56 2022
@@ -1,9 +1,8 @@
-$NetBSD: distinfo,v 1.22 2021/10/26 09:57:09 nia Exp $
+$NetBSD: distinfo,v 1.23 2022/08/16 13:02:56 adam Exp $
 
-BLAKE2s (lz4-1.9.3.tar.gz) = 5e5bec980cc673182dfedd9fbba6079184744c9e0ae0bf82e896c631ea7aea09
-SHA512 (lz4-1.9.3.tar.gz) = c246b0bda881ee9399fa1be490fa39f43b291bb1d9db72dba8a85db1a50aad416a97e9b300eee3d2a4203c2bd88bda2762e81bc229c3aa409ad217eb306a454c
-Size (lz4-1.9.3.tar.gz) = 320958 bytes
-SHA1 (patch-Makefile.inc) = 55d576430ed1a160709a56e104edc14cad88e5a9
-SHA1 (patch-lib_Makefile) = 8eda2146522bd2d5e418916fd99fb201810cb36d
-SHA1 (patch-lib_lz4.c) = 3bf75be43d585a613e56a21c1e7bdfff541371f4
-SHA1 (patch-programs_Makefile) = 671728182325f03164eb898d9d846fd2aa4353f7
+BLAKE2s (lz4-1.9.4.tar.gz) = 47eac8d4a549b2ab125e6b44d9c0acd1ed2c4d0e86054ecacc5f9704a0d4c208
+SHA512 (lz4-1.9.4.tar.gz) = 043a9acb2417624019d73db140d83b80f1d7c43a6fd5be839193d68df8fd0b3f610d7ed4d628c2a9184f7cde9a0fd1ba9d075d8251298e3eb4b3a77f52736684
+Size (lz4-1.9.4.tar.gz) = 354063 bytes
+SHA1 (patch-Makefile.inc) = 7f27fb9d4cde9c14623c8fce167990bec0332161
+SHA1 (patch-lib_Makefile) = 64441f91217cf5832f122ed32a31007b4a8dc5f4
+SHA1 (patch-programs_Makefile) = bf3a8b296bfac8407c3e233c41fa037ba989876c

Index: pkgsrc/archivers/lz4/patches/patch-Makefile.inc
diff -u pkgsrc/archivers/lz4/patches/patch-Makefile.inc:1.1 pkgsrc/archivers/lz4/patches/patch-Makefile.inc:1.2
--- pkgsrc/archivers/lz4/patches/patch-Makefile.inc:1.1 Tue Apr 30 09:17:38 2019
+++ pkgsrc/archivers/lz4/patches/patch-Makefile.inc     Tue Aug 16 13:02:56 2022
@@ -1,18 +1,18 @@
-$NetBSD: patch-Makefile.inc,v 1.1 2019/04/30 09:17:38 adam Exp $
+$NetBSD: patch-Makefile.inc,v 1.2 2022/08/16 13:02:56 adam Exp $
 
 Unlock install target.
 
---- Makefile.inc.orig  2019-04-30 08:08:05.000000000 +0000
+--- Makefile.inc.orig  2022-08-15 22:45:31.000000000 +0000
 +++ Makefile.inc
-@@ -51,11 +51,7 @@ VOID  := /dev/null
+@@ -79,11 +79,7 @@ VOID  := /dev/null
    endif
  endif
  
--ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD MINGW% CYGWIN% MSYS%,$(shell uname)))
+-ifneq (,$(filter Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku MidnightBSD MINGW% CYGWIN% MSYS%,$(shell $(UNAME))))
  POSIX_ENV = Yes
 -else
 -POSIX_ENV = No
 -endif
  
- # Avoid symlinks when targetting Windows or building on a Windows host
+ # Avoid symlinks when targeting Windows or building on a Windows host
  ifeq ($(WINBASED),yes)

Index: pkgsrc/archivers/lz4/patches/patch-lib_Makefile
diff -u pkgsrc/archivers/lz4/patches/patch-lib_Makefile:1.10 pkgsrc/archivers/lz4/patches/patch-lib_Makefile:1.11
--- pkgsrc/archivers/lz4/patches/patch-lib_Makefile:1.10        Tue Apr 30 09:17:38 2019
+++ pkgsrc/archivers/lz4/patches/patch-lib_Makefile     Tue Aug 16 13:02:56 2022
@@ -1,31 +1,31 @@
-$NetBSD: patch-lib_Makefile,v 1.10 2019/04/30 09:17:38 adam Exp $
+$NetBSD: patch-lib_Makefile,v 1.11 2022/08/16 13:02:56 adam Exp $
 
 Make portable. Unlock install target. Use pkgsrc install scripts.
 
---- lib/Makefile.orig  2019-04-23 17:18:40.000000000 +0000
+--- lib/Makefile.orig  2022-08-15 22:45:31.000000000 +0000
 +++ lib/Makefile
-@@ -33,9 +33,9 @@
- # ################################################################
+@@ -34,9 +34,9 @@
+ SED = sed
  
  # Version numbers
--LIBVER_MAJOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h`
--LIBVER_MINOR_SCRIPT:=`sed -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h`
--LIBVER_PATCH_SCRIPT:=`sed -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h`
+-LIBVER_MAJOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MAJOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h`
+-LIBVER_MINOR_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_MINOR/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h`
+-LIBVER_PATCH_SCRIPT:=`$(SED) -n '/define LZ4_VERSION_RELEASE/s/.*[[:blank:]]\([0-9][0-9]*\).*/\1/p' < ./lz4.h`
 +LIBVER_MAJOR_SCRIPT:=`awk '$$2=="LZ4_VERSION_MAJOR" {print $$3}' < lz4.h`
 +LIBVER_MINOR_SCRIPT:=`awk '$$2=="LZ4_VERSION_MINOR" {print $$3}' < lz4.h`
 +LIBVER_PATCH_SCRIPT:=`awk '$$2=="LZ4_VERSION_RELEASE" {print $$3}' < lz4.h`
  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))
-@@ -45,6 +45,7 @@ LIBVER  := $(shell echo $(LIBVER_SCRIPT)
+@@ -46,6 +46,7 @@ LIBVER  := $(shell echo $(LIBVER_SCRIPT)
  BUILD_SHARED:=yes
  BUILD_STATIC:=yes
  
 +OS ?= $(shell uname)
  CPPFLAGS+= -DXXH_NAMESPACE=LZ4_
+ CPPFLAGS+= $(MOREFLAGS)
  CFLAGS  ?= -O3
- DEBUGFLAGS:= -Wall -Wextra -Wcast-qual -Wcast-align -Wshadow \
-@@ -156,28 +157,23 @@ libdir      ?= $(LIBDIR)
+@@ -162,29 +163,24 @@ libdir      ?= $(LIBDIR)
  INCLUDEDIR  ?= $(prefix)/include
  includedir  ?= $(INCLUDEDIR)
  
@@ -39,47 +39,49 @@ Make portable. Unlock install target. Us
  
  liblz4.pc: liblz4.pc.in Makefile
        @echo creating pkgconfig
--      $(Q)sed -e 's|@PREFIX@|$(prefix)|' \
+-      $(SED) -e 's|@PREFIX@|$(prefix)|' \
 -         -e 's|@LIBDIR@|$(libdir)|' \
 -         -e 's|@INCLUDEDIR@|$(includedir)|' \
 -         -e 's|@VERSION@|$(LIBVER)|' \
-+      $(Q)sed -e 's|@PREFIX@|$(prefix)|g' \
+-         -e 's|=${prefix}/|=$${prefix}/|' \
++      $(SED) -e 's|@PREFIX@|$(prefix)|g' \
 +         -e 's|@LIBDIR@|$(libdir)|g' \
 +         -e 's|@INCLUDEDIR@|$(includedir)|g' \
 +         -e 's|@VERSION@|$(LIBVER)|g' \
++         -e 's|=${prefix}/|=$${prefix}/|g' \
            $< >$@
  
  install: lib liblz4.pc
--      $(Q)$(INSTALL_DIR) $(DESTDIR)$(pkgconfigdir)/ $(DESTDIR)$(includedir)/ $(DESTDIR)$(libdir)/ $(DESTDIR)$(bindir)/
--      $(Q)$(INSTALL_DATA) liblz4.pc $(DESTDIR)$(pkgconfigdir)/
-+      $(Q)$(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(pkgconfigdir)/ $(DESTDIR)$(includedir)/ $(DESTDIR)$(libdir)/ $(DESTDIR)$(bindir)/
-+      $(Q)$(BSD_INSTALL_DATA) liblz4.pc $(DESTDIR)$(pkgconfigdir)/
-       @echo Installing libraries
+-      $(INSTALL_DIR) $(DESTDIR)$(pkgconfigdir)/ $(DESTDIR)$(includedir)/ $(DESTDIR)$(libdir)/ $(DESTDIR)$(bindir)/
+-      $(INSTALL_DATA) liblz4.pc $(DESTDIR)$(pkgconfigdir)/
++      $(BSD_INSTALL_DATA_DIR) $(DESTDIR)$(pkgconfigdir)/ $(DESTDIR)$(includedir)/ $(DESTDIR)$(libdir)/ $(DESTDIR)$(bindir)/
++      $(BSD_INSTALL_DATA) liblz4.pc $(DESTDIR)$(pkgconfigdir)/
+       @echo Installing libraries in $(DESTDIR)$(libdir)
    ifeq ($(BUILD_STATIC),yes)
--      $(Q)$(INSTALL_DATA) liblz4.a $(DESTDIR)$(libdir)/liblz4.a
--      $(Q)$(INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h
-+      $(Q)$(BSD_INSTALL_LIB) liblz4.a $(DESTDIR)$(libdir)/liblz4.a
-+      $(Q)$(BSD_INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h
+-      $(INSTALL_DATA) liblz4.a $(DESTDIR)$(libdir)/liblz4.a
+-      $(INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h
++      $(BSD_INSTALL_LIB) liblz4.a $(DESTDIR)$(libdir)/liblz4.a
++      $(BSD_INSTALL_DATA) lz4frame_static.h $(DESTDIR)$(includedir)/lz4frame_static.h
    endif
    ifeq ($(BUILD_SHARED),yes)
- # Traditionnally, one installs the DLLs in the bin directory as programs
-@@ -187,15 +183,15 @@ install: lib liblz4.pc
-       $(Q)$(INSTALL_PROGRAM) dll/$(LIBLZ4).dll $(DESTDIR)$(bindir)
-       $(Q)$(INSTALL_PROGRAM) dll/$(LIBLZ4_EXP) $(DESTDIR)$(libdir)
+ # Traditionally, one installs the DLLs in the bin directory as programs
+@@ -194,15 +190,15 @@ install: lib liblz4.pc
+       $(INSTALL_PROGRAM) dll/$(LIBLZ4).dll $(DESTDIR)$(bindir)
+       $(INSTALL_PROGRAM) dll/$(LIBLZ4_EXP) $(DESTDIR)$(libdir)
      else
--      $(Q)$(INSTALL_PROGRAM) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)
-+      $(Q)$(BSD_INSTALL_LIB) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)
-       $(Q)$(LN_SF) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_MAJOR)
-       $(Q)$(LN_SF) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT)
+-      $(INSTALL_PROGRAM) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)
++      $(BSD_INSTALL_LIB) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)
+       $(LN_SF) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT_MAJOR)
+       $(LN_SF) liblz4.$(SHARED_EXT_VER) $(DESTDIR)$(libdir)/liblz4.$(SHARED_EXT)
      endif
    endif
-       @echo Installing headers in $(includedir)
--      $(Q)$(INSTALL_DATA) lz4.h $(DESTDIR)$(includedir)/lz4.h
--      $(Q)$(INSTALL_DATA) lz4hc.h $(DESTDIR)$(includedir)/lz4hc.h
--      $(Q)$(INSTALL_DATA) lz4frame.h $(DESTDIR)$(includedir)/lz4frame.h
-+      $(Q)$(BSD_INSTALL_DATA) lz4.h $(DESTDIR)$(includedir)/lz4.h
-+      $(Q)$(BSD_INSTALL_DATA) lz4hc.h $(DESTDIR)$(includedir)/lz4hc.h
-+      $(Q)$(BSD_INSTALL_DATA) lz4frame.h $(DESTDIR)$(includedir)/lz4frame.h
+       @echo Installing headers in $(DESTDIR)$(includedir)
+-      $(INSTALL_DATA) lz4.h $(DESTDIR)$(includedir)/lz4.h
+-      $(INSTALL_DATA) lz4hc.h $(DESTDIR)$(includedir)/lz4hc.h
+-      $(INSTALL_DATA) lz4frame.h $(DESTDIR)$(includedir)/lz4frame.h
++      $(BSD_INSTALL_DATA) lz4.h $(DESTDIR)$(includedir)/lz4.h
++      $(BSD_INSTALL_DATA) lz4hc.h $(DESTDIR)$(includedir)/lz4hc.h
++      $(BSD_INSTALL_DATA) lz4frame.h $(DESTDIR)$(includedir)/lz4frame.h
        @echo lz4 libraries installed
  
  uninstall:

Index: pkgsrc/archivers/lz4/patches/patch-programs_Makefile
diff -u pkgsrc/archivers/lz4/patches/patch-programs_Makefile:1.12 pkgsrc/archivers/lz4/patches/patch-programs_Makefile:1.13
--- pkgsrc/archivers/lz4/patches/patch-programs_Makefile:1.12   Tue Apr 30 09:17:39 2019
+++ pkgsrc/archivers/lz4/patches/patch-programs_Makefile        Tue Aug 16 13:02:56 2022
@@ -1,10 +1,10 @@
-$NetBSD: patch-programs_Makefile,v 1.12 2019/04/30 09:17:39 adam Exp $
+$NetBSD: patch-programs_Makefile,v 1.13 2022/08/16 13:02:56 adam Exp $
 
 Unlock install target. Use pkgsrc install scripts.
 
---- programs/Makefile.orig     2019-04-23 17:18:40.000000000 +0000
+--- programs/Makefile.orig     2022-08-15 22:45:31.000000000 +0000
 +++ programs/Makefile
-@@ -140,20 +140,20 @@ BINDIR      ?= $(exec_prefix)/bin
+@@ -165,20 +165,20 @@ BINDIR      ?= $(exec_prefix)/bin
  bindir      ?= $(BINDIR)
  DATAROOTDIR ?= $(prefix)/share
  datarootdir ?= $(DATAROOTDIR)
@@ -15,17 +15,17 @@ Unlock install target. Use pkgsrc instal
  man1dir     ?= $(MAN1DIR)
  
  install: lz4
-       @echo Installing binaries
--      @$(INSTALL_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
--      @$(INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
-+      @$(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
-+      @$(BSD_INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
-       @$(LN_S) lz4$(EXT) $(DESTDIR)$(bindir)/lz4c$(EXT)
-       @$(LN_S) lz4$(EXT) $(DESTDIR)$(bindir)/lz4cat$(EXT)
-       @$(LN_S) lz4$(EXT) $(DESTDIR)$(bindir)/unlz4$(EXT)
-       @echo Installing man pages
--      @$(INSTALL_DATA) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
-+      @$(BSD_INSTALL_MAN) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
-       @$(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4c.1
-       @$(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4cat.1
-       @$(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/unlz4.1
+       @echo Installing binaries in $(DESTDIR)$(bindir)
+-      $(INSTALL_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
+-      $(INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
++      $(BSD_INSTALL_PROGRAM_DIR) $(DESTDIR)$(bindir)/ $(DESTDIR)$(man1dir)/
++      $(BSD_INSTALL_PROGRAM) lz4$(EXT) $(DESTDIR)$(bindir)/lz4$(EXT)
+       $(LN_SF) lz4$(EXT) $(DESTDIR)$(bindir)/lz4c$(EXT)
+       $(LN_SF) lz4$(EXT) $(DESTDIR)$(bindir)/lz4cat$(EXT)
+       $(LN_SF) lz4$(EXT) $(DESTDIR)$(bindir)/unlz4$(EXT)
+       @echo Installing man pages in $(DESTDIR)$(man1dir)
+-      $(INSTALL_DATA) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
++      $(BSD_INSTALL_MAN) lz4.1 $(DESTDIR)$(man1dir)/lz4.1
+       $(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4c.1
+       $(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/lz4cat.1
+       $(LN_SF) lz4.1 $(DESTDIR)$(man1dir)/unlz4.1



Home | Main Index | Thread Index | Old Index