pkgng/pkgng 71620fclibpkg pkg_jobs.c binfmt_macho.c, src repo.c key.c

C23: first round at using __has_include

All versions of the compiler we are using supports __has_include
Use it to make the code more independant from the configure framework.
DeltaFile
+6-8libpkg/pkg_jobs.c
+4-8src/repo.c
+2-6src/key.c
+3-3libpkg/binfmt_macho.c
+3-3libpkg/pkg_elf.c
+3-2libpkg/pkgdb.c
+21-3011 files not shown
+33-4617 files

LLVM/project 55d4c69mlir/lib/Analysis/AliasAnalysis LocalAliasAnalysis.cpp

[mlir][analysis]  Cleanup collectUnderlyingAddressValues (NFC) (#177905)

DeltaFile
+5-13mlir/lib/Analysis/AliasAnalysis/LocalAliasAnalysis.cpp
+5-131 files

LLVM/project f2deb79llvm/lib/Linker IRMover.cpp, llvm/test/Transforms/FunctionImport attr_fixup_dae_noundef.ll

[IRMover] Use signature for exact definition (#177381)

It is possible for optimizations to modify attributes on exact
definitions. In particular, DeadArgumentElimination may find that a
certain argument is dead, and replace arguments in calls with `poison`.
This requires dropping the `noundef` attribute on the argument.

When ThinLTO import is performed, the destination module already has a
declaration for the function, and the definition is not imported (e.g.
because it is noinline), we currently simply retain the original
declaration. This is incorrect if call with poison arguments were
imported, as the calls become immediate UB.

There was a previous attempt to address this in
https://reviews.llvm.org/D139209. What that patch did was to fix up the
attributes of the declaration after the fact, dropping UB implying
attributes that are not present on the definition. It was reverted
because it made an incorrect assumption that the signature between the
declaration and definition must match.

    [9 lines not shown]
DeltaFile
+38-0llvm/test/Transforms/FunctionImport/attr_fixup_dae_noundef.ll
+19-0llvm/test/Transforms/FunctionImport/Inputs/attr_fixup_dae_noundef.ll
+10-0llvm/lib/Linker/IRMover.cpp
+67-03 files

FreeBSD/src 5080b34sys/arm/broadcom/bcm2835 files.bcm283x, sys/conf kern.mk files.arm64

vchiq: fix build with clang 21

When compiling vchiq with clang 21, the following -Werror warning is
produced:

    sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c:728:27: error: default initialization of an object of type 'VCHIQ_QUEUE_MESSAGE32_T' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe]
      728 |                 VCHIQ_QUEUE_MESSAGE32_T args32;
          |                                         ^
    sys/contrib/vchiq/interface/vchiq_arm/vchiq_ioctl.h:151:40: note: member 'elements' declared 'const' here
      151 |         const /*VCHIQ_ELEMENT_T * */ uint32_t elements;
          |                                               ^

While the warning is formally correct, the 'args32' object is
immediately initialized after its declaration. Therefore, suppress the
warning.

MFC after:      3 days

(cherry picked from commit b39662fc388678db2b7b5fa3c900205252d15b3b)
DeltaFile
+3-0sys/conf/kern.mk
+1-1sys/arm/broadcom/bcm2835/files.bcm283x
+1-1sys/conf/files.arm64
+5-23 files

FreeBSD/src 0b52fb5sys/dev/mxge if_mxge.c

mxge(4): avoid clang 21 warning in NO-IP configuration

Building the LINT-NOIP kernel on amd64 with clang 21 results in a
-Werror warning similar to:

    sys/dev/mxge/if_mxge.c:1846:44: error: variable 'sum' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer]
     1846 |                     cksum_offset, sizeof(sum), (caddr_t)&sum);
          |                                                          ^~~

Indeed, if both `INET` and `INET6` are undefined, `sum` is never
initialized. Initialize it to zero to silence the warning.

Reviewed by:    jhibbits
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54730

(cherry picked from commit 74cac745fe302b26ad22114f60735c8b73e90571)
DeltaFile
+1-1sys/dev/mxge/if_mxge.c
+1-11 files

FreeBSD/src cff26b9contrib/llvm-project/libcxx/include inttypes.h

libc++ inttypes.h: define __STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS

Before transitively including the base version of inttypes.h, define
__STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS, because the base
inttypes.h directly includes sys/stdint.h, instead of going through the
'regular' stdint.h.

The libc++ version of the latter does define those macros, to ensure
things like UINT64_C() and SIZE_MAX are defined even in C++98 or C++03.

