aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/zstd
Commit message (Collapse)AuthorAgeFilesLines
* MFV: zstd 1.5.7.Xin LI2026-04-081-0/+2
| | | | | MFC after: 2 weeks Relnotes: yes
* zstd: Move to a new zstd packageLexi Winter2026-01-061-0/+2
| | | | | | | | | | | | | | | | | | Zstd is a discrete, self-contained system component. To match how we package zlib, bzip2 and xz, move it to its own package, with a separate lib package. Add the new package to the minimal set, since this is a core component that users expect to be installed. This change adds a new package to the system so, until we have a proper policy on how to handle this in release/stable branches, it should not be MFC'd. MFC after: never Reviewed by: bapt Sponsored by: https://www.patreon.com/bsdivy Differential Revision: https://reviews.freebsd.org/D53603
* src: Use gnu17 as the default C standard for userland instead of gnu99Minsoo Choo2025-02-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | Tracking newer versions of C (and C++) permits assuming newer language features in the base system. Some C11 extensions are already used in the base system but implemented on top of GNU C extensions such as _Alignas and _Static_assert. In some cases the fallback versions in cdefs.h are more limited than the native C11 extensions. Even though C11 is the next major version of C, C17 is chosen instead since C17 does not add new features to C but merely fixes defects in C11. It is also well supported by a wide range of clang (7.0.0+) and GCC (8.1+) versions. Along with changing the default, this change also removes explicit requests for c11 via the CSTD variable in various Makefiles. Libraries and binaries for ZFS continue to use c99. PR: 284039 (exp-run) Reviewed by: imp, arichardson, emaste Differential Revision: https://reviews.freebsd.org/D43237
* Remove residual blank line at start of MakefileWarner Losh2024-07-151-1/+0
| | | | | | | This is a residual of the $FreeBSD$ removal. MFC After: 3 days (though I'll just run the command on the branches) Sponsored by: Netflix
* Remove $FreeBSD$: one-line sh patternWarner Losh2023-08-162-2/+0
| | | | Remove /^\s*#[#!]?\s*\$FreeBSD\$.*$\n/
* Update/fix Makefile.depend for userlandSimon J. Gerraty2023-04-191-2/+0
|
* MFV: zstd 1.5.2Allan Jude2023-01-271-1/+2
| | | | | | | | | | | | Merge commit 'b3392d84da5bf2162baf937c77e0557f3fd8a52b' into zstd_1.5.2 full changelog: https://github.com/facebook/zstd/compare/v1.4.8...v1.5.2 Updated sys/kern/subr_compressor.c to new API MFC after: 3 days Relnotes: yes Sponsored by: Klara, Inc.
* zstd: build with C11Mateusz Guzik2022-03-011-0/+1
| | | | | | | | This enables thread-aware timers which in turn fixes benchmark result reports. Reviewed by: cem Differential Revision: https://reviews.freebsd.org/D34238
* Only set WARNS if not definedKyle Evans2020-09-111-1/+1
| | | | | | | | | | | | | This would allow interested parties to do experimental runs with an environment set appropriately to raise all the warnings throughout the build; e.g. env WARNS=6 NO_WERROR=yes buildworld. Not currently touching the numerous instances in ^/tools. MFC after: 1 week Notes: svn path=/head/; revision=365631
* Update to Zstandard 1.4.0Conrad Meyer2019-04-191-0/+1
| | | | | | | | | | | The full release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.4.0 Relnotes: yes Notes: svn path=/head/; revision=346364
* Update to Zstandard 1.3.8Conrad Meyer2018-12-291-1/+4
| | | | | | | | | | | | | | | | | | | | | | This merge brings in a couple new files, which needed to be attached to the build; a new dependency on <limits.h>, which must be stubbed; and a name change in the Context parameter constants, from ZSTD_p_foo to ZSTD_c_foo. Significantly, it fixes a kernel build error with GCC where floating-point functions were included in the kernel build, by hiding them under the same compile-time #ifdef that already covered their invocation. That issue was introduced to FreeBSD in the 1.3.7 update and tracked upstream here: https://github.com/facebook/zstd/issues/1386 The full 1.3.8 release notes can be found on Github: https://github.com/facebook/zstd/releases/tag/v1.3.8 Relnotes: yes Notes: svn path=/head/; revision=342598
* Use a script wrapper for <compress>grepBaptiste Daroussin2018-04-251-1/+0
| | | | | | | | | | | | | | | | | | | | | Import the wrapper script from zstdgrep (written by wiz@netbsd.org) Modify it to support more than just zstd (adding support for gzip, lzma, xz and bzip2) Write a simple manpage dedicated for it. Only use that new wrapper both for gnu grep and bsd grep Next step will be removing code related to compression format from bsdgrep Reviewed by: kevans Approved by: kevans MFC after: 1 week Differential Revision: https://reviews.freebsd.org/D15193 Notes: svn path=/head/; revision=332993
* Move zstd from contrib to sys/contrib so it can be used in theWarner Losh2017-11-141-6/+6
| | | | | | | | | | kernel. Adjust the Makefiles that referenced it to the new path. Sponsored by: Netflix OK'd by: cem@ and AllanJude@ Notes: svn path=/head/; revision=325792
* DIRDEPS_BUILD: Update dependencies.Bryan Drewery2017-10-311-1/+0
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=325188
* DIRDEPS_BUILD: Connect new directories.Bryan Drewery2017-05-091-0/+20
| | | | | | | Sponsored by: Dell EMC Isilon Notes: svn path=/head/; revision=317999
* Build zstandard with threading enabledBaptiste Daroussin2017-05-061-1/+2
| | | | Notes: svn path=/head/; revision=317879
* Add a zstdmt which is equivalent as running zstd -T0Baptiste Daroussin2017-05-061-2/+4
| | | | Notes: svn path=/head/; revision=317878
* Import Zstandard 1.2.0Baptiste Daroussin2017-05-061-1/+2
| | | | | | | | | Among new things it is now threaded by default, use zstd -T# to chose the number of threads not that -T0 will automatically determine the number of threads based on the number of CPU online. Notes: svn path=/head/; revision=317877
* Install the zstdgrep shell wrapperBaptiste Daroussin2017-04-151-0/+1
| | | | Notes: svn path=/head/; revision=316985
* Add forgotten links for zstdcat and unzstdBaptiste Daroussin2017-04-151-0/+4
| | | | Notes: svn path=/head/; revision=316983
* Import zstandard 1.1.4 in baseBaptiste Daroussin2017-04-151-0/+21
zstandard is a new compression library/tool which is very fast at compression/decompression For now import as a private library Notes: svn path=/head/; revision=316978