git: b80ee728d2c4 - stable/13 - pkgbase: Put nvmecontrol in its own package

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Thu, 02 Feb 2023 09:33:07 UTC
The branch stable/13 has been updated by manu:

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

commit b80ee728d2c4bf9bb49e5d3d41854f41552e9cf7
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-22 07:58:11 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-02-02 09:32:54 +0000

    pkgbase: Put nvmecontrol in its own package
    
    It doesn't really make sense to have it in runtime and let's not
    bloat utilities more.
    
    Reviewed by:    emaste
    Differential Revision:  https://reviews.freebsd.org/D36221
    
    (cherry picked from commit 5f9db65d8af0b8419ba71749f15ee06d636fb9c4)
---
 release/packages/Makefile.package     | 2 ++
 sbin/nvmecontrol/Makefile             | 2 +-
 sbin/nvmecontrol/modules/Makefile.inc | 2 +-
 3 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 511adf4a65ce..f5c9a916bff6 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -87,6 +87,8 @@ newsyslog_COMMENT=	Newsyslog Utility
 newsyslog_DESC=		Newsyslog Utility
 nfs_COMMENT=		NFS Utilities
 nfs_DESC= 		NFS Utilities
+nvme-tools_COMMENT=	NVME Utilities
+nvme-tools_DESC=	NVME Utilities
 openssl_COMMENT=	OpenSSL Library and Utility
 openssl_DESC=		OpenSSL Library and Utility
 pkg-bootstrap_COMMENT=	pkg bootstrap Utility
diff --git a/sbin/nvmecontrol/Makefile b/sbin/nvmecontrol/Makefile
index b5ceb350ed0d..ac71e1aeaa42 100644
--- a/sbin/nvmecontrol/Makefile
+++ b/sbin/nvmecontrol/Makefile
@@ -2,7 +2,7 @@
 
 .include <src.opts.mk>
 
-PACKAGE=runtime
+PACKAGE=nvme-tools
 PROG=	nvmecontrol
 SRCS=	comnd.c nvmecontrol.c
 SRCS+=	devlist.c firmware.c format.c identify.c logpage.c ns.c nsid.c
diff --git a/sbin/nvmecontrol/modules/Makefile.inc b/sbin/nvmecontrol/modules/Makefile.inc
index bdc25f711a67..57b6b074202a 100644
--- a/sbin/nvmecontrol/modules/Makefile.inc
+++ b/sbin/nvmecontrol/modules/Makefile.inc
@@ -1,6 +1,6 @@
 # $FreeBSD$
 
-PACKAGE=runtime
+PACKAGE=nvme-tools
 NVMECONTROLDIR=	${SRCTOP}/sbin/nvmecontrol
 
 MK_INSTALLLIB=	no