MFC after:      3 days

(cherry picked from commit 3cdb6c9d92ecf479a0df338267f3f844ef6feeb2)
DeltaFile
+9-2contrib/llvm-project/libcxx/include/inttypes.h
+9-21 files

FreeBSD/src 027743asys/modules/miiproxy Makefile

modules: miiproxy: Fix standalone build

The fix is made in main branch [1] by imp but it appears to be done
incidentally. Let's do it directly for stable/15 branch.

[1] 8e985774117d kern: Remove needless kern.opts.mk
DeltaFile
+1-1sys/modules/miiproxy/Makefile
+1-11 files

FreeBSD/src 731fa6ccontrib/llvm-project/libcxx/include inttypes.h

libc++ inttypes.h: define __STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS

Before transitively including the base version of inttypes.h, define
__STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS, because the base
inttypes.h directly includes sys/stdint.h, instead of going through the
'regular' stdint.h.

The libc++ version of the latter does define those macros, to ensure
things like UINT64_C() and SIZE_MAX are defined even in C++98 or C++03.

MFC after:      3 days

(cherry picked from commit 3cdb6c9d92ecf479a0df338267f3f844ef6feeb2)
DeltaFile
+9-2contrib/llvm-project/libcxx/include/inttypes.h
+9-21 files

FreeBSD/src dfc7e06contrib/llvm-project/libcxx/include inttypes.h

libc++ inttypes.h: define __STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS

Before transitively including the base version of inttypes.h, define
__STDC_CONSTANT_MACROS and __STDC_LIMIT_MACROS, because the base
inttypes.h directly includes sys/stdint.h, instead of going through the
'regular' stdint.h.

The libc++ version of the latter does define those macros, to ensure
things like UINT64_C() and SIZE_MAX are defined even in C++98 or C++03.

MFC after:      3 days

(cherry picked from commit 3cdb6c9d92ecf479a0df338267f3f844ef6feeb2)
DeltaFile
+9-2contrib/llvm-project/libcxx/include/inttypes.h
+9-21 files

FreeBSD/src 1b02df0sys/dev/mxge if_mxge.c

mxge(4): avoid clang 21 warning in NO-IP configuration

Building the LINT-NOIP kernel on amd64 with clang 21 results in a
-Werror warning similar to:

    sys/dev/mxge/if_mxge.c:1846:44: error: variable 'sum' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer]
     1846 |                     cksum_offset, sizeof(sum), (caddr_t)&sum);
          |                                                          ^~~

Indeed, if both `INET` and `INET6` are undefined, `sum` is never
initialized. Initialize it to zero to silence the warning.

Reviewed by:    jhibbits
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54730

(cherry picked from commit 74cac745fe302b26ad22114f60735c8b73e90571)
DeltaFile
+1-1sys/dev/mxge/if_mxge.c
+1-11 files

FreeBSD/src 6380e53sys/dev/mxge if_mxge.c

mxge(4): avoid clang 21 warning in NO-IP configuration

Building the LINT-NOIP kernel on amd64 with clang 21 results in a
-Werror warning similar to:

    sys/dev/mxge/if_mxge.c:1846:44: error: variable 'sum' is uninitialized when passed as a const pointer argument here [-Werror,-Wuninitialized-const-pointer]
     1846 |                     cksum_offset, sizeof(sum), (caddr_t)&sum);
          |                                                          ^~~

Indeed, if both `INET` and `INET6` are undefined, `sum` is never
initialized. Initialize it to zero to silence the warning.

Reviewed by:    jhibbits
MFC after:      3 days
Differential Revision: https://reviews.freebsd.org/D54730

(cherry picked from commit 74cac745fe302b26ad22114f60735c8b73e90571)
DeltaFile
+1-1sys/dev/mxge/if_mxge.c
+1-11 files

FreeBSD/src 5118ca7sys/arm/broadcom/bcm2835 files.bcm283x, sys/conf kern.mk files.arm64

vchiq: fix build with clang 21

When compiling vchiq with clang 21, the following -Werror warning is
produced:

    sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c:728:27: error: default initialization of an object of type 'VCHIQ_QUEUE_MESSAGE32_T' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe]
      728 |                 VCHIQ_QUEUE_MESSAGE32_T args32;
          |                                         ^
    sys/contrib/vchiq/interface/vchiq_arm/vchiq_ioctl.h:151:40: note: member 'elements' declared 'const' here
      151 |         const /*VCHIQ_ELEMENT_T * */ uint32_t elements;
          |                                               ^

