FreeBSD/src 60baee1release release.sh

release.sh: add chroot cleanup routine

The chroot_cleanup routine handles any cleanup needed post-chroot_setup,
etc. This consists of purely tearing down `${CHROOTDIR}/dev` today, but
might involve additional steps, as needed for custom functions. This
allows end-users to override the various chroot functions without having
to modify code in main() or replicate the unmount procedure in an
equivalent routine setup via the trap builtin.

This change modifies the /dev unmount process to use `umount -f` instead
of `umount`. The latter can result in failures if resources are still
mounted or are running post-build, whereas the former will clean up any
resources still in use by processes running in the chroot at time of
build. Moreover, the `chroot_cleanup` routine is now called when the
script is killed with `SIGINT` and `SIGTERM`, as well as at `EXIT`,
better ensuring that the script's resources are cleaned up in relatively common
scenarios that can be detected/handled.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55450 (as part of a larger change)
DeltaFile
+21-1release/release.sh
+21-11 files

FreeBSD/src b24fc79release release.sh

release.sh: document user-overriddable functions

This helps others attempting to customize the behavior of `release.sh`.

MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D55450 (as part of a larger change)
DeltaFile
+9-0release/release.sh
+9-01 files

FreeBSD/src c25976flib/libc/tests/stdlib cxa_thread_atexit_nothr_test.cc cxa_thread_atexit_test.cc

libc: Fix cxa_thread_atexit{,nothr} test.

After patch 9d26b82, we don't provide recursive call protection anymore.
Therefore, to pass the test, we adjust the testcase by protecting on
caller and the testcase is to make sure the dtors is properly handled.

Reported by:    siva
Reviewed by:    kib
Approved by:    markj (mentor)
Fixes:  9d26b82826d9 ("libc: Fix dtor order in __cxa_thread_atexit")
MFC after:      2 weeks
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55893
DeltaFile
+8-3lib/libc/tests/stdlib/cxa_thread_atexit_nothr_test.cc
+8-2lib/libc/tests/stdlib/cxa_thread_atexit_test.cc
+16-52 files

FreeBSD/src 191f47bsys/x86/cpufreq hwpstate_amd.c

hwpstate_amd: Refactor the cpufreq code by using delegation pattenr

We separate the code of CPPC and legacy pstate driver to make it easier
to read.

Reviewed by:    olce
Approved by:    markj (mentor)
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D55604
DeltaFile
+149-78sys/x86/cpufreq/hwpstate_amd.c
+149-781 files

FreeBSD/ports 8224c1cmisc/global-tz distinfo Makefile, misc/global-tz/files patch-zone1970.tab

misc/global-tz: update to 2026agtz

Release 2026agtz of global-tz, derived from iana-tz.

(cherry picked from commit 8f20a56eb6e26a51b4a9b34698a288ec7132ccab)
DeltaFile
+0-12misc/global-tz/files/patch-zone1970.tab
+5-5misc/global-tz/distinfo
+1-1misc/global-tz/Makefile
+6-183 files

FreeBSD/src 3797fe7secure/lib/libcrypto Makefile Makefile.inc

libcrypto: compile all PIC objects with -DOPENSSL_PIC -fPIC

This change modifies the libcrypto PIC objects to always compile with
`-DOPENSSL_PIC -fPIC` to restore parity with the upstream build process.
This ensures that the legacy provider is built with parity to the
upstream legacy provider.

MFC after:              12 days
Tested with:            `make check` (legacy provider), `make universe`
Fixes:                  14b9955e
Differential Revision:  https://reviews.freebsd.org/D44896
DeltaFile
+0-6secure/lib/libcrypto/Makefile
+3-0secure/lib/libcrypto/Makefile.inc
+3-62 files

FreeBSD/src d288383sys/fs/nfsclient nfs_clstate.c

nfs_clstate.c: Handle the same stateid case correctly

When an NFSv4.1/4.2 sarver upgrades a read delegation to
a write delegation, it does not need to change the
delegation's stateid.

Without this patch, a DELEGRETURN of the stateid was done
for the case where the delegation stateid had not changed.
This return was bogus, since the delegation stateid now
represents the new write delegation.

This patch fixes the priblem by checking for "same stateid"
and only doing the DELEGRETURN when it is not the same.

PR:     289711

(cherry picked from commit 016570c4463d5908953355ee1cf9a385ad9601b4)
DeltaFile
+7-1sys/fs/nfsclient/nfs_clstate.c
+7-11 files

FreeBSD/src b2fc255sys/fs/nfsclient nfs_clstate.c

nfs_clstate.c: Handle the same stateid case correctly

When an NFSv4.1/4.2 sarver upgrades a read delegation to
a write delegation, it does not need to change the
delegation's stateid.

Without this patch, a DELEGRETURN of the stateid was done
for the case where the delegation stateid had not changed.
This return was bogus, since the delegation stateid now
represents the new write delegation.

This patch fixes the priblem by checking for "same stateid"
and only doing the DELEGRETURN when it is not the same.

PR:     289711

