Commit Graph

25680 Commits

Author SHA1 Message Date
Robert Clausecker 73a9b273d3 sys: move sys/kern/md[45].c to sys/crypto
Both files are used by kernel and userspace.
Move them to sys/crypto where they belong.

No functional changes intended.

In preparation of D45670.

Reviewed by:	markj
Approved by:	markj (mentor)
MFC after:	1 month
Differential Revision:	https://reviews.freebsd.org/D52909
2025-10-24 12:16:46 +02:00
Robert Clausecker ec3242ed19 lib/libmd: fuz@freebsd.org -> fuz@FreeBSD.org
Approved by:	markj (mentor)
MFC after:	1 week
2025-10-24 12:16:21 +02:00
Bryan Drewery 30394f3c87 clock_gettime(2): Remove unneeded trailing wording. 2025-10-23 17:01:58 -07:00
Cy Schubert 8b29c373e6 unbound: Vendor import 1.24.1
Release notes at
	https://nlnetlabs.nl/news/2025/Oct/22/unbound-1.24.1-released/

Security:	CVE-2025-11411
MFC after:	3 days

Merge commit '73dd92916f532cb3fe353220103babe576d30a15'
2025-10-23 12:03:29 -07:00
Kirk McKusick 99bf680a84 Fix getmntpoint(3) to operate as it is documented in its manual page.
The -libutil function getmntpoint(3) is documented as accepting a device
name “with or without /dev/ prepended to it” but did not attempt to
prepend /dev/. This patch corrects the problem by prepending /dev/ to
names that do not begin with a '/'.

Reported-by: Dag-Erling Smørgrav
Differential Revision: https://reviews.freebsd.org/D53185
MFC-after:    1 week
Sponsored-by: Netflix
2025-10-22 11:01:37 -07:00
Martin Matuska 401026e482 libarchive: merge from vendor branch
Update vendor/libarchive to 3.8.2

Important bugfixes:
 #2477 tar writer: fix replacing a regular file with a dir for
       ARCHIVE_EXTRACT_SAFE_WRITES
 #2659 lib: improve filter process handling
 #2664 zip writer: fix a memory leak if write callback error early
 #2665 lib: archive_read_data: handle sparse holes at end of file correctly
 #2668 7zip: Fix out of boundary access
 #2670 zip writer: fix writing with ZSTD compression
 #2672 lib: fix error checking in writing files
 #2678 zstd write filter: enable Zstandard's checksum feature
 #2679 lib: handle possible errors from system calls
 #2707 lib: avoid leaking file descriptors into subprocesses
 #2713 RAR5 reader: fix multiple issues in extra field parsing function
 #2716 RAR5 reader: early fail when file declares data for a dir entry
 #2717 bsdtar: Allow filename to have CRLF endings
 #2719 tar reader: fix checking the result of the strftime (CVE-2025-25724)
 #2737 tar reader: fix an infinite loop when parsing V headers
 #2742 lib: parse_date: handle dates in 2038 and beyond if time_t is big
       enough

Obtained from:	libarchive
Vendor commit:	7f53fce04e4e672230f4eb80b219af17975e4f83
Security:	CVE-2025-25724
PR:		290303 (exp-run)
MFC after:	1 week
2025-10-21 17:52:44 +02:00
John Baldwin aa358ce3ca inet_net_test: Compare pointers against nullptr
GCC does not like passing NULL (__null) to std::ostringstream::operator<<
inside of ATF_REQUIRE_EQ:

lib/libc/tests/net/inet_net_test.cc: In member function 'virtual void {anonymous}::atfu_tc_inet_net_ntop_invalid::body() const':
lib/libc/tests/net/inet_net_test.cc:306:9: error: passing NULL to non-pointer argument 1 of 'std::__1::basic_ostream<_CharT, _Traits>& std::__1::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::__1::char_traits<char>]' [-Werror=conversion-null]
  306 |         ATF_REQUIRE_EQ(ret, NULL);
      |         ^~~~~~~~~~~~~~
