Fri Apr 7 10:02:14 2023 UTC ()
zstd: update to 1.5.5.

v1.5.5 (Apr 2023)
fix: fix rare corruption bug affecting the high compression mode, reported by @danlark1 (#3517, @terrelln)
perf: improve mid-level compression speed (#3529, #3533, #3543, @yoniko and #3552, @terrelln)
lib: deprecated bufferless block-level API (#3534) by @terrelln
cli: mmap large dictionaries to save memory, by @daniellerozenblit
cli: improve speed of --patch-from mode (~+50%) (#3545) by @daniellerozenblit
cli: improve i/o speed (~+10%) when processing lots of small files (#3479) by @felixhandte
cli: zstd no longer crashes when requested to write into write-protected directory (#3541) by @felixhandte
cli: fix decompression into block device using -o, reported by @georgmu (#3583)
build: fix zstd CLI compiled with lzma support but not zlib support (#3494) by @Hello71
build: fix cmake does no longer require 3.18 as minimum version (#3510) by @kou
build: fix MSVC+ClangCL linking issue (#3569) by @tru
build: fix zstd-dll, version of zstd CLI that links to the dynamic library (#3496) by @yoniko
build: fix MSVC warnings (#3495) by @embg
doc: updated zstd specification to clarify corner cases, by @Cyan4973
doc: document how to create fat binaries for macos (#3568) by @rickmark
misc: improve seekable format ingestion speed (~+100%) for very small chunk sizes (#3544) by @Cyan4973
misc: tests/fullbench can benchmark multiple files (#3516) by @dloidolt


(wiz)
diff -r1.46 -r1.47 pkgsrc/archivers/zstd/Makefile
diff -r1.34 -r1.35 pkgsrc/archivers/zstd/distinfo
diff -r1.2 -r1.3 pkgsrc/archivers/zstd/patches/patch-tests_Makefile

cvs diff -r1.46 -r1.47 pkgsrc/archivers/zstd/Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/zstd/Makefile 2023/02/10 21:32:14 1.46
+++ pkgsrc/archivers/zstd/Makefile 2023/04/07 10:02:14 1.47
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.46 2023/02/10 21:32:14 wiz Exp $ 1# $NetBSD: Makefile,v 1.47 2023/04/07 10:02:14 wiz Exp $
2 2
3DISTNAME= zstd-1.5.4 3DISTNAME= zstd-1.5.5
4CATEGORIES= archivers 4CATEGORIES= archivers
5MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
6GITHUB_TAG= v${PKGVERSION_NOREV} 6GITHUB_TAG= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= https://facebook.github.io/zstd/ 9HOMEPAGE= https://facebook.github.io/zstd/
10COMMENT= Fast real-time compression algorithm 10COMMENT= Fast real-time compression algorithm
11LICENSE= modified-bsd OR gnu-gpl-v2 11LICENSE= modified-bsd OR gnu-gpl-v2
12 12
13CHECK_PORTABILITY_SKIP+= tests/playTests.sh 13CHECK_PORTABILITY_SKIP+= tests/playTests.sh
14 14
15# 1.4.8 15# 1.4.8
16# ld: ../lib/libzstd.a: error adding symbols: no more archived files 16# ld: ../lib/libzstd.a: error adding symbols: no more archived files

cvs diff -r1.34 -r1.35 pkgsrc/archivers/zstd/distinfo (expand / switch to unified diff)

--- pkgsrc/archivers/zstd/distinfo 2023/02/10 21:32:14 1.34
+++ pkgsrc/archivers/zstd/distinfo 2023/04/07 10:02:14 1.35
@@ -1,10 +1,10 @@ @@ -1,10 +1,10 @@
1$NetBSD: distinfo,v 1.34 2023/02/10 21:32:14 wiz Exp $ 1$NetBSD: distinfo,v 1.35 2023/04/07 10:02:14 wiz Exp $
2 2
3BLAKE2s (zstd-1.5.4.tar.gz) = 9535118a5388e4df8735861cad6e7c719bba38033c436c4d38b3fe6d459e4cfd 3BLAKE2s (zstd-1.5.5.tar.gz) = 55b05a841f3a1a68ec826ee7b9f372ae54ab077e29795ae77e324ef7a4d9b729
4SHA512 (zstd-1.5.4.tar.gz) = b6f64850ceb6cfed831fff3c43508d2a72338862a96dd9430b1d3ebbfcee40201c8b6dcf8b6b603e252bb96f3f283c9cb07da7f24414187f5f1fea3b51e01863 4SHA512 (zstd-1.5.5.tar.gz) = 356994e0d8188ce97590bf86b602eb50cbcb2f951594afb9c2d6e03cc68f966862505afc4a50e76efd55e4cfb11dbc9b15c7837b7827a961a1311ef72cd23505
5Size (zstd-1.5.4.tar.gz) = 2178759 bytes 5Size (zstd-1.5.5.tar.gz) = 2386533 bytes
6SHA1 (patch-Makefile) = 35159f44eb1d212395a53a27de60d3d1a5d3d014 6SHA1 (patch-Makefile) = 35159f44eb1d212395a53a27de60d3d1a5d3d014
7SHA1 (patch-lib_Makefile) = b04f9d1dcc7b336872566785e7b0db69929eb262 7SHA1 (patch-lib_Makefile) = b04f9d1dcc7b336872566785e7b0db69929eb262
8SHA1 (patch-tests_Makefile) = 0da7f18e07ca4ffa7dcce46709224b0f61caaea7 8SHA1 (patch-tests_Makefile) = b4aa7bd0bf1b3e7df231a32dadc6cce4ab78ac9e
9SHA1 (patch-tests_playTests.sh) = 349f8e400f46b5914add4aee955a040045f62779 9SHA1 (patch-tests_playTests.sh) = 349f8e400f46b5914add4aee955a040045f62779
10SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec 10SHA1 (patch-zlibWrapper_examples_minigzip.c) = 4ed0cb648bdd6efa61b3f66ba6eb1ea74b7767ec

cvs diff -r1.2 -r1.3 pkgsrc/archivers/zstd/patches/patch-tests_Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/zstd/patches/patch-tests_Makefile 2023/02/10 21:32:14 1.2
+++ pkgsrc/archivers/zstd/patches/patch-tests_Makefile 2023/04/07 10:02:14 1.3
@@ -1,15 +1,15 @@ @@ -1,15 +1,15 @@
1$NetBSD: patch-tests_Makefile,v 1.2 2023/02/10 21:32:14 wiz Exp $ 1$NetBSD: patch-tests_Makefile,v 1.3 2023/04/07 10:02:14 wiz Exp $
2 2
3Fix running tests with shared zstd library. 3Fix running tests with shared zstd library.
4 4
5--- tests/Makefile.orig 2023-02-10 00:41:50.000000000 +0000 5--- tests/Makefile.orig 2023-04-04 20:13:52.000000000 +0000
6+++ tests/Makefile 6+++ tests/Makefile
7@@ -336,7 +336,7 @@ test-zstd-nolegacy: zstd-nolegacy 7@@ -340,7 +340,7 @@ test-zstd-nolegacy: zstd-nolegacy
8  8
9 test-zstd test-zstd32 test-zstd-nolegacy: datagen 9 test-zstd test-zstd32 test-zstd-nolegacy test-zstd-dll: datagen
10 file $(ZSTD) 10 file $(ZSTD)
11- EXE_PREFIX="$(QEMU_SYS)" ZSTD_BIN="$(ZSTD)" DATAGEN_BIN=./datagen ./playTests.sh $(ZSTDRTTEST) 11- EXE_PREFIX="$(QEMU_SYS)" ZSTD_BIN="$(ZSTD)" DATAGEN_BIN=./datagen ./playTests.sh $(ZSTDRTTEST)
12+ LD_LIBRARY_PATH=../lib EXE_PREFIX="$(QEMU_SYS)" ZSTD_BIN="$(ZSTD)" DATAGEN_BIN=./datagen ./playTests.sh $(ZSTDRTTEST) 12+ LD_LIBRARY_PATH=../lib EXE_PREFIX="$(QEMU_SYS)" ZSTD_BIN="$(ZSTD)" DATAGEN_BIN=./datagen ./playTests.sh $(ZSTDRTTEST)
13  13
14 .PHONY: test-cli-tests 14 .PHONY: test-cli-tests
15 test-cli-tests: ZSTD = $(PRGDIR)/zstd 15 test-cli-tests: ZSTD = $(PRGDIR)/zstd