(cherry picked from commit 016570c4463d5908953355ee1cf9a385ad9601b4)
DeltaFile
+7-1sys/fs/nfsclient/nfs_clstate.c
+7-11 files

FreeBSD/ports 7bb16d9x11-wm/sdorfehs distinfo Makefile

x11-wm/sdorfehs: Update to 1.7

Commits:        https://github.com/jcs/sdorfehs/compare/v1.6...v1.7
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3x11-wm/sdorfehs/distinfo
+1-2x11-wm/sdorfehs/Makefile
+4-52 files

FreeBSD/ports 5e0f3b5biology/iqtree distinfo Makefile

biology/iqtree: Update to 3.1.0

Release notes:  https://github.com/iqtree/iqtree3/releases/tag/v3.1.0
Sponsored by:   The FreeBSD Foundation
DeltaFile
+5-5biology/iqtree/distinfo
+3-3biology/iqtree/Makefile
+8-82 files

FreeBSD/ports 41ee033math/R distinfo Makefile

math/R: Update to 4.5.3

Release announcement:   https://hypatia.math.ethz.ch/pipermail/r-announce/2026/000718.html
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3math/R/distinfo
+1-1math/R/Makefile
+1-0math/R/pkg-plist
+5-43 files

FreeBSD/ports e27cde3biology/diamond distinfo Makefile

biology/diamond: Update to 2.1.24

Release notes:  https://github.com/bbuchfink/diamond/releases/tag/v2.1.24
Sponsored by:   The FreeBSD Foundation
DeltaFile
+3-3biology/diamond/distinfo
+1-1biology/diamond/Makefile
+4-42 files

FreeBSD/ports 4a7c793security/lego distinfo Makefile

security/lego: Update 4.32.0 => 4.33.0

Changelog:
https://github.com/go-acme/lego/blob/v4.33.0/CHANGELOG.md

PR:     293965
DeltaFile
+5-5security/lego/distinfo
+1-2security/lego/Makefile
+6-72 files

FreeBSD/ports c731008net/liblinphone Makefile, net/liblinphone/files patch-src_db_main-db.cpp

net/liblinphone: Bump after databases/soci update
DeltaFile
+55-0net/liblinphone/files/patch-src_db_main-db.cpp
+1-0net/liblinphone/Makefile
+56-02 files

FreeBSD/ports 566fcf2databases/soci pkg-plist Makefile, databases/soci/files patch-cmake_modules_FindMySQL.cmake patch-tests_catch.hpp

databases/soci: Update to 4.1.2

Changelog: https://github.com/SOCI/soci/blob/master/RELEASING.md
DeltaFile
+41-28databases/soci/pkg-plist
+6-9databases/soci/Makefile
+0-14databases/soci/files/patch-cmake_modules_FindMySQL.cmake
+0-11databases/soci/files/patch-tests_catch.hpp
+10-0databases/soci/files/patch-tests_common_CMakeLists.txt
+0-8databases/soci/files/pkg-message.in
+57-701 files not shown
+60-737 files

FreeBSD/ports eda998fsecurity/lime Makefile

security/lime: Bump after databases/soci update
DeltaFile
+1-0security/lime/Makefile
+1-01 files

FreeBSD/ports 651ad34devel/RStudio Makefile

devel/RStudio: Bump after databases/soci update
DeltaFile
+1-1devel/RStudio/Makefile
+1-11 files

FreeBSD/ports e40f7aemath/R-cran-forecast distinfo Makefile

math/R-cran-forecast: Update to 9.0.2

Reported by:    portscout
DeltaFile
+3-3math/R-cran-forecast/distinfo
+1-1math/R-cran-forecast/Makefile
+4-42 files

FreeBSD/src 1ba2961sys/x86/include frame.h

amd64: revert back struct trapframe to the pre-FRED definition

Trying to use the grown struct trapframe for IDT case broke in cases
where code supposed that hardware consumed sizeof(struct trapframe) of
the stack space when delivering interrupt or exception.  In particular,
this was broken for #NM/#DB/#MC.  Naive attempt of using IDT-trapframe
size for stack consumption caused later problems with larger C type.

Instead of pretending that IDT event delivery pushed two never-accessed
doubleword to the stack, keep it honest and provide separate type for
the FRED interrupt frame, i.e. struct trapframe_fred.

Convert between trapframe_fred and trapframe can be done by trivial pointer
arithmetic.

Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
DeltaFile
+4-0sys/x86/include/frame.h
+4-01 files

FreeBSD/ports 9070f78emulators/wine-devel/files wine-wow64.sh

emulators/wine-devel: Improve messages around WoW

Sync with emulators/wine where commit 942473af4d improved a number of
messages (and comments) around WoW, i.e. 32-bit support on amd64.

PR:             293073, 291328
Approved by:    Thibault Payet <monwarez at mailoo.org> (maintainer)
DeltaFile
+6-6emulators/wine-devel/files/wine-wow64.sh
+6-61 files

FreeBSD/ports e89149enet/traefik distinfo Makefile

net/traefik: Update to upstream release 3.6.11

Details:
- Bugfix release, see
  https://github.com/traefik/traefik/releases/tag/v3.6.11
