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

archivers/liblz4 1.10.0_2,1

LZ4 compression library, lossless and very fast

Port info

Maintainer
sunpoet@FreeBSD.org
Packages
latest: 1.10.0_2,1
Upstream
up to date
Last update
to 1.10.0_2,1 · 33aa21d507
Quarterly
2026Q4: 1.10.0_2,1
WWW
https://lz4.org/
Links
cgit · VuXML

Install

Package
# pkg install liblz4
installs 1.10.0_2,1 from latest; from quarterly (2026Q4) 1.10.0_2,1
Port
# cd /usr/ports/archivers/liblz4 && make install clean
# make -C /usr/ports/archivers/liblz4 config  # change options first
Size
178 KiB download · 763 KiB installed
Depends on
nothing
License
BSD2CLAUSE and GPLv2
Options
0 of 1 on in the package
Show the 1 options that are off
TEST

Packages by version and architecture

latest

FreeBSD versionamd64aarch64i386
FreeBSD 161.10.0_2,11.10.0_2,1–
FreeBSD 151.10.0_2,11.10.0_2,1–
FreeBSD 141.10.0_2,11.10.0_2,11.10.0_2,1

quarterly (2026Q4)

FreeBSD versionamd64aarch64i386
FreeBSD 151.10.0_2,11.10.0_2,1–
FreeBSD 141.10.0_2,11.10.0_2,11.10.0_2,1

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.10.0_2,1.

Fixed (0)

No VuXML entries for this package.

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

None.

Commits (50)

Po-Chuan Hsieh (sunpoet) · 1.10.0_2,1
archivers/liblz4: Cosmetic change

- Use = instead of +=
33aa21d507
Matthias Andree (mandree) · 1.10.0_2,1
archivers/liblz4: demote Python to a "test" dep

and improve comment near its declaration.
3373fa5c73
Matthias Andree (mandree) · 1.10.0_2,1
archivers/liblz4: fix multithreading and tests

- Add -pthread to CFLAGS/LDFLAGS and the needed #define

Reported by:	diizzy@

- Fix a bogus shell variable expansion using $$l when it should use $l
- Fix hard-coded "make" with GNU Makefiles BINARY_ALIAS it to ${GMAKE}
- For now, prevent Python 3.14 for tests, until we fully resolve
  the circular dependency. Let's investigate if we can unlink lz4
  from the zstd build (with its maintainer).

PR:             251183
PR:             290732
Approved by:    portmgr@ (just-fix-it blanket)
343be5b69c
Matthias Andree (mandree) · 1.10.0_1,1
archivers/liblz4: revert switch to meson

This partially reverts commit 7d6061f15551dcde40cf70fd743d631095360a23
made in the year 2020.

Reason: lang/python314 newly depends on archivers/zstd,
which depends on archivers/liblz4, so neither of the latter two
can use any Python to build lest we create a circular dependency
when Python 3.14 is made the default.

Note: make-based builds remain the documented way
to build/test lz4 1.10.0 in their primary documentation.

Note also that the meson build installed one file less than the
make-based build, which gets re-added, hence bumping PORTREVISION.

PR:		251183
PR:		290732
Approved by:	portmgr@ (just-fix-it blanket)
9942b0aef6
Po-Chuan Hsieh (sunpoet) · 1.10.0,1
archivers/liblz4: Remove USES=shebangfix
c9de568b20
Po-Chuan Hsieh (sunpoet) · 1.10.0,1
archivers/liblz4: Update to 1.10.0

