git: a01e703e5018 - stable/14 - pkgbase: Move blacklist utilities to a new package
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 18 Oct 2023 14:36:41 UTC
The branch stable/14 has been updated by manu:
URL: https://cgit.FreeBSD.org/src/commit/?id=a01e703e50185cf30f9b7d0566656c7d08e55a67
commit a01e703e50185cf30f9b7d0566656c7d08e55a67
Author: Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2023-10-10 14:41:52 +0000
Commit: Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-10-18 14:36:27 +0000
pkgbase: Move blacklist utilities to a new package
Unbloat a bit FreeBSD-utilities.
The only package that will depends on this new one is FreeBSD-ssh
which not anyone have in some setup.
And this will allow to have small pkgbase setup with ssh without
having to bring the bloated FreeBSD-utilities package
Name the package blocklist to reflect upstream futur changes.
Sponsored by: Beckhoff Automation GmbH & Co. KG
Reviewed by: emaste
Differential Revision: https://reviews.freebsd.org/D42148
(cherry picked from commit 0983e80a9addbd65603a430e186d2a50b4e15e29)
---
lib/libblacklist/Makefile | 1 +
release/packages/Makefile.package | 2 ++
usr.sbin/blacklistctl/Makefile | 2 ++
usr.sbin/blacklistd/Makefile | 2 ++
4 files changed, 7 insertions(+)
diff --git a/lib/libblacklist/Makefile b/lib/libblacklist/Makefile
index e8d25ac7f1b8..932e186e3172 100644
--- a/lib/libblacklist/Makefile
+++ b/lib/libblacklist/Makefile
@@ -3,6 +3,7 @@ BLACKLIST_DIR=${SRCTOP}/contrib/blacklist
.PATH: ${BLACKLIST_DIR}/lib ${BLACKLIST_DIR}/include
+PACKAGE= blocklist
LIB= blacklist
SHLIB_MAJOR= 0
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index cf91873fd8cf..255ef648329d 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -17,6 +17,8 @@ bhyve_COMMENT= Bhyve Utilities
bhyve_DESC= Bhyve Utilities
binutils_COMMENT= Binutils
binutils_DESC= Binutils
+blocklist_COMMENT= Blocklist Utilities
+blocklist_DESC= Blocklist Utilities
bluetooth_COMMENT= Bluetooth Utilities
bluetooth_DESC= Bluetooth Utilities
bootloader_COMMENT= Bootloader
diff --git a/usr.sbin/blacklistctl/Makefile b/usr.sbin/blacklistctl/Makefile
index effba6761154..1e4778bf0953 100644
--- a/usr.sbin/blacklistctl/Makefile
+++ b/usr.sbin/blacklistctl/Makefile
@@ -2,6 +2,8 @@
BLACKLIST_DIR=${SRCTOP}/contrib/blacklist
.PATH: ${BLACKLIST_DIR}/bin ${BLACKLIST_DIR}/port
+PACKAGE= blocklist
+
PROG= blacklistctl
SRCS= blacklistctl.c conf.c state.c support.c internal.c \
sockaddr_snprintf.c pidfile.c strtoi.c popenve.c
diff --git a/usr.sbin/blacklistd/Makefile b/usr.sbin/blacklistd/Makefile
index a33ea1d285b1..b6d1e236911e 100644
--- a/usr.sbin/blacklistd/Makefile
+++ b/usr.sbin/blacklistd/Makefile
@@ -2,6 +2,8 @@
BLACKLIST_DIR=${SRCTOP}/contrib/blacklist
.PATH: ${BLACKLIST_DIR}/bin ${BLACKLIST_DIR}/port
+PACKAGE= blocklist
+
CONFS= blacklistd.conf
PROG= blacklistd
SRCS= blacklistd.c conf.c run.c state.c support.c internal.c \