CVE and update status of the FreeBSD ports tree3,295 unaddressed CVEs in 670 portsAll times are CET
Port details

archivers/zstd 1.5.7_2

Fast real-time compression algorithm

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 1.5.7_2
Upstream
up to date
Last update
to 1.5.7_2 · 21c73a7660
Quarterly
2026Q4: 1.5.7_2
WWW
https://facebook.github.io/zstd/
Links
cgit · VuXML · Report wrong data

Install

Package
# pkg install zstd
installs 1.5.7_2 from latest; from quarterly (2026Q4) 1.5.7_2
Port
# cd /usr/ports/archivers/zstd && make install clean
# make -C /usr/ports/archivers/zstd config  # change options first
Size
511 KiB download · 2.9 MiB installed
Depends on
archivers/liblz4 1.10.0_2,1
License
BSD3CLAUSE or GPLv2
Options
1 of 2 on in the package: LZ4
Show the 1 options that are off
OPTIMIZED_CFLAGS

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 161.5.7_21.5.7_2–
FreeBSD 151.5.7_21.5.7_2–
FreeBSD 141.5.7_21.5.7_21.5.7_2

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 151.5.7_21.5.7_2–
FreeBSD 141.5.7_21.5.7_21.5.7_2

version as in the ports tree (latest) or the most common one (quarterly) · different version · ✗ not built · – no packages for this platform. Package sets that have not been rebuilt for 60 days are left out.

Unaddressed and VuXML only (0)

No unaddressed CVE and nothing reported by pkg audit for the packaged version 1.5.7_2.

Fixed (0)

No VuXML entries for this package.

Problem reports (0) · open in Bugzilla, most recently changed first

None.

Commits (71)

Po-Chuan Hsieh (sunpoet) · 1.5.7_2
archivers/zstd: Add LZ4 option

- Revert lz4 change in 4f313c8fd2f40d0e16492613e593a40724102137
- Bump PORTREVISION for dependency change
21c73a7660
Matthias Andree (mandree) · 1.5.7_1
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)
4f313c8fd2
Bernhard Froehlich (decke) · 1.5.7
archivers/zstd: Add CPE information

Approved by:	portmgr (blanket)
adeb5fc3e0
Po-Chuan Hsieh (sunpoet) · 1.5.7
archivers/zstd: Clean up Makefile

MANDIR setting for FreeBSD is merged to upstream.

Reference:	https://github.com/facebook/zstd/commit/f5e2996dd3e5c294d9089171d15023731be1a506
33ebd552d6
Po-Chuan Hsieh (sunpoet) · 1.5.7
archivers/zstd: Update to 1.5.7

Changes:	https://github.com/facebook/zstd/releases
d733503576
Gleb Smirnoff (glebius) · 1.5.6
archivers/zstd: fix WITH_DEBUG build

Fixes:	b594c775ed2dbae25e509d198c462940f0dc9d5c
7051dd7f8f
Po-Chuan Hsieh (sunpoet) · 1.5.6
archivers/zstd: Update to 1.5.6

Changes:	https://github.com/facebook/zstd/releases
b594c775ed
Po-Chuan Hsieh (sunpoet) · 1.5.5_1
archivers/zstd: Sort MAKE_ENV
898d7e24b3
Muhammad Moinur Rahman (bofh) · 1.5.5_1
archivers/zstd: Impelled to share/man

Approved by:    portmgr (blanket)
378c661e05
Po-Chuan Hsieh (sunpoet) · 1.5.5
archivers/zstd: Update to 1.5.5

Changes:	https://github.com/facebook/zstd/releases
65881ff36b
Po-Chuan Hsieh (sunpoet) · 1.5.4_2
archivers/zstd: Fix static library

- Bump PORTREVISION for package change

It fixes the build of dependent ports, e.g. devel/qt6-base.
454e3c91ae
Po-Chuan Hsieh (sunpoet) · 1.5.4_1
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
57d2530c89
Daniel Engberg (diizzy) · 1.5.4_1
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)
72ad532057
Po-Chuan Hsieh (sunpoet) · 1.5.4
archivers/zstd: Update to 1.5.4

