diff --git a/archivers/zstd/Makefile b/archivers/zstd/Makefile index 7b140cbf7344..0708ccd9168d 100644 --- a/archivers/zstd/Makefile +++ b/archivers/zstd/Makefile @@ -1,37 +1,37 @@ # Created by: John Marino PORTNAME= zstd -PORTVERSION= 1.4.9 +PORTVERSION= 1.5.0 CATEGORIES= archivers MASTER_SITES= https://github.com/facebook/zstd/releases/download/v${PORTVERSION}/ MAINTAINER= sunpoet@FreeBSD.org COMMENT= Fast real-time compression algorithm LICENSE= BSD3CLAUSE GPLv2 LICENSE_COMB= dual LICENSE_FILE_BSD3CLAUSE=${WRKSRC}/../../LICENSE LICENSE_FILE_GPLv2= ${WRKSRC}/../../COPYING TEST_DEPENDS= gmd5sum:sysutils/coreutils USES= meson pkgconfig python:3.4+,build shebangfix MESON_ARGS= -Ddefault_library=both USE_LDCONFIG= yes WRKSRC_SUBDIR= build/meson SHEBANG_FILES= *.py PLIST_SUB= PORTVERSION=${PORTVERSION} OPTIONS_DEFINE= LZ4 OPTIMIZED_CFLAGS TEST OPTIONS_DEFAULT=LZ4 LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4 LZ4_MESON_ENABLED= lz4 LZ4_USES= localbase:ldflags OPTIMIZED_CFLAGS_VARS= CFLAGS+=-O3 TEST_MESON_TRUE= bin_tests .include diff --git a/archivers/zstd/distinfo b/archivers/zstd/distinfo index 3d67cfc04697..23d07bb2be8f 100644 --- a/archivers/zstd/distinfo +++ b/archivers/zstd/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1618319924 -SHA256 (zstd-1.4.9.tar.gz) = 29ac74e19ea28659017361976240c4b5c5c24db3b89338731a6feb97c038d293 -SIZE (zstd-1.4.9.tar.gz) = 1821109 +TIMESTAMP = 1621183178 +SHA256 (zstd-1.5.0.tar.gz) = 5194fbfa781fcf45b98c5e849651aa7b3b0a008c6b72d4a0db760f3002291e94 +SIZE (zstd-1.5.0.tar.gz) = 1851389 diff --git a/archivers/zstd/files/patch-lib-meson.build b/archivers/zstd/files/patch-lib-meson.build deleted file mode 100644 index 7b78395cc8d7..000000000000 --- a/archivers/zstd/files/patch-lib-meson.build +++ /dev/null @@ -1,12 +0,0 @@ -Obtained from: https://github.com/facebook/zstd/commit/edf2b1176df9302f6023d129e6379ffbe781885c - ---- lib/meson.build.orig 2021-03-02 22:20:57 UTC -+++ lib/meson.build -@@ -22,6 +22,7 @@ libzstd_sources = [join_paths(zstd_rootdir, 'lib/commo - join_paths(zstd_rootdir, 'lib/common/threading.c'), - join_paths(zstd_rootdir, 'lib/common/pool.c'), - join_paths(zstd_rootdir, 'lib/common/zstd_common.c'), -+ join_paths(zstd_rootdir, 'lib/common/zstd_trace.c'), - join_paths(zstd_rootdir, 'lib/common/error_private.c'), - join_paths(zstd_rootdir, 'lib/common/xxhash.c'), - join_paths(zstd_rootdir, 'lib/compress/hist.c'), diff --git a/archivers/zstd/pkg-descr b/archivers/zstd/pkg-descr index c0d8a8a8acc5..f4c072424c10 100644 --- a/archivers/zstd/pkg-descr +++ b/archivers/zstd/pkg-descr @@ -1,12 +1,9 @@ -Zstd, short for Zstandard, is a real-time compression algorithm providing -high compression ratios. It offers a very wide range of compression vs. -speed trade-offs while being backed by a very fast decoder. It offers -a special mode for small data called "dictionary compression" and it can -create dictionaries from any sample set. Zstd is BSD-licensed. - -Using Izbench on the Silesia compression corpus, zstd ranked at the -top with a compression ratio of 2.877, a compression rate of 325 Mb/s, -and a decompression rate of 325. Zlib followed at 2.730, 95 Mb/s (C) -and 360 Mb/s (D). See WWW page for the full benchmark results. +Zstandard, or zstd as short version, is a fast compression algorithm, providing +high compression ratios. It also offers a special mode for small data, called +dictionary compression. The reference library offers a very wide range of speed +/ compression trade-off, and is backed by an extremely fast decoder. Zstandard +library is provided as open source software using a BSD license. Its format is +stable and published as IETF RFC 8878. WWW: https://facebook.github.io/zstd/ +WWW: https://github.com/facebook/zstd