packages: Replace libbz2 package with a bzip2 package

Currently libbz2 is in the libbz2 package, while bzip2 itself is in
-utilities, which is inconsistent.  Move both the library and the
utility to a new -bzip2 package, and use LIB_PACKAGE to create a
separate -bzip2-lib package for runtime dependencies.

Add the bzip2 package to the minimal set, and since newsyslogd uses
bzip2 for logfile compression, add a dependency from there.

MFC after:	1 day
Reviewed by:	manu
Differential Revision:	https://reviews.freebsd.org/D52663
This commit is contained in:
Lexi Winter
2025-09-23 22:37:06 +01:00
parent 67c3c3a274
commit 61ca69110f
7 changed files with 33 additions and 6 deletions
+3 -1
View File
@@ -1,4 +1,6 @@
PACKAGE= lib${LIB}
PACKAGE= bzip2
LIB_PACKAGE=
BZ2DIR= ${SRCTOP}/contrib/bzip2
.PATH: ${BZ2DIR}