git: 37d0601f4273 - main - bsddialog: import new TUI widget and utility

From: Baptiste Daroussin <bapt_at_FreeBSD.org>
Date: Wed, 24 Nov 2021 10:03:53 UTC
The branch main has been updated by bapt:

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

commit 37d0601f4273810f69440469e6b5625130bbc899
Author:     Baptiste Daroussin <bapt@FreeBSD.org>
AuthorDate: 2021-11-24 09:26:46 +0000
Commit:     Baptiste Daroussin <bapt@FreeBSD.org>
CommitDate: 2021-11-24 10:03:31 +0000

    bsddialog: import new TUI widget and utility
    
    bsddialog is an attempt to write in permissive license a replacement for
    libdialog.
    
    While it is still in early stage it is good enough to already be used in
    many areas, it is imported as private lib until it matures enough to be
    considered as having a stable ABI
---
 etc/mtree/BSD.usr.dist   | 2 ++
 lib/Makefile             | 1 +
 share/mk/src.libnames.mk | 2 ++
 3 files changed, 5 insertions(+)

diff --git a/etc/mtree/BSD.usr.dist b/etc/mtree/BSD.usr.dist
index 5eaaed4e1265..891372c8148f 100644
--- a/etc/mtree/BSD.usr.dist
+++ b/etc/mtree/BSD.usr.dist
@@ -9,6 +9,8 @@
     ..
     include
         private
+            bsddialog
+            ..
             bsdstat
             ..
             event1
diff --git a/lib/Makefile b/lib/Makefile
index 93761cc06b21..3af6b938ee74 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -36,6 +36,7 @@ SUBDIR=	${SUBDIR_BOOTSTRAP} \
 	libauditd \
 	libbegemot \
 	libblocksruntime \
+	libbsddialog \
 	libbsdstat \
 	libbsm \
 	libbz2 \
diff --git a/share/mk/src.libnames.mk b/share/mk/src.libnames.mk
index 6fee77357480..bc3ad9c4bf40 100644
--- a/share/mk/src.libnames.mk
+++ b/share/mk/src.libnames.mk
@@ -16,6 +16,7 @@ _PRIVATELIBS=	\
 		atf_c \
 		atf_cxx \
 		auditd \
+		bsddialog \
 		bsdstat \
 		cbor \
 		devdctl \
@@ -262,6 +263,7 @@ _DP_80211=	sbuf bsdxml
 _DP_9p=		sbuf
 _DP_archive=	z bz2 lzma bsdxml zstd
 _DP_avl=	spl
+_DP_bsddialog=	formw ncursesw tinfow
 _DP_zstd=	pthread
 .if ${MK_BLACKLIST} != "no"
 _DP_blacklist+=	pthread