pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/archivers/zstd zstd: update to 1.3.2



details:   https://anonhg.NetBSD.org/pkgsrc/rev/cf618083e3d2
branches:  trunk
changeset: 370585:cf618083e3d2
user:      adam <adam%pkgsrc.org@localhost>
date:      Fri Oct 20 07:23:01 2017 +0000

description:
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

diffstat:

 archivers/zstd/Makefile                   |   4 ++--
 archivers/zstd/distinfo                   |  14 +++++++-------
 archivers/zstd/patches/patch-Makefile     |  12 ++++++------
 archivers/zstd/patches/patch-lib_Makefile |  14 +++++++-------
 4 files changed, 22 insertions(+), 22 deletions(-)

diffs (90 lines):

diff -r 27eb00ea6081 -r cf618083e3d2 archivers/zstd/Makefile
--- a/archivers/zstd/Makefile   Fri Oct 20 06:22:24 2017 +0000
+++ b/archivers/zstd/Makefile   Fri Oct 20 07:23:01 2017 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.12 2017/08/24 20:17:00 adam Exp $
+# $NetBSD: Makefile,v 1.13 2017/10/20 07:23:01 adam Exp $
 
-DISTNAME=      zstd-1.3.1
+DISTNAME=      zstd-1.3.2
 CATEGORIES=    archivers
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=facebook/}
 GITHUB_TAG=    v${PKGVERSION_NOREV}
diff -r 27eb00ea6081 -r cf618083e3d2 archivers/zstd/distinfo
--- a/archivers/zstd/distinfo   Fri Oct 20 06:22:24 2017 +0000
+++ b/archivers/zstd/distinfo   Fri Oct 20 07:23:01 2017 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.10 2017/08/21 09:17:04 adam Exp $
+$NetBSD: distinfo,v 1.11 2017/10/20 07:23:01 adam Exp $
 
-SHA1 (zstd-1.3.1.tar.gz) = bf944afb80907bc2c0ade0806d2558aa5b657f09
-RMD160 (zstd-1.3.1.tar.gz) = 4b6e32289275b7e310463551447271b3e064dba9
-SHA512 (zstd-1.3.1.tar.gz) = cc2ace7b2dd19a2bbf4c43a89d64a7ce121309f712bfb4940ccfd6f9353f1466612ef7096adcd852f54eaea8663d884acf681c83ae5b274b24c9b85f21367b7c
-Size (zstd-1.3.1.tar.gz) = 1513767 bytes
-SHA1 (patch-Makefile) = 2ed949f27dd1443656d9d32a7494d2168e48ce37
-SHA1 (patch-lib_Makefile) = 79a5e99595f4d7a124fc012cc6893701f8143685
+SHA1 (zstd-1.3.2.tar.gz) = 2478765996a25232abb5e38707fc77deeaaaab37
+RMD160 (zstd-1.3.2.tar.gz) = 9fbbab1629908f2d45694c6f23eecf7a556939b8
+SHA512 (zstd-1.3.2.tar.gz) = e2848d08b38d2fe98cd327611044bdac2f948547124321c8d63d5bdc2e6694d623c40c7bcc7d499fa83531f9cb92ddcb8be67614a49f855a9103f0ee6af0985c
+Size (zstd-1.3.2.tar.gz) = 1618939 bytes
+SHA1 (patch-Makefile) = 5e4612788534f7a5c17a8de23cb586af8a6012dc
+SHA1 (patch-lib_Makefile) = d0112bf4d813a32e569f964cd1d18caeece3b44e
diff -r 27eb00ea6081 -r cf618083e3d2 archivers/zstd/patches/patch-Makefile
--- a/archivers/zstd/patches/patch-Makefile     Fri Oct 20 06:22:24 2017 +0000
+++ b/archivers/zstd/patches/patch-Makefile     Fri Oct 20 07:23:01 2017 +0000
@@ -1,10 +1,10 @@
-$NetBSD: patch-Makefile,v 1.5 2017/07/22 10:49:07 adam Exp $
+$NetBSD: patch-Makefile,v 1.6 2017/10/20 07:23:01 adam Exp $
 
 Enable the "install" target on all OS.
 
---- Makefile.orig      2017-07-05 18:05:17.000000000 +0000
+--- Makefile.orig      2017-10-08 09:41:28.000000000 +0000
 +++ Makefile
-@@ -108,7 +108,6 @@ clean:
+@@ -104,7 +104,6 @@ clean:
  #------------------------------------------------------------------------------
  # make install is validated only for Linux, OSX, Hurd and some BSD targets
  #------------------------------------------------------------------------------
@@ -12,9 +12,9 @@
  
  HOST_OS = POSIX
  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
-@@ -275,7 +274,6 @@ gpp6install: apt-add-repo
- clang38install:
-       APT_PACKAGES="clang-3.8" $(MAKE) apt-install
+@@ -291,7 +290,6 @@ clang38install:
+ lz4install:
+       [ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install
  
 -endif
  
diff -r 27eb00ea6081 -r cf618083e3d2 archivers/zstd/patches/patch-lib_Makefile
--- a/archivers/zstd/patches/patch-lib_Makefile Fri Oct 20 06:22:24 2017 +0000
+++ b/archivers/zstd/patches/patch-lib_Makefile Fri Oct 20 07:23:01 2017 +0000
@@ -1,12 +1,12 @@
-$NetBSD: patch-lib_Makefile,v 1.4 2017/02/22 11:56:26 wiz Exp $
+$NetBSD: patch-lib_Makefile,v 1.5 2017/10/20 07:23:01 adam Exp $
 
 Fix pkgconfig installation path.
 
---- lib/Makefile.orig  2017-02-06 17:17:34.000000000 +0000
+--- lib/Makefile.orig  2017-10-08 09:41:28.000000000 +0000
 +++ lib/Makefile
-@@ -111,11 +111,7 @@ DESTDIR    ?=
- LIBDIR     ?= $(PREFIX)/lib
- INCLUDEDIR ?= $(PREFIX)/include
+@@ -134,11 +134,7 @@ LIBDIR      ?= $(libdir)
+ includedir  ?= $(PREFIX)/include
+ INCLUDEDIR  ?= $(includedir)
  
 -ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
 -PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
@@ -14,5 +14,5 @@
  PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
 -endif
  
- INSTALL_LIB  ?= $(INSTALL) -m 755
- INSTALL_DATA ?= $(INSTALL) -m 644
+ ifneq (,$(filter $(shell uname),SunOS))
+ INSTALL ?= ginstall



Home | Main Index | Thread Index | Old Index