In file included from /usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/sstream:317,
                 from /usr/obj/.../amd64.amd64/tmp/usr/include/atf-c++/macros.hpp:29,
                 from /usr/obj/.../amd64.amd64/tmp/usr/include/atf-c++.hpp:29,
                 from lib/libc/tests/net/inet_net_test.cc:33:
/usr/obj/.../amd64.amd64/tmp/usr/include/c++/v1/__ostream/basic_ostream.h:338:81: note:   declared here
  338 | basic_ostream<_CharT, _Traits>& basic_ostream<_CharT, _Traits>::operator<<(long __n) {
      |                                                                            ~~~~~^~~
...

Fixes:		8f4a0d2f7b ("libc: Import OpenBSD's inet_net_{ntop,pton}")
2025-10-20 14:31:41 -04:00
John Baldwin e1aeb58cbb inet_net_test: Use int to hold expected return values from inet_net_pton
GCC warns about the sign mismatch in comparisons:

lib/libc/tests/net/inet_net_test.cc: In member function 'virtual void {anonymous}::atfu_tc_inet_net_inet4::body() const':
lib/libc/tests/net/inet_net_test.cc:86:17: error: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Werror=sign-compare]
   86 |                 ATF_REQUIRE_EQ(bits, addr.bits);
      |                 ^~~~~~~~~~~~~~
lib/libc/tests/net/inet_net_test.cc: In member function 'virtual void {anonymous}::atfu_tc_inet_net_inet6::body() const':
lib/libc/tests/net/inet_net_test.cc:205:17: error: comparison of integer expressions of different signedness: 'int' and 'const unsigned int' [-Werror=sign-compare]
  205 |                 ATF_REQUIRE_EQ(bits, addr.bits);
      |                 ^~~~~~~~~~~~~~

Fixes:		8f4a0d2f7b ("libc: Import OpenBSD's inet_net_{ntop,pton}")
2025-10-20 14:31:41 -04:00
Lexi Winter 8f4a0d2f7b libc: Import OpenBSD's inet_net_{ntop,pton}
Our versions of these functions (originally taken from BIND) simply
don't work correctly for AF_INET6.  These were removed from BIND itself
quite a while ago, but OpenBSD has made several fixes in the mean time,
so import their code.

Add tests for both functions.

PR:		289198
Reported by:	Nico Sonack <nsonack@herrhotzenplotz.de>
MFC after:	1 week
Reviewed by:	des
Obtained from:	OpenBSD (lib/libc/net)
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52629
2025-10-18 15:45:42 +01:00
Konstantin Belousov a4981edede kqueue.2: document KQUEUE_CPONFORK
Reviewed by:	markj
Sponsored by:	The FreeBSD Foundation
MFC after:	2 weeks
Differential revision:	https://reviews.freebsd.org/D52045
2025-10-18 08:12:37 +03:00
Gordon Tetlow 79e57ea662 libc: Add "Z" as TZ designator for strptime.
ISO 8601 allows use of "Z" as the time zone designator. Update the
strptime parser to allow this usage.

While we are at it, update the manpage to reflect that both UTC and Z
are now valid options.

Reviewed by:	des
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D53083
2025-10-15 18:24:07 -04:00
Ed Maste 2976a7ce2e libpam: Add newline at EOF in modules.inc 2025-10-15 11:32:07 -04:00
Lexi Winter bde703e8b6 ncurses: Add an ncurses-lib package
Set LIB_PACKAGE= in lib/ncurses/Makefile.inc so the ncurses libraries
go into the ncurses-lib subpackage rather than the base package. This
means applications that depend on ncurses can be installed without
needing to install the various utilities and manpages.

This removes a dependency from runtime to ncurses (it now depends on
ncurses-lib instead).

MFC after:	3 seconds
Reviewed by:	kevans
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53060
2025-10-15 13:29:28 +01:00
Lexi Winter bf84861460 packages: Rename unbound to local-unbound
This more accurately reflects its purpose, and its contents, since
everything in the package is prefixed with "local-".

While here, add a message on upgrade about regenerating the config.

