pkgsrc-Changes archive

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

CVS commit: pkgsrc/archivers/zstd



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Apr  2 20:05:57 UTC 2024

Modified Files:
        pkgsrc/archivers/zstd: Makefile distinfo
        pkgsrc/archivers/zstd/patches: patch-Makefile patch-lib_Makefile
            patch-lib_decompress_huf__decompress__amd64.S

Log Message:
zstd: updated to 1.5.6

V1.5.6 (Mar 2024)
api: Promote `ZSTD_c_targetCBlockSize` to Stable API
api: new `ZSTD_d_maxBlockSize` experimental parameter, to reduce streaming decompression memory,
perf: improve performance of param `ZSTD_c_targetCBlockSize`,
perf: improved compression of arrays of integers at high compression,
lib: reduce binary size with selective built-time exclusion,
lib: improved huffman speed on small data and linux kernel,
lib: accept dictionaries with partial literal tables,
lib: fix CCtx size estimation with external sequence producer,
lib: fix corner case decoder behaviors,
lib: fix zdict prototype mismatch in static_only mode,
lib: fix several bugs in magicless-format decoding,
cli: add common compressed file types to `--exclude-compressed``
cli: fix mixing `-c` and `-o` commands with `--rm`,
cli: fix erroneous exclusion of hidden files with `--output-dir-mirror`
cli: improved time accuracy on BSD,
cli: better errors on argument parsing,
tests: better compatibility with older versions of `grep`,
tests: lorem ipsum generator as default backup content,
build: cmake improvements
build: bazel support,
build: fix cross-compiling for AArch64 with lld
build: fix Apple platform compatibility,
build: fix Visual 2012 and lower compatibility,
build: improve win32 support,
build: better C90 compliance for zlibWrapper,
port: make: fat binaries on macos,
port: ARM64EC compatibility for Windows,
port: QNX support
port: MSYS2 and Cygwin makefile installation and test support,
port: risc-v support validation in CI,
port: sparc64 support validation in CI,
port: AIX compatibility,
port: HP-UX compatibility,
doc: Improved specification accuracy,
bug: Fix and deprecate ZSTD_generateSequences


To generate a diff of this commit:
cvs rdiff -u -r1.51 -r1.52 pkgsrc/archivers/zstd/Makefile
cvs rdiff -u -r1.36 -r1.37 pkgsrc/archivers/zstd/distinfo
cvs rdiff -u -r1.11 -r1.12 pkgsrc/archivers/zstd/patches/patch-Makefile
cvs rdiff -u -r1.14 -r1.15 pkgsrc/archivers/zstd/patches/patch-lib_Makefile
cvs rdiff -u -r1.1 -r1.2 \
    pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S

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

Modified files:

Index: pkgsrc/archivers/zstd/Makefile
diff -u pkgsrc/archivers/zstd/Makefile:1.51 pkgsrc/archivers/zstd/Makefile:1.52
--- pkgsrc/archivers/zstd/Makefile:1.51 Tue Mar 19 10:44:38 2024
+++ pkgsrc/archivers/zstd/Makefile      Tue Apr  2 20:05:57 2024
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.51 2024/03/19 10:44:38 nia Exp $
+# $NetBSD: Makefile,v 1.52 2024/04/02 20:05:57 adam Exp $
 
-DISTNAME=      zstd-1.5.5
+DISTNAME=      zstd-1.5.6
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=facebook/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}

Index: pkgsrc/archivers/zstd/distinfo
diff -u pkgsrc/archivers/zstd/distinfo:1.36 pkgsrc/archivers/zstd/distinfo:1.37
--- pkgsrc/archivers/zstd/distinfo:1.36 Sun Apr 30 01:39:20 2023
+++ pkgsrc/archivers/zstd/distinfo      Tue Apr  2 20:05:57 2024
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.36 2023/04/30 01:39:20 dholland Exp $
+$NetBSD: distinfo,v 1.37 2024/04/02 20:05:57 adam Exp $
 
-BLAKE2s (zstd-1.5.5.tar.gz) = 55b05a841f3a1a68ec826ee7b9f372ae54ab077e29795ae77e324ef7a4d9b729
-SHA512 (zstd-1.5.5.tar.gz) = 356994e0d8188ce97590bf86b602eb50cbcb2f951594afb9c2d6e03cc68f966862505afc4a50e76efd55e4cfb11dbc9b15c7837b7827a961a1311ef72cd23505
-Size (zstd-1.5.5.tar.gz) = 2386533 bytes
-SHA1 (patch-Makefile) = 35159f44eb1d212395a53a27de60d3d1a5d3d014
-SHA1 (patch-lib_Makefile) = b04f9d1dcc7b336872566785e7b0db69929eb262
-SHA1 (patch-lib_decompress_huf__decompress__amd64.S) = da62de27a01a872e0534f42b52710de029d7eba1
+BLAKE2s (zstd-1.5.6.tar.gz) = 563d06b781f517ad25ba3b23105d7f3542f44e4f74c708ceab4c22459504ecab
+SHA512 (zstd-1.5.6.tar.gz) = ca12dffd86618ca008e1ecc79056c1129cb4e61668bf13a3cd5b2fa5c93bc9c92c80f64c1870c68b9c20009d9b3a834eac70db72242d5106125a1c53cccf8de8
+Size (zstd-1.5.6.tar.gz) = 2425452 bytes
+SHA1 (patch-Makefile) = 26d4df619441bbcf41c5b6ab973b4c51794d5996
+SHA1 (patch-lib_Makefile) = 293a62ca55a4e4d5cb08f5647e466842dfdf2e57
+SHA1 (patch-lib_decompress_huf__decompress__amd64.S) = 76a27c1b895ef05941df4866b704c01eac822666
 SHA1 (patch-tests_Makefile) = b4aa7bd0bf1b3e7df231a32dadc6cce4ab78ac9e
 SHA1 (patch-tests_playTests.sh) = 349f8e400f46b5914add4aee955a040045f62779
 SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec

Index: pkgsrc/archivers/zstd/patches/patch-Makefile
diff -u pkgsrc/archivers/zstd/patches/patch-Makefile:1.11 pkgsrc/archivers/zstd/patches/patch-Makefile:1.12
--- pkgsrc/archivers/zstd/patches/patch-Makefile:1.11   Wed Jan 19 06:02:25 2022
+++ pkgsrc/archivers/zstd/patches/patch-Makefile        Tue Apr  2 20:05:57 2024
@@ -1,22 +1,22 @@
-$NetBSD: patch-Makefile,v 1.11 2022/01/19 06:02:25 adam Exp $
+$NetBSD: patch-Makefile,v 1.12 2024/04/02 20:05:57 adam Exp $
 
 Enable the "install" target on all OS.
 
---- Makefile.orig      2021-12-20 22:49:18.000000000 +0000
+--- Makefile.orig      2024-03-21 22:05:51.000000000 +0000
 +++ Makefile
-@@ -149,7 +149,6 @@ clean:
+@@ -151,7 +151,6 @@ clean:
  #------------------------------------------------------------------------------
  # make install is validated only for Linux, macOS, Hurd and some BSD targets
  #------------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku AIX))
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT CYGWIN_NT Haiku AIX))
  
  HOST_OS = POSIX
  
-@@ -373,7 +372,6 @@ clang38install:
+@@ -387,7 +386,6 @@ clang38install:
  lz4install:
        [ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
  
 -endif
  
  
- CMAKE_PARAMS = -DZSTD_BUILD_CONTRIB:BOOL=ON -DZSTD_BUILD_STATIC:BOOL=ON -DZSTD_BUILD_TESTS:BOOL=ON -DZSTD_ZLIB_SUPPORT:BOOL=ON -DZSTD_LZMA_SUPPORT:BOOL=ON -DCMAKE_BUILD_TYPE=Release
+ ifneq (,$(filter MSYS%,$(shell uname)))

Index: pkgsrc/archivers/zstd/patches/patch-lib_Makefile
diff -u pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.14 pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.15
--- pkgsrc/archivers/zstd/patches/patch-lib_Makefile:1.14       Wed Jan 19 06:02:25 2022
+++ pkgsrc/archivers/zstd/patches/patch-lib_Makefile    Tue Apr  2 20:05:57 2024
@@ -1,13 +1,13 @@
-$NetBSD: patch-lib_Makefile,v 1.14 2022/01/19 06:02:25 adam Exp $
+$NetBSD: patch-lib_Makefile,v 1.15 2024/04/02 20:05:57 adam Exp $
 
 Detect and use third-party libraries (taken from programs/Makefile).
 -fvisibility=hidden makes error when linking.
 Enable the "install" target on all OS.
 Fix pkgconfig installation path.
 
---- lib/Makefile.orig  2021-12-20 22:49:18.000000000 +0000
+--- lib/Makefile.orig  2024-03-21 22:05:51.000000000 +0000
 +++ lib/Makefile
-@@ -67,6 +67,43 @@ decompress/zstd_decompress_block.o : CFL
+@@ -69,6 +69,43 @@ decompress/zstd_decompress_block.o : CFL
  endif
  
  
@@ -51,15 +51,15 @@ Fix pkgconfig installation path.
  # macOS linker doesn't support -soname, and use different extension
  # see : https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/DynamicLibraries/100-Articles/DynamicLibraryDesignGuidelines.html
  ifeq ($(UNAME), Darwin)
-@@ -249,7 +286,6 @@ clean:
+@@ -261,7 +298,6 @@ clean:
  #-----------------------------------------------------------------------------
  # make install is validated only for below listed environments
  #-----------------------------------------------------------------------------
--ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku AIX))
+-ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku AIX MSYS_NT CYGWIN_NT))
  
  lib: libzstd.pc
  
-@@ -280,11 +316,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
+@@ -292,11 +328,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
  # to PREFIX, rather than as a resolved value.
  PCEXEC_PREFIX := $(if $(HAS_EXPLICIT_EXEC_PREFIX),$(EXEC_PREFIX),$${prefix})
  
@@ -71,7 +71,7 @@ Fix pkgconfig installation path.
  
  ifneq (,$(filter $(UNAME),SunOS))
    INSTALL ?= ginstall
-@@ -354,4 +386,3 @@ uninstall:
+@@ -366,4 +398,3 @@ uninstall:
        $(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
        @echo zstd libraries successfully uninstalled
  

Index: pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S
diff -u pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S:1.1 pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S:1.2
--- pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S:1.1     Sun Apr 30 01:39:20 2023
+++ pkgsrc/archivers/zstd/patches/patch-lib_decompress_huf__decompress__amd64.S Tue Apr  2 20:05:57 2024
@@ -1,21 +1,20 @@
-$NetBSD: patch-lib_decompress_huf__decompress__amd64.S,v 1.1 2023/04/30 01:39:20 dholland Exp $
+$NetBSD: patch-lib_decompress_huf__decompress__amd64.S,v 1.2 2024/04/02 20:05:57 adam Exp $
 
 Move the stack marking stuff inside the ifdef, as it doesn't necessarily
 work on non-amd64.
 
---- lib/decompress/huf_decompress_amd64.S~     2023-04-04 20:13:52.000000000 +0000
+--- lib/decompress/huf_decompress_amd64.S.orig 2024-03-21 22:05:51.000000000 +0000
 +++ lib/decompress/huf_decompress_amd64.S
-@@ -10,6 +10,8 @@
+@@ -10,6 +10,7 @@
  
  #include "../common/portability_macros.h"
  
 +#if ZSTD_ENABLE_ASM_X86_64_BMI2
-+
+ #if defined(__ELF__) && defined(__GNUC__)
  /* Stack marking
   * ref: https://wiki.gentoo.org/wiki/Hardened/GNU_stack_quickstart
-  */
-@@ -17,8 +19,6 @@
- .section .note.GNU-stack,"",%progbits
+@@ -38,8 +39,6 @@
+ 
  #endif
  
 -#if ZSTD_ENABLE_ASM_X86_64_BMI2



Home | Main Index | Thread Index | Old Index