summaryrefslogtreecommitdiff
path: root/archivers/zstd
diff options
context:
space:
mode:
authoradam <adam@pkgsrc.org>2017-07-22 10:49:07 +0000
committeradam <adam@pkgsrc.org>2017-07-22 10:49:07 +0000
commite37cb60fc465b828be5f0b83bfb56839d5e03ed6 (patch)
tree8136133981516aba2924649a7b9f749ef4726e0f /archivers/zstd
parentcc7dd98448463b5ccf3413e22b8e51c86c090160 (diff)
downloadpkgsrc-e37cb60fc465b828be5f0b83bfb56839d5e03ed6.tar.gz
v1.3.0
cli : new : `--list` command, by Paul Cruz cli : changed : xz/lzma support enabled by default cli : changed : `-t *` continue processing list after a decompression error API : added : ZSTD_versionString() API : promoted to stable status : ZSTD_getFrameContentSize(), by Sean Purcell API exp : new advanced API : ZSTD_compress_generic(), ZSTD_CCtx_setParameter() API exp : new : API for static or external allocation : ZSTD_initStatic?Ctx() API exp : added : ZSTD_decompressBegin_usingDDict(), requested by Guy Riddle API exp : clarified memory estimation / measurement functions. API exp : changed : strongest strategy renamed ZSTD_btultra, fastest strategy ZSTD_fast set to 1 tools : decodecorpus can generate random dictionary-compressed samples, by Paul Cruz new : contrib/seekable_format, demo and API, by Sean Purcell changed : contrib/linux-kernel, updated version and license, by Nick Terrell
Diffstat (limited to 'archivers/zstd')
-rw-r--r--archivers/zstd/Makefile18
-rw-r--r--archivers/zstd/PLIST3
-rw-r--r--archivers/zstd/distinfo12
-rw-r--r--archivers/zstd/patches/patch-Makefile14
4 files changed, 25 insertions, 22 deletions
diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile
index ef2551a10c2..4e3f25a1b07 100644
--- a/archivers/zstd/Makefile
+++ b/archivers/zstd/Makefile
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.7 2017/04/20 13:45:52 jperkin Exp $
+# $NetBSD: Makefile,v 1.8 2017/07/22 10:49:07 adam Exp $
-DISTNAME= zstd-1.1.4
+DISTNAME= zstd-1.3.0
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_GITHUB:=facebook/}
GITHUB_TAG= v${PKGVERSION_NOREV}
@@ -10,13 +10,15 @@ HOMEPAGE= http://www.zstd.net/
COMMENT= Fast real-time compression algorithm
LICENSE= modified-bsd
-USE_TOOLS+= gmake pkg-config
-USE_LANGUAGES+= c c++
-MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1
-MAKE_FLAGS+= INSTALL=${INSTALL:Q}
-MAKE_JOBS_SAFE= no
-
+USE_LANGUAGES= c c++
+USE_TOOLS+= gmake pkg-config
PKGCONFIG_OVERRIDE+= lib/libzstd.pc.in
+MAKE_FLAGS= MANDIR=${PREFIX}/${PKGMANDIR}/man1
+MAKE_FLAGS+= INSTALL=${INSTALL:Q}
+
+BUILD_TARGET= allmost
+TEST_TARGET= test
+.include "../../archivers/xz/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/archivers/zstd/PLIST b/archivers/zstd/PLIST
index d4f54c40a04..1289716e8c2 100644
--- a/archivers/zstd/PLIST
+++ b/archivers/zstd/PLIST
@@ -1,9 +1,10 @@
-@comment $NetBSD: PLIST,v 1.3 2016/12/16 13:30:36 mef Exp $
+@comment $NetBSD: PLIST,v 1.4 2017/07/22 10:49:07 adam Exp $
bin/unzstd
bin/zstd
bin/zstdcat
bin/zstdgrep
bin/zstdless
+bin/zstdmt
include/zbuff.h
include/zdict.h
include/zstd.h
diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo
index 8d23d046f5f..d8e9d3e5cb3 100644
--- a/archivers/zstd/distinfo
+++ b/archivers/zstd/distinfo
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.8 2017/04/20 13:45:52 jperkin Exp $
+$NetBSD: distinfo,v 1.9 2017/07/22 10:49:07 adam Exp $
-SHA1 (zstd-1.1.4.tar.gz) = 42ebbcaae6ef38ae3a5955d9e84bc5984dbba7a1
-RMD160 (zstd-1.1.4.tar.gz) = f6b1a8308b1dc4f4b5831f4787e431e57303246a
-SHA512 (zstd-1.1.4.tar.gz) = 8d18635494a584d13ab29645af5f20b6c1d2fb72895854c381c783b6fda0950575632d04a72e6901ae178535d5f6319ab25fdb097ef8c6db559d60acf558a437
-Size (zstd-1.1.4.tar.gz) = 923381 bytes
-SHA1 (patch-Makefile) = 8f7ce39f581b2f0c880c5e2f9458903436bcc914
+SHA1 (zstd-1.3.0.tar.gz) = 1b254a1a7092886c7e17957b5f672b8c1b972b08
+RMD160 (zstd-1.3.0.tar.gz) = e004c4c6ed204e5e3583985e1debbedba0ded8e0
+SHA512 (zstd-1.3.0.tar.gz) = 5eb9e001e14d3342e76eb57b672c636fd56839ba8fc0ba9a751484ea93389c72c494ad2125dc2f9be1f72481f3af34568477123f7e9d3c7504e061e4c083cb30
+Size (zstd-1.3.0.tar.gz) = 1469911 bytes
+SHA1 (patch-Makefile) = 2ed949f27dd1443656d9d32a7494d2168e48ce37
SHA1 (patch-lib_Makefile) = 79a5e99595f4d7a124fc012cc6893701f8143685
diff --git a/archivers/zstd/patches/patch-Makefile b/archivers/zstd/patches/patch-Makefile
index beb98c7f301..c0ab6415073 100644
--- a/archivers/zstd/patches/patch-Makefile
+++ b/archivers/zstd/patches/patch-Makefile
@@ -1,18 +1,18 @@
-$NetBSD: patch-Makefile,v 1.4 2017/04/20 13:45:52 jperkin Exp $
+$NetBSD: patch-Makefile,v 1.5 2017/07/22 10:49:07 adam Exp $
Enable the "install" target on all OS.
---- Makefile.orig 2017-03-16 00:31:40.000000000 +0000
+--- Makefile.orig 2017-07-05 18:05:17.000000000 +0000
+++ Makefile
-@@ -104,7 +104,6 @@ clean:
+@@ -108,7 +108,6 @@ clean:
#------------------------------------------------------------------------------
# make install is validated only for Linux, OSX, Hurd and some BSD targets
#------------------------------------------------------------------------------
--ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD))
- HOST_OS = POSIX
- .PHONY: install uninstall travis-install clangtest gpptest armtest usan asan uasan
+-ifneq (,$(filter $(shell uname),Linux Darwin GNU/kFreeBSD GNU FreeBSD DragonFly NetBSD MSYS_NT))
-@@ -258,7 +257,6 @@ gpp6install: apt-add-repo
+ 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