Changes:	https://github.com/facebook/zstd/releases
99f38d73ca
Po-Chuan Hsieh (sunpoet) · 1.5.2_1
archivers/zstd: Update WWW and clean up pkg-descr
7593d64d4f
Stefan Eßer (se) · 1.5.2_1
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)
fb16dfecae
Stefan Eßer (se) · 1.5.2_1
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.

This commit implements such a proposal and moves one of the WWW: entries
of each pkg-descr file into the respective port's Makefile. A heuristic
attempts to identify the most relevant URL in case there is more than
one WWW: entry in some pkg-descr file. URLs that are not moved into the
Makefile are prefixed with "See also:" instead of "WWW:" in the pkg-descr
files in order to preserve them.

There are 1256 ports that had no WWW: entries in pkg-descr files. These
ports will not be touched in this commit.

The portlint port has been adjusted to expect a WWW entry in each port
Makefile, and to flag any remaining "WWW:" lines in pkg-descr files as
deprecated.

Approved by:		portmgr (tcberner)
b7f05445c0
Rene Ladan (rene) · 1.5.2_1
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
- math/igraph: remove support for 13.0
- net/asterisk16: drop support for ancient FreeBSD versions
- net/asterisk18: drop support for ancient FreeBSD versions
- security/openssl*: drop now obsolete patches
- sysutils/bhyve+: drop support for FreeBSD 13.0
- sysutils/ebsnvme-id: drop support for FreeBSD 13.0
- sysutils/openzfs: remove detection of FreeBSD 13.0
- sysutils/openzfs-kmod: drop detection of FreeBSD 13.0
- www/firefox: generalize pkg-message a bit regarding hgame(4)
- x11/xorg-cf-files: remove support for FreeBSD < 6 (yes, pre-2008)

While here, regenerate patches for:
- x11/xorg-cf-files
- net/asterisk16
- net/asterisk18

While here, remove a stale $Id$ from Tools/scripts/portsearch

Differential Revision: https://reviews.freebsd.org/D36233

Reviewed by:	office (fluffy), x11 (manu), arrowd, brnrd, cperciva, freqlabs, imp, jbeich, madpilot, nobutaka
2a09e5b4da
Po-Chuan Hsieh (sunpoet) · 1.5.2_1
archivers/zstd: Use MAKE_ENV instead of patch files
3a0193f087
Po-Chuan Hsieh (sunpoet) · 1.5.2_1
archivers/zstd: Fix build on FreeBSD 13.0

md5sum is not available on FreeBSD 13.0 which reaches its EoL on 2022-08-31.

