diff options
| author | Lexi Winter <ivy@FreeBSD.org> | 2025-09-30 08:11:55 +0000 |
|---|---|---|
| committer | Lexi Winter <ivy@FreeBSD.org> | 2025-09-30 08:14:46 +0000 |
| commit | 9124ace751eb9c856c50c3698cf93ede45a9897d (patch) | |
| tree | 9d715e9e30d3568e9a25f8da0fd0d581c46b19a7 | |
| parent | 11709058bf680f5738c6656597f2ff9e662c9400 (diff) | |
packages: Rename liblzma package to xz
Rename liblzma to xz, and use LIB_PACKAGE to create an xz-lib package
for runtime libraries.
MFC after: 1 day
Reviewed by: bapt
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D52791
| -rw-r--r-- | lib/liblzma/Makefile | 4 | ||||
| -rw-r--r-- | release/packages/ucl/xz-all.ucl (renamed from release/packages/ucl/liblzma-all.ucl) | 7 | ||||
| -rw-r--r-- | usr.bin/lzmainfo/Makefile | 2 | ||||
| -rw-r--r-- | usr.bin/xz/Makefile | 2 | ||||
| -rw-r--r-- | usr.bin/xzdec/Makefile | 2 |
5 files changed, 13 insertions, 4 deletions
diff --git a/lib/liblzma/Makefile b/lib/liblzma/Makefile index 27e0521f5884..9c6ece74ffd0 100644 --- a/lib/liblzma/Makefile +++ b/lib/liblzma/Makefile @@ -1,4 +1,6 @@ -PACKAGE=lib${LIB} +PACKAGE= xz +LIB_PACKAGE= + LIB= lzma LZMADIR= ${SRCTOP}/contrib/xz/src/liblzma diff --git a/release/packages/ucl/liblzma-all.ucl b/release/packages/ucl/xz-all.ucl index d5698d48332a..16da8b76f0ac 100644 --- a/release/packages/ucl/liblzma-all.ucl +++ b/release/packages/ucl/xz-all.ucl @@ -16,11 +16,12 @@ * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ -comment = "XZ LZMA library" +comment = "LZMA2 data compression" desc = <<EOD -liblzma allows applications to compress and decompress data using the XZ -compression algorithm. +xz compresses data using the LZMA2 data compression algorithm. This package +provides the front-end xz(1) utility, and the liblzma library which allows +applications to use this functionality programatically. EOD annotations { diff --git a/usr.bin/lzmainfo/Makefile b/usr.bin/lzmainfo/Makefile index afde07163a01..e537e4c86083 100644 --- a/usr.bin/lzmainfo/Makefile +++ b/usr.bin/lzmainfo/Makefile @@ -1,3 +1,5 @@ +PACKAGE=xz + PROG= lzmainfo XZDIR= ${SRCTOP}/contrib/xz/src diff --git a/usr.bin/xz/Makefile b/usr.bin/xz/Makefile index 0d5bce4c16f0..0a9103d60a13 100644 --- a/usr.bin/xz/Makefile +++ b/usr.bin/xz/Makefile @@ -1,5 +1,7 @@ .include <src.opts.mk> +PACKAGE=xz + PROG= xz LINKS= ${BINDIR}/xz ${BINDIR}/unxz diff --git a/usr.bin/xzdec/Makefile b/usr.bin/xzdec/Makefile index 7c43b2e03d78..6bf3dc07a408 100644 --- a/usr.bin/xzdec/Makefile +++ b/usr.bin/xzdec/Makefile @@ -1,3 +1,5 @@ +PACKAGE=xz + PROG= xzdec LINKS= ${BINDIR}/xzdec ${BINDIR}/lzdec |
