FreeBSD/ports 8f7dd5a — misc/ollama Makefile

misc/ollama: correct typo
DeltaFile
+1-1misc/ollama/Makefile
+1-11 files

FreeBSD/src ef947bb — sys/compat/linuxkpi/common/src linux_firmware.c

LinuxKPI: firmware: remove `enoentok` logic in `*firmware_request(..)`

Prior to this change, in the event that a firmware module could not be
loaded, the linux_firmware driver would return a partially initialized
structure with uninitialized/zeroed out values for certain fields. Linux
does not do this, however, so some drivers that use
`request_firmware_nowait` expecting Linux behavior, like `if_bcrmfmac`,
would crash trying to dereference a NULL pointer.

This doesn't address the load/unload situation completely as the driver
remains loaded after the "firmware crashes", but it makes a completely
unusable situation (a kernel panic) into a slightly more usable situation
(driver does not unload).

As a sidenote: the raw free(9) call was replaced with a call to
`linuxkpi_release_firmware` because the latter call [better] ensures
that all resources allocated earlier on in the function are cleaned up.

MFC after:      1 weeks

    [2 lines not shown]
DeltaFile
+7-12sys/compat/linuxkpi/common/src/linux_firmware.c
+7-121 files

FreeBSD/ports 088b8ae — misc/ollama Makefile

misc/ollama: add comment
DeltaFile
+8-0misc/ollama/Makefile
+8-01 files

FreeBSD/ports ad3f86d — www/immich-public-proxy Makefile distinfo

www/immich-public-proxy: Update to 3.4.1

- Long-press on a thumbnail enters selection mode on mobile.
- Downloads work in Chrome and Edge when an album title or filename
  contains a comma.
- Downloads are named after the format Immich actually serves.
- One missing or broken video no longer stops a whole share from loading.
- Password-protected shares send Cache-Control: no-store on gallery pages,
  photos and metadata.
- allowSlugLinks: false now also blocks slug links on the selective
  download and metadata routes.

Changes:        https://github.com/alangrainger/immich-public-proxy/releases/tag/v3.4.1
Sponsored by:   Netzkommune GmbH
DeltaFile
+5-5www/immich-public-proxy/distinfo
+1-2www/immich-public-proxy/Makefile
+6-72 files

FreeBSD/ports f7728b5 — devel/phpunit8 Makefile distinfo

devel/phpunit8: Update to 8.5.56

The Software Bill of Materials (SBOM) embedded in the PHAR now uses
CycloneDX 1.7.

Changes:        https://github.com/sebastianbergmann/phpunit/blob/8.5.56/ChangeLog-8.5.md
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3devel/phpunit8/distinfo
+1-1devel/phpunit8/Makefile
+4-42 files

FreeBSD/ports d025043 — www/nginx-module-vod Makefile distinfo

www/nginx-module-vod: Update to 1.10.1

Rename strrchr helper to avoid collision.

Changes:        https://github.com/dio-az/nginx-vod-module/blob/v1.10.1/CHANGELOG.md
Sponsored by:   Netzkommune GmbH
DeltaFile
+3-3www/nginx-module-vod/distinfo
+1-1www/nginx-module-vod/Makefile
+4-42 files

FreeBSD/ports 435e8ee — math/giacxcas pkg-plist, math/giacxcas/files patch-src_kdisplay.cc patch-configure.ac

math/giacxcas: update 1.9.0-85 → 2.0.0.21
DeltaFile
+215-10math/giacxcas/files/patch-src_Makefile.in
+90-0math/giacxcas/pkg-plist
+25-3math/giacxcas/files/patch-src_icas.cc
+17-0math/giacxcas/files/patch-src_optimization.cc
+13-0math/giacxcas/files/patch-configure.ac
+0-10math/giacxcas/files/patch-src_kdisplay.cc
+360-235 files not shown
+375-3811 files

FreeBSD/src 26eb328 — contrib/kyua/doc kyua-report-html.1 kyua-report.1

contrib/kyua: commit generated files

