zstd: updated to 1.3.5

Zstandard v1.3.5 is a maintenance release focused on dictionary compression performance.
This commit is contained in:
adam 2018-07-03 14:27:59 +00:00
parent 8998207edd
commit 89cccc7613
4 changed files with 33 additions and 19 deletions

View file

@ -1,6 +1,6 @@
# $NetBSD: Makefile,v 1.16 2018/04/02 12:42:48 adam Exp $
# $NetBSD: Makefile,v 1.17 2018/07/03 14:27:59 adam Exp $
DISTNAME= zstd-1.3.4
DISTNAME= zstd-1.3.5
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
GITHUB_TAG= v${PKGVERSION_NOREV}

View file

@ -1,8 +1,8 @@
$NetBSD: distinfo,v 1.13 2018/04/02 12:42:48 adam Exp $
$NetBSD: distinfo,v 1.14 2018/07/03 14:27:59 adam Exp $
SHA1 (zstd-1.3.4.tar.gz) = f000e185e02b8ccccd0992e5cb7e88175318d83b
RMD160 (zstd-1.3.4.tar.gz) = 09fc25b38bd2e327377501138273b60e0aa25fa8
SHA512 (zstd-1.3.4.tar.gz) = d3c8c1dfabd251b03205b64eff97898c1e2ca457191b1f6257450e6d2675451a68aa0bc2220b2c65baa69a6997d98490612779d95b3325320c0a3202810ae554
Size (zstd-1.3.4.tar.gz) = 2059958 bytes
SHA1 (patch-Makefile) = 5e4612788534f7a5c17a8de23cb586af8a6012dc
SHA1 (patch-lib_Makefile) = d0112bf4d813a32e569f964cd1d18caeece3b44e
SHA1 (zstd-1.3.5.tar.gz) = c86b937a5534ced79e94dc043af835a6deed1115
RMD160 (zstd-1.3.5.tar.gz) = 1b09118fdb4bbda0bc637fa6a23cfcc77d481dca
SHA512 (zstd-1.3.5.tar.gz) = a5347b132d6b79e6a7f39a4546cafc5cf85e8d01b765477011008908035789e914b1093e2b2405c75086f05a7bc87e29b69e10252260d747c5c056ce16f91661
Size (zstd-1.3.5.tar.gz) = 1706005 bytes
SHA1 (patch-Makefile) = b7029fdd2890f1180b8f6c6067afe88f5a22256a
SHA1 (patch-lib_Makefile) = 274abfbb48bb4278049fa67a1a20ce75c3059526

View file

@ -1,18 +1,18 @@
$NetBSD: patch-Makefile,v 1.6 2017/10/20 07:23:01 adam Exp $
$NetBSD: patch-Makefile,v 1.7 2018/07/03 14:27:59 adam Exp $
Enable the "install" target on all OS.
--- Makefile.orig 2017-10-08 09:41:28.000000000 +0000
--- Makefile.orig 2018-06-28 08:55:26.000000000 +0000
+++ Makefile
@@ -104,7 +104,6 @@ clean:
@@ -110,7 +110,6 @@ clean:
#------------------------------------------------------------------------------
# make install is validated only for Linux, OSX, Hurd and some BSD targets
# make install is validated only for Linux, macOS, Hurd and some BSD targets
#------------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD MSYS_NT))
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD DragonFly NetBSD MSYS_NT))
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
@@ -291,7 +290,6 @@ clang38install:
@@ -296,7 +295,6 @@ clang38install:
lz4install:
[ -e lz4 ] || git clone https://github.com/lz4/lz4 && sudo $(MAKE) -C lz4 install

View file

@ -1,14 +1,23 @@
$NetBSD: patch-lib_Makefile,v 1.5 2017/10/20 07:23:01 adam Exp $
$NetBSD: patch-lib_Makefile,v 1.6 2018/07/03 14:27:59 adam Exp $
Enable the "install" target on all OS.
Fix pkgconfig installation path.
--- lib/Makefile.orig 2017-10-08 09:41:28.000000000 +0000
--- lib/Makefile.orig 2018-06-28 08:55:26.000000000 +0000
+++ lib/Makefile
@@ -134,11 +134,7 @@ LIBDIR ?= $(libdir)
@@ -154,7 +154,6 @@ clean:
#-----------------------------------------------------------------------------
# make install is validated only for Linux, macOS, BSD, Hurd and Solaris targets
#-----------------------------------------------------------------------------
-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU OpenBSD FreeBSD NetBSD DragonFly SunOS))
DESTDIR ?=
# directory variables : GNU conventions prefer lowercase
@@ -168,11 +167,7 @@ LIBDIR ?= $(libdir)
includedir ?= $(PREFIX)/include
INCLUDEDIR ?= $(includedir)
-ifneq (,$(filter $(shell uname),OpenBSD FreeBSD NetBSD DragonFly))
-ifneq (,$(filter $(shell uname),FreeBSD NetBSD DragonFly))
-PKGCONFIGDIR ?= $(PREFIX)/libdata/pkgconfig
-else
PKGCONFIGDIR ?= $(LIBDIR)/pkgconfig
@ -16,3 +25,8 @@ Fix pkgconfig installation path.
ifneq (,$(filter $(shell uname),SunOS))
INSTALL ?= ginstall
@@ -232,4 +227,3 @@ uninstall:
@$(RM) $(DESTDIR)$(INCLUDEDIR)/zdict.h
@echo zstd libraries successfully uninstalled
-endif