DragonFlyBSD/dports 91731d0 — devel/nspr/files patch-libtests patch-tests, mail/thunderbird/files patch-third__party_angle-freebsd patch-libwebrtc-generated

2026Q4: compose of DeltaPorts 832181a292c on FreeBSD 2026Q4 2c7fa6e04e24

DeltaPorts master and FreeBSD 2026Q4 as of 24-Nov-2026, with DPorts
master (e2f31ebea3a) as lock repo.

Nothing is held back: lang/python311, python312, python313,
python314, python-doc-html and devel/spirv-llvm-translator (DeltaPorts
f6d61cefa74), kept at an older compose by the last two syncs, are
brought up to date here.
DeltaFile
+0-2,231devel/nspr/files/patch-tests
+1,400-334www/firefox/files/patch-libwebrtc-generated
+1,400-334mail/thunderbird/files/patch-libwebrtc-generated
+895-14www/firefox/files/patch-third__party_angle-freebsd
+895-13mail/thunderbird/files/patch-third__party_angle-freebsd
+270-600devel/nspr/files/patch-libtests
+4,860-3,5261,991 files not shown
+19,961-10,4501,997 files

DragonFlyBSD/src 9f0e625 — sys/platform/pc64/apic lapic.h lapic.c, sys/platform/pc64/x86_64 mp_machdep.c

kernel - Move mfence into selected_apic_ipi() and single_apic_ipi()

* Make sure pending writes are flushed before issuing APIC IPIs.
  Probably only needed for MSR-based IPIs, but do it for both
  MEM and MSR.

* Remove explicit mfence prior to issuing IPI.
DeltaFile
+25-2sys/platform/pc64/apic/lapic.c
+1-1sys/platform/pc64/x86_64/mp_machdep.c
+1-0sys/platform/pc64/apic/lapic.h
+27-33 files

DragonFlyBSD/src cb7c913 — sys/vfs/hammer hammer_inode.c, sys/vfs/hammer2 hammer2_inode.c

vfs: drop S_ISGID on create when not a member of the group

A new file on tmpfs, HAMMER or HAMMER2 gets the directory's group and
the mode the caller asked for.  If the creator was not a member of
that group, S_ISGID was kept, so any user who can write to a
directory owned by another group could create a set-group-ID
executable for that group; with /tmp on tmpfs (root:wheel 1777) that
is wheel.  UFS and ext2fs already drop the bit when they create the
inode.

Do the same check as ufs_makeinode() in tmpfs_alloc_file(),
hammer_create_inode() and hammer2_inode_create_normal(), after the
group has been chosen: keep S_ISGID only for a member of the group or
with SYSCAP_NOVFS_SETGID.  As in FreeBSD's fix for tmpfs, this covers
every node type.

Same issue as FreeBSD-SA-26:94.tmpfs (CVE-2026-127749).

Tested on tmpfs, UFS, HAMMER and HAMMER2: a file created with mode

    [6 lines not shown]
DeltaFile
+13-1sys/vfs/tmpfs/tmpfs_subr.c
+10-0sys/vfs/hammer2/hammer2_inode.c
+10-0sys/vfs/hammer/hammer_inode.c
+33-13 files

DragonFlyBSD/src 208afa3 — sys/cpu/x86_64/include cpufunc.h, sys/kern kern_shutdown.c

kernel - Fix cpustop/resume (debugger, kernel core)

* Make cpu_halt() just do the basic instruction, remove halt()
  on naming semantics.

* Add cpu_halt_forever() that halts forever.

* Add cpu_halt_and_enable_intr() to do "sti; halt" sequence.

* Fix stop race in loop test, and restart signaling issues when
  using HLT instead of MONITOR/MWAIT.

* mfence() prior to resume IPI (MSR/LAPIC does not flush pending writes)

Reported-by: tuxillo and Claud
Bug: https://bugs.dragonflybsd.org/issues/3476
Testing-by: tuxillo
DeltaFile
+12-7sys/platform/pc64/x86_64/machdep.c
+9-2sys/cpu/x86_64/include/cpufunc.h
+7-2sys/platform/pc64/x86_64/mp_machdep.c
+2-2sys/kern/kern_shutdown.c
+1-1sys/sys/systm.h
+1-1sys/platform/vkernel64/platform/init.c
+32-156 files

