HardenedBSD/ports 91086b9archivers/sharutils/files patch-src_shar.c

HBSD: Fix HARDCFLAGS for archivers/sharutils

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+28-1archivers/sharutils/files/patch-src_shar.c
+28-11 files

FreeNAS/freenas a31f189src/middlewared/middlewared/api/v26_04_0 zfs_resource_crud.py, src/middlewared/middlewared/plugins/docker backup.py

NAS-138831 / 26.04 / remove snapshot logic from zfs.resource.query/destroy (#17773)

With the new zfs.resource.snapshot namespace introduced in
https://github.com/truenas/middleware/pull/17772, this removes all the
snapshot logic from the zfs.resource.destroy/query methods. This is
being done to keep the UX as simple as possible and allows the backend
to be more easily tested.

All tests pass.
DeltaFile
+39-91tests/api2/test_zfs_resource_destroy.py
+42-81src/middlewared/middlewared/plugins/zfs/resource_crud.py
+21-11src/middlewared/middlewared/plugins/docker/backup.py
+5-25src/middlewared/middlewared/api/v26_04_0/zfs_resource_crud.py
+2-23src/middlewared/middlewared/plugins/zfs/query_impl.py
+17-0src/middlewared/middlewared/plugins/zfs/snapshot_crud.py
+126-2319 files not shown
+160-25815 files

LLVM/project 8378a6fmlir/test/Integration/Dialect/Arith/CPU test-apfloat-emulation-vector.mlir

[mlir][arith] Fix build after #171024 (#171057)

Fix build after #171024.
DeltaFile
+2-2mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
+2-21 files

HardenedBSD/ports e37ea02net/dante Makefile

HBSD: Disable FORTIFYSOURCE for net/dante

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+1-1net/dante/Makefile
+1-11 files

LLVM/project 2c88ee5mlir/test/Integration/Dialect/Arith/CPU test-apfloat-emulation-vector.mlir

[mlir][arith] Fix build after #171024
DeltaFile
+2-2mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
+2-21 files

HardenedBSD/ports 43c32abmisc/amanda-server Makefile

HBSD: Disable FORTIFYSOURCE for misc/amanda-{client,server}

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+2-0misc/amanda-server/Makefile
+2-01 files

LLVM/project 99851dfmlir/lib/Dialect/LLVMIR/Transforms InlinerInterfaceImpl.cpp, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

TrimmedLLVMIRTransforms: Remove NVVMDialect dependency

Add conditional compilation guards to LLVMIRTransforms to allow building
without the NVVMDialect dependency.

- Add #ifndef MLIR_LLVMIR_TRANSFORMS_NO_NVVM guards around NVVM include
- Guard NVVM::registerInlinerInterface() function
- Add TrimmedLLVMIRTransforms bazel target with local_defines
- Excludes OptimizeForNVVM.cpp and OptimizeForNVVM.h
- Removes NVVMDialect dependency

Dependency paths removed:
aster-tools → ASTERInit → LLVMIRTransforms → NVVMDialect
aster-tools → ASTERInit → LLVMIRTransforms → NVVMDialect → ToLLVMIRTranslation → OpenMPDialect
DeltaFile
+45-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+4-0mlir/lib/Dialect/LLVMIR/Transforms/InlinerInterfaceImpl.cpp
+49-02 files

FreeBSD/ports d89f255www/wt/files patch-src_web_FileUtils.C

www/wt: Add missing patch file, correcting previous commit

PR:             291346
DeltaFile
+11-0www/wt/files/patch-src_web_FileUtils.C
+11-01 files

LLVM/project fc85c77mlir/lib/Rewrite ByteCode.cpp, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

TrimmedRewrite and TrimmedCAPIIR: Remove PDL dependencies

Add conditional compilation guards to Rewrite and create trimmed CAPI
targets to allow building without PDL dependencies.

- Wrap ByteCode.cpp in #if MLIR_ENABLE_PDL_IN_PATTERNMATCH guard
- Add TrimmedRewrite bazel target with MLIR_ENABLE_PDL_IN_PATTERNMATCH=0
  Removes deps: PDLDialect, PDLInterpDialect, PDLToPDLInterp
- Add TrimmedCAPIIR bazel target that:
  - Excludes lib/CAPI/Dialect/IRDL.cpp
  - Uses TrimmedRewrite instead of Rewrite
  - Removes IRDLDialect dependency

Dependency paths removed:
aster-tools → ASTERInit → CAPIIR → Rewrite → PDLDialect/PDLInterpDialect
aster-tools → ASTERInit → CAPIIR → IRDLDialect
DeltaFile
+84-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+5-0mlir/lib/Rewrite/ByteCode.cpp
+89-02 files

LLVM/project 2daf644mlir/lib/Dialect/Tensor/IR TensorDialect.cpp, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

TrimmedTensorDialect: Remove TransformDialectInterfaces dependency

Add conditional compilation guards to TensorDialect to allow building
without the TransformDialectInterfaces dependency.

- Add #ifndef MLIR_TENSOR_NO_TRANSFORM_INTERFACES guards around Transform include
- Guard declarePromisedInterfaces<transform::FindPayloadReplacementOpInterface, ...>()
- Add TrimmedTensorDialect bazel target with local_defines

Dependency path removed:
aster-tools → AMDGCNTransforms → SCFDialect → TensorDialect → TransformDialectInterfaces
DeltaFile
+47-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+4-0mlir/lib/Dialect/Tensor/IR/TensorDialect.cpp
+51-02 files

LLVM/project a288fb3utils/bazel/llvm-project-overlay/mlir BUILD.bazel

TrimmedFuncExtensions: Remove ShardDialect dependency

Create a trimmed FuncExtensions target that excludes ShardingInterface
dependency by excluding ShardingExtensions.cpp and AllExtensions.cpp.

- Add TrimmedFuncExtensions bazel target that excludes sharding files

Dependency path removed:
aster-tools → ASTERInit → FuncExtensions → ShardingInterface → ShardDialect
DeltaFile
+27-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+27-01 files

LLVM/project 3e906a4mlir/lib/Tools/mlir-opt MlirOptMain.cpp, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

TrimmedMlirOptLib: Remove IRDLDialect dependency

Add conditional compilation guards to MlirOptLib to allow building
without the IRDLDialect dependency.

- Add #ifndef MLIR_MLIROPTLIB_NO_IRDL guards around IRDL includes
- Guard --irdl-file command line option
- Guard loadIRDLDialects() function
- Guard calls to loadIRDLDialects() in doVerifyRoundTrip and processBuffer
- Add TrimmedMlirOptLib bazel target with local_defines

Dependency path removed:
aster-tools → aster-opt → MlirOptLib → IRDLDialect
DeltaFile
+23-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+10-0mlir/lib/Tools/mlir-opt/MlirOptMain.cpp
+33-02 files

LLVM/project b41bee0mlir/lib/Dialect/Arith/Utils Utils.cpp, utils/bazel/llvm-project-overlay/mlir BUILD.bazel

TrimmedArithUtils: Remove ComplexDialect dependency

Add conditional compilation guards to ArithUtils to allow building
without the ComplexDialect dependency.

- Add #ifndef MLIR_ARITH_UTILS_NO_COMPLEX guards around Complex include
- Guard convertScalarToComplexDtype() function
- Guard ComplexType branch in convertScalarToDtype()
- Add TrimmedArithUtils bazel target with local_defines

Dependency path removed:
aster-tools → AMDGCNTransforms → SCFDialect → ArithUtils → ComplexDialect
DeltaFile
+18-0utils/bazel/llvm-project-overlay/mlir/BUILD.bazel
+8-1mlir/lib/Dialect/Arith/Utils/Utils.cpp
+26-12 files

FreeBSD/ports 7864b15www/geckodriver distinfo Makefile.crates

www/geckodriver: Update to 0.36.0

PR:             289735
Reported by:    p5B2EA84B3 at t-online.de
Approved by:    maintainer timeout
DeltaFile
+231-209www/geckodriver/distinfo
+221-0www/geckodriver/Makefile.crates
+2-214www/geckodriver/Makefile
+454-4233 files

LLVM/project 359cac4clang-tools-extra/clang-tidy/fuchsia MultipleInheritanceCheck.cpp MultipleInheritanceCheck.h, clang-tools-extra/docs ReleaseNotes.rst

[clang-tidy] Don't cache classes by name in `fuchsia-multiple-inheritance` (#171016)

Context: for every class, this check needs to compute whether that class
is an interface (i.e. only has pure virtual methods). This is expensive,
so the check caches the computation. But it caches by class name, which
is problematic, because the same name can refer to different classes at
different scopes. Here's for example a false negative it causes:
https://godbolt.org/z/bMGc5sYqh. This PR changes it to cache by
`CXXRecordDecl *` instead.
DeltaFile
+15-0clang-tools-extra/test/clang-tidy/checkers/fuchsia/multiple-inheritance.cpp
+3-10clang-tools-extra/clang-tidy/fuchsia/MultipleInheritanceCheck.cpp
+6-0clang-tools-extra/docs/ReleaseNotes.rst
+1-1clang-tools-extra/clang-tidy/fuchsia/MultipleInheritanceCheck.h
+25-114 files

DragonFlyBSD/src 4748425sys/kern vfs_subr.c

kernel - Fix race in brelvp() and reassignbuf()

* brelvp() can be called with just the buffer (bp) locked.  The
  vnode might not be locked or referenced at the time brelvp()
  is called, or might be locked by some other entity at the time.

* brelvp() obtains the vnode token but this is not sufficient.
  There is a race where, once the bp is removed from the vnode lists,
  the related vnode might be retired out from under brelvp() if the
  vp token is temporarily lost.

  The token can, in fact, be temporarily lost during the syncer list
  manipulation at the end of the routine.  Fix with a vhold()/vdrop()
  around the related code.

* In addition, set bp->b_vp to NULL before the syncer_list manipulation
  instead of after, ensuring that it is NULL'd out while the vnode token
  is still atomically held.  It was theoretically ok before since the
  bp should be locked, but the lost vnode token atomicy was concerning

    [3 lines not shown]
DeltaFile
+23-10sys/kern/vfs_subr.c
+23-101 files

LLVM/project ffc5581llvm/lib/Target/SPIRV SPIRVPrepareFunctions.cpp SPIRVCallLowering.cpp, llvm/test/CodeGen/SPIRV/pointers fun-with-aggregate-arg-in-const-init.ll

[SPIRV] Add support for pointers to functions with aggregate args/returns as global variables / constant initialisers (#169595)

This patch does two things:

1. it extends the aggregate arg / ret replacement transform to work on
indirect calls / pointers to function. It is somewhat spread out as
retrieving the original function type is needed in a few places. In
general, we should rethink / rework the entire infrastructure around
aggregate arg/ret handling, using an opaque target specific type rather
than i32;
2. it enables global variables of pointer to function type, and, more
specifically, global variables of a aggregate type (arrays / structures)
with pointer to function elements.

This also exposes some issues in how we handle pointers to function and
lowering indirect function calls, primarily around not using the program
address space. These will be handled in a subsequent patch as they'll
require somewhat more intrusive surgery, possibly involving modifying
the data layout.
DeltaFile
+98-14llvm/lib/Target/SPIRV/SPIRVPrepareFunctions.cpp
+107-0llvm/test/CodeGen/SPIRV/pointers/fun-with-aggregate-arg-in-const-init.ll
+28-56llvm/lib/Target/SPIRV/SPIRVCallLowering.cpp
+63-0llvm/lib/Target/SPIRV/SPIRVUtils.cpp
+24-6llvm/lib/Target/SPIRV/SPIRVEmitIntrinsics.cpp
+6-3llvm/lib/Target/SPIRV/SPIRVPreLegalizer.cpp
+326-792 files not shown
+333-798 files

OpenBSD/ports vpridk6x11/kde-applications/artikulate Makefile

   Add missing bdep on x11/qt6/qtmultimedia

   No idea whether a build dep is enough. Runtime testing left as an
   exercise for ${MAINTAINER}.

   Spotted in my ongoing riscv64 bulk build and in the last three builds on
   exopi.
VersionDeltaFile
1.23+2-2x11/kde-applications/artikulate/Makefile
+2-21 files

HardenedBSD/ports bdc5639archivers/unarj Makefile

HBSD: Disable HARDCFLAGS for archivers/unarj

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+2-0archivers/unarj/Makefile
+2-01 files

FreeBSD/ports 4c68eb5databases/mongodb-tools Makefile

databases/mongodb-tools: unpin go version

Dodges the deprecation.
Unfortunately the tests fail if go.mod does not match the go pkg
version. Documented this in the Makefile.

Fixes:  f45b1d07f50b64cebbcd416af8d7ddf265db3de1 "many: Unsupported Go dep; deprecate and schedule for removal"
DeltaFile
+4-9databases/mongodb-tools/Makefile
+4-91 files

NetBSD/src SrqHpVTsys/dev/hid hidev.h hidev.c, sys/dev/usb uhidev.c uhidev.h

   uhid: Fix uhidev attach bug and remove hidev_tag_t typedef
VersionDeltaFile
1.2+10-10sys/dev/hid/hidev.h
1.2+8-8sys/dev/hid/hidev.c
1.97+4-3sys/dev/usb/uhidev.c
1.29+2-2sys/dev/usb/uhidev.h
1.2+2-2sys/dev/hid/uhid.h
+26-255 files

FreeBSD/src a409ba2sbin/ipfw ipfw.8 ipv6.c, sbin/ping ping.8

ipsec: Fix typos in references to IPsec's ESP

ESP is "Encapsulating Security Payload",
not "Encapsulated Security Payload".

This patch fixes all the place in the tree I could find
with `grep -i encapsulated security`.

MFC after:      3 days
Reviewed by:    ae
Differential Revision:  https://reviews.freebsd.org/D53769

(cherry picked from commit 15afd75e67102f81c37adbf11966e48685bd7be7)
DeltaFile
+2-2sbin/ipfw/ipfw.8
+2-2sbin/ping/ping.8
+1-1sbin/ipfw/ipv6.c
+1-1sys/netipsec/esp.h
+6-64 files

FreeBSD/src 2f4d348sbin/ipfw ipfw.8 ipv6.c, sbin/ping ping.8

ipsec: Fix typos in references to IPsec's ESP

ESP is "Encapsulating Security Payload",
not "Encapsulated Security Payload".

This patch fixes all the place in the tree I could find
with `grep -i encapsulated security`.

MFC after:      3 days
Reviewed by:    ae
Differential Revision:  https://reviews.freebsd.org/D53769

(cherry picked from commit 15afd75e67102f81c37adbf11966e48685bd7be7)
DeltaFile
+2-2sbin/ping/ping.8
+2-2sbin/ipfw/ipfw.8
+1-1sys/netipsec/esp.h
+1-1sbin/ipfw/ipv6.c
+6-64 files

LLVM/project 5dbd049mlir/include/mlir/Conversion Passes.td, mlir/lib/Conversion/ArithToAPFloat ArithToAPFloat.cpp CMakeLists.txt

[mlir][arith] `arith-to-apfloat`: Add vector support (#171024)

Add support for vectorized operations such as `arith.addf ... :
vector<4xf4E2M1FN>`. The computation is scalarized: scalar operands are
extracted with `vector.to_elements`, multiple scalar computations are
performed and the result is inserted back into a vector with
`vector.from_elements`.
DeltaFile
+349-251mlir/lib/Conversion/ArithToAPFloat/ArithToAPFloat.cpp
+39-0mlir/test/Conversion/ArithToApfloat/arith-to-apfloat.mlir
+26-0mlir/test/Integration/Dialect/Arith/CPU/test-apfloat-emulation-vector.mlir
+2-1mlir/include/mlir/Conversion/Passes.td
+1-0mlir/lib/Conversion/ArithToAPFloat/CMakeLists.txt
+417-2525 files

FreeBSD/ports c71c270archivers/libzip pkg-plist distinfo

archivers/libzip: Update to 1.11.4

Changelog: https://github.com/nih-at/libzip/releases/tag/v1.11.4
DeltaFile
+7-1archivers/libzip/pkg-plist
+3-3archivers/libzip/distinfo
+1-1archivers/libzip/Makefile
+11-53 files

FreeBSD/ports 471101b. MOVED, devel Makefile

devel/libbfd: Remove port

Obsolete, use devel/binutils

PR:             286880
Reviewed by:    joerg (maintainer)
DeltaFile
+0-47devel/libbfd/Makefile
+0-9devel/libbfd/pkg-plist
+0-4devel/libbfd/pkg-descr
+0-3devel/libbfd/distinfo
+0-1devel/Makefile
+1-0MOVED
+1-646 files

FreeBSD/ports 48bb4c2graphics/openfx-arena Makefile

graphics/openfx-arena: Mark BROKEN

Fails to build

ld: error: unable to find library -l-lpthread

Reported by:    pkg-fallout
DeltaFile
+2-0graphics/openfx-arena/Makefile
+2-01 files

FreeBSD/ports 430f119biology/snpeff Makefile

biology/snpeff: Mark BROKEN and set expiration date to 2026-01-31

snpeff.blob.core.windows.net does not resolve

Possible new home (and version), https://pcingola.github.io/SnpEff/

PR:             291170
Approved by:    blanket
DeltaFile
+3-0biology/snpeff/Makefile
+3-01 files

FreeBSD/ports 7f6db3cgraphics/py-scikit-image Makefile

graphics/py-scikit-image: Mark BROKEN

Fails to build

ERROR Missing dependencies:
        pythran>=0.16
        gast~=0.6.0

Reported by:    pkg-fallout
DeltaFile
+2-0graphics/py-scikit-image/Makefile
+2-01 files

FreeBSD/ports 66c5dfedevel/inastemp Makefile

devel/inastemp: Revert previous commit f269bc065d0119b73994c489bdc2e1d132986a9e

Still doesn't fetch, also verified by another committer

Approved by:    blanket
DeltaFile
+3-0devel/inastemp/Makefile
+3-01 files