Changes:	https://github.com/lz4/lz4/releases
8f90326975
Po-Chuan Hsieh (sunpoet) · 1.9.4_1,1
archivers/liblz4: Add LICENSE_FILE
92525f5232
Muhammad Moinur Rahman (bofh) · 1.9.4_1,1
*/*: Sanitize MANPREFIX for meson ports

In my previous some ports got slipped which are fixed here.

Approved by:	portmgr
fff7bad4e8
Po-Chuan Hsieh (sunpoet) · 1.9.4,1
archivers/liblz4: Use upstream release tarball

- Update WWW
- Use complete arguments/options
- Simplify SHEBANG_FILES
- Update pkg-descr
03214da397
Po-Chuan Hsieh (sunpoet) · 1.9.4,1
archivers/liblz4: Take maintainership
2ffb129f82
Po-Chuan Hsieh (sunpoet) · 1.9.4,1
archivers/liblz4: Reset maintainership

PR:		274177
Requested by:	Martin Waschbusch <martin@waschbuesch.de> (maintainer)
eef67ce8d7
Rene Ladan (rene) · 1.9.4,1
all: remove explicit versions in USES=python for "3.x+"

The logic in USES=python will automatically convert this to 3.8+ by
itself.

Adjust two ports that only had Python 3.7 mentioned but build fine
on Python 3.8 too.

finance/quickfix: mark BROKEN with PYTHON

libtool: compile:  c++ -DHAVE_CONFIG_H -I. -I../.. -I -I. -I.. -I../.. -I../C++ -DLIBICONV_PLUG -DPYTHON_MAJOR_VERSION=3 -Wno-unused-variable -Wno-maybe-uninitialized -O2 -pipe -DLIBICONV_PLUG -fstack-protector-strong -fno-strict-aliasing -DLIBICONV_PLUG -Wall -ansi -Wno-unused-command-line-argument -Wpointer-arith -Wwrite-strings -Wno-overloaded-virtual -Wno-deprecated-declarations -Wno-deprecated -std=c++0x -MT _quickfix_la-QuickfixPython.lo -MD -MP -MF .deps/_quickfix_la-QuickfixPython.Tpo -c QuickfixPython.cpp  -fPIC -DPIC -o .libs/_quickfix_la-QuickfixPython.o
warning: unknown warning option '-Wno-maybe-uninitialized'; did you mean '-Wno-uninitialized'? [-Wunknown-warning-option]
QuickfixPython.cpp:175:11: fatal error: 'Python.h' file not found
          ^~~~~~~~~~
1 warning and 1 error generated.

Reviewed by:	portmgr, vishwin, yuri
Differential Revision:	<https://reviews.freebsd.org/D40568>
3d9a815d9c
Stefan Eßer (se) · 1.9.4,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.9.4,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
Po-Chuan Hsieh (sunpoet) · 1.9.4,1
archivers/liblz4: Update to 1.9.4

Changes:	https://github.com/lz4/lz4/releases
PR:		266063
efa005214e
Po-Chuan Hsieh (sunpoet) · 1.9.3,1
archivers/liblz4: Update WWW

Approved by:	portmgr (blanket)
750e7598f5
Tobias C. Berner (tcberner) · 1.9.3,1
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
Bernhard Froehlich (decke) · 1.9.3,1
archivers/liblz4: Add CPE information

Approved by:	portmgr (blanket)
4dc8a02260
Mathieu Arnold (mat) · 1.9.3,1
Remove # $FreeBSD$ from Makefiles.
305f148f48
Fernando Apesteguía (fernape) · 1.9.3,1
archivers/liblz4: Update to 1.9.3

ChangeLog: https://github.com/lz4/lz4/releases/tag/v1.9.3

 * Switch from gmake to meson.
 * Enable tests

PR:	251183
Submitted by:	daniel.engberg.lists@pyret.net
Approved by:	martin@waschbuesch.de (maintainer)
7d6061f155
Antoine Brodin (antoine) · 1.9.2_1,1
Bump PORTREVISION after man page move, it has an impact on 1 reverse dep
202fd00fa9
Baptiste Daroussin (bapt) · 1.9.2,1
First pass at moving manpages to share/man for category a*
e9421faa0b
Steve Wills (swills) · 1.9.2,1
archivers/liblz4: Update to 1.9.2

PR:		240007
Submitted by:	Martin Waschbüsch <martin@waschbuesch.de> (maintainer)
c3ea1b9c13
Steve Wills (swills) · 1.9.1,1
archivers/liblz4: Update to 1.9.1

PR:		237520
Submitted by:	Martin Waschbüsch <martin@waschbuesch.de> (maintainer)
c348be382e
Olivier Cochard (olivier) · 1.8.3,1
Fix compilation when TARGET_ARCH is set

PR:		225377
Approved by:	Martin Waschbüsch (maintainer)
a55d2cec6f
Steve Wills (swills) · 1.8.3,1
archivers/liblz4: Update to v1.8.3

PR:		231324
Submitted by:	Martin Waschbüsch <martin@waschbuesch.de> (maintainer)
9eb2fe3228
Baptiste Daroussin (bapt) · 1.8.2,1
Remove LIBDIR arguments which are now unneeded
bfe0211dba
Baptiste Daroussin (bapt) · 1.8.2,1
Update to 1.8.2

Remove the now unneeded post-patch section
Enforce usage of our INSTALL_PROGRAM instead of manually strip
Pass variables via MAKE_ARGS to avoid patching
Remove now useless USES=pathfix

PR:		228060
Submitted by:	bapt
Reported by:	Yann Collet (Upstream)
Reviewed by:	Martin Waschbüsch (maintainer)
Approved by:	Martin Waschbüsch (maintainer)
0c6e11735c
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.8.1.2,1
Update to 1.8.1.2

Changes:	https://github.com/lz4/lz4/releases
PR:		225277
Submitted by:	Martin Waschbusch <martin@waschbuesch.de> (maintainer)
12002c7a16
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.8.1,1
Update to 1.8.1

Changes:	https://github.com/lz4/lz4/releases
PR:		225145
Submitted by:	Martin Waschbusch <martin@waschbuesch.de> (maintainer)
792369e06c
Sunpoet Po-Chuan Hsieh (sunpoet) · 1.8.0,1
Update to 1.8.0

Changes:	https://github.com/lz4/lz4/releases
PR:		221630
Submitted by:	Martin Waschbusch <martin@waschbuesch.de>
7acc76c8e5
Matthew Seaman (matthew) · 1.7.5,1
Delete duplicate line

Submitted by:	sunpoet
c938ef0db8
Matthew Seaman (matthew) · 1.7.5,1
Update to 1.7.5

Notable changes:
- Upstream switched versioning from e.g. r131 to v1.7.5, forcing me to
  make use of PORTEPOCH.
- (Submitter) pushed a change upstream to add FreeBSD to the OSs
  recognized in Makefile, requiring one less search & replace action
  in post-patch section.

PR:		216599
Submitted by:	martin@waschbuesch.de (maintainer)
e870fdb408
Dmitry Marakasov (amdmi3) · 131
- Fix WWW

PR:		213735
Reported by:	julian@hsiao.email
Submitted by:	martin@waschbuesch.de (maintainer
MFH:		2017Q1
bc75e0386c
Mathieu Arnold (mat) · 131
Use USES=pathfix where applicable.

PR:		213195
Submitted by:	mat
Exp-run by:	antoine
Sponsored by:	Absolight
Differential Revision:	https://reviews.freebsd.org/D8093
a0bcd2cf68
Dmitry Marakasov (amdmi3) · 131
- Fix trailing whitespace in pkg-descrs, categories [a-f]*

Approved by:	portmgr blanket
1d1f878054
Thomas Zander (riggs) · 131
Pass maintainership to submitter

PR:		209516
Submitted by:	martin@waschbuesch.de
76ee0e63e2
Mathieu Arnold (mat) · 131
Cleanup GH_* and variables order.

Sponsored by:	Absolight
7823fa4b7e
Dmitry Marakasov (amdmi3) · 131
- Silence patching - Fix WWW:
21adf1d14c
Adam Weinberger (adamw) · 131
Reassign some of my ports to the Collective.
4a55d3eab5
Adam Weinberger (adamw) · 131
Update to r131.
4c68c8c3c7
Adam Weinberger (adamw) · 130
Update to r130, which incorporates the patches that riggs committed in r387288.
40173e5ea8
Thomas Zander (riggs) · 129_1
Fix decompression in a pipeline: import fix from dev branch in https://github.com/Cyan4973/lz4/commit/58b5aadb1fc5d937e81c8f33e0e8290f2097c6bb

PR:		200422
Submitted by:	eborisch+FreeBSD@gmail.com
Approved by:	adamw (maintainer, implicit)
64f83ed83a
Adam Weinberger (adamw) · 129
Update to r129. Changes at https://github.com/Cyan4973/lz4/releases/tag/r129. Remove the CONFLICTS on archivers/lz4 which was removed from the ports tree.
e9ef92fc48
Bryan Drewery (bdrewery) · 128
USE_GITHUB: For the new support, fix DISTNAME to be more consistent.

When using GH_TAGNAME the DISTNAME would have GH_PROJECT and GH_ACCOUNT in
it. When not using GH_TAGNAME it would not have this. Now both cases
will add in the GH_PROJECT and GH_ACCOUNT.

Add special care to ensure that the DISTVERSION is not added in twice. If
a port does GH_TAGNAME=v${PORTVERSION} it will be added in twice though. For
that case DISTVERSIONPREFIX=v should be set and no GH_TAGNAME should be used.

empty() is used rather than (!defined || !${}) to support fmake.

The purpose of setting DISTNAME at all in these cases is to make it more clear
that the distfile is from *GITHUB* and to avoid collisions if a project were
to be renamed or moved. Without adding in GH_PROJECT and GH_ACCOUNT then there
are real risks that collisions on filenames would happen on renamed or moved
projects, which is fairly common. A GITHUB-generated file may not match
a custom-rolled or git-archive-rolled distfile.

PR:		199069
With hat:	portmgr
Testing done:	All USE_GITHUB ports without GH_COMMIT were checksum/fetch/extract/WRKSRC tested.
aa6ad6e726
Adam Weinberger (adamw) · 128
Update to r128.

Changes are listed on https://github.com/Cyan4973/lz4/releases

Also, use the new USE_GITHUB syntax, and update WWW.
3577a8320f
Adam Weinberger (adamw) · 127
Re-add back ALL_TARGET=default. For reasons that I still don't understand, it breaks the build for some people.

This time, add a comment so I don't try to remove it again in the future.
9bfbce8390
Adam Weinberger (adamw) · 127
Update to r127. Fix tons of hardcoded paths in the Makefile to enable 'make install' to work properly.
99db5a6913
Adam Weinberger (adamw) · 123
I was never able to replicate this, but a number of people have reported that liblz4 fails to build on amd64, and they all agree that this patch fixes it.

PR:		194609
Submitted by:	Roland Smith
34c9e1c939
Adam Weinberger (adamw) · 123
Add archivers/liblz4. There is already archivers/lz4, which it looks like might be an old version of this, but it only installs a binary. This installs binaries and libraries/headers.

LZ4 is a very fast lossless compression algorithm, providing compression speed
at 400 MB/s per core, scalable with multi-cores CPU. It also features an
extremely fast decoder, with speed in multiple GB/s per core, typically
reaching RAM speed limits on multi-core systems.

A high compression derivative, called LZ4_HC, is also provided. It trades CPU
time for compression ratio.

The libraries are BSD licensed, and the binaries are GPLv2.

WWW: https://code.google.com/p/lz4/
26979cac58