FreeBSD/src 8f7ea6bsys/x86/cpufreq hwpstate_intel.c

hwpstate_intel: Minimize ifdef for i386 build

Reported by:    jrtc27
Fixes:  bdc0f7678257
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit 02c440e204041e92da403a64b70c2e1fdf3a4f73)
DeltaFile
+0-4sys/x86/cpufreq/hwpstate_intel.c
+0-41 files

FreeBSD/src 493676dsys/x86/include kvm.h

kvm: Support non-default CPUID leaf

KVM does not always use 0x40000000 as its CPUID base. For example, QEMU
adds a 0x100 offset when nested virtualization is detected and the host
exposes Hyper-V enlightenment hints. To accommodate this behavior,
switch the detection logic to use the CPUID leaf returned by do_cpuid(),
making the implementation more flexible.

See:
https://github.com/qemu/qemu/blob/master/target/i386/kvm/kvm.c#L2300

Reviewed by:    kib
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58146

(cherry picked from commit 86691d52a6d3796ad36ba474cf0a9493f6d99202)
DeltaFile
+3-4sys/x86/include/kvm.h
+3-41 files

FreeBSD/src 1802f2cstand/common gfx_fb.c gfx_fb.h, stand/ficl gfx_loader.c

stand: Bulk operations on each gfxfb_blt if shadow buffer enabled

Previously, gfxfb_blt flushed the framebuffer on every call. Since a
single drawing operation may invoke gfxfb_blt multiple times, this can
result in unnecessary flushes.

Instead, write updates to the shadow buffer (when present) and mark the
affected area as dirty. Flushing is deferred so multiple gfxfb_blt calls
can be coalesced into a single update. As before, only the dirty region
is flushed.

This fixes the slow bootloader problem in some platforms.

Reviewed by:    imp, adrian, obiwac
Tested by:      obiwac, jrm
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57373

(cherry picked from commit 32da2f23ae4d18888d34682b0ddb49ec80c0bb26)
DeltaFile
+203-22stand/common/gfx_fb.c
+7-0stand/common/gfx_fb.h
+4-3stand/ficl/gfx_loader.c
+2-1stand/liblua/gfx_utils.c
+216-264 files

FreeBSD/src 592bf24sys/x86/cpufreq hwpstate_intel.c

hwpstate_intel: Fix i386 build

Reviewed by:    olce
Fixes:  7b26353a59d6
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D58208

(cherry picked from commit bdc0f7678257eaa739b9c816285504470e71e3de)
DeltaFile
+8-0sys/x86/cpufreq/hwpstate_intel.c
+8-01 files

FreeBSD/src 4a1a1bfstand/common gfx_fb.c

stand: Fix shadow buffer offset handling

The shadow buffer is addressed relative to `tg_origin`, which includes
the padding offset, whereas `gfxfb_blt` operates on coordinates without
that offset. To make `gfx_fb_copy_area` emulate the behavior of
`gfxfb_blt`, the source coordinates must include the padding offset,
while the destination coordinates must not. The original implementation
omitted the offset from the source coordinates; this change corrects
that.

Additionally, `gfx_fb_cons_display` already applies the padding offset,
so the redundant adjustment is removed.

PR:             296246
Reported by:    2khramtsov at gmail.com
Reviewed by:    imp
Tested by:      2khramtsov at gmail.com, junchoon at dec.sakura.ne.jp,
naito.yuichiro_ at gmail.com
Fixes:          32da2f23ae4d

    [5 lines not shown]
DeltaFile
+15-11stand/common/gfx_fb.c
+15-111 files

FreeBSD/ports cecb5d4sysutils/debootstrap distinfo Makefile

sysutils/debootstrap: Update to 1.0.144
DeltaFile
+3-3sysutils/debootstrap/distinfo
+1-2sysutils/debootstrap/Makefile
+1-0sysutils/debootstrap/pkg-plist
+5-53 files

NetBSD/pkgsrc-wip 46809ccflux2 distinfo go-modules.mk, flux2/patches patch-go.sum patch-go.mod

flux2: Update to 2.9.3

Changes:
Flux v2.9.0 is a feature release. Users are encouraged to upgrade for
the best experience.

For a compressive overview of new features and API changes included in
this release, please refer to the Announcing Flux 2.9 GA blog post:
<https://fluxcd.io/blog/2026/06/flux-v2.9.0/>

Overview of the new features:

