FreeBSD/ports d0b4a07www/redmine61 pkg-plist distinfo, www/redmine61/files patch-Gemfile

www/redmine61: update to 6.1.4

Security release: fixes stored XSS, API session manipulation,
authorization bypass, and other vulnerabilities. Updates Rails
to 7.2.3.2.
DeltaFile
+7-7www/redmine61/Makefile
+3-3www/redmine61/files/patch-Gemfile
+3-3www/redmine61/distinfo
+1-0www/redmine61/pkg-plist
+14-134 files

FreeBSD/src 5012a18sys/net iflib.c

iflib: Initialize the VFLR task unconditionally

The VFLR task was initialized only from drivers MSI-X interrupt
assignment paths.  ixl's legacy interrupt handler can nevertheless defer
VFLR work, leaving an uninitialized task.  Even with MSI-X, the admin
interrupt was established before the task was initialized.

Initialize it alongside the other private tasks.  The existing detach
check and private-taskqueue drains then cover its lifecycle for every
interrupt mode and registration failure.

Sponsored by:   BBOX.io

(cherry picked from commit b4208a67edc2eb7898a9ff2a6f3990c6852910e4)
DeltaFile
+1-1sys/net/iflib.c
+1-11 files

FreeBSD/src be587e6share/man/man4 iflib.4, sys/net iflib.c

iflib: Add an admin task detach fail point

Add an exact-device fail point immediately after the admin task checks
IFC_IN_DETACH. This makes the detach race reproducible without affecting
another interface.

Use a bounded delay to keep the task active while detach enters the
taskqueue drain.  Mark the point nonsleepable as a safety backstop, and
document a one-shot test for verifying that deregistration drains an
already-running task before ether_ifdetach().

Reviewed by:    gallatin, kgalazka
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D58720

(cherry picked from commit ac56d36007a5a1a01fe69df370f272060e852e0b)
DeltaFile
+19-0share/man/man4/iflib.4
+11-0sys/net/iflib.c
+30-02 files

FreeBSD/src 92b8516sys/net iflib.c

iflib: Drain configuration tasks before interface detach

iflib_device_deregister() sets IFC_IN_DETACH before removing the
interface, but a task which already passed its detach check can still
report a link change.  This can re-arm if_linktask after
ether_ifdetach() has drained it and leave work pending across queue
teardown.

Drain the entire private taskqueue before ether_ifdetach().  Drivers
may register their own link-related configuration tasks there, so
draining only the framework admin task leaves the same race for those
drivers.

Differential Revision:  https://reviews.freebsd.org/D58452

Co-authored-by: Andrew Gallatin <gallatin at FreeBSD.org>
Co-authored-by: Kevin Bowling <kbowling at FreeBSD.org>
(cherry picked from commit ba353c8950d575f9d15b82c92658e660935fba25)
DeltaFile
+7-0sys/net/iflib.c
+7-01 files

FreeBSD/src 1a13e21share/man/man4 iflib.4, sys/net iflib.c

iflib: Add registration failure injection points

Add six device-scoped fail(9) points at the registration milestones
needed to exercise each unwind path. An exact, runtime-only device
selector prevents unrelated iflib devices from consuming an armed point.

Mark the points non-sleepable because registration holds the ifnet and
context locks. Document one-shot operation and bus-address reprobe so a
failed attach can be recovered without another kernel build.

Reviewed by:    gallatin
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D58722

(cherry picked from commit 90e7dbe5e2ca47baff4e4c6d9e892a0554eec4db)
DeltaFile
+46-0sys/net/iflib.c
+40-0share/man/man4/iflib.4
+86-02 files

FreeBSD/src 4a9daa0sys/dev/bnxt/bnxt_en if_bnxt.c, sys/dev/enetc if_enetc.c

iflib: Complete registration failure cleanup

Pre-attach sysctls contain pointers into the iflib context. Any later
registration failure that frees the context must first remove that
sysctl tree.

