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.
===> The following configuration options are available for zstd-1.5.7_2:
LZ4=on: LZ4 compression support
OPTIMIZED_CFLAGS=off: Use extra compiler optimizations
===> Use 'make config' to modify these settings
archivers/zstd: remove lz4, fix manpages
This shortens the requisite path for lang/python314,
and we have a separate archivers/lz4 port.
This also updates the manual pages to v1.5.7, the
release tarball missed updating them, see
<https://github.com/facebook/zstd/releases/tag/v1.5.7>
PR: 290739
Approved by: maintainer timeout (sunpoet@, 15 days)
archivers/zstd: Clean up 72ad532057c9f9fb6fa370c80f663c005e9dd021
- Use WRKSRC instead of BUILD_WRKSRC
- Use SUB_FILES/SUB_LIST instead of a bunch of REINPLACE_CMD
- Use FILESDIR instead of PATCHDIR
- Clean up files/*:
- Remove unnecessary file: zstdConfig.cmake is already in the source tarball
- Rename patch file: Remove unnecessary .in suffix
archivers/zstd: Add CMake config files and adjust Makefile
- Use upstream's short test for "make test"
- Use verbose output by default during build
* Tweak Makefile to follow Porters Handbook more closely
* Install CMake files (taken from CMake build framework)
PR: 267652
Reported by: fluffy
Approved by: portmgr (maintainer timeout, 1+ month)
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
cleanup: remove support for FreeBSD 13.0 which expired today.
- Mk/bsd.port.mk: mark 13.0 as unsupported
- Tools/scripts/portsearch: Drop support for FreeBSD <= 4
- archivers/zstd: revert "Fix build on FreeBSD 13.0"
- deskutils/xdg-desktop-portal: remove check for 13.0
- devel/libpeas: remove outdated comment
- editors/imhex: remove compatibility for 13.0
- editors/libreoffice: remove compatibility for 13.0
- editors/openoffice-4: remove compatibility for 13.0
- editors/openoffice-devel: remove compatibility for 13.0
- emulators/linux_base-c7: remove compatiblity for 13.0
- graphics/drm-kmod: remove detection for 13.0
- graphics/gpu-firmware-amd-kmod: do not check 13.0 anymore
- graphics/linux-c7-libdrm: remove support for 13.0
(Only the first 15 lines of the commit message are shown above )
archivers/zstd: Change build system from meson to gmake
- Use BINARY_ALIAS and remove TEST_DEPENDS: md5sum from base system works fine
- Remove TEST option
- Bump PORTREVISION for package change
from README.md [1]:
make is the officially maintained build system of this project. All other build
systems are "compatible" and 3rd-party maintained, they may feature small
differences in advanced options. When your system allows it, prefer using make
to build zstd and libzstd.
Reference: https://github.com/facebook/zstd/blob/dev/README.md#build-instructions
[1]
archivers/zstd: Add LTO option
Add LTO option, this increases performance between 5-15% on my test
systems (arm64 and amd64) with optimized cflags (-03) enabled.
LTO is also enabled by default on Alpine Linux and OpenMandriva
PR: 265605
Approved by: sunpoet (maintainer timeout, 2+ weeks)
archivers: remove 'Created by' lines
A big Thank You to the original contributors of these ports:
* Aaron Dalton <aaron@FreeBSD.org>
* Akinori MUSHA aka knu <knu@idaemons.org>
* Albert Vernon <f3cun3c02@sneakemail.com>
* Alex Dupre <ale@FreeBSD.org>
* Alex Samorukov <samm@freebsd.org>
* Alexander Kuehn <freebsd@nagilum.org>
* Alexander Logvinov <ports@logvinov.com>
* Alexander Zhuravlev <zaa@zaa.pp.ru>
* Alexey Dokuchaev <danfe@FreeBSD.org>
* Alexey Dokuchaev <danfe@regency.nsu.ru>
* Anders Nordby <anders@FreeBSD.org>
(Only the first 15 lines of the commit message are shown above )
Change build system from gmake to meson
- Use upstream release tarball
- Add OPTIMIZED_CFLAGS and TEST options
- Remove valgrind test
- Bump PORTREVISION for package change
PR: 247100
Submitted by: Daniel Engberg <daniel.engberg.lists@pyret.net>
Fix LZ4 option
- Bump PORTREVISION for package change
Duplicate USES=localbase blocks lz4 detection.
Before this commit, it fails to detect liblz4 as follows:
==> no liblz4, building zstd without .lz4 support
Build and install pzstd
- While I'm here:
- Use MAKE_CMD instead of GMAKE
- Use post-install: instead of post-stage:
- Respect PREFIX
- Bump PORTREVISION for package change
PR: 218869
Submitted by: eugen
archivers/zstd: Upgrade version 1.1.1 => 1.1.2
Also revert r425457, since upstream fixed the jobs unsafety.
Approved by: marino (maintainer)
MFH: 2016Q4
archivers/zstd is no longer jobs safe.
I'm not sure what happened since the previous release, but now object
files are used before they are created (e.g. decompress directory)
archivers/zstd: Upgrade version 0.8.1 => 1.0.0
The copyright of zstd has been transferred to Facebook as part of this
v1.0 release. It also comes with a patent grant and a new public
streaming API (previously the API was in flux and only available on
static builds).
archivers/zstd: Mark broken on FreeBSD 9
The base compiler on FreeBSD 9 doesn't have __builtin_bswap32 and
__builtin_bswap64 defined which causes a build failure.
Reported by: pkg-fallout
add new port archivers/zstd
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.