BSD Ports

archivers/xz 5.8.4 NetBSD

General-purpose data compression software (5.4)

System
NetBSD
Repository
pkgsrc
Maintainer
[email protected]
Last update
Commit
23964a18e1
License
public-domain AND gnu-gpl-v2
Categories
archivers
Package size
608.7 KiB, 3043.7 KiB installed

Description

LZMA is a general purporse compression algorithm designed by Igor Pavlov as part of 7-Zip. It provides high compression ratio while keeping the decompression speed fast.

XZ Utils are an attempt to make LZMA compression easy to use on free (as in freedom) operating systems. This is achieved by providing tools and libraries which are similar to use than the equivalents of the most popular existing compression algorithms.

XZ Utils consist of a few relatively separate parts: * liblzma is an encoder/decoder library with support for several filters (algorithm implementations). The primary filter is LZMA. * libzfile (or whatever the name will be) enables reading from and writing to gzip, bzip2 and LZMA compressed and uncompressed files with an API similar to the standard ANSI-C file I/O. [ NOTE: libzfile is not implemented yet. ] * xz command line tool has almost identical syntax than gzip and bzip2. It makes LZMA easy for average users, but also provides advanced options to finetune the compression settings. * A few shell scripts make diffing and grepping LZMA compressed files easy. The scripts were adapted from gzip and bzip2.

In the other systems

SystemPortVersion
NetBSDarchivers/xz5.8.4
OpenBSDarchivers/xz5.8.4

Install

Binary package:

pkgin install xz

From pkgsrc:

cd /usr/pkgsrc/archivers/xz && 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_645.8.4
NetBSD 10.1 aarch645.8.3
SmartOS / illumos x86_645.8.4
macOS 15 arm645.8.4

Dependencies

Commit history 1

DateCommitCreditsLog message
23964a18e1 adam xz: updated to 5.8.4
5.8.4 (2026-09-09) IMPORTANT: This includes a fix for a security issue that affects all XZ Utils versions since 5.0.0. This and a few other fixes have also been committed to the old stable branches (v5.2, v5.4, and v5.6) in the xz Git repository. Those fixes are marked below. No new 5.2.x, 5.4.x, or 5.6.x releases will be made. * liblzma: - lzma_alone_decoder(), lzma_lzip_decoder(), lzma_auto_decoder(), and lzma_microlzma_decoder(): Fix an invalid memory access after memory allocation has failed and the application reinitializes the existing decoder to decode a different file. This bug could at least result in a crash. This is tracked as GHSA-5qpq-xqfv-j9pg. CVE number is pending. (Also in v5.2, v5.4, and v5.6.) …