www/apache24: Make PROXY a group of options
OPTIONS_MULTI_PROXY required at least one PROXY module to be selected
whenever the PROXY option was enabled, although Apache can be built
without any proxy module. Make the proxy modules an options group and
drop the PROXY option. mod_proxy is built whenever any proxy module is
selected. The LBMETHOD options need mod_proxy_balancer, so they now
imply PROXY_BALANCER.
PR: 295073
Sponsored by: Netzkommune GmbH
www/{nginx,nginx-devel,freenginx}: 3rd-party modules management
Build the nchan, auth_jwt and naxsi modules from their own source ports.
Naxsi links against devel/libinjection now instead of carrying its own
copy, which retires the local patches that wired that up.
Chase the module updates.
Sponsored by: Netzkommune GmbH
www/nginx-module-nchan: Add New Port
Nchan turns nginx into a publish and subscribe server. Clients subscribe
over websocket, EventSource, long polling or plain HTTP, and messages
published to a channel reach all of its subscribers. Channels live in
shared memory or in Redis, so several servers can share them.
www: https://github.com/slact/nchan
Sponsored by: Netzkommune GmbH
www/nginx-module-auth-jwt: Add New Port
The auth_jwt module validates JSON Web Tokens before nginx serves a
request. The token is read from a header or a cookie, its signature is
checked against a configured key, and claims can be handed on to the
backend as request headers.
www: https://github.com/TeslaGov/ngx-http-auth-jwt-module
Sponsored by: Netzkommune GmbH
www/nginx-module-naxsi: Add New Port
Naxsi is a web application firewall for nginx. Requests are scored
against a small set of rules describing suspicious patterns and refused
once the score passes the configured limit, with whitelists for the
places where an application uses such characters legitimately.
The port follows the development branch rather than the 1.7 release.
Only there does the module link against a system libinjection, and only
there are the out of bounds write in the text logger and the out of
bounds read in the Content-Disposition parser fixed.
www: https://github.com/wargio/naxsi
Sponsored by: Netzkommune GmbH
sysutils/toybox: Fix license, unbreak check-sanity
Remove LICENSE_NAME and LICENSE_PERMS in order to unbreak the sanity
check as it was added in 2a73a67e5939 to Mk/bsd.licenses.db.mk.
PR: 301203
Reported by: pkg-fallout, maintainer
ipfw: fix off-by-one in the IP_FW_XADD rule count check
Restore the pre-4a77657cbc0 ">=" comparison, otherwise parse_rules_v1()
writes one rule_check_info beyond the allocated buffer.
Do the same in ip_fw_compat.c, which has a copy of the loop but is not
built at the moment.
stable/14 is not affected.
Reviewed by: ae
Fixes: 4a77657cbc0 ("ipfw: migrate ipfw to 32-bit size rule numbers")
MFC after: 1 week
MFC to: stable/15
Found with: Claude Code Opus 5.5
Differential Revision: https://reviews.freebsd.org/D61727
(cherry picked from commit 8364b6bc0c36ab66f71cb2b3e00479326132c80f)
editors/vim-classic: Fix pkg-plist
Fix pkg-plist when NLS is off by applying %%NO_NLS%%.
Some manpages seems to generate only when gtk{2,3}/motif flavor
is used. So, use %%GUI%%%%NLS%% substitution in pkg-plist.
PR: 301192
Approved by: portmgr (blanket, pkg-plist fix)
MFH: 2026Q4
(cherry picked from commit e2f360fe6cc273572b296835a26044cf48bf270a)
editors/vim-classic: Fix pkg-plist
Fix pkg-plist when NLS is off by applying %%NO_NLS%%.
Some manpages seems to generate only when gtk{2,3}/motif flavor
is used. So, use %%GUI%%%%NLS%% substitution in pkg-plist.
PR: 301192
Approved by: portmgr (blanket, pkg-plist fix)
MFH: 2026Q4
linuxkpi: Bound the retries of a fault handler that inserts no page
linux_cdev_pager_populate() calls the fault handler again for as long
as it returns VM_FAULT_NOPAGE without inserting a page. When the page
can never be inserted, for instance because another mapping of the
same buffer holds it, the thread loops in the kernel forever, about
450000 handler calls per second, and kill -9 cannot end the process.
Bound the retries in time, as vm_fault does for page allocation
(vm.pfault_oom_attempts, vm.pfault_oom_wait): after
compat.linuxkpi.fault_retry_timeout seconds the fault fails and the
thread gets SIGSEGV. Sleep a tick before each retry.
The 30 s default is three times the 10 s after which amdgpu declares a
kernel job hung: a legitimate retry can wait for a buffer move, and a
hung move ends with that timeout and the reset. Retries are rare:
on i915 (Raptor Lake, Meteor Lake) and amdgpu (Strix Halo), VA-API,
vkmark and llama.cpp loads gave 389768 faults and no retry. 0 fails
at once, -1 retries forever.
[5 lines not shown]
sysutils/cni-epair: Update to 1.3.1
A container on several epair networks no longer leaves epairs behind
when it is removed, and gets one default route instead of one per
network. The DHCP lease's DNS server, returned since 1.2.2, is now
returned only when the network sets "leaseDns": true.
Drop the run dependency on net/containernetworking-plugins: host-local
is only used by networks whose configuration names it, and a CNI runtime
brings those plugins itself. A pkg-message says when it is needed.
Changelog: https://github.com/daemonless/cni-epair/releases/tag/v1.3.0https://github.com/daemonless/cni-epair/releases/tag/v1.3.1
Reviewed by: acm
Approved by: acm (mentor)
Differential Revision: https://reviews.freebsd.org/D62149