Notified by:	jbeich
f23fdb0f73
Po-Chuan Hsieh (sunpoet) · 1.5.2_1
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]
538a001f90
Daniel Engberg (diizzy) · 1.5.2
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)
5a2f556ccb
Tobias C. Berner (tcberner) · 1.5.2
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>
  *  Andreas Klemm <andreas@klemm.gtn.com>
  *  Andreev Maxim
  *  Andrew Pantyukhin <infofarmer@FreeBSD.org>
  *  Andrey Chernov <ache@FreeBSD.org>
  *  Andrey Kostenko <andrey@kostenko.name>
  *  Anes Mukhametov <anes@anes.su>
  *  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
  *  Ayumi M <ayu@commun.jp>
  *  Carsten Larsen <cs@innolan.dk>
  *  Chin-San Huang <chinsan.tw@gmail.com>
  *  Chris D. Faulhaber <jedgar@FreeBSD.org>
  *  Chris Larsen <darth@vader.dk>
  *  Christopher Key <cjk32@cam.ac.uk>
  *  Cyrille Lefevre <cyrille.lefevre@laposte.net>
  *  Dmitry Sivachenko <demon@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@FreeBSD.org>
  *  Emanuel Haupt <ehaupt@critical.ch>
  *  Felix Palmen <felix@palmen-it.de>
  *  Gabor Kovesdan <gabor@FreeBSD.org>
  *  Gea-Suan Lin (gslin@ccca.nctu.edu.tw)
  *  Gea-Suan Lin <gslin@gslin.org>
  *  George Reid <greid@ukug.uk.freebsd.org>
  *  Greg Lewis <glewis@FreeBSD.org>
  *  Hsin-Han You <hhyou@cs.nctu.edu.tw>
  *  Hye-Shik Chang
  *  Hye-Shik Chang <perky@FreeBSD.org>
  *  Igor Pokrovsky <tiamat@telegraph.spb.ru>
  *  Jaap Boender <jaapb@kerguelen.org>
  *  Jean-Yves Lefort <jylefort@brutele.be>
  *  Jeff Burchell <toxic@doobie.com>
  *  Jeffrey H. Johnson <CPE1704TKS@bellsouth.net>
  *  Jerry Hicks
  *  Joao Carlos Mendes Luis <jonny@jonny.eng.br>
  *  John Marino <marino@FreeBSD.org>
  *  José García Juanino <jjuanino@gmail.com>
  *  Juergen Lock <nox@jelal.kn-bremen.de>
  *  Kevin Golding <ports@caomhin.org>
  *  Konstantin Reznichenko <kot@premierbank.dp.ua>
  *  Koop Mast <kwm@FreeBSD.org>
  *  Kubilay Kocak <koobs@FreeBSD.org>
  *  Lars Thegler <lth@FreeBSD.org>
  *  Mario Sergio Fujikawa Ferreira <lioux@FreeBSD.org>
  *  Mark Felder <feld@FreeBSD.org>
  *  Mark Kane <mark@mkproductions.org>
  *  Mark Pulford <mark@kyne.com.au>
  *  Martin Matuska <mm@FreeBSD.org>
  *  Martin Wilke <miwi@FreeBSD.org>
  *  Matteo Cypriani <mcy@lm7.fr>
  *  Max Khon <fjoe@FreeBSD.org>
  *  Maxim Sobolev <sobomax@FreeBSD.org>
  *  Melvyn Sopacua <melvyn@magemana.nl>
  *  Miguel Mendez <flynn@energyhq.homeip.net>
  *  Nathan Ahlstrom <nra@FreeBSD.org>
  *  Nicola Vitale <nivit@FreeBSD.org>
  *  Patrick Seal <patseal@hyperhost.net>
  *  Pav Lucistnik <pav@FreeBSD.org>
  *  Per Wigren
  *  Philippe Casidy <pcasidy@casidy.com>
  *  Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Poul-Henning Kamp <phk@FreeBSD.org>
  *  Radim Kolar
  *  Radim Kolar <hsn@filez.com>
  *  Radim Kolar <hsn@netmag.cz>
  *  Rainer Hurling <rhurlin@gwdg.de>
  *  Richard Gallamore <ultima@FreeBSD.org>
  *  Roman Shterenzon <roman@xpert.com>
  *  Ryan Steinmetz <zi@FreeBSD.org>
  *  Sam Lawrance <boris@brooknet.com.au>
  *  Sergey A. Osokin <osa@FreeBSD.org>
  *  Sergey Skvortsov <skv@protey.ru>
  *  Sir l33tname <sirl33tname@gmail.com>
  *  Stanislav Sedov <ssedov@mbsd.msk.ru>
  *  Stefan Esser <se@FreeBSD.org>
  *  Steve Wills <swills@FreeBSD.org>
  *  Steven Kreuzer <skreuzer@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
  *  Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
  *  Sylvio Cesar <sylvio@FreeBSD.org>
  *  TAKATSU Tomonari <tota@FreeBSD.org>
  *  Thierry Thomas <thierry@pompo.net>
  *  Thomas Abthorpe <thomas@goodking.ca>
  *  Thomas Gellekum <tg@FreeBSD.org>
  *  Vanilla I. Shu <vanilla@FreeBSD.org>
  *  Wen Heping <wenheping@gmail.com>
  *  Will Andrews <andrews@technologist.com>
  *  Yarodin <yarodin@gmail.com>
  *  Ying-Chieh Liao <ijliao@FreeBSD.org>
  *  Yuri Victorovich <yuri@rawbw.com>
  *  ache
  *  adamw
  *  antoine@FreeBSD.org
  *  bf <bf2006a@yahoo.com>
  *  chinsan <chinsan.tw@gmail.com>
  *  giffunip@asme.org
  *  gurkan@phys.ethz.ch
  *  iblis <iblis.dif01@nctu.edu.tw>
  *  ijliao
  *  jmz
  *  kwm@FreeBSD.org
  *  lbartoletti <lbartoletti@FreeBSD.org>
  *  mm
  *  ports@c0decafe.net <ports@c0decafe.net>
  *  samm@freebsd.org
  *  swhetzel@gmail.com
  *  will