DragonFlyBSD/src d46c840 — sys/dev/powermng/corecstat corecstat.c

corecstat(4): Add Goldmont, Goldmont Plus, and Tremont CPU support.

* This should cover Apollo Lake, Denverton, Gemini Lake,
  Elkhart Lake, and Jasper Lake models.

* These last Atom CPU cores use the same MSR registers for the same
  states as "Core" CPUs.
DeltaFile
+40-3sys/dev/powermng/corecstat/corecstat.c
+40-31 files

DragonFlyBSD/src 305deb5 — sys/dev/powermng/corepower corepower.c

corepower(4): Add Goldmont, Goldmont Plus, and Tremont CPU support.

* This should cover Apollo Lake, Denverton, Gemini Lake,
  Elkhart Lake, and Jasper Lake models.
DeltaFile
+13-0sys/dev/powermng/corepower/corepower.c
+13-01 files

DragonFlyBSD/src 64a78ae — sys/kern subr_prf.c

kern: Remove obsolete 'consintr' static from subr_prf.c

This code was inherited from FreeBSD and it was already an obsolete
static then.
DeltaFile
+0-9sys/kern/subr_prf.c
+0-91 files

DragonFlyBSD/src 4d91abe — sys/dev/virtual/nvmm/x86 nvmm_x86.c nvmm_x86_internal.h

nvmm: Clarify the XSAVE state handling

Obtained-from: NVMM Reference Implementation
DeltaFile
+10-9sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
+10-9sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
+8-3sys/dev/virtual/nvmm/x86/nvmm_x86_internal.h
+2-2sys/dev/virtual/nvmm/x86/nvmm_x86.c
+30-234 files

DragonFlyBSD/src d2d715a — sys/dev/virtual/nvmm/x86 nvmm_x86_internal.h

nvmm: Merge one #ifdef with NetBSD in ASM code handling

Since commit 9bd9bca17d53c0f7d7bcd6cd3e029bb77ccb13a6 the ASM code has
become more OS-independent, so <machine/asm.h> is no longer needed in
both OSes.

Since commit b94dd9242808203c854242a803f484ff25f76e32 DragonFly migrated
to use the new "assym.h" as NetBSD, so this #ifdef can be merged for
both OSes.
DeltaFile
+1-6sys/dev/virtual/nvmm/x86/nvmm_x86_internal.h
+1-61 files

DragonFlyBSD/src 8d0618b — lib/libnvmm libnvmm_x86.c, sys/dev/virtual/nvmm/x86 nvmm_x86_vmx.c nvmm_x86_svm.c

nvmm,libnvmm: Stop relying on the PSL_* macros from <machine/psl.h>

Define RFLAGS_* instead.

Obtained-from: NVMM Reference Implementation
DeltaFile
+43-33lib/libnvmm/libnvmm_x86.c
+18-0sys/dev/virtual/nvmm/x86/nvmm_x86_internal.h
+3-3sys/dev/virtual/nvmm/x86/nvmm_x86_vmx.c
+3-3sys/dev/virtual/nvmm/x86/nvmm_x86_svm.c
+67-394 files

DragonFlyBSD/src e2619a1 — sys/dev/virtual/nvmm Makefile, sys/platform/pc64/x86_64 genassym.cf

pc64,vkernel64: Prune includes in genassym.cf

In addition, remove the obsolete "opt_nfs.h" header dependency of
genassym.cf in sys/dev/virtual/nvmm/Makefile.
DeltaFile
+3-24sys/platform/vkernel64/x86_64/genassym.cf
+3-18sys/platform/pc64/x86_64/genassym.cf
+1-1sys/dev/virtual/nvmm/Makefile
+7-433 files

DragonFlyBSD/src b94dd92 — sys/kern genassym.sh, sys/platform/pc64/x86_64 genassym.cf genassym.c

Migrate to the newly imported genassym.sh and generated assym.h

* Remove the old sys/kern/genassym.sh, sys/sys/assym.h and genassym.c
  files.
* Migrate the genassym.c code to genassym.cf configs for genassym.sh.
* Update all sources to include the new generated "assym.h" instead of
  the old "assym.s".
* Update the kernel makefiles in sys/conf to call genassym.sh to
  generate "assym.h".
