summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2018-07-03 14:27:59 +0000
committeradam <adam@pkgsrc.org>2018-07-03 14:27:59 +0000
commit89d32f4d789ccc5a4242bf83c9059185ab574acf (patch)
tree90efec4a3d3de9d5113602564c287696bde90abf
parent90a19241b0f0e51f67e9ae3bf6817a8a6f8ea315 (diff)
downloadpkgsrc-89d32f4d789ccc5a4242bf83c9059185ab574acf.tar.gz
zstd: updated to 1.3.5
Zstandard v1.3.5 is a maintenance release focused on dictionary compression performance.
-rw-r--r--archivers/zstd/Makefile4
-rw-r--r--archivers/zstd/distinfo14
-rw-r--r--archivers/zstd/patches/patch-Makefile12
-rw-r--r--archivers/zstd/patches/patch-lib_Makefile22
4 files changed, 33 insertions, 19 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index f2b0513152f..2f58cbdae55 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -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}
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index 60d5b606668..63df7e73aa3 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -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
diff --git a/archivers/zstd/patches/patch-Makefile b/archivers/zstd/patches/patch-Makefile
index 6c6172d54ec..ce8dfe27bf7 100644
--- a/archivers/zstd/patches/patch-Makefile
+++ b/archivers/zstd/patches/patch-Makefile
@@ -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
diff --git a/archivers/zstd/patches/patch-lib_Makefile b/archivers/zstd/patches/patch-lib_Makefile
index de47b810cb8..24c9a688de1 100644
--- a/archivers/zstd/patches/patch-lib_Makefile
+++ b/archivers/zstd/patches/patch-lib_Makefile
@@ -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