Failures after a successful IFDI_ATTACH_PRE also did not consistently
call IFDI_DETACH or free the private taskqueue. In particular, routing
a taskqueue creation failure through the context cleanup could free the
driver softc while resources allocated by attach_pre remained live.

Track successful interrupt and queue setup and use one common unwind
path. Invoke IFDI_DETACH with IFNET_WLOCK dropped and release only
resources whose setup completed. Leave a failed IFDI_ATTACH_PRE to
unwind its own partial state, as required by the existing driver
contract.

A failed post-attach can follow driver registration of an SR-IOV
schema. Remove that registration before detaching the interface and

    [30 lines not shown]
DeltaFile
+114-37sys/net/iflib.c
+7-3sys/dev/enetc/if_enetc.c
+7-2sys/dev/bnxt/bnxt_en/if_bnxt.c
+5-3sys/dev/vmware/vmxnet3/if_vmx.c
+3-2sys/dev/igc/if_igc.c
+2-0sys/dev/ixgbe/if_sriov.c
+138-471 files not shown
+139-477 files

FreeBSD/src 4fba783sys/net iflib.c

iflib: drain admin task and fix teardown order on register failure

When IFDI_ATTACH_POST() fails (or netmap attach fails), iflib tears down with
ether_ifdetach(), taskqueue_free(ifc_tq), and IFDI_DETACH(). CTX_LOCK is still
held after ether_ifattach. ether_ifdetach() and taskqueue_drain(admin) must not
run under CTX_LOCK.

Teardown ordering (match iflib_device_deregister):

- Free the per-interface admin taskqueue after IFDI_DETACH / IFDI_QUEUES_FREE, not before.
- Drop IFNET_WLOCK() across IFDI_DETACH / IFDI_QUEUES_FREE so driver detach can sleep in
LinuxKPI workqueue drain, then retake IFNET_WLOCK() before iflib_free_intr_mem and fail_unlock.

Reviewed by:    gallatin, kgalazka, #iflib
Differential Revision: https://reviews.freebsd.org/D56316

(cherry picked from commit 439132310ae1f623f6c0a3dc241d0a34e98e040b)
DeltaFile
+18-1sys/net/iflib.c
+18-11 files

FreeBSD/src 0fdbbfbsys/net iflib.c

iflib: Fix panic observed while doing sysctl -a with if_bnxt unload

Observed below kernel panic calltrace while performing sysctl -a
operation while unloading the if_bnxt driver,

Fatal trap 9: general protection fault while in kernel mode

KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe02a7569940
vpanic() at vpanic+0x136/frame 0xfffffe02a7569a70
panic() at panic+0x43/frame 0xfffffe02a7569ad0
trap_fatal() at trap_fatal+0x68/frame 0xfffffe02a7569af0
calltrap() at calltrap+0x8/frame 0xfffffe02a7569af0

trap 0x9, rip = 0xffffffff80c0b411, rsp = 0xfffffe02a7569bc0, rbp = 0xfffffe02a7569be0 ---
sysctl_handle_counter_u64() at sysctl_handle_counter_u64+0x61/frame 0xfffffe02a7569be0
sysctl_root_handler_locked() at sysctl_root_handler_locked+0x9c/frame 0xfffffe02a7569c30
sysctl_root() at sysctl_root+0x22f/frame 0xfffffe02a7569cb0
userland_sysctl() at userland_sysctl+0x196/frame 0xfffffe02a7569d50

    [23 lines not shown]
DeltaFile
+24-21sys/net/iflib.c
+24-211 files

FreeBSD/src c869a36sys/kern kern_rangelock.c

rangelock: Fix format strings for 32-bit kernels

Reported by:    Jenkins
Fixes:          f1f58bdf7b5f ("acpi_pci: Honor device proximity for DMA tags")
DeltaFile
+4-4sys/kern/kern_rangelock.c
+4-41 files

FreeBSD/ports ab5d65dnet/freerdp3 pkg-plist distinfo

net/freerdp3: Update 3.30.0 => 3.31.0