* Update libc to use genassym.sh to generate "asmcontext.h".
DeltaFile
+0-270sys/platform/pc64/x86_64/genassym.c
+269-0sys/platform/pc64/x86_64/genassym.cf
+0-121sys/platform/vkernel64/x86_64/genassym.c
+118-0sys/platform/vkernel64/x86_64/genassym.cf
+0-71sys/kern/genassym.sh
+0-52sys/sys/assym.h
+387-51431 files not shown
+486-62337 files

DragonFlyBSD/src 264f8eb — sys/conf kern.post.mk kmod.mk

sys/conf: Share compiler flags and rules between kernel and modules

* Move the common CFLAGS to bsd.kern.mk, and include it earlier in
  kern.pre.mk and kmod.sh, so the flags ordering in CFLAGS is mostly
  preserved.
* Clear the suffix rules and CFLAGS from <sys.mk> and explicitly define
  them in bsd.kern.mk, for use in the kernel and modules building.
DeltaFile
+39-1sys/conf/bsd.kern.mk
+6-16sys/conf/kern.pre.mk
+2-16sys/conf/kmod.mk
+0-2sys/conf/kern.post.mk
+47-354 files

DragonFlyBSD/src 0a4a8bc — sys/conf kmod.mk kern.pre.mk

sys/conf: Propapage CONF_CFLAGS (from makeoptions) to module build

Obtained-from: FreeBSD (commit 627693305a95135ca1ade92b4827e5f3c8208e61)
DeltaFile
+3-0sys/conf/kern.pre.mk
+1-0sys/conf/kmod.mk
+4-02 files

DragonFlyBSD/src f04e0bd — sys/platform/pc64/x86_64 genassym.c

pc64: Remove redundant symbol exports in genassym.c

The MSR_GSBASE, MSR_KGSBASE and MSR_FSBASE are constants defined in
<machine/specialreg.h> and can be used in assembly code, so no need to
redefine them.

Caught by the new genassym.sh, whose output has different value format
(e.g., `#define MSR_GSBASE 3221225729`) and thus caused redefinition
error in compilation.

While there, remove a few commented symbols as well.
DeltaFile
+0-9sys/platform/pc64/x86_64/genassym.c
+0-91 files

DragonFlyBSD/src 5717c5b — share/man/man5 Makefile genassym.cf.5, share/man/man8 Makefile genassym.sh.8

kernel: Import OpenBSD's genassym.sh tool

The new genassym.sh tool uses special inlined assembly code to create
the "assym.h" (ours named "assym.s") from constant C expressions.  It
will replace the current sys/kern/genassym.sh tool, which relies on
the special macros in <sys/assym.h> and a custom CC compilation, and
will help simplify the "assym.s" generation code in kern.post.mk and
kmod.mk.

I compared the genassym.sh tool in both NetBSD and OpenBSD and found
OpenBSD version is better maintained, so I chose their version.

I placed this tool in sys/tools/ directory instead of sys/kern/; I think
the former is a better location as there are already some awk tools, and
this genassym.sh will also be used by libc.
DeltaFile
+187-0sys/tools/genassym.sh
+139-0share/man/man5/genassym.cf.5
+93-0share/man/man8/genassym.sh.8
+1-0share/man/man8/Makefile
+1-0share/man/man5/Makefile
+421-05 files

DragonFlyBSD/src 9ce46dc — sys/conf kmod.mk bsd.kern.mk

sys/conf: Improve ${NORMAL_FWO} command for reuse in kmod.mk

The kmod.mk previously invented its own commands to link a firmware blob
(.fwo). Given that NORMAL_FWO is available through bsd.kern.mk, improve
it and reuse it in kmod.mk.
DeltaFile
+1-10sys/conf/kmod.mk
+7-4sys/conf/bsd.kern.mk
+8-142 files

DragonFlyBSD/src 2897023 — sys/conf bsd.kern.mk kern.post.mk

sys/conf: Clean up makefiles

* Minor logic and code simplifications.
* Remove non-existent 'freebsd/net/ifdi_if.m' from MFILES, and sort the
  list.
* Remove obsolete and commented stale contents.
* Simplify the 'hack.So' generation to save a temp file.
* Move -Wno-unused-but-set-variable out of the GCC scope as it's also
  supported by Clang.
