FreeNAS/freenas 14afe2bsrc/middlewared/middlewared/plugins/truecommand portal.py update.py

Convert truecommand plugin to typesafe pattern

This commit adds changes to convert the truecommand plugin to the typesafe pattern, splitting the old compound ConfigService into a lean GenericConfigService that delegates to a ConfigServicePart with Pydantic models, while the portal/wireguard/state logic moves into plain context-first functions and same-process calls use call2. In-process consumers of truecommand.config (truenas and security) switch from dict access to typed attribute access.
DeltaFile
+182-149src/middlewared/middlewared/plugins/truecommand/portal.py
+0-229src/middlewared/middlewared/plugins/truecommand/update.py
+98-102src/middlewared/middlewared/plugins/truecommand/wireguard.py
+184-0src/middlewared/middlewared/plugins/truecommand/config.py
+87-7src/middlewared/middlewared/plugins/truecommand/__init__.py
+45-0src/middlewared/middlewared/plugins/truecommand/state.py
+596-4876 files not shown
+610-53612 files

FreeNAS/freenas e4197c5src/middlewared/middlewared/plugins/truecommand config.py portal.py

Address reviews
DeltaFile
+5-1src/middlewared/middlewared/plugins/truecommand/config.py
+1-1src/middlewared/middlewared/plugins/truecommand/portal.py
+6-22 files

FreeBSD/src 2db353eshare/man/man9 cdefs.9, sys/compat/linuxkpi/common/include/linux compiler_attributes.h

sys/cdefs.h: Introduce __maybe_unused attribute

The __maybe_unused attribute should be used for variables which may or
may not be used, such as when their only use is in an assertion. This
attribute is functionally identical to __unused, suppressing compiler
warnings for particular variable if it remains unused.

Reviewed by:    Minsoo Choo <minsoo at minsoo.io>, imp
Differential Revision:  https://reviews.freebsd.org/D56517

(cherry picked from commit 84a95741805d84f0074a34d61b93ccf86f422cf3)
DeltaFile
+4-2share/man/man9/cdefs.9
+1-0sys/sys/cdefs.h
+0-1sys/compat/linuxkpi/common/include/linux/compiler_attributes.h
+5-33 files

FreeNAS/freenas aaf8345src/middlewared/middlewared/alembic/versions/26.0 2026-06-19_00-00_restrict_totp_interval.py, src/middlewared/middlewared/api/v26_0_0 user.py

Restrict TOTP interval to supported values

This commit adds changes to restrict the per-user two-factor TOTP interval to 30 or 60 seconds, since the OATH users file consumed by pam_oath only understands those time-steps and any other value silently breaks 2FA for the user. A migration clears the secret and resets the interval for existing rows holding an unsupported value so affected users re-enroll, and the render-time coercion is dropped now that the input is validated at the API.
DeltaFile
+64-0src/middlewared/middlewared/alembic/versions/26.0/2026-06-19_00-00_restrict_totp_interval.py
+16-3tests/api2/test_twofactor_auth.py
+5-3src/middlewared/middlewared/api/v26_0_0/user.py
+1-5src/middlewared/middlewared/plugins/auth_/2fa.py
+86-114 files

LLVM/project 6b7dbd8llvm/lib/Target/AMDGPU AMDGPURegBankLegalizeRules.cpp, llvm/test/CodeGen/AMDGPU llvm.amdgcn.mfma.gfx950.ll