- Flux CLI Plugin System with the Mirror and Schema plugins (flux plugin)
- Server-Side Apply field ignore rules for fine-grained drift control (Kustomization)
- SOPS decryption with the Age post-quantum cipher (Kustomization)
- Kubernetes Workload Identity authentication for OpenBao and Vault (Kustomization)
- Helm post-render strategies, including chart hooks support (HelmRelease)
- Literal mode for Helm values references mirroring helm --set-literal (HelmRelease)
- Allow empty kind in CEL health check expressions (Kustomization, HelmRelease)

    [8 lines not shown]
DeltaFile
+878-800flux2/distinfo
+291-265flux2/go-modules.mk
+6-6flux2/patches/patch-go.sum
+3-3flux2/patches/patch-go.mod
+1-1flux2/Makefile
+1,179-1,0755 files

FreeBSD/ports a4b7c1ccad/freecad distinfo Makefile

cad/freecad: update to 1.1.3

Announcement: https://blog.freecad.org/2026/07/25/freecad-1-1-3-released/
DeltaFile
+3-3cad/freecad/distinfo
+1-1cad/freecad/Makefile
+4-42 files

FreeBSD/src 73a7f5apackages/bhyve Makefile

packages: make bhyve depend on acpi

bhyve(8) on amd64 needs iasl(8) to run, otherwise it fails with:

  /bin/sh: /usr/sbin/iasl: not found
  bhyve: BASL failed @ build_dsdt:484
      Failed to execute basl_compile(ctx, basl_fwrite_dsdt): Unknown
  error: 32512
  bhyve: BASL failed @ acpi_build:899
      Failed to execute build_dsdt(ctx): Unknown error: 32512
  Assertion failed: (error == 0), function bhyve_init_platform_late, file
  /home/pkgbuild/worktrees/main/usr.sbin/bhyve/amd64/bhyverun_machdep.c,
  line 394.

Register the "acpi" package which provides iasl(8) as a dependency for
bhyve on amd64.

Reviewed by:            markj (previous revision), ivy
Differential Revision:  https://reviews.freebsd.org/D56498

    [3 lines not shown]
DeltaFile
+5-0packages/bhyve/Makefile
+5-01 files

FreeBSD/src b5a144b. README.md

README.md: Add packages/ directory

Fixes:  bb75b0d581f7 ("packages: Convert world to a subdir build")
MFC after:      2 weeks
Reviewed by:    des, emaste
Differential Revision:  https://reviews.freebsd.org/D56839

(cherry picked from commit e3e5b86e3b9e00f1fe89e54d13dcd665e63eb4c6)
DeltaFile
+1-0README.md
+1-01 files

FreeBSD/src 477500epackages Makefile

packages: Fix building packages when WITHOUT_BLOCKLIST is set

Reviewed by:    emaste
MFC after:      1 week
Sponsored by:   Rubicon Communications, LLC ("Netgate")
Differential Revision: https://reviews.freebsd.org/D57601

(cherry picked from commit cd0a101b01d685092d073a367f0e7374f7259256)
DeltaFile
+2-1packages/Makefile
+2-11 files

FreeBSD/src a0871fcpackages/sound Makefile

packages/sound: Add dependency on bsdconfig

Since the devd rules use sysrc, bsdconfig should be installed.

MFC after:      3 days

(cherry picked from commit 82aca8ef0dd73a09e46271158f822a7e49082cd0)
DeltaFile
+3-0packages/sound/Makefile
+3-01 files

FreeBSD/src f8b81bf. Makefile.inc1

Makefile.inc1: Only copy locales to INSTALLTMP on FreeBSD

Makefile.inc1 copies locales to ${INSTALLTMP} to avoid issues when
running make installworld on a live system.  However, this can break
on non-FreeBSD systems, e.g. on openSUSE where /usr/share/locales
has mode 0555, which means after we copy it, we can't delete it,
so the build fails.

Since this functionality is only useful when installing over a
live system, disable it when the build host is not FreeBSD.

MFC after:      2 weeks
Reviewed by:    kevans, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56677

(cherry picked from commit 4429630d1ca9d90c886bae1eaa0d8ee32d0fee12)
DeltaFile
+9-2Makefile.inc1
+9-21 files

FreeBSD/src a020a88lib/clang Makefile.inc lldb.pre.mk, lib/clang/liblldb Makefile

llvm: Move libprivatelldb to the lldb package

Set PACKAGE=lldb in lldb.pre.mk rather than in individual Makefiles;
change lib/clang/Makefile.inc from PACKAGE=clang to PACKAGE?=clang to
avoid overwriting it.

This is safe to MFC to stable/15 since the moved library will be
picked up automatically by pkg.

