git: 967a990f76c7 - stable/13 - pkgbase: Put certctl in the FreeBSD-caroot package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Wed, 05 Jan 2022 17:24:33 UTC
The branch stable/13 has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=967a990f76c7a243027c42b77c0b65e8f98d7b52

commit 967a990f76c7a243027c42b77c0b65e8f98d7b52
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-12-15 10:38:18 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2022-01-05 17:23:53 +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
    
    (cherry picked from commit 380073af3aa3048e3e19abe57e64bff4481d829f)
---
 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