While the warning is formally correct, the 'args32' object is
immediately initialized after its declaration. Therefore, suppress the
warning.

MFC after:      3 days

(cherry picked from commit b39662fc388678db2b7b5fa3c900205252d15b3b)
DeltaFile
+3-0sys/conf/kern.mk
+1-1sys/arm/broadcom/bcm2835/files.bcm283x
+1-1sys/conf/files.arm64
+5-23 files

OPNSense/core 3248b4dsrc/etc rc.newwanipv6, src/etc/inc interfaces.inc

interfaces: avoid forced reloads when PDINFO is not set #9521

PDINFO, the variable we get from dhcp6c has only reply packet
context and may not be correct when it's renewing a NAINFO for
example.  Ignore the event when not set and add more logging
for the specific case to see if the PPPoE loop is stopped with
that approach.

It may not be stopped since the possibility for a shift of the
PD is still there, but that would mean we're not allowed to
reload a connected PPPoE for specifc reasons we need to find
out.

PR: https://forum.opnsense.org/index.php?topic=50505.0
DeltaFile
+14-10src/etc/inc/interfaces.inc
+6-6src/etc/rc.newwanipv6
+20-162 files

FreeBSD/src a4e3ff9sys/arm/broadcom/bcm2835 files.bcm283x, sys/conf kern.mk files.arm64

vchiq: fix build with clang 21

When compiling vchiq with clang 21, the following -Werror warning is
produced:

    sys/contrib/vchiq/interface/vchiq_arm/vchiq_arm.c:728:27: error: default initialization of an object of type 'VCHIQ_QUEUE_MESSAGE32_T' with const member leaves the object uninitialized [-Werror,-Wdefault-const-init-field-unsafe]
      728 |                 VCHIQ_QUEUE_MESSAGE32_T args32;
          |                                         ^
    sys/contrib/vchiq/interface/vchiq_arm/vchiq_ioctl.h:151:40: note: member 'elements' declared 'const' here
      151 |         const /*VCHIQ_ELEMENT_T * */ uint32_t elements;
          |                                               ^

While the warning is formally correct, the 'args32' object is
immediately initialized after its declaration. Therefore, suppress the
warning.

MFC after:      3 days

(cherry picked from commit b39662fc388678db2b7b5fa3c900205252d15b3b)
DeltaFile
+3-0sys/conf/kern.mk
+1-1sys/arm/broadcom/bcm2835/files.bcm283x
+1-1sys/conf/files.arm64
+5-23 files

LLVM/project 13b20e7llvm/lib/Target/AMDGPU SILoadStoreOptimizer.cpp SIFoldOperands.cpp, llvm/test/CodeGen/AMDGPU promote-constOffset-to-imm-gfx12.mir promote-constOffset-to-imm-gfx12.ll

