./archivers/zstd, Fast real-time compression algorithm

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.4.8, Package name: zstd-1.4.8, Maintainer: pkgsrc-users

Zstd, short for Zstandard, is a fast lossless compression algorithm,
targeting real-time compression scenarios at zlib-level and better
compression ratios.


Required to run:
[archivers/lz4]

Required to build:
[pkgtools/cwrappers]

Master sites:

SHA1: e3027d788b964429c773fab05e000061dc6eb3f6
RMD160: 94aa90fff2a52a5c0314a19d2a59903ac760eada
Filesize: 1773.971 KB

Version history: (Expand)


CVS history: (Expand)


   2021-02-27 17:40:59 by Thomas Klausner | Files touched by this commit (4)
Log message:
zstd: add more patches to let test runs progress further.
   2021-02-11 11:36:22 by Nia Alarie | Files touched by this commit (1)
Log message:
zstd: Add link to upstream PR
   2021-02-11 11:15:51 by Thomas Klausner | Files touched by this commit (1)
Log message:
zstd: add upstream bug report about a test problem
   2021-02-11 10:47:24 by Nia Alarie | Files touched by this commit (1)
Log message:
zstd: Use -n in NetBSD md5 to match GNU coreutils.
   2021-02-11 10:29:50 by Nia Alarie | Files touched by this commit (1)
Log message:
zstd: Use base md5 program where possible, avoiding coreutils.

PR pkg/55989
   2021-01-05 08:38:22 by Thomas Klausner | Files touched by this commit (1)
Log message:
zstd: still not make-jobs safe

Add link to upstream bug report
   2021-01-03 15:55:51 by Adam Ciarcinski | Files touched by this commit (6) | Package updated
Log message:
zstd: updated to 1.4.8

v1.4.8
hotfix: wrong alignment of an internal buffer

v1.4.7
perf: stronger --long mode at high compression levels
perf: stronger --patch-from at high compression levels, thanks to --long improvements
perf: faster dictionary compression at medium compression levels
perf: small speed & memory usage improvements for ZSTD_compress2()
perf: improved fast compression speeds with Visual Studio
cli : Set nb of threads with environment variable ZSTD_NBTHREADS
cli : accept decompressing files with *.zstd suffix
cli : provide a condensed summary by default when processing multiple files
cli : fix : stdin input no longer confused as user prompt
cli : improve accuracy of several error messages
api : new sequence ingestion API
api : shared thread pool: control total nb of threads used by multiple \ 
compression jobs
api : new ZSTD_getDictID_fromCDict()
api : zlibWrapper only uses public API, and is compatible with dynamic library
api : fix : multithreaded compression has predictable output even in special cases
api : fix : dictionary compression correctly respects dictionary compression level
build: fix cmake script when using path with spaces
build: improved compile-time detection of aarch64/neon platforms
build: Fix building on AIX 5.1
build: compile paramgrill with cmake on Windows, requested by @mirh
doc : clarify repcode updates in format specification

v1.4.6
fix : Always return dstSize_tooSmall when that is the case
fix : Fix ZSTD_initCStream_advanced() with static allocation and no dictionary
perf: Improve small block decompression speed by 20%+
perf: Reduce compression stack usage by 1 KB
perf: Improve decompression speed by improving ZSTD_wildcopy
perf: Improve histogram construction
cli : Add --output-dir-mirror option
cli : Warn when (de)compressing multiple files into a single output
cli : Improved progress bar and status summary when (de)compressing multiple files
cli : Call stat less often
cli : Allow --patch-from XXX and --filelist XXX in addition to --patch-from=XXX \ 
and --filelist=XXX
cli : Allow --patch-from to compress stdin with --stream-size
api : Do not install zbuff.h, since it has long been deprecated
api : Fix ZSTD_CCtx_setParameter() with ZSTD_c_compressionLevel to make 0 mean \ 
default level
api : Rename ZSTDMT_NBTHREADS_MAX to ZSTDMT_NBWORKERS_MAX
build: Install pkg-config file with CMake and MinGW
build: Install DLL with CMake on Windows
build: Fix DLL install location with CMake
build: Add ZSTD_NO_UNUSED_FUNCTIONS macro to hide unused functions
build: Add ZSTD_NO_INTRINSICS macro to avoid explicit intrinsics
build: Add STATIC_BMI2 macro for compile time detection of BMI2 on MSVC
build: Fix -Wcomma warnings
build: Remove distutils requirement for meson build
build: Fix cli compilation with uclibc
build: Fix cli compilation without st_mtime
build: Fix shadowing warnings in library
build: Fix single file library compilation with Enscripten
misc: Improve single file library and include dictBuilder
misc: Allow compression dictionaries with missing symbols
misc: Add freestanding translation script in contrib/freestanding_lib
misc: Collect all of zstd's libc dependencies into zstd_deps.h
doc : Add ZSTD_versionString() to manual
doc : Fix documentation for ZSTD_CCtxParams_setParameter()
   2020-10-01 09:25:06 by Michael Forney | Files touched by this commit (3) | Package updated
Log message:
zstd: fix library detection with GNU make 4.3

GNU make 4.3 no longer uses \ to escape # found inside function
invocations, so the \ gets passed through to the printf commands,
causing library detection to fail.

lib/Makefile is patched on pkgsrc by copying detection logic from
programs/Makefile, which has since been updated[0] to support make
4.3 using the compatibility trick suggested in the GNU make changelog.

In particular, since we modify programs/Makefile to link the zstd
binary with the libzstd shared library, failure to detect pthread
in lib/Makefile results in a zstd built with ZSTD_MULTITHREAD to
be linked against a libzstd built without it. This causes "Unsupported
parameter" errors when it is used (except with --single-thread).

So, apply the fix for programs/Makefile to lib/Makefile as well.

[0] https://github.com/facebook/zstd/commit … 154f3f6db4