* Style and whitespace cleanups.
DeltaFile
+53-52sys/conf/kmod.mk
+25-32sys/conf/kern.pre.mk
+24-27sys/conf/kern.post.mk
+4-4sys/conf/bsd.kern.mk
+106-1154 files

DragonFlyBSD/src f0a0671 — sys/conf kern.pre.mk, sys/platform/vkernel64/conf kern.mk

vkernel64: Move hack.So handling to kern.pre.mk

That's where the SYSTEM_OBJS is defined, so it makes it easier to
maintain.
DeltaFile
+5-1sys/conf/kern.pre.mk
+0-3sys/platform/vkernel64/conf/kern.mk
+5-42 files

DragonFlyBSD/src 5a60e0b — sys/tools genassym.sh

genassym.cf: Tweak for DragonFly

* Don't always define `_KERNEL`, which would cause trouble for libc
  where only `_KERNEL_STRUCTURES` should be defined. So just remove this
  and rely on the command to define the wanted macro.
* Don't define `offsetof` to avoid redefinition error, because our
  <sys/stdint.h> always defines this macro.
DeltaFile
+0-2sys/tools/genassym.sh
+0-21 files

DragonFlyBSD/src 80ba2b0 — sys/bus/u4b/wlan/mtwfw Makefile.inc, sys/dev/disk/isp/fw/isp_1040 Makefile

kernel: Clean up .fw decoding with ${NORMAL_FW} and <bsd.dragonfly.mk>

* Reuse ${NORMAL_FW} to replace the explicit uudecode commands.
* Use ${DF.SRCTOP} from <bsd.dragonfly.mk> to simplify the complex
  paths.
DeltaFile
+3-6sys/dev/netif/iwm/fw/Makefile.inc
+3-6sys/bus/u4b/wlan/mtwfw/Makefile.inc
+3-5sys/dev/disk/isp/fw/isp_1080_it/Makefile
+3-5sys/dev/disk/isp/fw/isp_1080/Makefile
+3-5sys/dev/disk/isp/fw/isp_1040_it/Makefile
+3-5sys/dev/disk/isp/fw/isp_1040/Makefile
+18-3224 files not shown
+96-13330 files

DragonFlyBSD/src 073055e — sys/conf kern.pre.mk kern.post.mk, sys/platform/vkernel64/conf files

sys/conf/kern.pre.mk: Move ${WERROR} into CFLAGS

Commit 40ec0564adaa677a0dab5299bdd491a2245e94a0 added -Werror to the
kernel build by adjusting config(8) to add -Werror to individual build
rules, so every source in the "files" file that uses a custom
"compile-with" rule needs a manual ${WERROR} addition.

This commit makes ${WERROR} the default by moving it to CFLAGS, and
adjust config(8) to append "-Wno-error" to the build rules if the
"nowerror" keyword is specified for a source.  As a result, all the
${WERROR} in the "files" files and in the explicit rules in makefiles
are removed.
DeltaFile
+343-343sys/conf/files
+3-10sys/conf/kern.post.mk
+1-1usr.sbin/config/mkmakefile.c
+1-1sys/platform/vkernel64/conf/files
+1-1sys/conf/kern.pre.mk
+349-3565 files

DragonFlyBSD/src 9353b8f — sys/conf kern.post.mk kern.pre.mk

sys/conf: Move COPTFLAGS and WERROR to bsd.kern.mk

* Move COPTFLAGS and WERROR to bsd.kern.mk for reusing in kern.pre.mk
  and kmod.mk.
* Adjust CFLAGS to order KCFLAGS at last, allowing it to be able to
  override some default options, because KCFLAGS is used in individual
  makefiles.
DeltaFile
+6-19sys/conf/kern.pre.mk
+7-18sys/conf/kmod.mk
+17-8sys/conf/bsd.kern.mk
+2-2sys/conf/kern.post.mk
+32-474 files

DragonFlyBSD/src 1b32850 — share/man/man5 genassym.cf.5, share/man/man8 genassym.sh.8

Update genassym.cf.5 and genassym.sh.8 man pages

* Improve markup styles.
* Adjust FILES to match ours.
* Update HISTORY to mention us.
DeltaFile
+71-63share/man/man5/genassym.cf.5
+18-14share/man/man8/genassym.sh.8
+89-772 files

