FreeBSD/src cddb980usr.sbin/syslogd syslogd.c

syslogd: Make some code more clear.

This moves some math to where it logically makes more sense for skipping
over the ": " separator in the message formatted "app[PID]: MSG".

No functional change.

Fixes:          18bcf5a0 ("Restore local kernel "prog" filtering")
Sponsored by:   Dell Inc.
DeltaFile
+4-2usr.sbin/syslogd/syslogd.c
+4-21 files

FreeBSD/src 728ec0crelease Makefile.oci, release/scripts make-oci-image.sh

release: Add images for almost all packages, with & without toolchain

Contains almost everything of use in a container except:

- *lib32
- *dev
- *dbg
- *src
- anything expecting hardware such as device config tools

Differential Revision:  https://reviews.freebsd.org/D51471

Reviewed by:    dfr, emaste
Approved by:    cperciva
MFC after:      1 day
Sponsored by:   SkunkWerks, GmbH
DeltaFile
+68-0release/tools/oci-image-notoolchain.conf
+16-0release/tools/oci-image-toolchain.conf
+5-3release/Makefile.oci
+1-1release/scripts/make-oci-image.sh
+90-44 files

FreeBSD/src 221a5fbusr.sbin/bsdinstall bsdinstall.8, usr.sbin/bsdinstall/scripts zfsboot

bsdinstall: Drop outdated comments about ZFS dataset compression

All datasets on zroot pool are compressed by default since FreeBSD 11.0 [1],
no need to mention that on some specific datasets these days.

[1] 47206692f2cca020891d1eec5028e02c3e6f56c5

Reviewed by:    jrm (mentor), ziaee
MFC after:      3 days
Differential Revision:   https://reviews.freebsd.org/D52304

(cherry picked from commit f304c5bb8be65df83b86f8a50e1c7982b266262d)
DeltaFile
+2-2usr.sbin/bsdinstall/bsdinstall.8
+2-2usr.sbin/bsdinstall/scripts/zfsboot
+4-42 files

FreeBSD/src a2783fbrelease/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
DeltaFile
+5-0release/packages/ucl/kernel-man.ucl
+5-01 files

