git: ee4bb682f17f - stable/13 - pkgbase: Put devmatch in its own package

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

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

commit ee4bb682f17fe7fb6340118ffb6182b2554a77ca
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2022-07-22 20:30:11 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2023-02-02 09:32:56 +0000

    pkgbase: Put devmatch in its own package
    
    devmatch is useful on standalone machine but not on jails.
    Put devinfo(8) and libdevinfo there too.
    
    Differential Revision:  https://reviews.freebsd.org/D36229
    
    (cherry picked from commit e7a5a60ed57d1eeb638f4824479b2ab3663eb8a1)
---
 lib/libdevinfo/Makefile           | 1 +
 release/packages/Makefile.package | 2 ++
 sbin/devmatch/Makefile            | 1 +
 usr.sbin/devinfo/Makefile         | 1 +
 4 files changed, 5 insertions(+)

diff --git a/lib/libdevinfo/Makefile b/lib/libdevinfo/Makefile
index 7995660fb7fd..7edfaecb53b2 100644
--- a/lib/libdevinfo/Makefile
+++ b/lib/libdevinfo/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	devmatch
 LIB=	devinfo
 SRCS=	devinfo.c
 INCS=	devinfo.h
diff --git a/release/packages/Makefile.package b/release/packages/Makefile.package
index 564eed4c1218..eec564207721 100644
--- a/release/packages/Makefile.package
+++ b/release/packages/Makefile.package
@@ -34,6 +34,8 @@ cxgbe-tools_COMMENT=	Chelsio cxbge Utilities
 cxgbe-tools_DESC=	Chelsio cxbge Utilities
 devd_COMMENT=		Devd Utility and scripts
 devd_DESC=		Devd Utility and scripts
+devmatch_COMMENT=	Devmatch Utility
+devmatch_DESC=		Devmatch Utility
 dhclient_COMMENT=	DHCP Client
 dhclient_DESC=		DHCP Client
 dma_COMMENT= 		DMA Mail Agent Utilities
diff --git a/sbin/devmatch/Makefile b/sbin/devmatch/Makefile
index 6622bdb284d1..7c8b0446ab5f 100644
--- a/sbin/devmatch/Makefile
+++ b/sbin/devmatch/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	devmatch
 PROG=	devmatch
 MAN=	devmatch.8
 
diff --git a/usr.sbin/devinfo/Makefile b/usr.sbin/devinfo/Makefile
index 681c8197f5de..a740fd6a9b17 100644
--- a/usr.sbin/devinfo/Makefile
+++ b/usr.sbin/devinfo/Makefile
@@ -1,5 +1,6 @@
 # $FreeBSD$
 
+PACKAGE=	devmatch
 PROG=	devinfo
 MAN=	devinfo.8