[AMDGPU][SILoadStoreOptimizer] Fix lds address operand offset (#176816)

The offset operand in GLOBAL_LOAD_ASYNC_TO_LDS_B128, for instance, is
added to both the lds and global address, but SILoadStoreOptimizer is
currently unaware of that. This PR inserts an add to counteract the
offset meant for the global address. This one add is better than not
doing the optimization at all, and having to insert 2 adds for each
global address calculation (with no offset).

```
; ENABLE-LABEL: name: promote_async_load_offset
; ENABLE: liveins: $ttmp7, $vgpr0, $sgpr0_sgpr1
; ENABLE-NEXT: {{  $}}
; ENABLE-NEXT: renamable $vgpr1 = V_LSHLREV_B32_e32 8, $vgpr0, implicit $exec
; ENABLE-NEXT: renamable $vgpr2, renamable $vcc_lo = V_ADD_CO_U32_e64 $vgpr0, 512, 0, implicit $exec
; ENABLE-NEXT: renamable $vgpr3, dead $sgpr_null = V_ADDC_U32_e64 0, killed $vgpr0, killed $vcc_lo, 0, implicit $exec
; ENABLE-NEXT: renamable $vgpr1 = disjoint V_OR_B32_e32 0, killed $vgpr1, implicit $exec
; ENABLE-NEXT: renamable $vgpr0 = V_ADD_U32_e32 256, $vgpr1, implicit $exec
; ENABLE-NEXT: GLOBAL_LOAD_ASYNC_TO_LDS_B128 killed $vgpr0, $vgpr2_vgpr3, -256, 0, implicit-def $asynccnt, implicit $exec, implicit $asynccnt :: (load store (s128), align 1, addrspace 3)

    [18 lines not shown]
DeltaFile
+110-26llvm/lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
+111-0llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm-gfx12.mir
+97-0llvm/test/CodeGen/AMDGPU/promote-constOffset-to-imm-gfx12.ll
+6-24llvm/lib/Target/AMDGPU/SIFoldOperands.cpp
+18-0llvm/lib/Target/AMDGPU/SIInstrInfo.cpp
+10-0llvm/lib/Target/AMDGPU/SIInstrInfo.h
+352-506 files

NetBSD/pkgsrc kK3HhnZdoc CHANGES-2026 TODO

   Updated devel/py-setuptools, devel/py-wheel
VersionDeltaFile
1.656+3-1doc/CHANGES-2026
1.26724+1-2doc/TODO
+4-32 files

NetBSD/pkgsrc hnaHYEwdevel/py-wheel PLIST distinfo

   py-wheel: updated to 0.46.3

   **0.46.3 (2026-01-22)**

   - Fixed ``ImportError: cannot import name '_setuptools_logging' from 'wheel'`` when
     installed alongside an old version of setuptools and running the ``bdist_wheel``
     command

   **0.46.2 (2026-01-22)**

   - Restored the ``bdist_wheel`` command for compatibility with ``setuptools`` older than
     v70.1
   - Importing ``wheel.bdist_wheel`` now emits a ``FutureWarning`` instead of a
     ``DeprecationWarning``
   - Fixed ``wheel unpack`` potentially altering the permissions of files outside of the
     destination tree with maliciously crafted wheels (CVE-2026-24049)

   **0.46.1 (2025-04-08)**


    [14 lines not shown]
VersionDeltaFile
1.14+19-65devel/py-wheel/PLIST
1.33+4-4devel/py-wheel/distinfo
1.44+3-4devel/py-wheel/Makefile
+26-733 files

NetBSD/pkgsrc cUZzCPedevel/py-setuptools PLIST distinfo

   py-setuptools: updated to 80.10.2

   80.10.2

   Bugfixes

   Update vendored dependencies.
VersionDeltaFile
1.105+43-87devel/py-setuptools/PLIST
1.247+4-4devel/py-setuptools/distinfo
1.273+2-2devel/py-setuptools/Makefile
+49-933 files

FreeBSD/src e09f36csys/modules/iwlwifi Makefile, sys/modules/rtw89 Makefile

modules: iwlwifi/rtw89 allow standalone build

The KERN_OPTS:MDEV_ACPI checks are fine for as long as we are building
modules along the kernel.  If one wants to just build the module
standalone out of the module directory this would fail.
Add the missing include for kmod.opts.mk (as was done for tcp
in 1319a76179682).

Sponsored by:   The FreeBSD Foundation
Reported by:    Tassilo Philipp (tphilipp potion-studios.com)
Fixes:  f5a77dc8f8df ("improve module Makefile dependency on ACPI")
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D54769

(cherry picked from commit 0f0b833e4db6d450b39de0365b657936f5a6993b)
DeltaFile
+2-0sys/modules/iwlwifi/Makefile
+2-0sys/modules/rtw89/Makefile
+4-02 files

OPNSense/plugins 7782f97net/isc-dhcp pkg-descr Makefile, net/isc-dhcp/src/etc/inc/plugins.inc.d dhcpd.inc

net/isc-dhcp: sync with master
DeltaFile
+50-14net/isc-dhcp/src/www/services_dhcpv6.php
+11-7net/isc-dhcp/src/etc/inc/plugins.inc.d/dhcpd.inc
+2-1net/isc-dhcp/pkg-descr
+1-1net/isc-dhcp/src/www/services_dhcp.php
+1-0net/isc-dhcp/Makefile
+65-235 files

NetBSD/src vY7S3h6sys/arch/aarch64/aarch64 pmap.c

   spaces to tab
VersionDeltaFile
1.152+3-3sys/arch/aarch64/aarch64/pmap.c
+3-31 files

OpenBSD/ports CUcdSakprint/py-pypdf distinfo Makefile

   Update to py3-pypdf-6.6.1.
VersionDeltaFile
1.50+2-2print/py-pypdf/distinfo
1.55+1-1print/py-pypdf/Makefile
+3-32 files

OPNSense/core 4ae2ddc. plist, src/etc/rc.syshook.d/start 90-hostwatch

interfaces: do not handle hostwatch user/group from here

PR: https://github.com/opnsense/hostwatch/issues/7

(cherry picked from commit fe145d99ae3f1c130e158cf1aaea7b5d2d9c9095)
(cherry picked from commit 2b19239c1437a6437f24413c2fab5b62bd23017f)
DeltaFile
+0-4src/etc/rc.syshook.d/start/90-hostwatch
+1-1src/opnsense/service/templates/OPNsense/Hostdiscovery/rc.conf.d
+0-1plist
+1-63 files

OPNSense/core a4875b0src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.php, src/opnsense/mvc/app/models/OPNsense/Kea/FieldTypes KeaPoolsField.php

Services: Kea DHCP: Kea DHCPv6 - add pool in net validation, for https://github.com/opnsense/core/issues/9343

(cherry picked from commit 6a666e804a78605798aa303ed2a12158ce0bde69)
DeltaFile
+15-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+10-0src/opnsense/mvc/app/models/OPNsense/Kea/FieldTypes/KeaPoolsField.php
+25-02 files

OPNSense/core bae13c5src/opnsense/mvc/app/controllers/OPNsense/Kea/forms dialogReservation6.xml, src/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv6.xml KeaDhcpv6.php

Services: Kea DHCP: Kea DHCPv6 / Rervations - allow hw-address for reservations (in stead of DUID), closes https://github.com/opnsense/core/issues/9282

(cherry picked from commit b9b9336975fa589c23b2dfc2309b615330fcf7ad)
DeltaFile
+12-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.xml
+6-1src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+6-0src/opnsense/mvc/app/controllers/OPNsense/Kea/forms/dialogReservation6.xml
+24-23 files

OPNSense/core ffe892asrc/opnsense/mvc/app/models/OPNsense/Kea KeaDhcpv4.php KeaDhcpv6.php

Services: Kea DHCP - add libdhcp_host_cmds.so to expose (internal) api commands for reservations, closes https://github.com/opnsense/core/issues/9646

(cherry picked from commit 592f9f13341b1e80a2c052643f2624c23eb686eb)
DeltaFile
+3-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv4.php
+3-0src/opnsense/mvc/app/models/OPNsense/Kea/KeaDhcpv6.php
+6-02 files

OPNSense/core 1940090src/opnsense/scripts/filter/lib/alias __init__.py

Firewall: Aliases - expire geoip aliases when there's either no database installed or its newer than the alias contents populated. closes https://github.com/opnsense/core/issues/9374

In the long run we should probably refactor the alias class so different types can have their own implementations, but this has a lot more impact than injecting a specific expire() implementation for geoip information at its current spot.

The additional advantage of this change is it will update aliases before their TTL expires when the geoip database is newer than the alias content.

(cherry picked from commit 7bb40089867079e75857823d26ecdee5b12075d8)
DeltaFile
+13-0src/opnsense/scripts/filter/lib/alias/__init__.py
+13-01 files

OPNSense/core 9e044absrc/opnsense/mvc/app/controllers/OPNsense/Firewall/Api DNatController.php, src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes ProtocolField.php BaseField.php

mvc: add ChangeCase support to ProtocolField for DNAT special case (#9643)

Use the ChangeCase BaseField extension because it's already being tested
and add more tests and safeguards so that the cache knows which case is
going on (also if 'any' needs to be used).

The 'any' value is a bit tricky here.  Force it to lowercase in all cases
since it wasn't uppercased before either.

Also fix the display of anti-lockout protocol for consistency.

(cherry picked from commit 33e296120f1a453a1235dbc403f89efb2e9cd996)
DeltaFile
+48-32src/opnsense/mvc/tests/app/models/OPNsense/Base/FieldTypes/ProtocolFieldTest.php
+53-8src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/ProtocolField.php
+20-17src/opnsense/mvc/app/models/OPNsense/Base/FieldTypes/BaseField.php
+2-1src/opnsense/mvc/app/models/OPNsense/Firewall/DNat.xml
+1-0src/opnsense/mvc/app/controllers/OPNsense/Firewall/Api/DNatController.php
+124-585 files

OPNSense/core 3e71cd7src/etc/inc/plugins.inc.d radvd.inc

radvd: remove faulty condition introduced in 733f5057d0c

I'm not sure why it was there.  No address means no working radvd.

(cherry picked from commit 3c86f5d10e1fb91305723312951bcd192410da0a)
DeltaFile
+1-1src/etc/inc/plugins.inc.d/radvd.inc
+1-11 files

FreeBSD/ports 7375f88editors/novelwriter distinfo Makefile

editors/novelwriter: update 2.8 → 2.8.2

Reported by:    portscout
DeltaFile
+3-3editors/novelwriter/distinfo
+1-1editors/novelwriter/Makefile
+4-42 files