FreeBSD/src 9537aa0release/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.

    [5 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/minimal.ucl
+2-0release/packages/sets/src.ucl
+12-22 files not shown
+16-28 files

FreeBSD/src 9b7bddfrelease/packages generate-ucl.lua create-sets.sh, release/packages/sets minimal-jail.ucl minimal-jail-dbg.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
DeltaFile
+19-12release/packages/generate-ucl.lua
+6-4release/packages/create-sets.sh
+6-0release/packages/sets/minimal-jail.ucl
+6-0release/packages/sets/minimal-jail-dbg.ucl
+1-1release/packages/ucl/certctl-all.ucl
+1-1release/packages/ucl/clibs-all.ucl
+39-1815 files not shown
+54-3321 files

FreeBSD/src cbd6245libexec/nuageinit nuage.lua nuageinit.7, libexec/nuageinit/tests nuageinit.sh

nuageinit: Add doas support

* Set mode of etc directory to 0755.
* Use user.localbase sysctl instead of /usr/local.
* Add test case for doas.
* Set ${LOCALBASE} instead of /usr/local in nuageinit(7) man page.

Reviewed by:            bapt@
Approved by:            bapt@
Differential Revision:  https://reviews.freebsd.org/D52437

(cherry picked from commit 9a829e865697e623a046800545be7781a117125e)
DeltaFile
+61-1libexec/nuageinit/nuage.lua
+11-1libexec/nuageinit/tests/nuageinit.sh
+8-1libexec/nuageinit/nuageinit.7
+3-0libexec/nuageinit/nuageinit
+83-34 files

FreeBSD/src f0588c1libexec/nuageinit nuageinit.7

nuageinit.7: put each sentence on a new line

(cherry picked from commit a7f19968ae5d5e7e5feba85d04698050fcaf784f)
DeltaFile
+15-7libexec/nuageinit/nuageinit.7
+15-71 files

FreeBSD/src ea186b7libexec/nuageinit nuageinit.7

nuageinit.7: grammar fixes

(cherry picked from commit 95b0be1118b1a24ceb1b59ecd936aaa155d828bd)
DeltaFile
+2-2libexec/nuageinit/nuageinit.7
+2-21 files

FreeBSD/src d9843a4libexec/nuageinit nuage.lua nuageinit, libexec/nuageinit/tests nuage.sh nuageinit.sh

nuageinit: Add me to copyright list

Approved by:    bapt@

(cherry picked from commit 18555060dcae4cad8f2f8968142fc02a2571377b)
DeltaFile
+1-0libexec/nuageinit/nuage.lua
+1-0libexec/nuageinit/nuageinit
+1-0libexec/nuageinit/nuageinit.7
+1-0libexec/nuageinit/tests/nuage.sh
+1-0libexec/nuageinit/tests/nuageinit.sh
+1-0libexec/nuageinit/tests/utils.sh
+6-06 files

FreeBSD/src bf187f6libexec/nuageinit nuageinit nuageinit.7

nuageinit: Allow the use of network parameters from network-config

To better comply with the cloud-init specification, we need to
support the configuration of network-related parameters from
the network-config file, which is common in most deployments.

Reviewed by:            bapt@
Approved by:            bapt@
Differential Revision:  https://reviews.freebsd.org/D52419

(cherry picked from commit 95230b248f6412c2d1c416c1e9795c3192cdf750)
DeltaFile
+30-1libexec/nuageinit/nuageinit
+7-0libexec/nuageinit/nuageinit.7
+37-12 files

FreeBSD/src 918e197libexec/nuageinit nuageinit.7

nuageinit: Remove duplicate description of users.{user}.groups

Reviewed by:            bapt@
Approved by:            bapt@
Differential Revision:  https://reviews.freebsd.org/D52436

(cherry picked from commit 9f3330f5224ea2384a1c7d79a5b1f2784f7c14b6)
DeltaFile
+0-2libexec/nuageinit/nuageinit.7
+0-21 files

FreeBSD/src 5d8efb8libexec/nuageinit nuage.lua

nuageinit: chmod sudoers directory instead of chmod (again) sudoers file

* Set mode of sudoers to 0440.

Reviewed by:            bapt@, jlduran@
Approved by:            bapt@, jlduran@
Differential Revision:  https://reviews.freebsd.org/D52438

(cherry picked from commit a5cc9b7b96dcba4d3ee98f2eb58c3f389590ddf0)
DeltaFile
+2-2libexec/nuageinit/nuage.lua
+2-21 files

FreeBSD/src 3a680e9libexec/nuageinit nuageinit nuageinit.7, libexec/nuageinit/tests nuage.sh settimezone.lua

nuageinit: Improvements for nuageinit

- Fix 'pkg update' usage:
  - The function 'nuage:run_pkg_cmd(...)' adds the flag '-y', which
    does not make sense with some commands such as 'pkg update',
    causing an error when updating the repository catalogs.
- Fix typo 'ssh-authorized-keys -> ssh_authorized_keys' in
  'nuageinit(7)' man page.
- Document 'ssh_authorized_keys' parameter.
- Use device configuration ID when no 'match' rule is specified:
  - This is the default behavior of cloud-init when no match rule is
    specified, so the device is configured anyway (even if it does not
    exist). This greatly simplifies things, since in many cases
    'if_vtnet(4)' is used, so there is no need to perform a comparison
    with the MAC address.
- Document 'network' parameter:
  - Add example to 'EXAMPLES' section.
- Set 'gateway[46]' only when 'addresses' is specified:
  - To comply with the cloud-init specification, 'gateway4' and 'gateway6'

    [28 lines not shown]
DeltaFile
+210-30libexec/nuageinit/nuageinit
+90-2libexec/nuageinit/nuageinit.7
+19-1libexec/nuageinit/nuage.lua
+9-0libexec/nuageinit/tests/nuage.sh
+5-0libexec/nuageinit/tests/settimezone.lua
+2-2libexec/nuageinit/tests/nuageinit.sh
+335-351 files not shown
+336-357 files

FreeBSD/src 08e259ebin/timeout/tests timeout_test.sh

timeout(1): add license header to unit test

Requested by:   kevans

(cherry picked from commit 245f2abf94889d3fd69360c4f49532074ff25fbf)
DeltaFile
+2-0bin/timeout/tests/timeout_test.sh
+2-01 files

FreeBSD/src 65f42f8share/man/man4 mac_do.4

mac_do(4): fix typo

Reported by:    des

(cherry picked from commit d0c8733997079a54828ad2222517427d9447dbaf)
DeltaFile
+1-1share/man/man4/mac_do.4
+1-11 files

FreeBSD/src c73d38ashare/misc usb_vendors

usb_vendors: update to 2025-07-26

(cherry picked from commit 70afc95fc6ecec6edabf5b1e8b060bb0b29ebd55)
DeltaFile
+54-3share/misc/usb_vendors
+54-31 files

FreeBSD/src 30e3f96share/misc pci_vendors

pci_vendors: update to 2025-07-11

(cherry picked from commit 2e72bd422956f831ec7e54255bd12fb721887f4a)
DeltaFile
+914-91share/misc/pci_vendors
+914-911 files

FreeBSD/src 673f823usr.sbin/pkg pkg.c

pkg(7): Add support for pkg+ prefix to bootstrap pubkey

MFC After:      1 day
Sponsored by:   Amn Afzar Hoopad Inc
Differencial Revision:  https://reviews.freebsd.org/D52418

(cherry picked from commit 08b8843137b8be3f71608400907cb38bcda14965)
DeltaFile
+1-1usr.sbin/pkg/pkg.c
+1-11 files

FreeBSD/src c3f0a93share/misc pci_vendors

pci_vendors: update to 2025-07-11

(cherry picked from commit 2e72bd422956f831ec7e54255bd12fb721887f4a)
DeltaFile
+914-91share/misc/pci_vendors
+914-911 files

FreeBSD/src 3767aeeshare/misc usb_vendors

usb_vendors: update to 2025-07-26

(cherry picked from commit 70afc95fc6ecec6edabf5b1e8b060bb0b29ebd55)
DeltaFile
+54-3share/misc/usb_vendors
+54-31 files

FreeBSD/src ab41f84usr.sbin/pkg pkg.c

pkg(7): Add support for pkg+ prefix to bootstrap pubkey

MFC After:      1 day
Sponsored by:   Amn Afzar Hoopad Inc
Differencial Revision:  https://reviews.freebsd.org/D52418

(cherry picked from commit 08b8843137b8be3f71608400907cb38bcda14965)
DeltaFile
+1-1usr.sbin/pkg/pkg.c
+1-11 files

FreeBSD/src dd293fblibexec/nuageinit nuageinit nuage.lua, libexec/nuageinit/tests utils.sh nuage.sh

nuageinit: Add me to copyright list

Approved by:    bapt@

(cherry picked from commit 18555060dcae4cad8f2f8968142fc02a2571377b)
DeltaFile
+1-0libexec/nuageinit/tests/utils.sh
+1-0libexec/nuageinit/nuageinit
+1-0libexec/nuageinit/nuage.lua
+1-0libexec/nuageinit/nuageinit.7
+1-0libexec/nuageinit/tests/nuage.sh
+1-0libexec/nuageinit/tests/nuageinit.sh
+6-06 files

FreeBSD/src 24e5700libexec/nuageinit nuage.lua nuageinit.7, libexec/nuageinit/tests nuageinit.sh

nuageinit: Add doas support

* Set mode of etc directory to 0755.
* Use user.localbase sysctl instead of /usr/local.
* Add test case for doas.
* Set ${LOCALBASE} instead of /usr/local in nuageinit(7) man page.

Reviewed by:            bapt@
Approved by:            bapt@
Differential Revision:  https://reviews.freebsd.org/D52437

(cherry picked from commit 9a829e865697e623a046800545be7781a117125e)
DeltaFile
+61-1libexec/nuageinit/nuage.lua
+11-1libexec/nuageinit/tests/nuageinit.sh
+8-1libexec/nuageinit/nuageinit.7
+3-0libexec/nuageinit/nuageinit
+83-34 files

FreeBSD/src 4a01ddblibexec/nuageinit nuageinit nuageinit.7

nuageinit: Allow the use of network parameters from network-config

To better comply with the cloud-init specification, we need to
support the configuration of network-related parameters from
the network-config file, which is common in most deployments.

Reviewed by:            bapt@
Approved by:            bapt@
Differential Revision:  https://reviews.freebsd.org/D52419

(cherry picked from commit 95230b248f6412c2d1c416c1e9795c3192cdf750)
DeltaFile
+30-1libexec/nuageinit/nuageinit
+7-0libexec/nuageinit/nuageinit.7
+37-12 files

FreeBSD/src a00410flibexec/nuageinit nuage.lua

nuageinit: chmod sudoers directory instead of chmod (again) sudoers file

* Set mode of sudoers to 0440.

Reviewed by:            bapt@, jlduran@
Approved by:            bapt@, jlduran@
Differential Revision:  https://reviews.freebsd.org/D52438

(cherry picked from commit a5cc9b7b96dcba4d3ee98f2eb58c3f389590ddf0)
DeltaFile
+2-2libexec/nuageinit/nuage.lua
+2-21 files

FreeBSD/src 7a7f44dlibexec/nuageinit nuageinit.7

nuageinit: Remove duplicate description of users.{user}.groups

Reviewed by:            bapt@
Approved by:            bapt@
Differential Revision:  https://reviews.freebsd.org/D52436

(cherry picked from commit 9f3330f5224ea2384a1c7d79a5b1f2784f7c14b6)
DeltaFile
+0-2libexec/nuageinit/nuageinit.7
+0-21 files

FreeBSD/src 2d85bc8sys/kern subr_witness.c

witness: Record the first acquired file and line for recursable locks

and the last acquired file and line to witness object.

For recursable locks, unfortunately current implementation records only
the recurse count and the last acquired file and line, but does not
restore the previous acquired file and line on unlock. Hence it is
possible to report false acquired file and line, and that may mislead
developers and make the report by users a little harder to analyse.

Since subsequent recurse locks do not affect how witness order check,
record the first acquired file and line so that the logic is much clear.

Reported by:    bz
Reviewed by:    kib (previous version), markj
See also:       https://lists.freebsd.org/archives/freebsd-current/2025-June/007944.html
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D52496
DeltaFile
+4-6sys/kern/subr_witness.c
+4-61 files

FreeBSD/src 4c178fecontrib/bc build.pkg.rig, contrib/bc/project github_prs.json github_issues.json

contrib/bc upgrade to version 7.1.0

This update fixes a few bugs:
- Improper response to double SIGINT with editline.
- Not letting libedit handle terminal size changes.
- A dc crash from improperly handling an error.
- A duplicate check for reference arrays.
- Build failures with GCC 15.

Merge commit '682da5a0fdb2c38ecc3951047a882471d62aa1d1'

(cherry picked from commit fdc4a7c8012b214986cfa2e2fb6d99731f004b1b)

usr.bin/gh-bc: fix invocation of test scripts

The “all.sh” script in version 7.1.0 accepts one less parameter for
selecting the tests to be run.

(cherry picked from commit 1a6ffcb27ddcfdc66c2ea58d6789b3d527f68ba9)

    [6 lines not shown]
DeltaFile
+7,729-0contrib/bc/project/github_prs.json
+3,667-0contrib/bc/project/github_issues.json
+2,345-0contrib/bc/build.pkg.rig
+1,410-0contrib/bc/scripts/release.pkg.yao
+0-713contrib/bc/tests/bc/lib2_results.txt
+0-593contrib/bc/tests/other.sh
+15,151-1,306714 files not shown
+28,758-3,545720 files

FreeBSD/src 08d41d8. ObsoleteFiles.inc

ObsoleteFiles: Remove the miscapitalized vnet.9

MFC after:      3 days
Fixes:          3049b2f5115b (vnet.9: Rename vnet.9/vimage.9)
DeltaFile
+3-0ObsoleteFiles.inc
+3-01 files