FreeBSD/src 151f097sys/kern subr_eventhandler.c

eventhandler: Fix the NODEBUG build

Reported by:    Michael Butler <imb at protected-networks.net>
Fixes:          735b16d490ae ("eventhandler: Fix a race when pruning eventhandlers")

(cherry picked from commit 3d8928114c4fec6cefbb1cd566ef8d1b3d2999e2)
DeltaFile
+3-1sys/kern/subr_eventhandler.c
+3-11 files

FreeBSD/ports d1e9ce1security/mcrypt Makefile

security/mcrypt: Mark DEPRECATED

Abandoned, it has multiple vulnerabilities.
CVE-2012-4409 CVE-2012-4426 CVE-2012-4527

PR:             295536
Approved by:    osa (mentor)
DeltaFile
+4-1security/mcrypt/Makefile
+4-11 files

FreeBSD/src bc70af0sys/kern subr_eventhandler.c, sys/sys eventhandler.h

eventhandler: Fix a race when pruning eventhandlers

By default, eventhandler_deregister() blocks until it reaches some point
where no threads are invoking the event.  At this point, it knows that
1) no threads are currently executing the handler,
2) some thread has freed the eventhandler structure by virtue of having
   called eventhandler_prune_list(),
so it is safe to return.

Suppose a thread is trying to deregister an event handler.  A different
thread prunes it, and wakes up the first thread.  Before the first
thread runs, a third thread grabs the event handler lock, and starts
executing handlers.  The first thread observes el_runcount > 0, and goes
back to sleep.  The third thread sees no event handlers to prune, and
doesn't wake up the first thread, which sleeps forever.

This change fixes the race and tries to make eventhandler_invoke() more
efficient: keep a count of the number of dead list entries and only
prune the list if there is at least one dead entry.  Also, in

    [9 lines not shown]
DeltaFile
+14-4sys/kern/subr_eventhandler.c
+2-2sys/sys/eventhandler.h
+16-62 files

FreeBSD/src 473ba78sys/net if_vlan.c

if_vlan: Use the exclusive lock everywhere

Running sys/net tests in parallel reveals some panics which look like
the one below:

