Fri Oct 20 07:23:01 2017 UTC ()
zstd: update to 1.3.2

v1.3.2
new : long range mode, using --long command
new : ability to generate and decode magicless frames
changed : maximum nb of threads reduced to 200, to avoid address space exhaustion in 32-bits mode
fix : multi-threading compression works with custom allocators
fix : ZSTD_sizeof_CStream() was over-evaluating memory usage
fix : a rare compression bug when compression generates very large distances and bunch of other conditions (only possible at --ultra -22)
fix : 32-bits build can now decode large offsets (levels 21+)
cli : added LZ4 frame support by default
cli : improved --list output
cli : new : can split input file for dictionary training, using command -B#
cli : new : clean operation artefact on Ctrl-C interruption
cli : fix : do not change /dev/null permissions when using command -t with root access
cli : fix : write file size in header in multiple-files mode
api : added macro ZSTD_COMPRESSBOUND() for static allocation
api : experimental : new advanced decompression API
api : fix : sizeof_CCtx() used to over-estimate
build: fix : no-multithread variant compiles without pool.c dependency
build: better compatibility with reproducible builds
example : added streaming_memory_usage
license : changed /examples license to BSD + GPLv2
license : fix a few header files to reflect new license


(adam)
diff -r1.12 -r1.13 pkgsrc/archivers/zstd/Makefile
diff -r1.10 -r1.11 pkgsrc/archivers/zstd/distinfo
diff -r1.5 -r1.6 pkgsrc/archivers/zstd/patches/patch-Makefile
diff -r1.4 -r1.5 pkgsrc/archivers/zstd/patches/patch-lib_Makefile

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

--- pkgsrc/archivers/zstd/Makefile 2017/08/24 20:17:00 1.12
+++ pkgsrc/archivers/zstd/Makefile 2017/10/20 07:23:01 1.13
@@ -1,16 +1,16 @@ @@ -1,16 +1,16 @@
1# $NetBSD: Makefile,v 1.12 2017/08/24 20:17:00 adam Exp $ 1# $NetBSD: Makefile,v 1.13 2017/10/20 07:23:01 adam Exp $
2 2
3DISTNAME= zstd-1.3.1 3DISTNAME= zstd-1.3.2
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= http://facebook.github.io/zstd/ 9HOMEPAGE= http://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
13USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
14USE_TOOLS+= gmake pkg-config 14USE_TOOLS+= gmake pkg-config
15PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in 15PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in
16MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1 16MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1

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

--- pkgsrc/archivers/zstd/distinfo 2017/08/21 09:17:04 1.10
+++ pkgsrc/archivers/zstd/distinfo 2017/10/20 07:23:01 1.11
@@ -1,8 +1,8 @@ @@ -1,8 +1,8 @@
1$NetBSD: distinfo,v 1.10 2017/08/21 09:17:04 adam Exp $ 1$NetBSD: distinfo,v 1.11 2017/10/20 07:23:01 adam Exp $
2 2
3SHA1 (zstd-1.3.1.tar.gz) = bf944afb80907bc2c0ade0806d2558aa5b657f09 3SHA1 (zstd-1.3.2.tar.gz) = 2478765996a25232abb5e38707fc77deeaaaab37
4RMD160 (zstd-1.3.1.tar.gz) = 4b6e32289275b7e310463551447271b3e064dba9 4RMD160 (zstd-1.3.2.tar.gz) = 9fbbab1629908f2d45694c6f23eecf7a556939b8
5SHA512 (zstd-1.3.1.tar.gz) = cc2ace7b2dd19a2bbf4c43a89d64a7ce121309f712bfb4940ccfd6f9353f1466612ef7096adcd852f54eaea8663d884acf681c83ae5b274b24c9b85f21367b7c 5SHA512 (zstd-1.3.2.tar.gz) = e2848d08b38d2fe98cd327611044bdac2f948547124321c8d63d5bdc2e6694d623c40c7bcc7d499fa83531f9cb92ddcb8be67614a49f855a9103f0ee6af0985c
6Size (zstd-1.3.1.tar.gz) = 1513767 bytes 6Size (zstd-1.3.2.tar.gz) = 1618939 bytes
7SHA1 (patch-Makefile) = 2ed949f27dd1443656d9d32a7494d2168e48ce37 7SHA1 (patch-Makefile) = 5e4612788534f7a5c17a8de23cb586af8a6012dc
8SHA1 (patch-lib_Makefile) = 79a5e99595f4d7a124fc012cc6893701f8143685 8SHA1 (patch-lib_Makefile) = d0112bf4d813a32e569f964cd1d18caeece3b44e

