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 (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,52 +1,52 @@ @@ -1,52 +1,52 @@
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
17# ld:../lib/libzstd.a: file format not recognized; treating as linker script 17# ld:../lib/libzstd.a: file format not recognized; treating as linker script
18# ld:../lib/libzstd.a:1: syntax error 18# ld:../lib/libzstd.a:1: syntax error
19# or 19# or
20# ld: ../lib/libzstd.a: error adding symbols: file format not recognized 20# ld: ../lib/libzstd.a: error adding symbols: file format not recognized
21# reported as 21# reported as
22# https://github.com/facebook/zstd/issues/2453 22# https://github.com/facebook/zstd/issues/2453
23#MAKE_JOBS_SAFE= no 23#MAKE_JOBS_SAFE= no
24 24
25.include "../../mk/bsd.prefs.mk" 25.include "../../mk/bsd.prefs.mk"
26 26
27# See HASH and BUILD_DIR in lib/Makefile and programs/Makefile. 27# See HASH and BUILD_DIR in lib/Makefile and programs/Makefile.
28# Set BUILD_DIR so that HASH is not needed and there is no 28# Set BUILD_DIR so that HASH is not needed and there is no
29# need for coreutils as a dependency. 29# need for coreutils as a dependency.
30# HASH is set to false because programs/Makefile try to 30# HASH is set to false because programs/Makefile try to
31# execute HASH in order to see if it exists but the result 31# execute HASH in order to see if it exists but the result
32# is unused when BUILD_DIR is set. 32# is unused when BUILD_DIR is set.
33MAKE_ENV+= BUILD_DIR=obj 33MAKE_ENV+= BUILD_DIR=obj
34MAKE_ENV+= HASH=${FALSE} 34MAKE_ENV+= HASH=${FALSE}
35 35
36USE_LANGUAGES= c c++ 36USE_LANGUAGES= c c++
37USE_TOOLS+= ggrep gmake pkg-config 37USE_TOOLS+= ggrep gmake pkg-config
38PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in 38PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in
39MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR} 39MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}
40MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR} 40MAKE_FLAGS+= mandir=${PREFIX}/${PKGMANDIR}
41MAKE_FLAGS+= INSTALL=${INSTALL:Q} 41MAKE_FLAGS+= INSTALL=${INSTALL:Q}
42 42
43BUILD_TARGET= allmost 43BUILD_TARGET= allmost
44TEST_TARGET= test 44TEST_TARGET= test
45 45
46# Needed for nanosleep() on Solaris 10, PR pkg/56225 46# Needed for nanosleep() on Solaris 10, PR pkg/56225
47LDFLAGS.SunOS+= -lrt 47LDFLAGS.SunOS+= -lrt
48 48
49.include "../../archivers/lz4/buildlink3.mk" 49.include "../../archivers/lz4/buildlink3.mk"
50.include "../../archivers/xz/buildlink3.mk" 50.include "../../archivers/xz/buildlink3.mk"
51.include "../../devel/zlib/buildlink3.mk" 51.include "../../devel/zlib/buildlink3.mk"
52.include "../../mk/bsd.pkg.mk" 52.include "../../mk/bsd.pkg.mk"

cvs diff -r1.34 -r1.35 pkgsrc/archivers/zstd/distinfo (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 (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