Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 2 Oct 2025 13:33:02 GMT
From:      Kyle Evans <kevans@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org
Subject:   git: 61a7d5d9bf2e - stable/15 - pkgbase: move ncurses into its own package
Message-ID:  <202510021333.592DX2ce035759@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch stable/15 has been updated by kevans:

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

commit 61a7d5d9bf2e0543f314820558f8d7c59a39feb5
Author:     Kyle Evans <kevans@FreeBSD.org>
AuthorDate: 2025-09-30 12:21:33 +0000
Commit:     Kyle Evans <kevans@FreeBSD.org>
CommitDate: 2025-10-02 13:32:32 +0000

    pkgbase: move ncurses into its own package
    
    Pushing ncurses into clibs adds extra upgrade risk to a package that
    otherwise consists of integral libs with non-trivial interdependencies.
    
    Adding it to -runtime was considered, but the move was historically
    motivated to some extent by allowing a much smaller set of base libs to
    be installed for smaller VM images that don't really need all of the
    runtime package.
    
    This also fixes the ncurses build to ensure that libmenuw is grouped
    with the rest of the ncurses libraries, which doesn't seem to have been
    an intentional omission.
    
    Reviewed by:    ivy
    
    (cherry picked from commit 06afa0a55e0acc00823f08fe17305df13502f235)
    (cherry picked from commit df74ea7f41090f38d9fa1c739029b135cd199a45)
---
 lib/ncurses/Makefile.inc             |  1 +
 lib/ncurses/form/Makefile            |  1 -
 lib/ncurses/ncurses/Makefile         |  1 -
 lib/ncurses/panel/Makefile           |  1 -
 lib/ncurses/tinfo/Makefile           |  1 -
 release/packages/ucl/ncurses-all.ucl | 19 +++++++++++++++++++
 6 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/lib/ncurses/Makefile.inc b/lib/ncurses/Makefile.inc
index f2ed84e2e38f..eea49908474c 100644
--- a/lib/ncurses/Makefile.inc
+++ b/lib/ncurses/Makefile.inc
@@ -1,5 +1,6 @@
 # This is to include src/lib/Makefile.inc
 
+PACKAGE?=	ncurses
 WARNS?=	3
 
 .include "../Makefile.inc"
diff --git a/lib/ncurses/form/Makefile b/lib/ncurses/form/Makefile
index d4774a5f51a8..7d8963b05ae8 100644
--- a/lib/ncurses/form/Makefile
+++ b/lib/ncurses/form/Makefile
@@ -3,7 +3,6 @@
 
 SRCDIR=	${NCURSES_DIR}/form
 
-PACKAGE=	clibs
 LIB=	formw
 SHLIB_MAJOR=	6
 
diff --git a/lib/ncurses/ncurses/Makefile b/lib/ncurses/ncurses/Makefile
index 512a452ad6d0..b60760281b39 100644
--- a/lib/ncurses/ncurses/Makefile
+++ b/lib/ncurses/ncurses/Makefile
@@ -1,4 +1,3 @@
-PACKAGE=	clibs
 SHLIBDIR?=	/lib
 
 .include <src.opts.mk>
diff --git a/lib/ncurses/panel/Makefile b/lib/ncurses/panel/Makefile
index a51129df42e3..dfb478aa5f5b 100644
--- a/lib/ncurses/panel/Makefile
+++ b/lib/ncurses/panel/Makefile
@@ -3,7 +3,6 @@
 
 SRCDIR=	${NCURSES_DIR}/panel
 
-PACKAGE=	clibs
 LIB=	panelw
 SHLIB_MAJOR=	6
 
diff --git a/lib/ncurses/tinfo/Makefile b/lib/ncurses/tinfo/Makefile
index 476df54bb72a..8f01557edaee 100644
--- a/lib/ncurses/tinfo/Makefile
+++ b/lib/ncurses/tinfo/Makefile
@@ -1,4 +1,3 @@
-PACKAGE=	clibs
 SHLIBDIR?=	/lib
 
 .include <src.opts.mk>
diff --git a/release/packages/ucl/ncurses-all.ucl b/release/packages/ucl/ncurses-all.ucl
new file mode 100644
index 000000000000..c0d52e046e78
--- /dev/null
+++ b/release/packages/ucl/ncurses-all.ucl
@@ -0,0 +1,19 @@
+/*
+ * Copyright 2018-2023,2024 Thomas E. Dickey
+ * Copyright 1998-2017,2018 Free Software Foundation, Inc.
+ *
+ * SPDX-License-Identifier: X11
+ *
+ * See contrib/ncurses/COPYING for the full license text.
+ */
+
+comment = "ncurses terminal control library"
+desc = <<EOD
+The ncurses package is a subroutine library for terminal-independent
+screen-painting and input-event handling which presents a high level screen
+model to the programmer.  ncurses implements the System V Release 4.0 (SVR4)
+curses interface, and is also backward compatible with traditional BSD curses.
+
+This package ships with a limited termcap database, but it is designed to use
+a terminfo database provided by ports, such as in misc/terminfo-db.
+EOD



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202510021333.592DX2ce035759>