MFC after:      2 weeks
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56674

(cherry picked from commit 7970815be40b1fa604a6554f5ee0f95f834454b5)
DeltaFile
+1-1lib/clang/Makefile.inc
+2-0lib/clang/lldb.pre.mk
+0-1usr.bin/clang/lldb/Makefile
+0-1usr.bin/clang/lldb-server/Makefile
+0-1lib/clang/liblldb/Makefile
+3-45 files

FreeBSD/src 1d0ae66packages Makefile, packages/kyua kyua.ucl

packages: Convert world to a subdir build

Instead of driving the world package build from Makefile.inc1,
use a subdir build where each package has a subdirectory under
packages/ using the new <bsd.pkg.mk>.

Convert some metadata that was previously in the UCL files (e.g.
sets and dependencies) to Makefile variables.

Build the packages under objdir (not repodir), and use the new
stagepackages target to copy them to repodir when creating the
repository.

Determine an explicit list of packages to build in packages/Makefile
based on enabled src.conf options, and add logic to abort the build
if we attempt to build an empty package.  This inverts the previous
logic in Makefile.inc1 which would simply skip empty packages.

There are a few advantages to doing it this way:

    [26 lines not shown]
DeltaFile
+218-0share/mk/bsd.pkg.mk
+164-0packages/Makefile
+92-0share/mk/bsd.pkg.pre.mk
+0-58release/packages/ucl/kyua-all.ucl
+54-0packages/kyua/kyua.ucl
+0-52release/packages/ucl/dma-all.ucl
+528-110440 files not shown
+5,435-4,938446 files

FreeBSD/src f948e6brelease/packages create-sets.sh

packages: Make create-sets.sh more robust during release

Commit d1c176fedfc9 made create-sets.sh exit when it encounters an
error, instead of creating an empty repository.  However, this turns
out to cause some issues:

1. A package not having any sets is considered an error, but during
   the release build, we stuff a 'pkg' package into the repository
   which doesn't have any sets, which causes a failure.  Avoid this
   by simply ignoring the pkg package.

2. No error was printed in this case, which made the problem hard
   to diagnose.  Add an explicit error message.

3. A similar problem occurred running on a repository which already
   contained sets, which is not usually done during the build, but
   is not necessarly an inappropriate thing to do.  Fix this one by
   ignoring set packages when looking for sets.


    [13 lines not shown]
DeltaFile
+48-4release/packages/create-sets.sh
+48-41 files

FreeBSD/src 9b6e6b2packages Makefile

packages: Fix clang conditional

Various src.conf options can cause us to build something that ends up
in the clang package, but MK_TOOLCHAIN is not one of them; copy the
proper conditional from lib/Makefile to decide if we need to build
the package.

This fixes the build when LLVM/clang is entirely disabled.

Fixes:  bb75b0d581f7 ("packages: Convert world to a subdir build")
MFC after:      2 weeks
Reviewed by:    emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56657

(cherry picked from commit e6d112bbbbf0b09f0f18a85a0a3c6d5a49aff653)
DeltaFile
+2-1packages/Makefile
+2-11 files

FreeBSD/src 58c0851libexec/rc/rc.d Makefile, packages Makefile.arm Makefile.powerpc

acpi: Remove userland bits on non-ACPI platforms

ACPI is only supported on amd64, arm64 and i386.  Don't install the
power_profile rc script or devd configuration on other platforms.

This avoids creating a useless FreeBSD-acpi package on those platforms.

MFC after:      2 weeks
Reviewed by:    imp
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56650

(cherry picked from commit c4b244af42a1f20937939a824b753a92c9c0a46f)
DeltaFile
+0-17packages/Makefile.arm
+0-17packages/Makefile.powerpc
+0-6packages/acpi/Makefile
+4-0tools/build/mk/OptionalObsoleteFiles.inc
+3-0libexec/rc/rc.d/Makefile
+3-0sbin/devd/Makefile
+10-401 files not shown
+10-417 files

FreeBSD/src b04fa0flibexec/rc/rc.d Makefile, packages Makefile.i386 Makefile.arm

apm: Only install rc script on i386

The apm(8) rc script only works on i386, but it's installed on all
platforms.  Only install it on i386, which avoids creating a useless
FreeBSD-apm package on other platforms.

While here, build the acpi package on i386.

Relnotes:       yes
MFC after:      2 weeks
Reviewed by:    imp
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56629

