security/py-zkg: Update 3.0.1 => 3.2.0
Changelog:
https://github.com/zeek/package-manager/blob/v3.2.0/CHANGES
Port Changes:
- Drop the py-configparser dependency: zkg imports the standard
library configparser; devel/py-configparser only provides
backports.configparser.
- Raise the GitPython and semantic_version minimums to what 3.2.0
requires (3.1.43, 2.10.0); 3.2.0 requires Python 3.10.
- setup.py now installs the source tree's VERSION file as data_files
into ${PREFIX}/output_dir/, where nothing reads it; patch that out.
- LICENSE is NCSA (COPYING is the University of Illinois/NCSA Open
Source License), not BSD3CLAUSE.
- Switch to USE_PYTHON=pep517 (the package metadata becomes dist-info).
- Add 'make test' support.
PR: 300171
Approved by: Shirkdog <mshirk at daemon-security.com> (maintainer)
TMP461 sensor: Fix temperature reading in extended range mode
In extended range mode, the temperature's integral part is stored as an
unsigned byte offset by 64, not as a signed byte. Stop treating it as
a signed value in this case, in particular sign extending it. Doing so
would cause temperatures above 128°C (and in particular nearing the
maximum operating point of 150°C) to be treated as negative ones, as the
sign extension happened after substracting the offset. In the original
commit introducing the driver, sign extension was done before, in which
case the problem manifested as soon as 64°C. It may have been noticed
while introducing support for ADT7461, but was not completely fixed at
that time.
While here, fix typos in two comments.
Reported by: llm-postcr
Reviewed by: manu
Fixes: f89f6f9581bd ("TMP461: Add thermal sensor driver")
Fixes: 6665c7a62839 ("TMP461: Add support for ADT7461 sensor")
[3 lines not shown]
TMP461 sensor: Fix UB when reading the temperature
Left shifting a potentially negative number is undefined behavior
according to the C standard (still in C23, although that's probably
a mistake for this one).
Shift left the just-read data first, as it is of an unsigned type
(uint8_t), and then sign-extend the result with the new sign_extend32().
Reviewed by: manu
MFC after: 1 week
Sponsored by: The FreeBSD Foundation
Differential Revision: https://reviews.freebsd.org/D61763
tests/sys/kern/procdesc: test the reaper's own PD_NOWAITPID child
Check that the reaper can waitpid(2) for its PD_NOWAITPID child after
closing the last process descriptor, untraced, detached, or with the
tracing reaper exiting.
Based on reproducers provided by Laam Alif <laamalif at proton.me>.
PR: 301072
Reviewed by: markj
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D61975
procdesc_close(): grant waitpid(2) when the reaper is already the parent
When the process is already a child of its reaper, proc_reparent()
returns early and does not re-enable waitpid(2), so after the last
process descriptor was closed nobody could reap the zombie. If the
reaper was also tracing the process, it was additionally linked onto
the reaper's own orphan list, and after PT_DETACH it stayed there
untraced, again without a waitpid(2) reference.
PR: 301072
Reviewed by: kib, markj
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D61975
textproc/ripgrep: Update 15.2.0 => 16.0.0
Ripgrep 16 is a new major version release of Ripgrep that mostly has
bug fixes, some minor performance improvements and a small number of
new features.
Changelog:
https://github.com/BurntSushi/ripgrep/releases/tag/16.0.0
PR: 301087
MFH: 2026Q4
libc/powerpc64: save v20-v31 in setjmp
setjmp and its variants save the non-volatile GPRs and FPRs, but not the
non-volatile vector registers v20-v31, so after a longjmp they hold
whatever the code that jumped left in them. Julia runs into this when it
switches tasks with sigsetjmp/siglongjmp: the compiler keeps vector values
in v20-v31 and they come back from another task.
jmp_buf has had room for them all along. Add setjmp entry points that save
them and pick those with ifuncs when the CPU has Altivec, so the same libc
still works on CPUs without it, like the e5500. They note in the buffer
where the registers went, and longjmp loads them back only if the note is
there.
rtld can't use ifuncs, so it builds its own sigsetjmp that checks hwcap
when it's called. It needs the registers saved too: when it restarts a
symbol lookup to upgrade its lock, it longjmps out of functions that use
v31, and a lazily bound call came back with v31 zeroed.
[3 lines not shown]
www/freenginx-devel: update: 1.31.5 -> 1.31.6
<ChangeLog>
*) Security: a flow control window overflow might cause memory
corruption in a worker process when using HTTP/2, potentially
resulting in arbitrary code execution (CVE-2026-123007).
*) Security: use-after-free might occur when using HTTP/2, potentially
resulting in arbitrary code execution (CVE-2026-123633).
*) Security: use-after-free might occur when using HTTP/3, potentially
resulting in arbitrary code execution (CVE-2026-121810).
*) Security: use-after-free might occur when using the mail proxy
module, potentially resulting in arbitrary code execution
(CVE-2026-113425).
*) Bugfix: a segmentation fault might occur in a worker process if the
[10 lines not shown]
bhyve: e82545: allow access to the last receive address register
The model exposes 16 receive address register pairs, but both accessors
asserted that the index was below 15. Use E82545_RAR_MAX as the last
valid index for the register ranges and accessors. Size the address
array from the same limit and use its length when clearing valid bits.
Signed-off-by: Wanpeng Qian <wanpengqian at gmail.com>
MFC after: 2 weeks
Sponsored by: keelos.dev
Differential Revision: https://reviews.freebsd.org/D60219
Co-authored-by: Kevin Bowling <kbowling at FreeBSD.org>
lang/dotnet8: Pull in patches from lang/dotnet
Not bumping PORTREVISION because these patches are needed to reroll the
bootstrap tarball and the port update will follow
PR: 301034 289022
Add new ports committer (mzar)
Complete steps 1-4 of the Committer's Guide (Section 7.1).
Reviewed by: philip
Approved by: philip (mentor)
Differential Revision: https://reviews.freebsd.org/D61982
linux(4): compare xattr namespace names with strcmp()
xattr_to_extattr() compared each namespace over the length of the
caller's prefix and would read past the end of any shorter name
the values are already null-terminated so we can just use strcmp()
here
Reviewed by: rmoeller
Differential Revision: https://reviews.freebsd.org/D60954