FreeBSD/src 4d6d5f5sys/compat/linuxkpi/common/include/linux string_choices.h string_helpers.h

linuxkpi: Move string_helpers.h to string_choices.h

Chace Linux change fca76071bab2 ("lib/string_helpers: Split out
string_choices.h") from v6.5.  Everything that we implemented from
string_helpers.h has moved, so rename the file, update the include
guards, and add a new dummy string_helpers.h that just #includes it.
This matches Linux for the functionality that we have.

Reviewed by:    bz
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52606
DeltaFile
+71-0sys/compat/linuxkpi/common/include/linux/string_choices.h
+4-63sys/compat/linuxkpi/common/include/linux/string_helpers.h
+75-632 files

FreeBSD/src 2bf7d85release/scripts pkgbase-stage.lua

release: use sets to select base packages

The introduction of package sets allows us to replace the current
fragile string matching with this simpler and more robust alternative.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 seconds
Reviewed by:    emaste, ivy
Differential Revision:  https://reviews.freebsd.org/D52592

(cherry picked from commit 6cdca18d79b9e247d8a34e266fe2215e4bfa1b05)
DeltaFile
+28-68release/scripts/pkgbase-stage.lua
+28-681 files

FreeBSD/src 957875e. UPDATING, release/packages/ucl mandoc-all.ucl

packages: Add a mandoc package

Move mandoc to its own package so users can install it independently of
-utilities.  Put the package in the minimal set, since we also ship
manpages in minimal and "man" is a basic Unix utility.

Add a pkg-triggers(5) hook to run makewhatis when new manpages are
installed, so that apropos(1) works.  This depends on a new pkg(8)
feature expected to be in in the upcoming 2.3.2 release; in the mean
time, this is a no-op (i.e., having an older pkg doesn't break anything,
it just won't run the trigger).

MFC after:      3 seconds
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D52564

(cherry picked from commit ea5e50c2985bea029e7b30ecee773a59fe22cd68)
DeltaFile
+18-0usr.bin/mandoc/mandoc.ucl
+11-0release/packages/ucl/mandoc-all.ucl
+6-0usr.bin/mandoc/Makefile
+5-0UPDATING
+2-0usr.bin/man/Makefile
+42-05 files

FreeBSD/src e554d44usr.sbin/bsdinstall/scripts pkgbase.in

bsdinstall: Use package sets for pkgbase install

Update the pkgbase component selection dialogue to take the components
list from the meta-package sets available on the install media, except
for "kernel" which is still handled magically.

Always install "minimal", and by default select "base", "kernel-dbg"
and any libcompat sets (e.g., lib32) if they're available.

Replace the various "dbg" options with a single "debug" component that
installs the debug symbols for all the components the user selected,
except for kernel since we handle that separately and it's common to
want kernel debugs symbols without userland debug symbols.

MFC after:      3 seconds
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D52558

(cherry picked from commit 55ba5550d25d58144007ae02b07450ec8cda7ee5)
DeltaFile
+98-63usr.sbin/bsdinstall/scripts/pkgbase.in
+98-631 files

FreeBSD/src 22ae80b. UPDATING, release/packages/ucl tests-all.ucl kyua-all.ucl

packages: Remove the tests-dev package

We don't want a tests-dev package, because this means set-devel depends
on tests-dev, which transitively depends on tests, which means you can't
install set-devel without also getting tests.

The only real "dev" files in tests-dev are from ATF (libprivateatf),
so move that to its own package and add a dependency from tests.

Also move Kyua to its own package, since this might be useful for
running tests even when the user doesn't want the whole set of base
tests installed.

Add a dependency from -tests to both -atf and -kyua, and a dependency
on -set-base, since the tests won't work without the full base system
installed.

The remaining "dev" files in tests are actually test artifacts, not real
development libraries.  Add a new NO_DEV_PACKAGE option to bsd.lib.mk,

    [12 lines not shown]
DeltaFile
+25-2release/packages/ucl/tests-all.ucl
+20-0release/packages/ucl/kyua-all.ucl
+11-0share/mk/bsd.lib.mk
+8-0UPDATING
+8-0release/packages/ucl/atf-all.ucl
+3-0share/mk/bsd.test.mk
+75-214 files not shown
+84-1220 files

FreeBSD/src 4b9edaarelease/packages generate-ucl.lua, release/packages/sets tests.ucl

packages: remove tests from base set

Create a new tests package set to hold the tests, which are not useful
to all users and don't belong in the base set.

Reviewed by:    emaste, ivy
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52574

(cherry picked from commit 36edc5014f633c1f00031f5fc5a291f8cdd46d83)
DeltaFile
+5-0release/packages/sets/tests.ucl
+4-0release/packages/ucl/tests-all.ucl
+4-0release/packages/generate-ucl.lua
+13-03 files

FreeBSD/src f3cc44crelease/packages/ucl kernel-man.ucl

packages: Move kernel-man to the minimal set

Currently this is in the "kernels" set, which doesn't make sense
because it's not a kernel.

Move it to the "minimal" set, on the basis that minimal already includes
a bunch of manpages, and a user who installs with minimal expects that
e.g. "man ix" will work.

MFC after:      3 seconds
Reported by:    des
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D52560

(cherry picked from commit a2783fb75401c85f5ae815a1349fbad8e7ab7b3c)
DeltaFile
+5-0release/packages/ucl/kernel-man.ucl
+5-01 files

FreeBSD/src 6a31dbcrelease/packages generate-ucl.lua create-sets.sh, release/packages/sets minimal-jail-dbg.ucl minimal-jail.ucl

packages: Add minimal-jail set

This is minimal, but without bootloader, hardware and networking support
that's typically not required in jails.

This requires extending the 'set' annotation to be a comma-separated
list, so that packages can be in multiple sets.

MFC after:      3 seconds
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D52591

(cherry picked from commit 9b7bddfd082d1df2b4c97e7ec974d1d67e98a1de)
DeltaFile
+19-12release/packages/generate-ucl.lua
+6-4release/packages/create-sets.sh
+6-0release/packages/sets/minimal-jail-dbg.ucl
+6-0release/packages/sets/minimal-jail.ucl
+1-1release/packages/ucl/locales-all.ucl
+1-1release/packages/ucl/at-all.ucl
+39-1815 files not shown
+54-3321 files

FreeBSD/src 351bf95share/man/man4 Makefile, share/man/man9 Makefile

share/man/man[49]: Set PACKAGE=kernel-man

When MANSPLITPKG is disabled (which is now the default), the kernel
manpages in sections 4 and 9 are installed in the -kernel package
instead of the -kernel-man package, because bsd.man.mk doesn't add
the -man suffix.

Since we already have handling for kernel-man in generate-ucl.lua,
set PACKAGE=kernel-man to make sure they're always in the right
package.

To avoid creating -kernel-man-man when WITH_MANSPLITPKG is enabled,
add some logic to bsd.man.mk (suggested by kevans) to avoid adding
the -man suffix if the package already has a -man suffix, and while
here, ensure ${__group}PACKAGE is always defined.

MFC after:      3 seconds
Reviewed by:    des, bapt
Differential Revision:  https://reviews.freebsd.org/D52525

    [2 lines not shown]
DeltaFile
+4-3share/mk/bsd.man.mk
+1-1share/man/man9/Makefile
+1-1share/man/man4/Makefile
+6-53 files

FreeBSD/src 8f1cddbrelease/packages/sets devel.ucl devel-dbg.ucl

packages: Mark all sets as vital

At least "minimal" must be vital, because it's required for a functional
system.  For example, we might create new packages in the future which
are required for the multi-user system and are part of the minimal set,
so it's important that users don't remove set-minimal to ensure they get
those new packages.

For the other sets, it's debatable whether they should be vital or not,
but let's start out with the assumption that if the user installed a
set, they should have to have to explicit request it be removed.  This
means if, for example, they install set-devel, then remove lldb, pkg
won't remove set-devel and cause the next "pkg autoremove" to remove
everything else that was in set-devel.

We might want to adjust this later (or possibly adjust the behaviour
of pkg(8) itself) based on user feedback.

While here, fix a typo in the description of the devel set.

    [7 lines not shown]
DeltaFile
+3-1release/packages/sets/devel.ucl
+1-1release/packages/sets/devel-dbg.ucl
+2-0release/packages/sets/lib32.ucl
+2-0release/packages/sets/minimal-jail.ucl
+2-0release/packages/sets/src.ucl
+2-0release/packages/sets/tests.ucl
+12-22 files not shown
+16-28 files

FreeBSD/src 297a665release/packages/sets src.ucl, release/packages/ucl src-sys-all.ucl src-all.ucl

packages: remove src from base set

The FreeBSD-src package is the largest single pkgbase package at 158M
currently. Remove it and FreeBSD-src-sys (87M) from the base set as
they are not useful to all users.

Reviewed by:    emaste, ivy
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D52573

(cherry picked from commit 87a78d9618ab5430b12dd5c54ec61fcaeb8f0655)
DeltaFile
+5-0release/packages/sets/src.ucl
+4-0release/packages/ucl/src-sys-all.ucl
+4-0release/packages/ucl/src-all.ucl
+13-03 files

FreeBSD/src bcf3a9esys/net if_bridge.c

bridge: Do outbound VLAN filtering in bridge_enqueue

Outbound VLAN filtering wasn't being done for host-originated frames,
because bridge_output was missing a call to bridge_vfilter_out, like
in bridge_forward and bridge_broadcast.

Rather than adding another call, move the filtering to bridge_enqueue,
which ensures all frames will be filtered.  This slightly changes the
observable behaviour since we now do pfil before vlan filtering, but
that's probably closer to what users expect anyway.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D52380

(cherry picked from commit 6a888f62413a1a6117f5053f124c97277ed18484)
DeltaFile
+14-8sys/net/if_bridge.c
+14-81 files

FreeBSD/src 74e7367release/packages/ucl zoneinfo-all.ucl

packages: Add correct license for zoneinfo

Source: contrib/tzdata/LICENSE

MFC after:      3 days
Reviewed by:    bapt
Differential Revision:  https://reviews.freebsd.org/D51886

(cherry picked from commit 163f8625c4df3ccdfab0717cf8b8d13a163e22eb)
DeltaFile
+3-0release/packages/ucl/zoneinfo-all.ucl
+3-01 files

FreeBSD/src f0971dbcddl/lib/libspl Makefile, cddl/lib/libtpool Makefile

packages: Use LIB_PACKAGE for zfs and ufs packages

Commit f9513c334ff7 moved the shared libraries for ZFS and UFS into
separate packages (libzfs and libufs), which resulted in a rather
large number of packages being created, e.g. for ZFS:

FreeBSD-libzfs
FreeBSD-libzfs-dbg
FreeBSD-libzfs-dbg-lib32
FreeBSD-libzfs-dev
FreeBSD-libzfs-dev-lib32
FreeBSD-libzfs-lib32
FreeBSD-zfs
FreeBSD-zfs-dbg
FreeBSD-zfs-dbg-lib32
FreeBSD-zfs-dev
FreeBSD-zfs-dev-lib32
FreeBSD-zfs-lib32
FreeBSD-zfs-man

    [18 lines not shown]
DeltaFile
+0-8release/packages/ucl/libufs-all.ucl
+4-3cddl/lib/libtpool/Makefile
+0-5release/packages/ucl/libzfs-all.ucl
+3-1cddl/lib/libspl/Makefile
+3-1cddl/lib/libumem/Makefile
+3-1cddl/lib/libuutil/Makefile
+13-1911 files not shown
+40-2617 files

FreeBSD/src 7e9f0bf. UPDATING, share/man/man5 src.conf.5

packages: Turn off MANSPLITPKG by default

Manpages are very small, and having a separate manpages package for
every base package is quite annoying for users.  Turn this option
off by default.

Discussed with: bapt
Reviewed by:    manu, emaste
MFC after:      3 days
Differential Revision:  https://reviews.freebsd.org/D52417

(cherry picked from commit a8a18eeb5e1711ad27c3ee20eb342b73d3badffa)
DeltaFile
+6-0UPDATING
+2-2share/man/man5/src.conf.5
+1-1share/mk/bsd.opts.mk
+9-33 files

FreeBSD/src 00ae91f. Makefile.inc1, release/packages generate-set-ucl.lua create-sets.sh

packages: Add meta-package sets

Add several metapackages which contain no files themselves, but depend
on other packages.  This allows the user to install a system by using
a set like "FreeBSD-set-minimal" instead of having to know which
specific packages are required, and it means if we add more package
in the future, existing installations will get them automatically as
long as they were installed using a set.

The defined sets are significantly less granular than the actual
packages; the assumption is that users who want a very specific set of
packages installed can do that manually, while sets are intended more
for typical users who just want to install FreeBSD.

The following sets are defined:

* minimal: the set of packages required to boot the system and bring
  up a multi-user UNIX system.  This includes hardware support,
  networking (wireless, DHCP), basic functionality like syslogd, cron

    [42 lines not shown]
DeltaFile
+96-0release/packages/generate-set-ucl.lua
+45-0release/packages/create-sets.sh
+34-0release/packages/generate-ucl.lua
+25-8release/packages/template.ucl
+29-1Makefile.inc1
+21-0release/packages/ucl/README
+250-955 files not shown
+619-4061 files

FreeBSD/src 561dc35usr.sbin/bsdinstall/scripts pkgbase.in

bsdinstall: Use package sets for pkgbase install

Update the pkgbase component selection dialogue to take the components
list from the meta-package sets available on the install media, except
for "kernel" which is still handled magically.

Always install "minimal", and by default select "base", "kernel-dbg"
and any libcompat sets (e.g., lib32) if they're available.

Replace the various "dbg" options with a single "debug" component that
installs the debug symbols for all the components the user selected,
except for kernel since we handle that separately and it's common to
want kernel debugs symbols without userland debug symbols.

MFC after:      3 seconds
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D52558
DeltaFile
+98-63usr.sbin/bsdinstall/scripts/pkgbase.in
+98-631 files

FreeBSD/src 7e79bc8release/scripts pkgbase-stage.lua

release: use sets to select base packages

The introduction of package sets allows us to replace the current
fragile string matching with this simpler and more robust alternative.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 seconds
Reviewed by:    emaste, ivy
Differential Revision:  https://reviews.freebsd.org/D52592
DeltaFile
+28-70release/scripts/pkgbase-stage.lua
+28-701 files

FreeBSD/src 6f59cb7lib/msun/src s_cpow.c s_cpowf.c

lib/msun: cpow{,f,l}(CMLX(0.0, 0.0)) should return 1.0

PR:     289447

(cherry picked from commit 8b41ba845c7e10b5f241a1f944fe9a8e19ad75a9)
DeltaFile
+4-1lib/msun/src/s_cpow.c
+4-1lib/msun/src/s_cpowf.c
+4-1lib/msun/src/s_cpowl.c
+12-33 files

FreeBSD/src 92801edlib/msun/src s_cpowf.c s_cpow.c

lib/msun: cpow{,f,l}(CMLX(0.0, 0.0)) should return 1.0

PR:     289447

(cherry picked from commit 8b41ba845c7e10b5f241a1f944fe9a8e19ad75a9)
DeltaFile
+4-1lib/msun/src/s_cpowf.c
+4-1lib/msun/src/s_cpow.c
+4-1lib/msun/src/s_cpowl.c
+12-33 files

FreeBSD/src c8d87fdusr.sbin/adduser rmuser.sh

rmuser.sh: Improve prompt consistency with adduser

While here, improve userlist error message.

PR:                     289399
MFC after:              3 days
Reviewed by:            kbowling, rgrimes
Approved by:            kbowling, rgrimes (src)
Reported by:            michaeldexter, rgrimes
Differential Revision:  https://reviews.freebsd.org/D52464

(cherry picked from commit fc68f8aac623b5494484adfa41ac600415609870)
DeltaFile
+3-3usr.sbin/adduser/rmuser.sh
+3-31 files

FreeBSD/ports 76cbf56devel/hs-hspec-discover distinfo Makefile

devel/hs-hspec-discover: Update 2.11.12 => 2.11.13

Changelogs:
* https://hackage.haskell.org/package/hspec-2.11.13/changelog

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52599
DeltaFile
+3-3devel/hs-hspec-discover/distinfo
+1-1devel/hs-hspec-discover/Makefile
+4-42 files

FreeBSD/ports 72e899bwww/hs-postgrest distinfo Makefile.modules

www/hs-postgrest: Update 13.0.6 => 13.0.7

Changelogs:
* https://github.com/PostgREST/postgrest/releases/tag/v13.0.7
* https://github.com/PostgREST/postgrest/compare/v13.0.6...v13.0.7

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52548
DeltaFile
+5-5www/hs-postgrest/distinfo
+1-1www/hs-postgrest/Makefile.modules
+1-1www/hs-postgrest/Makefile
+7-73 files

FreeBSD/ports 7655979emulators/es-de Makefile, graphics/lunasvg distinfo Makefile

graphics/lunasvg: Update 3.4.0 => 3.5.0

Changelogs:
* https://github.com/sammycage/lunasvg/releases/tag/v3.5.0
* https://github.com/sammycage/lunasvg/compare/v3.4.0...v3.5.0

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52519
DeltaFile
+3-3graphics/lunasvg/distinfo
+1-2graphics/lunasvg/Makefile
+1-1emulators/es-de/Makefile
+5-63 files

FreeBSD/ports 5f1491cemulators/pcsx2 Makefile, graphics/plutosvg Makefile

graphics/plutovg: Update 1.3.0 => 1.3.1

Changelogs:
* https://github.com/sammycage/plutovg/releases/tag/v1.3.1
* https://github.com/sammycage/plutovg/compare/v1.3.0...v1.3.1

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52518
DeltaFile
+0-16graphics/plutovg/files/patch-meson.build
+3-3graphics/plutovg/distinfo
+1-1graphics/plutovg/Makefile
+1-1emulators/pcsx2/Makefile
+1-1graphics/plutosvg/Makefile
+1-1graphics/sdl3_ttf/Makefile
+7-231 files not shown
+8-237 files

FreeBSD/ports 3039273net/krakend-ce distinfo Makefile

net/krakend-ce: Update 2.10.2 => 2.11.0

Changelogs:
* https://github.com/krakend/krakend-ce/releases/tag/v2.11.0
* https://github.com/krakend/krakend-ce/compare/v2.10.2...v2.11.0

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52468
DeltaFile
+5-5net/krakend-ce/distinfo
+1-2net/krakend-ce/Makefile
+6-72 files

FreeBSD/ports 09d7f9bnet-p2p/py-stig distinfo Makefile

net-p2p/py-stig: Update 0.13.0a0 => 0.14.0a0

* Added "infohash" column
* Fixed some display issues with zero-width and double-width characters in torrent name

Changelogs:
* https://github.com/rndusr/stig/blob/master/CHANGELOG

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52471
DeltaFile
+3-3net-p2p/py-stig/distinfo
+1-1net-p2p/py-stig/Makefile
+4-42 files

FreeBSD/ports 5e0ee46comms/fldigi distinfo Makefile

comms/fldigi: Update 4.2.08 => 4.2.09

Changelogs:
- https://www.w1hkj.org/files/fldigi/readme.txt

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52480
DeltaFile
+3-3comms/fldigi/distinfo
+1-1comms/fldigi/Makefile
+4-42 files

FreeBSD/ports 6dc7ea9net/boinc-client Makefile distinfo

net/boinc-client: Update 8.0.2 => 8.2.4

Changelogs:
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.0%2F8.0.3
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.0%2F8.0.4
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.2%2F8.2.0
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.2%2F8.2.1
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.2%2F8.2.2
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.2%2F8.2.3
* https://github.com/BOINC/boinc/releases/tag/client_release%2F8.2%2F8.2.4
* https://github.com/BOINC/boinc/compare/client_release/8.0/8.0.2...client_release/8.2/8.2.4

* Apply portfmt(1)
* Fix options descriptions

Approved by:    yuri@ (Mentor)

Differential Revision: https://reviews.freebsd.org/D52517
DeltaFile
+25-25net/boinc-client/Makefile
+3-3net/boinc-client/distinfo
+3-3net/boinc-client/pkg-plist
+31-313 files

FreeBSD/src 5918b48release/scripts make-pkg-package.sh

release: Allow pkg build on "wrong" major

While we usually build FreeBSD releases on the same major version, we
do need to be able to e.g. build 15 on 16.  Tell the ports tree that
we know what we're doing.  (We don't, not really, but we can at least
pretend...)

MFC after:      6 hours
Sponsored by:   https://www.patreon.com/cperciva
DeltaFile
+1-0release/scripts/make-pkg-package.sh
+1-01 files