(cherry picked from commit b7daab8be1d4555f23a297e60e4128c01caabf82)
DeltaFile
+18-0packages/Makefile.i386
+3-3libexec/rc/rc.d/Makefile
+0-6packages/apm/Makefile
+3-0tools/build/mk/OptionalObsoleteFiles.inc
+0-1packages/Makefile.arm
+0-1packages/Makefile.arm64
+24-112 files not shown
+24-138 files

FreeBSD/src d2ce6ed. Makefile.inc1

Makefile.inc1: Always use ${PKG_CMD}

Previously we had a mix of ${PKG_CMD} and bare 'pkg', which is
wrong, and breaks the build when 'pkg' isn't in the tools path,
e.g. when cross-building.

MFC after:      2 weeks
Reviewed by:    wosch, emaste
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56655

(cherry picked from commit b866d05ea2860f9ccc27c75ff0501372896b5bf2)
DeltaFile
+4-4Makefile.inc1
+4-41 files

FreeBSD/src 121e955release/packages create-sets.sh

packages: Make create-sets.sh more robust

Use ${PKG_CMD} rather than bare 'pkg' to fix the build when pkg is
not in the tools path.  Provide a default in case it's not set for
some reason (e.g., running the script by hand).

Since set -- $(...) does not trigger an exit from set -e if the
command fails, this failure was silent and resulted in sets not
being built correctly if we failed to run pkg.  Use a temporary
variable, which does trigger set -e, to fail correctly.

MFC after:      2 weeks
Reviewed by:    sjg
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56676

(cherry picked from commit d1c176fedfc99d61c1dc8037ab549bec48c17bea)
DeltaFile
+4-1release/packages/create-sets.sh
+4-11 files

FreeBSD/src 0851f28. Makefile.inc1

Makefile.inc1: Use ln -n instead of ln -h

We support both -h and -n, but GNU coreutils only supports -n,
so use that instead.  This fixes the package build on Linux.

MFC after:      2 weeks
Reviewed by:    (wosch, imp) (previous version), emaste
Better fix than the original patch suggested by: jrtc27
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56656

(cherry picked from commit d455c4bb69eca975854262207687db50a5edc434)
DeltaFile
+1-1Makefile.inc1
+1-11 files

FreeBSD/src 21419depackages Makefile

packages: Don't build quotacheck if WITHOUT_QUOTAS=yes

PR:     294775
Fixes:  bb75b0d581f7 ("packages: Convert world to a subdir build")
MFC after:      2 weeks
Reported by:    Alastair Hogge <agh at riseup.net>
Sponsored by:   https://www.patreon.com/bsdivy
Differential Revision:  https://reviews.freebsd.org/D56635

(cherry picked from commit 221b1d4156a2bfe71a473e5abf6a739c063e60d8)
DeltaFile
+1-1packages/Makefile
+1-11 files

FreeBSD/ports 3af4e39devel/freebsd-git-mfc distinfo Makefile

devel/freebsd-git-mfc: Update to 0.20260725
DeltaFile
+5-5devel/freebsd-git-mfc/distinfo
+2-2devel/freebsd-git-mfc/Makefile
+7-72 files

NetBSD/pkgsrc-wip a13151fcrush distinfo go-modules.mk

crush: Update to 0.87.0