- Includes security fixes for several vulnerabilities.
  CVE-2026-32595 (BasicAuth Middleware Timing Attack)
  CVE-2026-32305 (Potential mTLS Bypass via Fragmented TLS ClientHello)
  CVE-2026-32695 (Details not yet available)

MFH:            2026Q1
Security:       CVE-2026-32595
                CVE-2026-32305
                CVE-2026-32695
DeltaFile
+3-3net/traefik/distinfo
+1-1net/traefik/Makefile
+4-42 files

FreeBSD/ports ce82e4cemulators/wine-devel pkg-plist distinfo

emulators/wine-devel: Update 11.4 => 11.5

Changelog:
- C++ support in the build system.
- Bundled ICU libraries.
- A number of VBScript compatibility fixes.
- Various bug fixes.
https://gitlab.winehq.org/wine/wine/-/releases/wine-11.5

PR:     293958
DeltaFile
+137-0emulators/wine-devel/pkg-plist
+3-3emulators/wine-devel/distinfo
+1-1emulators/wine-devel/Makefile
+141-43 files

FreeBSD/src 1d18872sys/compat/linuxkpi/common/include/linux hardirq.h highmem.h

LinuxKPI: add supporting #includes

Compiling drm-kmod on !X86 does not include asm/smp.h which includes
preempt.h on FreeBSD.  In order to compile drm-kmod on other
architectures add the secondary #includes for preempt.h to
spinlock.h and hardirq.h (which now also gets included from highmem.h)
to connect the #include chain.

Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
PR:             279864
Reviewed by:    jhibbits, emaste
Differential Revision: https://reviews.freebsd.org/D55974
DeltaFile
+1-0sys/compat/linuxkpi/common/include/linux/hardirq.h
+1-0sys/compat/linuxkpi/common/include/linux/highmem.h
+1-0sys/compat/linuxkpi/common/include/linux/spinlock.h
+3-03 files

FreeBSD/src 2ce06d2sys/kern subr_sbuf.c

sbuf: make assertion message a lot more useable

Saying that we are called with an (un)finished or corrupted sbuf
is like saying "error" (though [un]finished is an extra hint).

Add the pointer to the sbuf so one could easily check it,
add the flags we are checking so one could see quickly about
a possible state mismatch.

Given we already dereference the pointer in the KASSERT there is no
extra harm adding it to the message.

Found while:    testing lindebugfs changes
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Reviewed by:    jhb
Differential Revision: https://reviews.freebsd.org/D55919
DeltaFile
+2-2sys/kern/subr_sbuf.c
+2-21 files

FreeBSD/ports 43bbbd6finance/hs-hledger distinfo Makefile.cabal

finance/hs-hledger: Update 1.51.1 => 1.52

Approved by:            yuri@ (maintainer, Mentor)
Approved by:            db@, yuri@ (Mentors, implicit)
Differential Revision:  https://reviews.freebsd.org/D56020
DeltaFile
+141-129finance/hs-hledger/distinfo
+169-0finance/hs-hledger/Makefile.cabal
+1-164finance/hs-hledger/Makefile
+311-2933 files

FreeBSD/ports 41364f2textproc/hs-pandoc-crossref distinfo Makefile.cabal

textproc/hs-pandoc-crossref: 0.3.22 => 0.3.23

Approved by:            haskell@ (alven@)
Approved by:            db@, yuri@ (Mentors, implicit)
DeltaFile
+175-173textproc/hs-pandoc-crossref/distinfo
+178-0textproc/hs-pandoc-crossref/Makefile.cabal
+1-176textproc/hs-pandoc-crossref/Makefile
+354-3493 files

FreeBSD/ports f98bdb0math/ess Makefile distinfo

math/ess: Update to 26.01.0

ESS[BUGS] is still relevant due to NIMBLE keeping the language alive.
However, only syntax highlighting and key-presses will be supported
moving forward. For example, the < key now generates <- rather than
the former = since equals is a valid character in NIMBLE BUGS.

Reported by:    Repology
DeltaFile
+5-6math/ess/Makefile
+3-3math/ess/distinfo
+8-92 files

FreeBSD/ports 21ed0admisc/py-diffusers Makefile distinfo

misc/py-diffusers: update 0.35.1 → 0.37.0
DeltaFile
+3-3misc/py-diffusers/Makefile
+3-3misc/py-diffusers/distinfo
+6-62 files

FreeBSD/ports 96ae17dtextproc/py-sentencepiece distinfo Makefile

textproc/py-sentencepiece: update 0.2.0 → 0.2.1
DeltaFile
+3-3textproc/py-sentencepiece/distinfo
+1-2textproc/py-sentencepiece/Makefile
+4-52 files

FreeBSD/ports 37bcacfmath/eigen5 distinfo Makefile

math/eigen5: Remove GL_TAGNAME

This didn't work iin GitLab a long time ago, GL_TAGNAME
was mandatory, amd the latent memory of this caused me
to add GL_TAGNAME.

Reported by:    Gleb Popov <arrowd at freebsd.org>
DeltaFile
+3-3math/eigen5/distinfo
+0-1math/eigen5/Makefile
+3-42 files