MFC after:	3 seconds
Requested by:	des
Reviewed by:	des
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53056
2025-10-15 13:29:18 +01:00
Maxim Konovalov ad13fd5a8f socket.2: spell 2025-10-14 20:32:07 +00:00
Gleb Smirnoff 86d1723923 socket(2): refactor the manual page
Create a chapter on every important socket type: stream, datagram,
seqpacket.  Always list what protocol families do support what kinds of
sockets.  Improve some statements possessing language from the
specification [1].  Reduce some statements that are mostly specific to
TCP.  Provide more external links and references to various important
syscalls that can be used on sockets.

Add a paragrph on non-blocking mode.

The big factual change is documentation of SOCK_SEQPACKET.  In FreeBSD 15
this socket now fully follows the specification and is a stream socket
with record boundaries.

[1] https://pubs.opengroup.org/onlinepubs/9799919799/functions/V2_chap02.html#tag_16_10_06

Differential Revision:	https://reviews.freebsd.org/D52771
2025-10-14 11:41:25 -07:00
Gleb Smirnoff 663a571514 sockets: add PF_HYPERV alias
Just make it like all other sockets that have PF_FOO -> AF_FOO alias.
2025-10-14 11:41:25 -07:00
Dag-Erling Smørgrav 7c66667d45 realpath: Belatedly document POSIX conformance
We've been mostly POSIX-conforming since r236400 and fully since r240410,
which fixed a corner case where a missing non-leaf directory would be
reported as ENOTDIR instead of ENOENT.

Sponsored by:	Klara, Inc.
Fixes:		7877ed7ce3 ("Avoid mapping ENOENT to ENOTDIR for non-existent path components.")
Reviewed by:	ziaee, markj
Differential Revision:	https://reviews.freebsd.org/D53027
2025-10-13 13:53:52 +02:00
Dag-Erling Smørgrav 1406de21e1 realpath: Report correct path on failure
If lstat() fails with EACCES or ENOTDIR, the path we need to return in
the caller-provided buffer is that of the parent directory (which is
either unreadable or not a directory; the latter can only happen in the
case of a race) rather than that of the child we attempted to stat.

Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53025
2025-10-13 13:53:52 +02:00
Dag-Erling Smørgrav f3386dfeb4 realpath: Additional test cases
* Passing NULL should result in EINVAL
* Passing an empty path should result in ENOENT
* Failure with a non-null buffer should leave a partial result.  As
  pointed out in a comment in the test case, this reveals a discrepancy
  between the documentation and reality.

Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D53024
2025-10-13 13:53:51 +02:00
Emmanuel Vadot f08c46c8c8 pam_xdg.8: Remove bogus note
The pam_xdg module does set the XDG_RUNTIME_DIR in the environment, it's actually
its main purpose.

Reported by:	arrowd
2025-10-13 07:57:46 +02:00
Jose Luis Duran c624004553 blacklist: Avoid duplicate manual pages in METALOG
Previously, blacklist man pages were just a symlink to their blocklist
counterpart, this in turn installed blocklist man pages twice, and
resulted in a duplicate error when running metalog_reader.lua -c.

Take advantage of the duplication to document nuances in blacklist, such
as the fact that it uses the new database and socket name (blocklist).
Also, note that it has been renamed to blocklist.  In the future, it
will help to document its deprecation.

Approved by:	emaste (mentor)
Fixes:	7238317403 ("blocklist: Rename blacklist to blocklist")
MFC after:	2 days
2025-10-13 01:19:18 +00:00
Jose Luis Duran 7238317403 blocklist: Rename blacklist to blocklist
Follow up upstream rename from blacklist to blocklist.

- Old names and rc scripts are still valid, but emitting an ugly warning
- Old firewall rules and anchor names should work, but emitting an ugly
  warning
- Old MK_BLACKLIST* knobs are wired to the new ones

Although care has been taken not to break current configurations, this
is a large patch containing mostly duplicated code.  If issues arise, it
will be swiftly reverted.

Reviewed by:	ivy (pkgbase)
Approved by:	emaste (mentor)
MFC after:	2 days
Relnotes:	yes
2025-10-12 17:14:27 +00:00
Lexi Winter 419dcdc2c9 virtual_oss: Move plugins to the sound package
This is the correct place for them, and also issues an incorrect
dependency from utilities to sound.