Changelog
New!
*       6f8a7fe: feat(client): reconnect the event stream after it drops (@meowgorithm)
*       d291d9f: feat(cmd): add --channels opt-in flag for MCP channel servers (@joestump)
*       37fc995: feat(mcp): OAuth 2.1 authorization for HTTP MCP servers (@taciturnaxolotl)
*       1588ae8: feat(mcp): SSE OAuth, metadata fixups, and resource param stripping (@taciturnaxolotl)
*       d338af8: feat(mcp): add OAuth support for HTTP MCP servers (@joestump)
*       a1cf002: feat(mcp): detect claude/channel capability and receive channel messages (@joestump)
*       b238696: feat(ui): tell a lost connection apart from an uninitialized agent (@meowgorithm)
Fixed
*       fbf5934: fix(agent): close dispatch completion-boundary cancel race (@joestump-agent)
*       ae9257b: fix(agent): serialize in-process run dispatch to prevent concurrent turns (@joestump)
*       a09cb36: fix(backend): log channel flag mismatch on duplicate workspace creation (@joestump-agent)
*       086dc62: fix(client): add MCP prompts to ui in client-server mode (@meowgorithm)
*       ca9ef6a: fix(cmd): make --channels a persistent flag so crush run inherits it (@joestump-agent)
*       213ad79: fix(config): load system-wide config from /etc/crush/crush.json (#2984) (@Muttaqin86)
*       8ccf694: fix(copilot): add additional responses models (#3416) (@nghiant03)

    [24 lines not shown]
DeltaFile
+21-21crush/distinfo
+6-6crush/go-modules.mk
+1-1crush/Makefile
+28-283 files

FreeBSD/ports dd19f32dns/bind-tools pkg-plist-devel, dns/bind9-devel pkg-plist Makefile

dns/bind9-devel: update to 9.21.24

Changes:        https://downloads.isc.org/isc/bind9/9.21.24/doc/arm/html/notes.html#notes-for-bind-9-21-24
Security:       CVE-2026-10723 CVE-2026-10822 CVE-2026-11331
                CVE-2026-11605 CVE-2026-11622 CVE-2026-11721
                CVE-2026-12617 CVE-2026-13204 CVE-2026-13321
(cherry picked from commit 07582070cf6437648f59082e667d179e87f9f4b8)
DeltaFile
+12-12dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+11-11dns/bind9-devel/files/patch-meson.build
+6-6dns/bind9-devel/pkg-plist
+6-5dns/bind-tools/pkg-plist-devel
+3-3dns/bind9-devel/Makefile
+3-3dns/bind9-devel/distinfo
+41-406 files

FreeBSD/ports 42e2312dns/bind-tools pkg-plist, dns/bind920 pkg-plist distinfo

dns/bind920: update to 9.20.26

Changes:        https://downloads.isc.org/isc/bind9/9.20.26/doc/arm/html/notes.html#notes-for-bind-9-20-26
Security:       CVE-2026-10723 CVE-2026-10822 CVE-2026-11331
                CVE-2026-11605 CVE-2026-11622 CVE-2026-11721
                CVE-2026-12617 CVE-2026-13204 CVE-2026-13321
(cherry picked from commit 07582060825de2b8ad51748979f4c16156b36212)
DeltaFile
+11-11dns/bind920/files/extrapatch-bind-min-override-ttl
+5-6dns/bind920/pkg-plist
+5-5dns/bind-tools/pkg-plist
+3-3dns/bind920/distinfo
+3-3dns/bind920/Makefile
+27-285 files

FreeBSD/ports 0758207dns/bind-tools pkg-plist-devel, dns/bind9-devel pkg-plist Makefile

dns/bind9-devel: update to 9.21.24

Changes:        https://downloads.isc.org/isc/bind9/9.21.24/doc/arm/html/notes.html#notes-for-bind-9-21-24
Security:       CVE-2026-10723 CVE-2026-10822 CVE-2026-11331
                CVE-2026-11605 CVE-2026-11622 CVE-2026-11721
                CVE-2026-12617 CVE-2026-13204 CVE-2026-13321
DeltaFile
+12-12dns/bind9-devel/files/extrapatch-bind-min-override-ttl
+11-11dns/bind9-devel/files/patch-meson.build
+6-6dns/bind9-devel/pkg-plist
+6-5dns/bind-tools/pkg-plist-devel
+3-3dns/bind9-devel/Makefile
+3-3dns/bind9-devel/distinfo
+41-406 files

FreeBSD/ports 0758206dns/bind-tools pkg-plist, dns/bind920 pkg-plist Makefile

dns/bind920: update to 9.20.26

Changes:        https://downloads.isc.org/isc/bind9/9.20.26/doc/arm/html/notes.html#notes-for-bind-9-20-26
Security:       CVE-2026-10723 CVE-2026-10822 CVE-2026-11331
                CVE-2026-11605 CVE-2026-11622 CVE-2026-11721
                CVE-2026-12617 CVE-2026-13204 CVE-2026-13321
DeltaFile
+11-11dns/bind920/files/extrapatch-bind-min-override-ttl
+5-6dns/bind920/pkg-plist
+5-5dns/bind-tools/pkg-plist
+3-3dns/bind920/Makefile
+3-3dns/bind920/distinfo
+27-285 files

FreeBSD/ports 0758205lang/perl5-devel pkg-plist distinfo, lang/perl5-devel/files patch-cpan_JSON-PP_bin_json__pp patch-perl.c

lang/perl5-devel: update to 5.45.1
DeltaFile
+5-24lang/perl5-devel/pkg-plist
+0-13lang/perl5-devel/files/patch-cpan_JSON-PP_bin_json__pp
+3-3lang/perl5-devel/distinfo
+2-2lang/perl5-devel/files/patch-perl.c
+2-2lang/perl5-devel/version.mk
+12-445 files