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 licensediff -r1.12 -r1.13 pkgsrc/archivers/zstd/Makefile
(adam)
@@ -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 | |||
3 | DISTNAME= zstd-1.3.1 | 3 | DISTNAME= zstd-1.3.2 | |
4 | CATEGORIES= archivers | 4 | CATEGORIES= archivers | |
5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/} | 5 | MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/} | |
6 | GITHUB_TAG= v${PKGVERSION_NOREV} | 6 | GITHUB_TAG= v${PKGVERSION_NOREV} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://facebook.github.io/zstd/ | 9 | HOMEPAGE= http://facebook.github.io/zstd/ | |
10 | COMMENT= Fast real-time compression algorithm | 10 | COMMENT= Fast real-time compression algorithm | |
11 | LICENSE= modified-bsd OR gnu-gpl-v2 | 11 | LICENSE= modified-bsd OR gnu-gpl-v2 | |
12 | 12 | |||
13 | USE_LANGUAGES= c c++ | 13 | USE_LANGUAGES= c c++ | |
14 | USE_TOOLS+= gmake pkg-config | 14 | USE_TOOLS+= gmake pkg-config | |
15 | PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in | 15 | PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in | |
16 | MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1 | 16 | MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1 |
@@ -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 | |||
3 | SHA1 (zstd-1.3.1.tar.gz) = bf944afb80907bc2c0ade0806d2558aa5b657f09 | 3 | SHA1 (zstd-1.3.2.tar.gz) = 2478765996a25232abb5e38707fc77deeaaaab37 | |
4 | RMD160 (zstd-1.3.1.tar.gz) = 4b6e32289275b7e310463551447271b3e064dba9 | 4 | RMD160 (zstd-1.3.2.tar.gz) = 9fbbab1629908f2d45694c6f23eecf7a556939b8 | |
5 | SHA512 (zstd-1.3.1.tar.gz) = cc2ace7b2dd19a2bbf4c43a89d64a7ce121309f712bfb4940ccfd6f9353f1466612ef7096adcd852f54eaea8663d884acf681c83ae5b274b24c9b85f21367b7c | 5 | SHA512 (zstd-1.3.2.tar.gz) = e2848d08b38d2fe98cd327611044bdac2f948547124321c8d63d5bdc2e6694d623c40c7bcc7d499fa83531f9cb92ddcb8be67614a49f855a9103f0ee6af0985c | |
6 | Size (zstd-1.3.1.tar.gz) = 1513767 bytes | 6 | Size (zstd-1.3.2.tar.gz) = 1618939 bytes | |
7 | SHA1 (patch-Makefile) = 2ed949f27dd1443656d9d32a7494d2168e48ce37 | 7 | SHA1 (patch-Makefile) = 5e4612788534f7a5c17a8de23cb586af8a6012dc | |
8 | SHA1 (patch-lib_Makefile) = 79a5e99595f4d7a124fc012cc6893701f8143685 | 8 | SHA1 (patch-lib_Makefile) = d0112bf4d813a32e569f964cd1d18caeece3b44e |
@@ -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 | |||
3 | Enable the "install" target on all OS. | 3 | Enable 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))) |
@@ -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 | |||
3 | Fix pkgconfig installation path. | 3 | Fix 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 |