BSD Ports

archivers/liblz4 1.10.0_1,1 MidnightBSD

LZ4 compression library, lossless and very fast

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
bsd2, gpl2
Categories
archivers

Description

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

Speed can be tuned dynamically, selecting an "acceleration" factor which trades compression ratio for faster speed. On the other end, a high compression derivative, LZ4_HC, is also provided, trading CPU time for improved compression ratio. All versions feature the same decompression speed.

LZ4 is also compatible with dictionary compression, both at API and CLI levels. It can ingest any input file as dictionary, though only the final 64KB are used. This capability can be combined with the Zstandard Dictionary Builder, in order to drastically improve compression performance on small files.

In the other systems

SystemPortVersion
MidnightBSDarchivers/liblz41.10.0_1,1
FreeBSDarchivers/liblz41.10.0_2,1
DragonFlyarchivers/liblz41.10.0,1
HardenedBSDarchivers/liblz41.10.0_2,1
GhostBSDarchivers/liblz41.10.0_2,1
OPNsensearchivers/liblz41.10.0_2,1

Install

Binary package:

mport install liblz4

From mports:

cd /usr/mports/archivers/liblz4 && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	liblz4>0:archivers/liblz4
LIB_DEPENDS=	liblz4.so:archivers/liblz4

Dependencies

Configuration

Options name: archivers_lz4

OptionDefaultDescription
TESToff
USES
cpe meson:muon pkgconfig python:build
Service scripts
none

Files

Manual pages 4
  • lz4(1)
  • lz4c(1)
  • lz4cat(1)
  • unlz4(1)
pkg-plist 17
  • bin/lz4
  • bin/lz4c
  • bin/lz4cat
  • bin/unlz4
  • include/lz4.h
  • include/lz4frame.h
  • include/lz4frame_static.h
  • include/lz4hc.h
  • lib/liblz4.a
  • lib/liblz4.so
  • lib/liblz4.so.1
  • lib/liblz4.so.
  • libdata/pkgconfig/liblz4.pc
  • share/man/man1/lz4.1.gz
  • share/man/man1/lz4c.1.gz
  • share/man/man1/lz4cat.1.gz
  • share/man/man1/unlz4.1.gz
distinfo 1
FileSizeSHA256
lz4-1.10.0.tar.gz387114537512904744b35e232912055ccf8ec66d768639ff3abe5788d90d792ec5f48b
Master sites 1
  • https://github.com/lz4/lz4/releases/download/v1.10.0/