Changelog:
https://github.com/FreeRDP/FreeRDP/blob/3.31.0/ChangeLog
https://github.com/FreeRDP/FreeRDP/releases/tag/3.31.0

- Add options AOM, DAV1D, SNDIO, YUV.

Reported by:    portscout
Security:       GHSA-c5gr-hmqp-pwj4
Security:       GHSA-h5w2-q35j-443h
Security:       GHSA-m85m-3qxv-63h5
Security:       GHSA-r9pv-ffph-6gg6
Security:       GHSA-ffjr-p229-hpch
Security:       GHSA-4464-r7qj-pgrx
Security:       GHSA-2vf2-grvj-6g8x
Security:       GHSA-hg4r-vv53-vwf8
Security:       GHSA-57h7-vw2f-2f9x
Security:       GHSA-v649-94v2-p72q

    [16 lines not shown]
DeltaFile
+24-6net/freerdp3/Makefile
+3-3net/freerdp3/distinfo
+1-0net/freerdp3/pkg-plist
+28-93 files

FreeBSD/ports 11ec116net/freerdp3 pkg-plist distinfo

net/freerdp3: Update 3.30.0 => 3.31.0

Changelog:
https://github.com/FreeRDP/FreeRDP/blob/3.31.0/ChangeLog
https://github.com/FreeRDP/FreeRDP/releases/tag/3.31.0

- Add options AOM, DAV1D, SNDIO, YUV.

Reported by:    portscout
Security:       GHSA-c5gr-hmqp-pwj4
Security:       GHSA-h5w2-q35j-443h
Security:       GHSA-m85m-3qxv-63h5
Security:       GHSA-r9pv-ffph-6gg6
Security:       GHSA-ffjr-p229-hpch
Security:       GHSA-4464-r7qj-pgrx
Security:       GHSA-2vf2-grvj-6g8x
Security:       GHSA-hg4r-vv53-vwf8
Security:       GHSA-57h7-vw2f-2f9x
Security:       GHSA-v649-94v2-p72q

    [14 lines not shown]
DeltaFile
+24-6net/freerdp3/Makefile
+3-3net/freerdp3/distinfo
+1-0net/freerdp3/pkg-plist
+28-93 files

FreeBSD/src 14df6e1usr.bin/fortune/fortune fortune.6 fortune.c

fortune: fall back to all databases if fortunes is missing

With no file argument, fortune looks for a database named fortunes
in FORTDIR. The base system has not shipped that file since
0538d7bbe620 (FreeBSD 12), only freebsd-tips, so the default
invocation failed even though a valid database remained. Callers
such as xlockmore's marquee and nose modes (fortune -s) then
displayed the error as the epigram.

If the named fortunes file is absent, scan every database in the
existing search path. /usr/local/share/games/fortune stays on that
path so fortune-mod-* packages keep working; when
fortune-mod-freebsd-classic restores the fortunes file, it is still
preferred. fortune -f with no arguments lists the same files that
would be searched.

MFC after:      1 week

Reviewed by:    ziaee, fuz
Differential Revision:  https://reviews.freebsd.org/D59057
DeltaFile
+20-26usr.bin/fortune/fortune/fortune.c
+13-3usr.bin/fortune/fortune/fortune.6
+33-292 files

FreeBSD/src 151d7a8sys/conf newvers.sh

14.5: Update to RC1

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1sys/conf/newvers.sh
+1-11 files

FreeBSD/ports 296ac85misc/shimmy Makefile.crates Makefile

misc/shimmy: Update to 2.6.0

Changelog: https://github.com/Michael-A-Kuykendall/shimmy/blob/v2.6.0/CHANGELOG.md

Reported by:    GitHub (watch releases)
DeltaFile
+5-5misc/shimmy/distinfo
+1-1misc/shimmy/Makefile.crates
+1-1misc/shimmy/Makefile
+7-73 files

FreeBSD/src b503d9erelease/pkg_repos release-dvd.conf

Switch from "quarterly" to "release" pkgs on DVD