Fixes:	1b806e607f ("packages: Add a sound package")
MFC after:	3 days
Reviewed by:	christos, dch
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53015
2025-10-12 16:29:17 +01:00
Lexi Winter 426891e0f8 libbluetooth: Move to the bluetooth-lib package
Move the library, but not any of the runtime.  This allows executables
to link against libbluetooth without having to pull in the entire BT
stack.

MFC after:	3 days
Reviewed by:	dch, emaste
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D53016
2025-10-12 16:28:20 +01:00
Ahmad Khalifa 25cca51ed2 libm: remainder: make sure x is zero
Make sure the entirety of x is zero before flipping the sign bit.
Otherwise the sign would be wrong for small values of x when x is
negative and |n*y| > |x|

Reported by:	alfredo
PR:		251091
Reviewed by:	kargl
MFC after:	3 days
Differential Revision: https://reviews.freebsd.org/D53023
2025-10-11 13:13:19 +03:00
Olivier Certner c363dcbe75 getgroups.2: Simplifications; Be clearer on programs to be modified
In the STANDARDS section, stop mentioning behavior that is not
prescribed by POSIX and make sure to specify which alternative we
implement (as POSIX allows to return or not the effective group ID).

Say more clearly that programs treating specially the first slot of the
returned array must be modified.

Consistently use "group ID" instead of "GID".

These changes are going to be MFCed into stable/14 as part of MFCing
commit 4be38acc82 ("getgroups.2: Clarify, mention ascending order, add
SECURITY CONSIDERATIONS"), so the current commit will be MFCed to
stable/15 only.

MFC after:      1 hour
MFC to:         stable/15
Sponsored by:   The FreeBSD Foundation
2025-10-10 17:57:24 +02:00
Xin LI 5863197933 libbz2: add pkg-config file (bzip2.pc)
Add generation of a bzip2.pc file for use with pkg-config and create
a basic template as bzip2.pc.in.

This allows other software to easily locate and link against libbz2
using standard pkg-config mechanisms instead of manual compiler and
linker flags.

The version number is extracted automatically from bzlib.h to keep
it consistent with the library sources.

Tested:	pkg-config --exists --print-errors "bzip2 >= 1.0.9" (fail, expected)
	pkg-config --exists --print-errors "bzip2 >= 1.0" (succeeded)
	pkg-config --libs bzip2 (-lbz2)
	pkg-config --cflags bzip2 ()

MFC after:	3 days
2025-10-09 22:35:54 -07:00
Quentin Thébault 349da4dbff libcasper: explicit cast in cap_fileargs header
The implicit cast is incompatible with standard compiler options in a
C++ project, making the library difficult to use.

Signed-off-by: Quentin Thébault <quentin.thebault@defenso.fr>
Sponsored by: Defenso
MFC after: 3 days
Discussed with: kevans
Reviewed by: emaste, vexeduxr
Pull request: https://github.com/freebsd/freebsd-src/pull/1857
2025-10-09 13:52:14 -04:00
Alfonso S. Siciliano 653f765f05 contrib/bsddialog: Import version 1.0.5
Version for change and feature requests.

* Improve documentation for --alternate-screen and --normal-screen.
  Request: https://bugs.freebsd.org/285459. (This PR is not about
  bsddialog itself but is used as an example for an official FreeBSD
  documentation request.)

* Reduce the number of screen refreshes to improve performance over a
  115200 UART connection.
  Request: https://gitlab.com/alfix/bsddialog/-/issues/8.

* Change textbox buttons to return distinct values (previously always
  returned OK).
  Request: https://reviews.freebsd.org/D48668; already committed in
  contrib/ 96a241a359

* Change forms navigation key behavior for ENTER and TAB.
  Request: https://bugs.freebsd.org/287592.

Refer to /usr/src/contrib/bsddialog/CHANGELOG to know more.

