From 0983e80a9addbd65603a430e186d2a50b4e15e29 Mon Sep 17 00:00:00 2001 From: Emmanuel Vadot Date: Tue, 10 Oct 2023 16:41:52 +0200 Subject: [PATCH] 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 --- 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 \