Approved by:    re (implicit)
Sponsored by:   OpenSats Initiative
DeltaFile
+1-1release/pkg_repos/release-dvd.conf
+1-11 files

FreeBSD/ports 0be0c12security/libgcrypt Makefile

security/libgcrypt: Fix build on older LLVM

According to dim@ LLVM20 was the first LLVM to properly support the
requried SM4-EVEX instruction set. Let's make sure we have the minimum
needed LLVM installed.

PR:     297987
DeltaFile
+1-1security/libgcrypt/Makefile
+1-11 files

FreeBSD/ports 4798540security/libgcrypt/files patch-configure

Revert "security/libgcrypt: Fix build on hardware lacking SM4-EVEX"

The patch does in fact not fix the problem. dim@ suggests a minimum
of LLVM20.

PR:     297987

This reverts commit f5beaaec79ca9a6d8dee273b44febf82e56a91a0.
DeltaFile
+0-19security/libgcrypt/files/patch-configure
+0-191 files

FreeBSD/src 2e376ccsys/kern uipc_shm.c kern_rangelock.c

rangelock: Reimplement _rangelock_cookie_assert()

After rangelocks were reimplemented, _rangelock_cookie_assert() became a
stub.  Re-provide an implementation.

Reviewed by:    kib
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D59222
DeltaFile
+52-0sys/kern/kern_rangelock.c
+3-3sys/kern/uipc_shm.c
+55-32 files

FreeBSD/src 1f20ac6usr.sbin/pkg FreeBSD.conf.quarterly-release

Revert "Remove minor version from kmods repo"

We now have kmod repositories built on releng/14.5 for amd64, arm64,
and i386.

This reverts commit 19a1025e1c0cbd6b1cd57d78826d42eeafbdaed0.

Approved by:    re (cperciva)
DeltaFile
+1-1usr.sbin/pkg/FreeBSD.conf.quarterly-release
+1-11 files

FreeBSD/src 5805e0eusr.bin/xinstall xinstall.c, usr.bin/xinstall/tests install_test.sh

install: Fix two bugs in stdin code

* Fix case where the source is - and the target exists.

* Only call chflags() (to remove flags that might prevent us from
  replacing an existing target) in the exists case; otherwise,
  to_sb.st_flags is uninitialized.

* Rename the source file in the stdin test case.

* Extend null and stdin test cases to cover the case where the
  target already exists.

Approved by:    re (cperciva)
PR:             297681
MFC after:      1 week
Fixes:          d34870708db9 ("install: Allow installing stdin")
Reviewed by:    markj
Differential Revision:  https://reviews.freebsd.org/D59144

    [3 lines not shown]
DeltaFile
+17-7usr.bin/xinstall/tests/install_test.sh
+3-3usr.bin/xinstall/xinstall.c
+20-102 files

FreeBSD/ports e786a45devel/pecl-msgpack distinfo Makefile

devel/pecl-msgpack: backport fix to unbreak port with latest php86 update
DeltaFile
+3-1devel/pecl-msgpack/distinfo
+4-0devel/pecl-msgpack/Makefile
+7-12 files

FreeBSD/src f1f58bdsys/dev/acpica acpi_pci.c

acpi_pci: Honor device proximity for DMA tags

A PCI function with its own _PXM still inherits a DMA tag carrying
the upstream bridge's proximity domain. Resolving an SR-IOV VF's
locality through its PF therefore does not affect the domain used for
DMA allocations.

Create and cache a private child tag when the function, or a VF's
owning PF, has an explicit _PXM. Parent it to the existing PCI or IOMMU
tag so its constraints remain intact, then apply the function's domain
without mutating a shared tag.

pci_get_dma_tag() already performs the IOMMU lookup, so remove the
duplicated lookup in the ACPI subclass while here.

Reviewed by:    jhb
MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59063
DeltaFile
+36-20sys/dev/acpica/acpi_pci.c
+36-201 files

FreeBSD/src 5f78d02sys/dev/acpica acpivar.h acpi.c

acpi_pci: Cache PCI proximity domains