With hat:	portmgr
1ced9d288a
Po-Chuan Hsieh (sunpoet) · 1.5.2
archivers/zstd: Use .tar.zst instead of .tar.gz
1723e3e0f7
Po-Chuan Hsieh (sunpoet) · 1.5.2
archivers/zstd: Cosmetic change
3c5bf9e44c
Po-Chuan Hsieh (sunpoet) · 1.5.2
archivers/zstd: Update to 1.5.2

Changes:	https://github.com/facebook/zstd/releases
87cab61e7b
Daniel Engberg (diizzy) · 1.5.1
archivers/zstd: Update to 1.5.1

Changelog: https://github.com/facebook/zstd/releases/tag/v1.5.1
Change PORTVERSION to DISTVERSION to follow Porters Handbook more
closely.

PR:		260599
Approved by:	sunpoet (maintainer timeout, 3+ weeks)
3bb8f5f58e
Po-Chuan Hsieh (sunpoet) · 1.5.0
archivers/zstd: Update to 1.5.0

- Update pkg-descr

Changes:	https://github.com/facebook/zstd/releases
7cb3066e8f
Po-Chuan Hsieh (sunpoet) · 1.4.9
archivers/zstd: Update to 1.4.9

Changes:	https://github.com/facebook/zstd/releases
e655bb4607
Mathieu Arnold (mat) · 1.4.8
Remove # $FreeBSD$ from Makefiles.
305f148f48
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.8
Update to 1.4.8

Changes:	https://github.com/facebook/zstd/releases
PR:		252569
Exp-run by:	antoine
29758f3839
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.5_1
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>
479b8ebb02
Alexey Dokuchaev (danfe) · 1.4.5
Sanitize COMMENT per Section 5.6 of the FreeBSD Porter's Handbook (part 7).
0f7042e5fe
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.5
Update to 1.4.5

Changes:	https://github.com/facebook/zstd/releases
15605b8c1c
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.4_1
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
2b82906c20
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.4
Update to 1.4.4

Changes:	https://github.com/facebook/zstd/releases
ba0f8560cd
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.3
Fix build with archivers/lzmalib installed

PR:		239432
Reported by:	<doctor@doctor.nl2k.ab.ca>
bfa7b6ce3f
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.3
Update to 1.4.3

Changes:	https://github.com/facebook/zstd/releases
3e8d0acd1b
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.2
Update to 1.4.2

Changes:	https://github.com/facebook/zstd/releases
862e4a2849
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.1
Update to 1.4.1

Changes:	https://github.com/facebook/zstd/releases
86467ac7a9
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.4.0
Update to 1.4.0

Changes:	https://github.com/facebook/zstd/releases
5a4b4de8b4
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.8
Update to 1.3.8

Changes:	https://github.com/facebook/zstd/releases
787f980bc1
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.7
Update to 1.3.7

Changes:	https://github.com/facebook/zstd/releases
f3f3f94739
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.6
Update to 1.3.6

Changes:	https://github.com/facebook/zstd/releases
39f527390e
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.5
Update to 1.3.5

Changes:	https://github.com/facebook/zstd/releases
9618ca3276
Baptiste Daroussin (bapt) · 1.3.4
Remove LIBDIR arguments which are now unneeded
bfe0211dba
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.4
Update to 1.3.4

Changes:	https://github.com/facebook/zstd/releases
1a95eb6475
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.3_1
Add LZ4 option

- Bump PORTREVISION for dependency and package change
f623a7d6a1
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.3
Update to 1.3.3

Changes:	https://github.com/facebook/zstd/releases
1c0df3c0bc
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.3.2
Update to 1.3.2

Changes:	https://github.com/facebook/zstd/releases
a1fec7193b