cvs diff -r1.5 -r1.6 pkgsrc/archivers/zstd/patches/patch-Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/zstd/patches/patch-Makefile 2017/07/22 10:49:07 1.5
+++ pkgsrc/archivers/zstd/patches/patch-Makefile 2017/10/20 07:23:01 1.6
@@ -1,22 +1,22 @@ @@ -1,22 +1,22 @@
1$NetBSD: patch-Makefile,v 1.5 2017/07/22 10:49:07 adam Exp $ 1$NetBSD: patch-Makefile,v 1.6 2017/10/20 07:23:01 adam Exp $
2 2
3Enable the "install" target on all OS. 3Enable the "install" target on all OS.
4 4
5--- Makefile.orig 2017-07-05 18:05:17.000000000 +0000 5--- Makefile.orig 2017-10-08 09:41:28.000000000 +0000
6+++ Makefile 6+++ Makefile
7@@ -108,7 +108,6 @@ clean: 7@@ -104,7 +104,6 @@ clean:
8 #------------------------------------------------------------------------------ 8 #------------------------------------------------------------------------------
9 # make install is validated only for Linux, OSX, Hurd and some BSD targets 9 # make install is validated only for Linux, OSX, Hurd and some BSD targets
10 #------------------------------------------------------------------------------ 10 #------------------------------------------------------------------------------
11-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD MSYS_NT)) 11-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD MSYS_NT))
12  12
13 HOST_OS = POSIX 13 HOST_OS = POSIX
14 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 14 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
15@@ -275,7 +274,6 @@ gpp6install: apt-add-repo 15@@ -291,7 +290,6 @@ clang38install:
16 clang38install: 16 lz4install:
17 APT_PACKAGES="clang-3.8" $(MAKE) apt-install 17 [ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
18  18
19-endif 19-endif
20  20
21  21
22 ifneq (,$(filter MSYS%,$(shell uname))) 22 ifneq (,$(filter MSYS%,$(shell uname)))

cvs diff -r1.4 -r1.5 pkgsrc/archivers/zstd/patches/patch-lib_Makefile (expand / switch to unified diff)

--- pkgsrc/archivers/zstd/patches/patch-lib_Makefile 2017/02/22 11:56:26 1.4
+++ pkgsrc/archivers/zstd/patches/patch-lib_Makefile 2017/10/20 07:23:01 1.5
@@ -1,18 +1,18 @@ @@ -1,18 +1,18 @@
1$NetBSD: patch-lib_Makefile,v 1.4 2017/02/22 11:56:26 wiz Exp $ 1$NetBSD: patch-lib_Makefile,v 1.5 2017/10/20 07:23:01 adam Exp $
2 2
3Fix pkgconfig installation path. 3Fix pkgconfig installation path.
4 4
5--- lib/Makefile.orig 2017-02-06 17:17:34.000000000 +0000 5--- lib/Makefile.orig 2017-10-08 09:41:28.000000000 +0000
6+++ lib/Makefile 6+++ lib/Makefile
7@@ -111,11 +111,7 @@ DESTDIR ?= 7@@ -134,11 +134,7 @@ LIBDIR ?= $(libdir)
8 LIBDIR ?= $(PREFIX)/lib 8 includedir ?= $(PREFIX)/include
9 INCLUDEDIR ?= $(PREFIX)/include 9 INCLUDEDIR ?= $(includedir)
10  10
11-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly)) 11-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
12-PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig 12-PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
13-else 13-else
14 PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig 14 PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
15-endif 15-endif
16  16
17 INSTALL_LIB ?= $(INSTALL) -m 755 17 ifneq (,$(filter $(shell uname),SunOS))
18 INSTALL_DATA ?= $(INSTALL) -m 644 18 INSTALL ?= ginstall