BSD Ports

devel/libdeflate 1.26 NetBSD

Optimized deflate/zlib/gzip library

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
389be271f9
License
mit
Categories
devel
Package size
60.5 KiB, 378.2 KiB installed

Description

libdeflate is a library for fast, whole-buffer DEFLATE-based compression and decompression.

The supported formats are:

  • DEFLATE (raw)
  • zlib (a.k.a. DEFLATE with a zlib wrapper)
  • gzip (a.k.a. DEFLATE with a gzip wrapper)

libdeflate is heavily optimized. It is significantly faster than the zlib library, both for compression and decompression, and especially on x86 processors. In addition, libdeflate provides optional high compression modes that provide a better compression ratio than the zlib's "level 9".

libdeflate itself is a library, but the following command-line programs which use this library are also provided:

* gzip (or gunzip), a program which mostly behaves like the standard equivalent, except that it does not yet have good streaming support and therefore does not yet support very large files * benchmark, a program for benchmarking in-memory compression and decompression

In the other systems

SystemPortVersion
NetBSDdevel/libdeflate1.26
FreeBSDarchivers/libdeflate1.26
OpenBSDarchivers/libdeflate1.26
DragonFlyarchivers/libdeflate1.22
MidnightBSDarchivers/libdeflate1.26
HardenedBSDarchivers/libdeflate1.26
GhostBSDarchivers/libdeflate1.26
OPNsensearchivers/libdeflate1.25

Install

Binary package:

pkgin install libdeflate

From pkgsrc:

cd /usr/pkgsrc/devel/libdeflate && make install clean

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

RepositoryVersion
NetBSD 10.1 x86_641.26
NetBSD 10.1 aarch641.25
SmartOS / illumos x86_641.26
macOS 15 arm641.26

Dependencies

Commit history 1

DateCommitCreditsLog message
389be271f9 wiz libdeflate: update to 1.26.
## Version 1.26 * Added support for compression level -1 as an alias for the default compression level (6). * libdeflate now requires a C11 compiler. For Visual Studio builds, this bumps the minimum version up to Visual Studio 2019 v16.8. * Fixed build failures with clang 18 specifically (clang 19+ unaffected). * Fixed build failure with glibc 2.43 and later. * Enabled unaligned access optimizations on all PowerPC variants. * Improved CRC-32 performance on Arm Neoverse V-Series processors by selecting a faster CRC-32 implementation for these processors. * The CMakeLists.txt now supports the user overriding `CMAKE_C_FLAGS_RELEASE`. * The CMakeLists.txt no longer runs installation commands when it is built as a subproject. …