AMDGPU/GlobalISel: RegBankLegalize rules for gfx950 mfmas (#204696)
DeltaFile
+28-10llvm/lib/Target/AMDGPU/AMDGPURegBankLegalizeRules.cpp
+1-1llvm/test/CodeGen/AMDGPU/llvm.amdgcn.mfma.gfx950.ll
+29-112 files

LLVM/project f4043dblldb/test/API/macosx/deny-attach main.c TestDenyAttach.py, lldb/tools/debugserver/source/MacOSX MachProcess.mm

[lldb] Survive ptrace(PT_DENY_ATTACH) when attaching (#204688)

A process can opt out of being debugged with ptrace(PT_DENY_ATTACH). The
XNU kernel enforces this by delivering SIGSEGV to the *attaching*
process while it is still inside the ptrace(PT_ATTACHEXC) syscall. This
means debugserver gets killed before it can inspect the result. LLDB
only sees the dropped connection ("error: attach failed: lost
connection").

The condition can't be detected up front: the target's P_LNOATTACH flag
is not exposed to userspace. To work around this, install a temporary
SIGSEGV handler around the ptrace(PT_ATTACHEXC) call in AttachForDebug
and siglongjmp back out if it fires, turning the fatal signal into an
EPERM that propagates to lldb as a clear message:

```
error: attach failed: cannot attach to process N because it has
disabled debugging via ptrace(PT_DENY_ATTACH)
```

    [7 lines not shown]
DeltaFile
+87-5lldb/tools/debugserver/source/MacOSX/MachProcess.mm
+60-0lldb/test/API/macosx/deny-attach/main.c
+36-0lldb/test/API/macosx/deny-attach/TestDenyAttach.py
+3-0lldb/test/API/macosx/deny-attach/Makefile
+186-54 files

LLVM/project ac2c9eallvm/test/CodeGen/DirectX strip-debug-info.ll

Test stripping debug info for DirectX
DeltaFile
+92-0llvm/test/CodeGen/DirectX/strip-debug-info.ll
+92-01 files

LLVM/project 95e3219mlir/lib/Conversion/PtrToLLVM PtrToLLVM.cpp, mlir/test/Conversion/PtrToLLVM ptr-to-llvm.mlir

[mlir][ptr] Add constantop convertion (#204846)

Previously, Ptr.ConstantOp was missing the lowering pattern to LLVM IR.
This PR adds the missing conversion logic. See
https://github.com/llvm/llvm-project/pull/190527#issuecomment-4751141164.

---------

Co-authored-by: Fabian Mora <fmora.dev at gmail.com>
DeltaFile
+44-1mlir/lib/Conversion/PtrToLLVM/PtrToLLVM.cpp
+14-0mlir/test/Conversion/PtrToLLVM/ptr-to-llvm.mlir
+58-12 files

FreeBSD/ports 126e88fwww/librewolf distinfo Makefile

www/librewolf: Update 152.0-1 => 152.0.1-1

Release Notes:
https://www.firefox.com/en-US/firefox/152.0.1/releasenotes/

PR:             296141
Sponsored by:   UNIS Labs
MFH:            2026Q2

(cherry picked from commit 8fd7c8051a038bd80ed39ce3454061df0148719d)
DeltaFile
+3-3www/librewolf/distinfo
+1-1www/librewolf/Makefile
+4-42 files

FreeBSD/ports 8fd7c80www/librewolf distinfo Makefile

www/librewolf: Update 152.0-1 => 152.0.1-1

Release Notes:
https://www.firefox.com/en-US/firefox/152.0.1/releasenotes/

PR:             296141
Sponsored by:   UNIS Labs
MFH:            2026Q2
DeltaFile
+3-3www/librewolf/distinfo
+1-1www/librewolf/Makefile
+4-42 files

LLVM/project 7319a3cllvm/include/llvm/DebugInfo/DWARF/LowLevel DWARFDataExtractorSimple.h, llvm/include/llvm/Support DataExtractor.h

[Support] Remove unused parameter of DataExtractor constructor (#204840)

#190519 removed the uses of the parameter, and several follow-up patches
cleaned up call sites. This is the last patch in the series that finally
removes the parameter.
While here, also remove the unused "truncating constructor".
DeltaFile
+19-20llvm/unittests/Support/DataExtractorTest.cpp
+10-10llvm/lib/DWP/DWP.cpp
+1-9llvm/include/llvm/DebugInfo/DWARF/LowLevel/DWARFDataExtractorSimple.h
+0-8llvm/include/llvm/Support/DataExtractor.h
+3-3llvm/tools/obj2yaml/elf2yaml.cpp
+3-3llvm/unittests/DebugInfo/DWARF/DWARFExpressionCompactPrinterTest.cpp
+36-534 files not shown
+40-6010 files

OpenBSD/src 7kyA1y1usr.bin/tmux mode-tree.c window-tree.c

   Draw help directly instead of using a popup.
VersionDeltaFile
1.85+80-53usr.bin/tmux/mode-tree.c
1.80+13-13usr.bin/tmux/window-tree.c
1.43+10-10usr.bin/tmux/window-client.c
1.20+10-10usr.bin/tmux/window-customize.c
1.47+8-8usr.bin/tmux/window-buffer.c
+121-945 files

FreeNAS/freenas b6cb3f0src/middlewared/middlewared/alembic/versions/27.0 2026-06-16_12-00_normalize_nic_mac.py, src/middlewared/middlewared/api/base/types network.py

NAS-141350 / 27.0.0-BETA.1 / Reject and normalize non-colon NIC MAC addresses (#19154)

## Problem
A custom NIC MAC entered with dash, no-separator, or mixed separators
(e.g. `10-66-6A-1F-F1-B1`) passed the permissive `mac` pattern but
libvirt's `defineXML` only parses colon-separated MACs, so the
container/VM saved fine and then failed to start with `XML error: unable
to parse mac address`. The colon-only `MACAddr(separator=':')` guard the
VM plugin used through electriceel was dropped when devices moved to the
pydantic models at fangtooth, and containers (26.0+) never had it, so
these values can already be sitting in `vm_device` and
`container_device`.

## Solution
- Tightened the shared `MACAddress` type to colon-only with a clear
message, and switched the v27 VM and Container NIC `mac` fields to use
it (removing the duplicated permissive inline pattern). Frozen API
versions are left as-is.
- Added a migration that normalizes existing NIC MACs in both

    [5 lines not shown]
DeltaFile
+65-0src/middlewared/middlewared/alembic/versions/27.0/2026-06-16_12-00_normalize_nic_mac.py
+57-0src/middlewared/middlewared/pytest/unit/api/base/types/test_mac_address.py
+2-2src/middlewared/middlewared/api/v27_0_0/vm_device.py
+2-2src/middlewared/middlewared/api/v27_0_0/container_device.py
+2-2src/middlewared/middlewared/api/base/types/network.py
+128-65 files

NetBSD/pkgsrc oU6l2Nidoc CHANGES-2026

   Note update of net/bind918 to 9.18.50.
VersionDeltaFile
1.3841+2-1doc/CHANGES-2026
+2-11 files

NetBSD/pkgsrc sZ579Tsnet/bind918 distinfo Makefile

   net/bind: update to version 9.18.50.

   Pkgsrc changes:
    * None (just version + checksums)

   Upstream changes:

   Notes for BIND 9.18.50
   ----------------------

   Removed Features
   ~~~~~~~~~~~~~~~~

   - Remove ineffective TCP fallback after repeated UDP timeouts.

     When an authoritative server failed to respond to two consecutive UDP
     queries, :iscman:`named` marked the next retry as TCP but still sent
     it over UDP, producing misleading dnstap records. The ineffective
     retry path has been removed; a corrected TCP fallback will be restored

    [34 lines not shown]
VersionDeltaFile
1.41+4-4net/bind918/distinfo
1.69+2-2net/bind918/Makefile
+6-62 files

FreeBSD/ports bc32a60databases/rrdtool Makefile pkg-plist, databases/rrdtool/files extra-patch-locktimeout patch-configure

databases/rrdtool: Update to 1.10.3

- Add tests

ChangeLog:      https://github.com/oetiker/rrdtool-1.x/blob/master/CHANGES
PR:             295499
DeltaFile
+21-5databases/rrdtool/Makefile
+10-9databases/rrdtool/files/extra-patch-locktimeout
+9-9databases/rrdtool/files/patch-configure
+10-5databases/rrdtool/pkg-plist
+11-2databases/rrdtool/files/patch-bindings_Makefile.in
+3-3databases/rrdtool/distinfo
+64-332 files not shown
+68-378 files

FreeBSD/ports a8f9609devel/p5-RRDTool-OO Makefile distinfo

devel/p5-RRDTool-OO: Unbreak with databases/rrdtool 1.10.2

PR:             295505
DeltaFile
+5-2devel/p5-RRDTool-OO/Makefile
+1-0devel/p5-RRDTool-OO/distinfo
+6-22 files

FreeBSD/ports eb210cfnet-mgmt/nfdump Makefile

net-mgmt/nfdump: Mark broken with rrdtool 1.10+

PR:             295506
DeltaFile
+2-0net-mgmt/nfdump/Makefile
+2-01 files

FreeBSD/ports ad10544www/twms Makefile

www/twms: deprecate and expire

PR: 294471
Event: BSDCan 2026
DeltaFile
+4-1www/twms/Makefile
+4-11 files

LLVM/project 394aa60clang/lib/CIR/CodeGen CIRGenBuiltinAArch64.cpp

[CIR][NFC] Sync AArch64 NEON intrinsics with Clang (#204862)

Sync AArch64 NEON intrinsics with Clang after changes merged from
#204201
DeltaFile
+0-76clang/lib/CIR/CodeGen/CIRGenBuiltinAArch64.cpp
+0-761 files

FreeBSD/ports 4e22822multimedia/ringrtc Makefile

multimedia/ringrtc: Fix build

Reported by:            Michael Helsvig
DeltaFile
+2-1multimedia/ringrtc/Makefile
+2-11 files

LLVM/project bb87fbbllvm/lib/CAS OnDiskGraphDB.cpp, llvm/lib/MC MCObjectFileInfo.cpp

[llvm] Avoid premature Twine .str() materialization (#204828)
DeltaFile
+13-16llvm/lib/Transforms/IPO/InstrumentorUtils.cpp
+6-9llvm/lib/TableGen/TGParser.cpp
+4-4llvm/lib/Transforms/IPO/InstrumentorConfigFile.cpp
+4-4llvm/lib/MC/MCObjectFileInfo.cpp
+4-4llvm/lib/ObjCopy/COFF/COFFObjcopy.cpp
+3-3llvm/lib/CAS/OnDiskGraphDB.cpp
+34-405 files not shown
+40-4611 files

LLVM/project d10349cllvm/lib/Analysis InstructionSimplify.cpp, llvm/test/Transforms/InstCombine pdep.ll pext.ll

[InstSimplify] Add fold for pdep(0,x) -> 0 and pext(0,x) -> 0 (#204810)

As noted on #204144
DeltaFile
+2-4llvm/test/Transforms/InstCombine/pdep.ll
+2-4llvm/test/Transforms/InstCombine/pext.ll
+4-0llvm/lib/Analysis/InstructionSimplify.cpp
+8-83 files

FreeBSD/ports 0d767aasecurity/nmap-devel distinfo Makefile, security/nmap-devel/files patch-ncat__ncat_ssl.c

security/nmap-devel: Update to the latest GH commit
DeltaFile
+0-13security/nmap-devel/files/patch-ncat__ncat_ssl.c
+3-3security/nmap-devel/distinfo
+2-2security/nmap-devel/Makefile
+5-183 files

FreeBSD/ports ff7b68ddevel/git-filter-repo-devel distinfo Makefile

devel/git-filter-repo-devel: Update to the latest github commit
DeltaFile
+3-3devel/git-filter-repo-devel/distinfo
+2-2devel/git-filter-repo-devel/Makefile
+5-52 files

FreeBSD/ports e12b337mail/spamassassin-devel distinfo Makefile

mail/spamassassin-devel: update to latest github commit
DeltaFile
+3-3mail/spamassassin-devel/distinfo
+2-2mail/spamassassin-devel/Makefile
+5-52 files

FreeBSD/ports 154b728security/krb5-devel distinfo Makefile

security/krb5-devel: update to the latest MIT/KRB5 github commit
DeltaFile
+3-3security/krb5-devel/distinfo
+2-2security/krb5-devel/Makefile
+5-52 files

FreeBSD/ports c35774bnet/hostapd-devel distinfo Makefile

net/hostapd-devel: Update to the latest GH commit

Update to the latest w1.fi commit, proxied through my GH account.
DeltaFile
+3-3net/hostapd-devel/distinfo
+2-2net/hostapd-devel/Makefile
+5-52 files

FreeBSD/ports bddba00security/wpa_supplicant-devel distinfo Makefile

security/wpa_supplicant-devel: Update to latest GH commit

Update to the latest w1.fi commit, proxied through my GH account.
DeltaFile
+3-3security/wpa_supplicant-devel/distinfo
+2-2security/wpa_supplicant-devel/Makefile
+5-52 files

FreeBSD/ports c0df0bdx11-toolkits/thentenaar-motif-devel distinfo Makefile

x11-toolkits/thentenaar-motif-devel: Update to the latest github commit
DeltaFile
+3-3x11-toolkits/thentenaar-motif-devel/distinfo
+2-2x11-toolkits/thentenaar-motif-devel/Makefile
+5-52 files