```
shared lock of (sx) vlan_sx @ /home/markj/sb/main/src/sys/net/if_vlan.c:2395
while exclusively locked from /home/markj/sb/main/src/sys/net/if_vlan.c:1850
panic: excl->share
cpuid = 9
time = 1776467219
KDB: stack backtrace:
db_trace_self_wrapper() at db_trace_self_wrapper+0x2b/frame 0xfffffe00d84e0780
vpanic() at vpanic+0x136/frame 0xfffffe00d84e08b0
panic() at panic+0x43/frame 0xfffffe00d84e0910
witness_checkorder() at witness_checkorder+0xdb1/frame 0xfffffe00d84e0ad0
_sx_slock_int() at _sx_slock_int+0x64/frame 0xfffffe00d84e0b10
vlan_ioctl() at vlan_ioctl+0x25c/frame 0xfffffe00d84e0b70
if_setflag() at if_setflag+0xdc/frame 0xfffffe00d84e0be0

    [29 lines not shown]
DeltaFile
+66-68sys/net/if_vlan.c
+66-681 files

FreeBSD/src deea28asys/amd64/vmm/io ppt.c

amd64/vmm: Fix ppt_unmap_mmio() after commit 36b855f18925

Fixes:          36b855f18925 ("amd64/vmm: Lock global PCI passthrough structures")
MFC after:      3 days
Reported by:    bz

(cherry picked from commit b133353310920aa823b1b5f83a308d0762f3bba3)
DeltaFile
+1-1sys/amd64/vmm/io/ppt.c
+1-11 files

FreeBSD/ports a9b20a7multimedia/jellyfin pkg-plist distinfo

multimedia/jellyfin: Fix distinfo and pkg-plist after 10.11.10 update

Discussed with: bapt
DeltaFile
+6-6multimedia/jellyfin/pkg-plist
+5-5multimedia/jellyfin/distinfo
+11-112 files

FreeBSD/src f05fb51usr.bin/vtfontcvt vtfontcvt.c

vtfontcvt: Return error from write_fnt_source

Previously write_fnt_source always returned 0, silently discarding
errors.  Return rv so that errors set vtfontcvt's shell exit
appropriately.

Sponsored by: The FreeBSD Foundation
DeltaFile
+1-1usr.bin/vtfontcvt/vtfontcvt.c
+1-11 files

FreeBSD/src 21d9bc1lib/libcasper/services/cap_net cap_net.3

cap_net.3: Clarify monotonic reduction in permitted operations

Reviewed by:    markj, oshogbo
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57141

(cherry picked from commit 59601a75d6fb1300b1aec2977eaa6adeb0300684)
(cherry picked from commit 414617d82c8a4e10c8bdfc9ea50f3b3fde7cec0d)
DeltaFile
+2-1lib/libcasper/services/cap_net/cap_net.3
+2-11 files

FreeBSD/src 414617dlib/libcasper/services/cap_net cap_net.3

cap_net.3: Clarify monotonic reduction in permitted operations

Reviewed by:    markj, oshogbo
Sponsored by:   The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D57141

(cherry picked from commit 59601a75d6fb1300b1aec2977eaa6adeb0300684)
DeltaFile
+2-1lib/libcasper/services/cap_net/cap_net.3
+2-11 files

FreeBSD/ports ed80103devel Makefile, devel/pinact Makefile distinfo

devel/pinact: Add port: CLI to pin GitHub Actions and Reusable Workflows

pinact is a CLI to edit GitHub Workflow and Composite action files and
pin versions of Actions and Reusable Workflows. pinact can also update
their versions and verify version annotations.

WWW: https://github.com/suzuki-shunsuke/pinact
DeltaFile
+56-0devel/pinact/Makefile
+5-0devel/pinact/distinfo
+3-0devel/pinact/pkg-descr
+1-0devel/Makefile
+65-04 files

FreeBSD/ports f64dadccad/kicad-devel Makefile.git_rev distinfo, cad/kicad-library-footprints-devel distinfo pkg-plist

cad/kicad-devel: Update to 2026.05.25
DeltaFile
+3-3cad/kicad-devel/Makefile.git_rev
+3-3cad/kicad-devel/distinfo
+3-3cad/kicad-library-footprints-devel/distinfo
+6-0cad/kicad-library-footprints-devel/pkg-plist
+3-3cad/kicad-library-packages3d-devel/distinfo
+3-3cad/kicad-library-symbols-devel/distinfo
+21-154 files not shown
+31-2110 files

FreeBSD/ports b3081f5cad/freecad-devel pkg-plist Makefile.git_rev

cad/freecad-devel: Update to 2026.05.25
DeltaFile
+42-0cad/freecad-devel/pkg-plist
+3-3cad/freecad-devel/Makefile.git_rev
+3-3cad/freecad-devel/distinfo
+48-63 files

FreeBSD/ports fceed7adeskutils/nextcloudclient distinfo Makefile

deskutils/nextcloudclient: Update to 33.0.5
DeltaFile
+3-3deskutils/nextcloudclient/distinfo
+1-1deskutils/nextcloudclient/Makefile
+4-42 files

FreeBSD/ports a778005comms/klog distinfo pkg-plist, comms/klog/files patch-src_main.cpp

comms/klog: Update to 2.5.2
DeltaFile
+0-11comms/klog/files/patch-src_main.cpp
+3-3comms/klog/distinfo
+1-4comms/klog/pkg-plist
+2-2comms/klog/Makefile
+6-204 files

FreeBSD/ports ccb6b02security/bitwarden-cli distinfo, security/bitwarden-cli/files/packagejsons package-lock.json package.json

security/bitwarden-cli: Update to 2026.4.2

Changelog: https://github.com/bitwarden/clients/releases/tag/cli-v2026.4.2

Reported by:    GitHub (watch releases)
DeltaFile
+6,723-3,854security/bitwarden-cli/files/packagejsons/package-lock.json
+37-29security/bitwarden-cli/files/packagejsons/package.json
+11-0security/bitwarden-cli/files/packagejsons/libs/scheduling/package.json
+5-5security/bitwarden-cli/distinfo
+4-4security/bitwarden-cli/files/packagejsons/apps/cli/package.json
+5-2security/bitwarden-cli/files/packagejsons/apps/desktop/package.json
+6,785-3,8943 files not shown
+6,788-3,8979 files

FreeBSD/ports 5f2a8eceditors/libreoffice/files patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.hxx

editors/libreoffice: remove staled patches

PR:     295569
DeltaFile
+0-13editors/libreoffice/files/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.cxx
+0-13editors/libreoffice/files/patch-sdext_source_pdfimport_xpdfwrapper_pdfioutdev__gpl.hxx
+0-262 files

FreeBSD/ports f8f7f3fdeskutils/joplin-desktop distinfo Makefile, deskutils/joplin-desktop/files patch-packages_lib_models_settings_builtInMetadata.ts

deskutils/joplin-desktop: Update to 3.6.14

Changelog: https://github.com/laurent22/joplin/releases/tag/v3.6.14

Reported by:    GitHub (watch releases)
DeltaFile
+9-9deskutils/joplin-desktop/distinfo
+2-2deskutils/joplin-desktop/files/patch-packages_lib_models_settings_builtInMetadata.ts
+1-2deskutils/joplin-desktop/Makefile
+1-1deskutils/joplin-desktop/files/packagejsons/packages/app-desktop/package.json
+13-144 files

FreeBSD/ports 89e246cwww Makefile, www/lua-stream-nginx-module pkg-plist Makefile

www/lua-stream-nginx-module: Add new port

The lua-stream-nginx-module port provides the OpenResty
stream-lua-nginx-module third-party module source tree for
NGINX stream subsystem Lua integration.

WWW: https://github.com/openresty/stream-lua-nginx-module

Sponsored by:   Netzkommune GmbH
DeltaFile
+253-0www/lua-stream-nginx-module/pkg-plist
+28-0www/lua-stream-nginx-module/Makefile
+3-0www/lua-stream-nginx-module/distinfo
+2-0www/lua-stream-nginx-module/pkg-descr
+1-0www/Makefile
+287-05 files

FreeBSD/ports 4f35604devel/py-diff-cover distinfo Makefile

devel/py-diff-cover: update 10.2.0 → 10.2.1
DeltaFile
+3-3devel/py-diff-cover/distinfo
+1-1devel/py-diff-cover/Makefile
+4-42 files

FreeBSD/ports 55b6d84devel/qtutilities distinfo Makefile

devel/qtutilities: update 6.21.1 → 6.21.2
DeltaFile
+3-3devel/qtutilities/distinfo
+1-1devel/qtutilities/Makefile
+1-1devel/qtutilities/pkg-plist
+5-53 files

FreeBSD/ports 97cc835multimedia/qpwgraph distinfo Makefile

multimedia/qpwgraph: update 1.0.1 → 1.0.2
DeltaFile
+3-3multimedia/qpwgraph/distinfo
+1-1multimedia/qpwgraph/Makefile
+4-42 files

FreeBSD/ports ec358c0astro Makefile, astro/cspice pkg-plist Makefile

astro/cspice: New port: NAIF C SPICE Toolkit
DeltaFile
+44-0astro/cspice/pkg-plist
+29-0astro/cspice/Makefile
+5-0astro/cspice/distinfo
+5-0astro/cspice/pkg-descr
+1-0astro/Makefile
+84-05 files

FreeBSD/ports 28149bfastro/py-pykep pkg-plist Makefile, astro/py-pykep/files patch-CMakeLists.txt

astro/{,py-}pykep: update 2.6.2 → 3.0.0
DeltaFile
+47-116astro/pykep/pkg-plist
+59-60astro/py-pykep/pkg-plist
+26-13astro/py-pykep/Makefile
+22-9astro/pykep/Makefile
+20-0astro/py-pykep/files/patch-CMakeLists.txt
+3-3astro/pykep/distinfo
+177-2011 files not shown
+180-2047 files

FreeBSD/ports ac6d824math/xtensor-blas Makefile distinfo

math/xtensor-blas: update 0.21.0 → 0.23.0
DeltaFile
+7-2math/xtensor-blas/Makefile
+3-3math/xtensor-blas/distinfo
+1-0math/xtensor-blas/pkg-plist
+11-53 files

FreeBSD/ports 7548172www/cpp-httplib distinfo Makefile

www/cpp-httplib: update 0.45.0 → 0.45.1
DeltaFile
+3-3www/cpp-httplib/distinfo
+1-1www/cpp-httplib/Makefile
+4-42 files

FreeBSD/ports 8200e2emisc/memo Makefile distinfo

misc/memo: update 0.5.3 → 0.6.0
DeltaFile
+3-3misc/memo/Makefile
+3-3misc/memo/distinfo
+6-62 files

FreeBSD/ports 8b43641astro Makefile, astro/py-spiceypy Makefile pkg-descr

astro/py-spiceypy: New port: Python wrapper for the NAIF C SPICE Toolkit
DeltaFile
+33-0astro/py-spiceypy/Makefile
+6-0astro/py-spiceypy/pkg-descr
+3-0astro/py-spiceypy/distinfo
+1-0astro/Makefile
+43-04 files

FreeBSD/ports 2dac870science/pagmo2 Makefile

science/pagmo2: Update WWW
DeltaFile
+2-1science/pagmo2/Makefile
+2-11 files

FreeBSD/ports 0a265ectextproc/fzf distinfo Makefile

textproc/fzf: Update version 0.73.0=>0.73.1

Changelog: https://github.com/junegunn/fzf/releases/tag/v0.73.1
DeltaFile
+5-5textproc/fzf/distinfo
+2-2textproc/fzf/Makefile
+7-72 files

FreeBSD/ports 8d678a6java/wildfly distinfo Makefile

java/wildfly: Update version 39.0.1=>40.0.0

Changelog: https://github.com/wildfly/wildfly/releases/tag/40.0.0.Final
Changelog: https://www.wildfly.org/news/2026/05/21/WildFly-40-is-released/
DeltaFile
+3-3java/wildfly/distinfo
+2-3java/wildfly/Makefile
+5-62 files