git: 380073af3aa3 - main - pkgbase: Put certctl in the FreeBSD-caroot package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 21 Dec 2021 09:18:10 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=380073af3aa3048e3e19abe57e64bff4481d829f

commit 380073af3aa3048e3e19abe57e64bff4481d829f
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-15 10:38:18 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-12-21 09:17:44 +0000

    pkgbase: Put certctl in the FreeBSD-caroot package
    
    There is no reason that this shouldn't be there.
    Change the dependency of caroot from utilities to openssl as it's
    the only command that it uses not in runtime.
    
    MFC after:      2 weeks
    Sponsored by:   Beckhoff Automation GmbH & Co. KG
    Differential Revision:  https://reviews.freebsd.org/D33458
---
 release/packages/generate-ucl.sh | 2 +-
 usr.sbin/certctl/Makefile        | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/release/packages/generate-ucl.sh b/release/packages/generate-ucl.sh
index 37f338a752e8..fcb75b81aa96 100755
--- a/release/packages/generate-ucl.sh
+++ b/release/packages/generate-ucl.sh
@@ -40,7 +40,7 @@ main() {
 			# else imposed on it.
 			;;
 		caroot)
-			pkgdeps="utilities"
+			pkgdeps="openssl"
 			;;
 		utilities)
 			uclfile="${uclfile}"
diff --git a/usr.sbin/certctl/Makefile b/usr.sbin/certctl/Makefile
index ea10cdf77e6c..df5acb606143 100644
--- a/usr.sbin/certctl/Makefile
+++ b/usr.sbin/certctl/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	caroot
 SCRIPTS=certctl.sh
 MAN=	certctl.8