DragonFlyBSD/src d37499e — etc Makefile

etc: run the sub-makes with the source tree's mk files

Pass -m ${.CURDIR}/../share/mk through .MAKEFLAGS, so the sub-makes
use the mk files from this source tree, as the top-level Makefile
already does for preinstall and upgrade, and nrelease does for
distribution.

Reviewed-by: @aly
DeltaFile
+6-0etc/Makefile
+6-01 files

DragonFlyBSD/dports bcc8b5a — lang/php82 Makefile distinfo, lang/php83 Makefile distinfo

2026Q4: PHP security updates from FreeBSD 2026Q4 8be526f83c15

Composed from DeltaPorts afd0c728e3f on FreeBSD 2026Q4 8be526f83c15,
with DPorts master (e2f31ebea3a) as lock repo. Only lang/php82-85
change; the rest of the tree stays as it was.

- lang/php82 8.2.36 (c926a44cb3dc), lang/php83 8.3.37 (d0e200a74bde),
  lang/php84 8.4.28 (abdff97af6e6), lang/php85 8.5.13 (a7d1019ac0a3)
- 4 to 7 critical, 4 high and 4 to 6 medium advisories per branch.
  The critical ones are remote code execution through session
  handling and the timezone cache (CVE-2026-115560, CVE-2026-126714,
  CVE-2026-129481, CVE-2026-129496), PHP-FPM request smuggling
  (CVE-2026-129289) and, in 8.5 only, two engine use-after-frees
  (CVE-2026-129474, CVE-2026-129182)
- The bundled extensions and www/mod_php8x are slave ports of these
  and take the new version with them.

PHP_API_VERSION and ZEND_MODULE_API_NO stay the same in each branch,
and the installed headers keep their struct layouts, so PECL

    [4 lines not shown]
DeltaFile
+3-3lang/php85/distinfo
+3-3lang/php84/distinfo
+3-3lang/php83/distinfo
+3-3lang/php82/distinfo
+1-2lang/php83/Makefile
+1-2lang/php82/Makefile
+14-162 files not shown
+16-208 files

DragonFlyBSD/src e4666ae — usr.bin/vi Makefile Makefile.inc, usr.bin/vi/catalog Makefile

vi: Use <bsd.dragonfly.mk> to help simplify the paths
DeltaFile
+8-10usr.bin/vi/catalog/Makefile
+2-1usr.bin/vi/vidump/Makefile
+3-0usr.bin/vi/Makefile.inc
+1-1usr.bin/vi/Makefile
+14-124 files

DragonFlyBSD/src 4ab6702 — games/fortune Makefile.inc, gnu/usr.bin/binutils227/block1 Makefile.block1

Minor cleanups to a few makefiles
DeltaFile
+4-7usr.bin/dsynth/Makefile
+1-3games/fortune/Makefile.inc
+1-2gnu/usr.bin/binutils234/block1/Makefile.block1
+1-2gnu/usr.bin/binutils227/block1/Makefile.block1
+7-144 files

DragonFlyBSD/src 587d557 — gnu/usr.bin/gdb Makefile.inc, gnu/usr.bin/gmp Makefile.inc

Use <bsd.dragonfly.mk> to simplify some complex relative paths
DeltaFile
+8-6stand/lib/Makefile
+3-1gnu/usr.bin/mpfr/Makefile
+3-1gnu/usr.bin/mpc/Makefile
+3-1gnu/usr.bin/grep/Makefile.inc
+3-1gnu/usr.bin/gmp/Makefile.inc
+3-1gnu/usr.bin/gdb/Makefile.inc
+23-113 files not shown
+31-159 files

DragonFlyBSD/src 8022d7c — lib/libc Makefile, lib/libc/gdtoa Makefile.inc

libc: Use <bsd.dragonfly.mk> to help simplify some paths
DeltaFile
+5-3lib/libc/Makefile
+2-3lib/libc/x86_64/sys/Makefile.inc
+2-2lib/libc/thread/Makefile.inc
+2-2lib/libc/gdtoa/Makefile.inc
+1-1lib/libc/sys/Makefile.inc
+1-1lib/libc/gen/Makefile.inc
+13-121 files not shown
+14-137 files