MFC after:      1 month
Fixes: eb8f69902 ("contrib/kyua: update to 0.15.0")
DeltaFile
+574-0contrib/kyua/doc/kyuafile.5
+498-0contrib/kyua/doc/kyua-test.1
+417-0contrib/kyua/doc/kyua-debug.1
+405-0contrib/kyua/doc/kyua.1
+307-0contrib/kyua/doc/kyua-report.1
+253-0contrib/kyua/doc/kyua-report-html.1
+2,454-08 files not shown
+3,672-014 files

FreeBSD/ports d03746a — science/thermofun distinfo pkg-plist, science/thermofun/files patch-python_thermofun_CMakeLists.txt patch-python_CMakeLists.txt

science/thermofun: update 0.5.1 → 0.7.1
DeltaFile
+60-0science/thermofun/files/patch-python_CMakeLists.txt
+11-16science/thermofun/Makefile
+0-20science/thermofun/files/patch-python_thermofun_CMakeLists.txt
+11-9science/thermofun/pkg-plist
+3-3science/thermofun/distinfo
+85-485 files

FreeBSD/src b836604 — usr.bin/kyua Makefile

contrib/kyua: commit Makefile changes for version update

This was accidentally missed in the version update.

MFC after:      1 month
Fixes: eb8f69902 ("contrib/kyua: update to 0.15.0")
DeltaFile
+4-21usr.bin/kyua/Makefile
+4-211 files

FreeBSD/src eb8f699 — contrib/kyua NEWS.md NEWS, contrib/kyua/engine googletest_test.cpp googletest_result_test.cpp

contrib/kyua: update to 0.15.0

This new release contains multiple feature updates and bugfixes. Please
see the release notes mentioned in the merge commit for more details.

MFC after:      1 month
Merge commit '144afd05f8a2300361ec30c1c2020e4022ddd943'

Conflicts:
        contrib/kyua/cli/cmd_debug.cpp
        contrib/kyua/doc/kyua-debug.1.in
        contrib/kyua/doc/kyuafile.5.in
        contrib/kyua/engine/config.cpp
        contrib/kyua/engine/execenv/execenv.cpp
        contrib/kyua/engine/execenv/execenv.hpp
        contrib/kyua/engine/execenv/execenv_host.hpp
        contrib/kyua/engine/requirements.cpp
        contrib/kyua/engine/requirements.hpp
        contrib/kyua/engine/scheduler.cpp

    [8 lines not shown]
DeltaFile
+0-951contrib/kyua/m4/ax_cxx_compile_stdcxx.m4
+709-0contrib/kyua/NEWS
+0-622contrib/kyua/NEWS.md
+528-0contrib/kyua/engine/googletest_result.cpp
+427-0contrib/kyua/engine/googletest_result_test.cpp
+361-0contrib/kyua/engine/googletest_test.cpp
+2,025-1,573143 files not shown
+3,641-7,505149 files

FreeBSD/ports fd6ac69 — mail/nextcloud-mail Makefile distinfo

mail/nextcloud-mail: Update to 5.12.4
DeltaFile
+3-3mail/nextcloud-mail/distinfo
+1-1mail/nextcloud-mail/Makefile
+4-42 files

FreeBSD/ports 396c159 — security/sequoia-chameleon-gnupg Makefile.crates distinfo, sysutils/backdown/files patch-powerpc