PR:		287592
Reported by:	adrian
Sponsored by:	The FreeBSD Foundation
2025-10-09 17:31:26 +02:00
Olivier Certner c36a44e1cd initgroups.3: Clarify that ENOMEM is a possible value for 'errno'
The current phrasing could be interpreted as meaning that initgroups(3)
could return ENOMEM instead of -1, which it actually did until I fixed
it in commit 0b018cfd81 ("initgroups(3): Fix return value on
allocation failure").

While here, mention setgroups(2) as a system call rather than a library
function.

MFC with:       0b018cfd81 ("initgroups(3): Fix return value on allocation failure")
Sponsored by:   The FreeBSD Foundation
2025-10-09 16:12:24 +02:00
Olivier Certner f554455675 getgrouplist.3: Insist on the value returned in 'ngroups'; Minor changes
Emphasize the peculiar treatment of 'ngroups', through which the
effective group list's size is returned, even if the passed allocated
size is not big enough, in which case the output 'groups' array is
completely filled with the effective group list's first elements.

Use the precise POSIX term for the group associated to the user in the
password database ("initial numerical group ID"), consistently with what
was done in initgroups.3.

Use "length" instead of "size" to refer to the number of elements of an
array (in contrast with its actual size in bytes).

Perform some minor simplifications on top of the last rework.

MFC after:      1 hour
Sponsored by:   The FreeBSD Foundation
2025-10-09 13:34:18 +02:00
Dag-Erling Smørgrav a802334d86 fts: Further improve the manual page
* Add subsections for the three functions that didn't already have one.
* Add a RETURN VALUES section.
* Improve the grammar somewhat.
* Clarify that fts_read() will not set errno to 0 if called again after
  having already returned NULL.

Sponsored by:	Klara, Inc.
Reviewed by:	bcr, markj
Differential Revision:	https://reviews.freebsd.org/D52925
2025-10-07 18:23:58 +02:00
Dag-Erling Smørgrav 31db1582c8 fts: Remove a few stray blank lines
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D52924
2025-10-07 18:23:57 +02:00
Cy Schubert b2efd602ae unbound: Vendor import 1.24.0
Release notes at
	https://nlnetlabs.nl/news/2025/Sep/18/unbound-1.24.0-released/

MFC after:	1 week

Merge commit '0064eb9cf1c8d526e87d3149249445d4bc8d0248'
2025-10-07 08:16:21 -07:00
Mark Johnston 2ba20004ef libc: Reimplement the *rand48 family of functions
Rather than implementing the recurrence using 3 16-bit integers, as was
done in _dorand48() before this patch, provide an equivalent
implementation using 64-bit integers.

For drand48() and erand48(), replace the use of ldexp() with
bit-twiddling assuming IEEE 754 double-precision float layout.

This implementation is significantly faster and requires less code,
while producing identical outputs on supported platforms.

While here, add a STANDARDS section to rand48.3.

Obtained from:	https://github.com/apple-oss-distributions/libc
MFC after:	3 weeks
Sponsored by:	Klara, Inc.
Differential Revision:	https://reviews.freebsd.org/D52429
2025-10-06 19:20:39 +00:00
Jose Luis Duran 75f7e003b7 nss_tacplus: Fix typo MK_INSTALLIB -> MK_INSTALLLIB
Reviewed by:	des
Approved by:	emaste (mentor)
Fixes:	6c5cdba1ba ("Add nss_tacplus, a TACACS+ NSS module.")
MFC after:	1 day
Differential Revision:	https://reviews.freebsd.org/D52882
2025-10-06 12:54:05 +00:00
Lexi Winter 0242d4c3ae libc: Move NLS catalogues to the locales packages
We don't want to put these in clibs (where libc is) since they are not
critical to system operation.  Move them to locales, since anyone who
is interested in translated versions of strerror() is going to have
that installed anyway.

While here, add some more documentation to bsd.nls.mk, particularly
the NLSPACKAGE option.

MFC after:	3 seconds
Reviewed by:	manu, kib
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52898
2025-10-05 06:12:54 +01:00
Dag-Erling Smørgrav 64f8416afd fts: Document thread (un)safety
MFC after:	3 days
Sponsored by:	Klara, Inc.
Reviewed by:	markj
Differential Revision:	https://reviews.freebsd.org/D52828
2025-10-04 20:42:19 +02:00
Robert Clausecker d518f64cef libc/resolv: get rid of MD5
MD5 is used by libc/resolv to generate a random sequence id from a
current time stamp.  Replace this convoluted mechanism with a call
to arc4random().  This permits us to entirely drop MD5 from libc,
simplifying the MD5 rework proposed in D45670.

Approved by:	markj
Reviewed by:	kevans, markj
See also:	D45670
Event:		EuroBSDcon 2025
Differential Revision:	https://reviews.freebsd.org/D52784
2025-10-04 10:50:02 +02:00
Robert Clausecker acd546f01e */*: remove recallocarray() compat shims following import into libc
libopenbsd retains recallocarray() during bootstrapping for now
as it is needed for mandoc.

Reviewed by:	kib
Differential Revision: https://reviews.freebsd.org/D52864
2025-10-03 19:47:52 +02:00
Robert Clausecker 4266461079 lib/libc: add recallocarray()
This function from OpenBSD is a hybrid of reallocarray() and calloc().
It reallocates an array, clearing any newly allocated items.
reallocarray() ultimately originates from OpenBSD.

The source is taken from lib/libopenbsd, which now no longer has the
function unless when bootstrapping (needed for mandoc).

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D52863
2025-10-03 19:46:55 +02:00
Robert Clausecker 969c119195 lib/libc: add FBSD-1.9 to Versions.def
In preparation of adding recallocarray() to libc.

See also:	D52863
Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D52878
2025-10-03 19:46:22 +02:00
Robert Clausecker 7233893e94 lib{c,openbsd}: use ckd_mul() for overflow checking in re(c)allocarray
Summary:
This makes the code easier to understand and slightly faster,
but requires C23.  calloc() would  benefit, too, but I didn't
want to touch the imported jemalloc code base.

Reviewed by:	kib
Differential Revision:	https://reviews.freebsd.org/D52854
2025-10-03 19:45:54 +02:00
Dag-Erling Smørgrav e98d341691 nss_tacplus: Fix typo in Makefile
Reported by:	ivy@
MFC after:	3 days
2025-10-02 09:27:18 +02:00
Lexi Winter 1b806e607f packages: Add a sound package
Put virtual_oss, /etc/devd/snd.conf and the other audio-related tools
into a new "sound" package.  Don't create a separate -lib package,
since it's unlikely someone will want mixer(3) without mixer(8).

Put the sound package in the optional set rather than minimal, since
it's not actually required for audio hardware support, and many systems
(including nearly all servers) won't want it installed.

MFC after:	3 seconds
Reviewed by:	christos
Sponsored by:	https://www.patreon.com/bsdivy
Differential Revision:	https://reviews.freebsd.org/D52823
2025-10-02 02:37:35 +01:00
Kristof Provost bdb205c53e libpfctl: fix memory leak in pfctl_get_status()
Remember to also free ncounters.

Fixes:		c00aca9a71 ("pf: Show pf fragment reassembly counters.")
MFC after:	3 days
Sponsored by:	Rubicon Communications, LLC ("Netgate")
2025-10-01 14:09:39 +02:00
Christos Margiolis f040ee6e40 virtual_oss: Do not build if WITHOUT_CUSE is set
PR:		289920
Fixes:          9cab9fde5e ("virtual_oss: Port to base")
Sponsored by:	The FreeBSD Foundation
MFC after:	1 day
Reviewed by:	emaste
Differential Revision:	https://reviews.freebsd.org/D52807
2025-09-30 19:01:37 +02:00
Dag-Erling Smørgrav be88306123 libc: Add missing MLINK for tzname(3)
While here, fix manlint warnings and a typo in tzset(3).

MFC after:	3 days
2025-09-30 15:18:00 +02:00
Kyle Evans 5e4e12ae64 pkgbase: move libedit into the -runtime package
libedit isn't as foundational as the rest of -clibs, but various bits
of -runtime do need it.  Give it a new home over in -runtime.

This also fixes the libedit build to group the readline bits into the
same package as the libedit that implements them.

Reviewed by:	ivy
MFC after:	2 days (pkgbase movement)
Differential Revision:	https://reviews.freebsd.org/D52787
2025-09-30 07:21:34 -05:00