summaryrefslogtreecommitdiff
path: root/archivers/zstd
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2022-01-19 06:02:25 +0000
committeradam <adam@pkgsrc.org>2022-01-19 06:02:25 +0000
commitc354f239218f7c825c6a1b1ed7ce47305621e34a (patch)
treed098a73804f1067232d3f95d8fec7f2199057e2f /archivers/zstd
parent566a6a2fb686f132f1ea60a899a7517ee147fef9 (diff)
downloadpkgsrc-c354f239218f7c825c6a1b1ed7ce47305621e34a.tar.gz
zstd: updated to 1.5.1
v1.5.1 (Dec, 2021) perf: rebalanced compression levels, to better match the intended speed/level curve, by @senhuang42 perf: faster huffman decoder, using x64 assembly, by @terrelln perf: slightly faster high speed modes (strategies fast & dfast), by @felixhandte perf: improved binary size and faster compilation times, by @terrelln perf: new row64 mode, used notably in level 12, by @senhuang42 perf: faster mid-level compression speed in presence of highly repetitive patterns, by @senhuang42 perf: minor compression ratio improvements for small data at high levels, by @cyan4973 perf: reduced stack usage (mostly useful for Linux Kernel), by @terrelln perf: faster compression speed on incompressible data, by @bindhvo perf: on-demand reduced ZSTD_DCtx state size, using build macro ZSTD_DECODER_INTERNAL_BUFFER, at a small cost of performance, by @bindhvo build: allows hiding static symbols in the dynamic library, using build macro, by @skitt build: support for m68k (Motorola 68000's), by @cyan4973 build: improved AIX support, by @Helflym build: improved meson unofficial build, by @eli-schwartz cli : custom memory limit when training dictionary cli : report advanced parameters information when compressing in very verbose mode (``-vv`)
Diffstat (limited to 'archivers/zstd')
-rw-r--r--archivers/zstd/Makefile4
-rw-r--r--archivers/zstd/distinfo12
-rw-r--r--archivers/zstd/patches/patch-Makefile10
-rw-r--r--archivers/zstd/patches/patch-lib_Makefile18
4 files changed, 22 insertions, 22 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index 03e5092e038..dd05b0a84d0 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.43 2021/06/03 06:54:59 nia Exp $
+# $NetBSD: Makefile,v 1.44 2022/01/19 06:02:25 adam Exp $
-DISTNAME= zstd-1.5.0
+DISTNAME= zstd-1.5.1
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
GITHUB_TAG= v${PKGVERSION_NOREV}
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index 76eb7f02df2..4f2be99f546 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,10 +1,10 @@
-$NetBSD: distinfo,v 1.31 2021/10/26 09:57:20 nia Exp $
+$NetBSD: distinfo,v 1.32 2022/01/19 06:02:25 adam Exp $
-BLAKE2s (zstd-1.5.0.tar.gz) = 1bc6226fc378a3748af6f146efa73ace559aa241610c50b6c6bc8317e77e9c87
-SHA512 (zstd-1.5.0.tar.gz) = 25b657529a698eec891f92ff4a085d1fd95d2ff938ce52c8a4ff6163eb0b668ec642dd09e0db190652638cd92371006afa01d8e437437762c4097ad301675c33
-Size (zstd-1.5.0.tar.gz) = 1867111 bytes
-SHA1 (patch-Makefile) = b7e72910488e946971cde5ad2fac6a6134dbd70b
-SHA1 (patch-lib_Makefile) = 2475241f1f75d353bf6deeccb4f391cd6626aed2
+BLAKE2s (zstd-1.5.1.tar.gz) = 8604f0079f774e0af41635e9a734efcb5e41382ee21a2ac5a34c996594273223
+SHA512 (zstd-1.5.1.tar.gz) = ed8ea0143b7bbd85afdcc8f95d44589a0903cff8375059836ebe577cc4b3ea49c0c756db6a3649655e478377f48b3120ef87dc768fd449bd4bfac786209bfd31
+Size (zstd-1.5.1.tar.gz) = 1948539 bytes
+SHA1 (patch-Makefile) = 35159f44eb1d212395a53a27de60d3d1a5d3d014
+SHA1 (patch-lib_Makefile) = b04f9d1dcc7b336872566785e7b0db69929eb262
SHA1 (patch-tests_Makefile) = b83de10222859d656468463071dbce70adcc22b1
SHA1 (patch-tests_playTests.sh) = 349f8e400f46b5914add4aee955a040045f62779
SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec
diff --git a/archivers/zstd/patches/patch-Makefile b/archivers/zstd/patches/patch-Makefile
index d1101dae32b..ac801559afa 100644
--- a/archivers/zstd/patches/patch-Makefile
+++ b/archivers/zstd/patches/patch-Makefile
@@ -1,18 +1,18 @@
-$NetBSD: patch-Makefile,v 1.10 2021/05/20 12:23:24 wiz Exp $
+$NetBSD: patch-Makefile,v 1.11 2022/01/19 06:02:25 adam Exp $
Enable the "install" target on all OS.
---- Makefile.orig 2021-05-14 14:59:34.000000000 +0000
+--- Makefile.orig 2021-12-20 22:49:18.000000000 +0000
+++ Makefile
-@@ -148,7 +148,6 @@ clean:
+@@ -149,7 +149,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))
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT Haiku AIX))
HOST_OS = POSIX
-@@ -354,7 +353,6 @@ clang38install:
+@@ -373,7 +372,6 @@ clang38install:
lz4install:
[ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
diff --git a/archivers/zstd/patches/patch-lib_Makefile b/archivers/zstd/patches/patch-lib_Makefile
index 9f177a8b072..d4d0fd4dd8d 100644
--- a/archivers/zstd/patches/patch-lib_Makefile
+++ b/archivers/zstd/patches/patch-lib_Makefile
@@ -1,14 +1,14 @@
-$NetBSD: patch-lib_Makefile,v 1.13 2021/05/20 12:23:24 wiz Exp $
+$NetBSD: patch-lib_Makefile,v 1.14 2022/01/19 06:02:25 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-05-14 14:59:34.000000000 +0000
+--- lib/Makefile.orig 2021-12-20 22:49:18.000000000 +0000
+++ lib/Makefile
-@@ -204,6 +204,43 @@ endif
- endif # BUILD_DIR
+@@ -67,6 +67,43 @@ decompress/zstd_decompress_block.o : CFL
+ endif
+VOID = /dev/null
@@ -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)
-@@ -374,7 +411,6 @@ clean:
+@@ -249,7 +286,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))
+-ifneq (,$(filter $(UNAME),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS Haiku AIX))
- all: libzstd.pc
+ lib: libzstd.pc
-@@ -405,11 +441,7 @@ PCLIBPREFIX := $(if $(findstring $(LIBDI
+@@ -280,11 +316,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
-@@ -479,4 +511,3 @@ uninstall:
+@@ -354,4 +386,3 @@ uninstall:
$(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
@echo zstd libraries successfully uninstalled