*/*: Fix many Rust ports to run without COMPAT11

RISCV does not include COMPAT11 by default.  But Rust's libc bound the
compat-11 symbols until version 0.2.176.  Patch a great many Rust ports
to use a newer version of libc, to eliminate the dependency on COMPAT11.
Explicitly patching Cargo.lock isn't usually necessarily, since within
the build jail cargo is forced to use whichever crates Makefile.crates
installs there.

Notes on specific ports:

* textproc/bookokrat: Rework bookokrat's existing patch to be more
  robust.  Also, report the issue upstream:
  https://github.com/bugzmanov/bookokrat/issues/182

* security/sequoia-chameleon-gnupg security/sequoia-sq
  "cargo update -p libc" insisted on updating some other crates, too.

* devel/cargo-generate finance/tickrs net-im/gurk-rs

    [16 lines not shown]
DeltaFile
+43-45security/sequoia-chameleon-gnupg/distinfo
+21-22security/sequoia-chameleon-gnupg/Makefile.crates
+0-20sysutils/diskus/files/patch-powerpc
+0-20sysutils/backdown/files/patch-powerpc
+14-0www/tuifeed/files/patch-Cargo.lock
+0-11textproc/bookokrat/files/patch-cargo-crates_libc-0.2.175_src_unix_bsd_freebsdlike_mod.rs
+78-118515 files not shown
+913-936521 files

FreeBSD/src b259c7f — contrib/llvm-project/clang/lib/AST ExprConstant.cpp, contrib/llvm-project/clang/lib/AST/ByteCode Interp.h Opcodes.td

Merge commit c52392a6f464 from llvm-project (by ShengYi Hung):

  [Clang][ExprConst] Drop PRValue for nothrow new (#226753)

  A user defined operator new can accept prvalue for nothrow. However, it
  should not be a ConstExpr. Early returns by
  isUsableAsGlobalAllocationFunctionInConstantEvaluation instead of doing
  LValue evaluation.
  Also, move CheckPlacement new logic into new OpCode. This decouples
  checking from Interp.cpp to Compiler.cpp.

This fixes "Assertion failed: (E->isGLValue() ||
E->getType()->isFunctionType() || E->getType()->isVoidType() ||
isa<ObjCSelectorExpr>(E->IgnoreParens())), function EvaluateLValue" when
building the databases/mariadb123-server port.

MFC after:      1 week

(cherry picked from commit ca3747034ef484b024a202d213a2e08b16066791)
DeltaFile
+31-34contrib/llvm-project/clang/lib/AST/ByteCode/Interp.cpp
+24-18contrib/llvm-project/clang/lib/AST/ExprConstant.cpp
+11-9contrib/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp
+4-0contrib/llvm-project/clang/lib/AST/ByteCode/Opcodes.td
+1-0contrib/llvm-project/clang/lib/AST/ByteCode/Interp.h
+71-615 files

FreeBSD/src b9180c0 — contrib/llvm-project/clang/lib/AST ExprConstant.cpp, contrib/llvm-project/clang/lib/AST/ByteCode Interp.h Opcodes.td

Merge commit c52392a6f464 from llvm-project (by ShengYi Hung):

  [Clang][ExprConst] Drop PRValue for nothrow new (#226753)

  A user defined operator new can accept prvalue for nothrow. However, it
  should not be a ConstExpr. Early returns by
  isUsableAsGlobalAllocationFunctionInConstantEvaluation instead of doing
  LValue evaluation.
  Also, move CheckPlacement new logic into new OpCode. This decouples
  checking from Interp.cpp to Compiler.cpp.

This fixes "Assertion failed: (E->isGLValue() ||
E->getType()->isFunctionType() || E->getType()->isVoidType() ||
isa<ObjCSelectorExpr>(E->IgnoreParens())), function EvaluateLValue" when
building the databases/mariadb123-server port.

MFC after:      1 week

(cherry picked from commit ca3747034ef484b024a202d213a2e08b16066791)
DeltaFile
+31-34contrib/llvm-project/clang/lib/AST/ByteCode/Interp.cpp
+24-18contrib/llvm-project/clang/lib/AST/ExprConstant.cpp
+11-9contrib/llvm-project/clang/lib/AST/ByteCode/Compiler.cpp
+4-0contrib/llvm-project/clang/lib/AST/ByteCode/Opcodes.td
+1-0contrib/llvm-project/clang/lib/AST/ByteCode/Interp.h
+71-615 files

FreeBSD/src 144afd0 — . Makefile.in configure, admin ltmain.sh config.guess

kyua: import kyua-0.15.0

This change adds kyua kyua-0.15.0 from [upstream][1].

The kyua-0.15.0 artifact was been verified by [SHA256 checksum][3].

More information about the release (from a high level) can be found in
the [release notes][4].

Updated via [`update_kyua.sh`][4] `update_kyua.sh 0.15.0 kyua-0.15.0`.

1: https://github.com/freebsd/kyua/releases/download/kyua-0.15.0/kyua-0.15.0.tar.gz
2: https://github.com/freebsd/kyua/releases/download/kyua-0.15.0/kyua-0.15.0.tar.gz.sha256
3: https://github.com/freebsd/kyua/blob/kyua-0.15.0/NEWS.md
4: https://codeberg.org/ngie/freebsd-powertools:shell/update_kyua.sh@10a04edb
DeltaFile
+940-1,503admin/config.sub
+600-943admin/config.guess
+159-601m4/libtool.m4
+219-431configure
+80-245admin/ltmain.sh
+35-91Makefile.in
+2,033-3,81410 files not shown
+2,147-3,94116 files

FreeBSD/ports 63eabd4 — devel/llvm23 Makefile distinfo

devel/llvm23: 23.1.3 release

See the annoucement for changes:
    https://discourse.llvm.org/t/llvm-23-1-3-released/92432

Sponsored by:   DARPA, AFRL
DeltaFile
+3-3devel/llvm23/distinfo
+1-1devel/llvm23/Makefile
+4-42 files

FreeBSD/ports 5521866 — devel/llvm-devel Makefile.snapshot distinfo

devel/llvm-devel: new snapshot

Sponsored by:   DARPA, AFRL
DeltaFile
+72-4devel/llvm-devel/pkg-plist
+3-3devel/llvm-devel/distinfo
+2-2devel/llvm-devel/Makefile.snapshot
+77-93 files

FreeBSD/ports a5c3cb0 — devel/llvm19 Makefile

devel/llvm19: address a couple plist nits

Remove stray _sources directories.

PR:             298493
DeltaFile
+6-0devel/llvm19/Makefile
+6-01 files

FreeBSD/ports 265ac9a — science/chemicalfun distinfo pkg-plist, science/chemicalfun/files patch-python_pyproject.toml.in patch-python_chemicalfun_CMakeLists.txt

science/chemicalfun: update 0.1.8 → 0.1.13
DeltaFile
+66-0science/chemicalfun/files/patch-python_CMakeLists.txt
+11-20science/chemicalfun/Makefile
+0-20science/chemicalfun/files/patch-python_chemicalfun_CMakeLists.txt
+10-0science/chemicalfun/files/patch-python_pyproject.toml.in
+0-7science/chemicalfun/pkg-plist
+3-3science/chemicalfun/distinfo
+90-506 files

FreeBSD/src de2c0f1 — lib/libthr/thread thr_umtx.h

libthr: Fix some bugs in trylock

1. When contester > 2, a release causes kernel set CONTENTION bit but
   with no owner. In this case, the userspace should be able to try the
   lock instead of fall immediately. We copy this from trylock2.
2. A PI mutex should consult to kernel instead of decided by userspace
   itself.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D60427
DeltaFile
+7-1lib/libthr/thread/thr_umtx.h
+7-11 files

FreeBSD/src 78ae174 — sys/dev/mlx5/mlx5_ib mlx5_ib_devx.c, sys/ofed/include/uapi/rdma mlx5_user_ioctl_cmds.h

mlx5: support DevX UMEM page size bitmap

rdma-core's mlx5dv_devx_umem_reg_ex() passes the page sizes the caller
can use in MLX5_IB_ATTR_DEVX_UMEM_REG_PGSZ_BITMAP.  Add the attribute and
choose the UMEM page size, page offset and MTT count the way Linux commit
7610ab57de56 ("RDMA/mlx5: Allow larger pages in DevX umem") does.

Linux looks at the DMA list only.  The UMEM is mapped at an IOVA equal to
the DMA address of its first byte, ib_umem_find_best_pgsz() picks the
largest page size of the bitmap that this mapping allows, and
devx_umem_find_best_pgsize() halves it while the first DMA address is not
aligned to it or the length is not a multiple of it, stopping at
PAGE_SIZE, even if that is below every size in the bitmap.

The FreeBSD OFED layer has none of the ib_umem helpers this relies on,
so local copies of the current Linux ones are added.
ib_umem_find_best_pgoff() and ib_umem_dma_offset() come from Linux
commit b045db62f6f6 ("RDMA/mlx5: Use ib_umem_find_best_pgoff() for
SRQ"), ib_umem_num_dma_blocks() from Linux commit a665aca89a41

    [18 lines not shown]
DeltaFile
+143-9sys/dev/mlx5/mlx5_ib/mlx5_ib_devx.c
+1-0sys/ofed/include/uapi/rdma/mlx5_user_ioctl_cmds.h
+144-92 files

FreeBSD/src 99edcc3 — lib/libthr/thread thr_private.h thr_mutex.c

libthr: Reorder pthread mutex to prevent false sharing

On a 64 byte cache line CPU (amd64), m_owner is contended by all of
the shared processes. However, after finding one winner, mtx is
enqueued, which trigger a cache refresh from other processors. Reorder
mtx so that m_lock and m_qu will not be in the same cache line.

Notice that this doesn't affet arch that expose 128 bytes cache line
line aarch64 or powerpc.

Reviewed by:    kib, markj
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D60434
DeltaFile
+9-0lib/libthr/thread/thr_mutex.c
+5-1lib/libthr/thread/thr_private.h
+14-12 files

FreeBSD/src bea382f — sys/kern vfs_vnops.c

kern/coredump_vnode.c: avoid dumping to the mount point we suspended

PR:     299095
Reported by:    Rick Richard <rick at sloservers.com>
Reviewed by:    markj
Tested by:      Rick Richard <rick at sloservers.com> (previous version)
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60283
DeltaFile
+45-1sys/kern/vfs_vnops.c
+45-11 files

FreeBSD/src ccd44c5 — sys/kern vfs_vnops.c coredump_vnode.c, sys/sys vnode.h

vn_open_cred(): rename VN_OPEN_NAMECACHE flag to VN_OPEN_COREDUMP

The flag only use is for special handling of core dump vnodes.

Reviewed by:    markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D60283
DeltaFile
+2-2sys/kern/coredump_vnode.c
+1-1sys/sys/vnode.h
+1-1sys/kern/vfs_vnops.c
+4-43 files

FreeBSD/src 627e7d5 — lib/libthr/thread thr_mutex.c

libthr: reject count < 0

This causes count == -1 spin for INT_MAX times in userspace.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D60425
DeltaFile
+4-0lib/libthr/thread/thr_mutex.c
+4-01 files

FreeBSD/src 1d21e67 — lib/libthr/thread thr_mutex.c

libthr: Do not rely on UB in counter

counter + 1 > 0 is a undefined behavior and nobody guarantee that it
will be honestly perform by the compiler that counter + 1 will always be
INT_MIN. We switch to INT_MAX check instead to provide a deterministic
result.

Reviewed by:    kib
MFC after:      2 weeks
Differential Revision: https://reviews.freebsd.org/D60426
DeltaFile
+2-2lib/libthr/thread/thr_mutex.c
+2-21 files

FreeBSD/src 3663cce — sys/dev/eqos if_eqos.c

eqos: Reduce RX error noisiness

Reduce very common console messages:
        Receive error rdes3=30208000

As observed on the VisionFive v2 hardware after some large transfers.

Differentiate between overflow errors and others. Report the errors when
the length is non-zero (overflow errors).

Also, count errors for netstat purposes.

Reviewed by:    mhorne
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D59479

(cherry picked from commit e67697869e7208e4fe5eb96ce3f3d1240b44d2e1)
DeltaFile
+9-1sys/dev/eqos/if_eqos.c
+9-11 files

FreeBSD/src a0c0f12 — sys/riscv/starfive jh7110_gpio.c

jh7110_gpio: handle preset high/low

Take action in the presence of the GPIO_PIN_PRESET_LOW/HIGH flags. This
part of the GPIO interface seems to be unused, but is trivially
implemented in our driver.

Reviewed by:    Brian Scott <bscott at bunyatech.com.au>
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59991

(cherry picked from commit 6f9d0f02e72cdcf64af6e0a034af4d4f065b26f8)
DeltaFile
+25-6sys/riscv/starfive/jh7110_gpio.c
+25-61 files

FreeBSD/src 466aa18 — sys/riscv/conf GENERIC

riscv: enable gpiopower driver

It is functional, and there are some RISC-V platforms which can benefit
from it.

Requested by:   Brian Scott <bscott at bunyatech.com.au>
Sponsored by:   The FreeBSD Foundation

(cherry picked from commit c745fccd9b2647c1f84f8e38b3992640ea34c50d)
DeltaFile
+1-0sys/riscv/conf/GENERIC
+1-01 files