A PCI function's _PXM is stable for the lifetime of its device
instance, but CPU and DMA locality queries may evaluate it repeatedly.
SR-IOV amplifies this because every VF resolves locality through the
same PF.

Cache successful mappings and the stable absence of _PXM on the
locality source device, and share that result between CPU and domain
queries. Continue to retry generic evaluation or mapping errors rather
than making a potentially transient failure permanent.

Reviewed by:    jhb
MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59207
DeltaFile
+32-5sys/dev/acpica/acpi_pci.c
+15-7sys/dev/acpica/acpi.c
+3-0sys/dev/acpica/acpivar.h
+50-123 files

FreeBSD/ports 367dc1btextproc/kf6-sonnet pkg-plist Makefile

textproc/kf6-sonnet: Fix detection of Hunspell

Reported by:    fluffy
DeltaFile
+2-1textproc/kf6-sonnet/Makefile
+1-0textproc/kf6-sonnet/pkg-plist
+3-12 files

FreeBSD/src dc4f80dsys/dev/acpica acpi_pci.c

acpi_pci: Preserve CPU locality queries for descendants

bus_generic_get_cpus() preserves the original leaf device while
forwarding a request through the bus hierarchy. Consequently,
acpi_pci_get_cpus() may receive a descendant below a PCI function
rather than one of the PCI bus's direct children.

Only apply the SR-IOV PF-locality mapping to direct PCI children.
Preserve the previous ACPI CPU-locality lookup for descendants so their
unrelated bus ivars are not interpreted as PCI device information.

Reviewed by:    jhb
MFC after:      2 weeks
Sponsored by:   BBOX.io
Differential Revision:  https://reviews.freebsd.org/D59206
DeltaFile
+3-0sys/dev/acpica/acpi_pci.c
+3-01 files

FreeBSD/ports 29a5281games/alienarena Makefile distinfo, games/alienarena-data distinfo

games/alienarena*: Update to 7.72.1

ChangeLog at:   https://github.com/alienarena/alienarena/releases/tag/7.72.1
DeltaFile
+47-0games/alienarena/files/patch-ref__gl_r__main.c
+0-21games/alienarena/files/patch-client_cl_updates.c
+3-3games/alienarena/distinfo
+3-3games/alienarena-data/distinfo
+3-1games/alienarena/files/pkg-message.in
+1-2games/alienarena/Makefile
+57-301 files not shown
+58-317 files

FreeBSD/ports 324b57beditors/vscode Makefile Makefile.version, editors/vscode/files patch-package.json

editors/vscode: Update to 1.135.0

Changelog: https://code.visualstudio.com/updates/v1_135

Reported by:    GitHub (watch releases)
DeltaFile
+7-7editors/vscode/distinfo
+11-0editors/vscode/pkg-plist
+2-2editors/vscode/files/patch-package.json
+2-2editors/vscode/Makefile.version
+0-1editors/vscode/Makefile
+22-125 files

FreeBSD/ports 7658eb2math/R-cran-expm Makefile distinfo

math/R-cran-expm: Update to 1.0-1

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

FreeBSD/doc 627bcc3documentation/static/images/books/handbook/bsdinstall bsdinstall-distributions-sets-pkgbase.png

handbook/bsdinstall: Add missing distribution sets image

Signed-off-by:  branchcat <closure341 at gmail.com>
Reviewed by:    ziaee
Closes:         https://github.com/freebsd/freebsd-doc/pull/703
DeltaFile
+0-0documentation/static/images/books/handbook/bsdinstall/bsdinstall-distributions-sets-pkgbase.png
+0-01 files

FreeBSD/doc e06f4d7documentation/content/en/books/handbook/advanced-networking _index.adoc

handbook/advanced-networking: Fix note placement in lagg example

Signed-off-by:  branchcat <closure341 at gmail.com>
Reviewed by:    ziaee
Closes:         https://github.com/freebsd/freebsd-doc/pull/703
DeltaFile
+4-4documentation/content/en/books/handbook/advanced-networking/_index.adoc
+4-41 files