FreeBSD/ports 0b0a7c4 — archivers/py-pyzstd Makefile distinfo

archivers/py-pyzstd: Update 0.20.0 => 0.20.1

Changelog:
- Fix issue with max_length not always being respected in
  EndlessZstdDecompressor.
- Improve type support.
https://github.com/Rogdham/pyzstd/blob/0.20.1/CHANGELOG.md

PR:     301439
DeltaFile
+3-3archivers/py-pyzstd/distinfo
+1-1archivers/py-pyzstd/Makefile
+4-42 files

FreeBSD/ports 1551308 — converters/py-unidecode distinfo Makefile

converters/py-unidecode: Update 1.3.7 => 1.4.0

Changelog:
https://github.com/avian2/unidecode/blob/unidecode-1.4.0/ChangeLog

While here:
* Switch to PEP517 for build, this also requires capitalized PORTNAME.
* Add testing support via unittest.

PR:     301438
MFH:    2026Q4
(cherry picked from commit 719a9f6c310587ee3c8cc6e7d29bf2bd0b5fe433)
DeltaFile
+6-5converters/py-unidecode/Makefile
+3-3converters/py-unidecode/distinfo
+9-82 files

FreeBSD/ports 719a9f6 — converters/py-unidecode distinfo Makefile

converters/py-unidecode: Update 1.3.7 => 1.4.0

Changelog:
https://github.com/avian2/unidecode/blob/unidecode-1.4.0/ChangeLog

While here:
* Switch to PEP517 for build, this also requires capitalized PORTNAME.
* Add testing support via unittest.

PR:     301438
MFH:    2026Q4
DeltaFile
+6-5converters/py-unidecode/Makefile
+3-3converters/py-unidecode/distinfo
+9-82 files

FreeBSD/src 970fb1d — sys/powerpc/linux linux_proto.h syscalls.master

linuxulator/powerpc: fix the argument order of sync_file_range2

PowerPC only has sync_file_range2, which takes the flags second. We read
the arguments in the sync_file_range order, so glibc's sync_file_range()
failed with EINVAL for any length above 7.

Fixes:          e62e2bb64ffb ("powerpc: Add first Linuxulator support (ELFv1, BE, powerpc64)")
Reviewed by:    jhibbits
Differential Revision:  https://reviews.freebsd.org/D62381
DeltaFile
+3-3sys/powerpc/linux/linux_systrace_args.c
+3-2sys/powerpc/linux/syscalls.master
+1-1sys/powerpc/linux/linux_proto.h
+7-63 files

FreeBSD/ports cebfd63 — www/apache24 Makefile, www/apache24/files apache24.in

www/apache24: Modernize the rc script

- Remove the use of x in variable tests
- Always use tabs
- Check the output of commands directly instead of using $?

Reviewed by:    brnrd
Approved by:    brnrd (apache)
Differential Revision: https://reviews.freebsd.org/D62314
DeltaFile
+28-39www/apache24/files/apache24.in
+1-1www/apache24/Makefile
+29-402 files

FreeBSD/src ecf639e — sys/compat/linuxkpi/common/src linux_pci.c

LinuxKPI: refresh the MSI data of MSI descriptors

lkpi_pci_msi_desc_alloc() cached the descriptor, and with it the MSI
data, on first use.  FreeBSD only programs the MSI message, and sets
cfg.msi.msi_data, once the first interrupt handler is set up.  ath11k
calls irq_get_msi_desc() before request_irq() and again after it, in
ath11k_pci_config_msi_data(), to take the final data and hand it to
its firmware; it got the 0 cached by the first call.

Keep only the allocation, and refresh the data on every call.

Restructured the final code and added a comment [bz].

Sponsored by:   Defenso
MFC after:      3 days
Reviewed by:    bz
Differential Revision: https://reviews.freebsd.org/D61214
DeltaFile
+6-6sys/compat/linuxkpi/common/src/linux_pci.c
+6-61 files

FreeBSD/src 0d232f6 — sys/powerpc/aim mmu_radix.c

powerpc/radix: let mprotect() revoke execute permission

mmu_radix_protect() and pmap_protect_l3e() set PG_X when the new
protection includes execute and do nothing about it otherwise, so a
mapping that was executable stays executable after mprotect() takes
PROT_EXEC away. That goes for 4K and 2M pages alike.

amd64 sets pg_nx here when execute is not asked for. PG_X on radix is
the opposite kind of bit, it grants execute, so clear it in that case.

Reviewed by:    jhibbits
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D62362
DeltaFile
+4-0sys/powerpc/aim/mmu_radix.c
+4-01 files

FreeBSD/src 22aad25 — sys/cddl/contrib/opensolaris/uts/powerpc/dtrace fasttrap_isa.c

dtrace/powerpc: refuse pid tracepoints that would need a single step

The pid provider leaves every instruction it doesn't emulate to a
pc/npc single step, and nothing on powerpc implements that. A
tracepoint on such an instruction traps forever: an entry probe hangs
the traced process at 100% CPU.

Refuse to install one. Entry probes on most functions still don't
work, but they no longer hang the process.

Reviewed by:    jhibbits
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D62370
DeltaFile
+4-0sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
+4-01 files

FreeBSD/src c467e63 — sys/cddl/contrib/opensolaris/uts/powerpc/dtrace fasttrap_isa.c

dtrace/powerpc: sign extend branch displacements in the pid provider

The displacement of b and bc was sign extended to 32 bits only and then
added to a 64-bit pc, so the emulation of a backward branch sent the
traced process about 4 GB forward. A return probe on a function with a
loop or a tail call killed it with SIGSEGV at the first hit.

Sign extend the displacement to the full width.

Reviewed by:    jhibbits
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D62369
DeltaFile
+5-6sys/cddl/contrib/opensolaris/uts/powerpc/dtrace/fasttrap_isa.c
+5-61 files

FreeBSD/src 2179d32 — sys/powerpc/aim aim_machdep.c, sys/powerpc/include spr.h

powerpc64: recover from instruction side ERAT and TLB multi-hit machine checks

cpu_machine_check() recovers from an ERAT or TLB multi-hit on the data
side by flushing the translations and retrying, but on the instruction
side it only knows the SLB multi-hit. Anything else there becomes a
SIGBUS for the process, at an instruction that doesn't touch memory.

This killed two JVMs in a week on a POWER9 machine running poudriere,
and both times SRR1 said I-ERAT multi-hit. They are as recoverable as
the data side ones and Linux treats them the same way, so flush and
retry for them too.

Reviewed by:    jhibbits
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D62359
DeltaFile
+12-1sys/powerpc/aim/aim_machdep.c
+2-0sys/powerpc/include/spr.h
+14-12 files

FreeBSD/src 4626dd3 — sys/powerpc/powerpc exec_machdep.c

powerpc: clear the inherited FSCR, TAR, DSCR, EBB and LM state with the PCB flags

cpu_copy_thread() and cpu_fork() copy the whole PCB of the thread that
creates the new one, and cpu_set_upcall(), exec_setregs() and
ppc32_setregs() then only reset pcb_flags. The saved FSCR, TAR, DSCR,
EBB and load monitor registers keep the old thread's values.

cpu_switch() reloads FSCR and DSCR only when the old or the new thread
has PCB_CFSCR or PCB_CDSCR set, and assumes a thread without them has
zeroes there. So a new thread with stale fields runs with the
facilities turned on after a thread that used them: its own writes to
TAR or DSCR never trap and are never saved, and they stay in the
registers when the CPU moves on to a thread without the flags, which
can be in another process and can read them.

Zero the fields wherever the flags are cleared.

Reviewed by:    jhibbits
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D62036
DeltaFile
+21-3sys/powerpc/powerpc/exec_machdep.c
+21-31 files

FreeBSD/src 073444f — sys/compat/linux linux_signal.c

linuxulator: Accept 0 as signal in rt_sigqueueinfo

Linux allows 0 as a signal for rt_sigqueueinfo(2) the same as it does
for kill(2).  This is used to check for process existence and
permissions.

Allow this value through as a special case in linux_rt_siqgueueinfo the
same way as was done for linux_kill.

Before this change, lio_listio(3) would fail with EINVAL under
Linuxulator.  Now it is functional.

MFC after:      1 week
Reviewed by:    kevans
Approved by:    kevans (mentor)
Differential Revision:  https://reviews.freebsd.org/D60574

(cherry picked from commit 33d9fbf5f95301f6eefbbf7e7fd49b4e9c098919)
DeltaFile
+9-2sys/compat/linux/linux_signal.c
+9-21 files

FreeBSD/src dc7b06d — sys/contrib/openzfs/include/sys ddt.h, sys/contrib/openzfs/module/zfs zio.c ddt.c

ddt: select traditional phys by block identity, not BP DVA count

The write path stores a traditional DDT entry in the phys slot chosen
by the zp_copies value the block was written with, but the free-path
lookup validation (ddt_entry_lookup_is_valid()) selected the slot to
compare by the BP's physical DVA count, and ddt_addref() bumped the
refcount of that same wrongly-selected slot.

The two indexes diverge whenever a deduplicated block's BP carries
more DVAs than its copies value, which is exactly what ganging does:
a gang header is stored in more copies than the data it gangs, so
copies=1 blocks get a two-DVA gang header BP (unconditionally
through 2.3.3, and under the default redundant_metadata=all since
a46ce73ca8 made it configurable in 2.3.4 and 9250403ba6 in 2.4.0),
and from 2.3.4 that default also gives unencrypted copies=2 blocks a
three-DVA header BP. Encryption does not avoid the mismatch at
copies=1: the header BP still carries two counted DVAs (the salt/IV
DVA is separate). For such a block the validation checked
the wrong slot, concluded the entry had been pruned, and

    [54 lines not shown]
DeltaFile
+177-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/dedup/dedup_legacy_gang.ksh
+30-35sys/contrib/openzfs/module/zfs/ddt.c
+21-7sys/contrib/openzfs/module/zfs/zio.c
+6-3sys/contrib/openzfs/include/sys/ddt.h
+4-0sys/contrib/openzfs/tests/runfiles/linux.run
+1-0sys/contrib/openzfs/tests/zfs-tests/tests/Makefile.am
+239-456 files

FreeBSD/src 1da516f — sys/opencrypto cryptodev.c

cryptodev: Fix CIOCGSESSION32

session_op_from_32() already produces a struct session2_op, but the
request was then handled as CIOCGSESSION, so session2_op_from_op() was
called with overlapping source and destination and zeroed the request.

Fixes:          688f8b822cea ("Remove the cloned file descriptors for /dev/crypto.")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D61775
DeltaFile
+1-1sys/opencrypto/cryptodev.c
+1-11 files

FreeBSD/src 0594817 — sys/fs/procfs procfs_map.c

procfs: Release the vmspace reference when map reads fail

When a 32-bit process reads the map of a 64-bit process,
procfs_doprocmap() returned without calling proc_vmspace_unref(),
leaking a vmspace reference and leaving the target unable to exec.

Fixes:          5db31f1b47b5 ("procfs, linprocfs: ensure target process vmspace stability")
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
DeltaFile
+4-1sys/fs/procfs/procfs_map.c
+4-11 files

FreeBSD/src 7fbe13e — libexec/rc rc.subr

Revert "rc.subr: remove the dependency on bsdconfig"

sysrc(8) no longer needs bsdconfig(8) and is now in the rc package
along-side service(8) and rc(8).

This reverts commit f6328f052518d56c01f10e14cd9ef1f2675c01a4.

Reviewed by:    des, bapt
Differential Revision:  https://reviews.freebsd.org/D62345
DeltaFile
+16-86libexec/rc/rc.subr
+16-861 files

FreeBSD/ports a0a2e6f — devel/ccache4 Makefile distinfo

devel/ccache4: Update 4.14.3 => 4.14.4

PR:            301432
DeltaFile
+3-3devel/ccache4/distinfo
+1-1devel/ccache4/Makefile
+4-42 files

FreeBSD/ports a8d88a0 — sysutils/cmocka pkg-plist distinfo

sysutils/cmocka: Update 2.0.2 => 2.0.4

Changelog:
https://gitlab.com/cmocka/cmocka/-/blob/cmocka-2.0.4/CHANGELOG.md

While here, return to the pool and apply WWW and MASTER_SITES changes.

PR:     301430
MFH:    2026Q4
(cherry picked from commit cef436ec8c13aa32e848a1fe050d18d7238f637d)
DeltaFile
+5-4sysutils/cmocka/Makefile
+3-3sysutils/cmocka/distinfo
+1-1sysutils/cmocka/pkg-plist
+9-83 files

FreeBSD/ports cef436e — sysutils/cmocka pkg-plist Makefile

sysutils/cmocka: Update 2.0.2 => 2.0.4

Changelog:
https://gitlab.com/cmocka/cmocka/-/blob/cmocka-2.0.4/CHANGELOG.md

PR:     301430
MFH:    2026Q4
DeltaFile
+3-3sysutils/cmocka/distinfo
+2-2sysutils/cmocka/Makefile
+1-1sysutils/cmocka/pkg-plist
+6-63 files

FreeBSD/src dc9708b — crypto/openssl/include/openssl opensslv.h, secure/lib/libcrypto/man/man3 EC_GROUP_new.3 EVP_EncryptInit.3

crypto/openssl: commit generated files for 3.5.10 release

MFC after:      1 day
MFC with:       cbbbed654506

(cherry picked from commit a5416fccc9ec871d334960b40b49346db12b1f31)
DeltaFile
+10-9secure/lib/libcrypto/man/man3/PEM_read_bio_PrivateKey.3
+18-1secure/lib/libcrypto/man/man7/RAND.7
+10-8secure/lib/libcrypto/man/man3/EVP_EncryptInit.3
+7-7secure/lib/libcrypto/man/man7/openssl-env.7
+5-5crypto/openssl/include/openssl/opensslv.h
+6-1secure/lib/libcrypto/man/man3/EC_GROUP_new.3
+56-31188 files not shown
+258-231194 files

FreeBSD/src 9b5f148 — sys/dev/hwpmc hwpmc_amd.c

hwpmc_amd: Ignore UMC counters when CPUID reports no usable UMC

pmcs_per_umc is the UMC counter count from CPUID 0x80000022 EBX divided
by the number of active UMCs in ECX.  If ECX is zero, e.g. in a guest
that only reports core counters, loading hwpmc divides by zero.  If ECX
has more UMCs than counters, pmcs_per_umc is zero and the UMC row loop
never terminates.

Skip the division when ECX is zero and register no UMC counters when
pmcs_per_umc is zero.

Reviewed by:    mhorne
Fixes:          f19f44634afd ("pmc: Add support for AMD UMC counters")
Sponsored by:   Advanced Micro Devices, Inc.
Signed-off-by:  Osvaldo Janeri Filho <ojanerif at amd.com>
Differential Revision:  https://reviews.freebsd.org/D62284
DeltaFile
+4-1sys/dev/hwpmc/hwpmc_amd.c
+4-11 files

FreeBSD/ports d5cd1fe — devel/py-pytest-translations distinfo Makefile

devel/py-pytest-translations: Update to 5.0.0

Changelog:
https://github.com/thermondo/pytest-translations/releases/tag/5.0.0

Commit log:
https://github.com/thermondo/pytest-translations/compare/4.0.1...5.0.0

While here, update maintainer address, switch to GitHub and use pep517.

PR:     301429
DeltaFile
+18-16devel/py-pytest-translations/Makefile
+3-3devel/py-pytest-translations/distinfo
+21-192 files

FreeBSD/src 93f8c45 — bin/pkill/tests Makefile pgrep-j_test.sh

pkill: Convert pgrep / pkill -j tests to ATF

The pgrep / pkill tests predate ATF and are not particularly robust.
Convert two of them to ATF as a proof of concept.  Hopefully someone
will be inspired to continue the conversion; the converted tests are
parallelizable, much faster, and more robust than the originals.

PR:             301350
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D62288
DeltaFile
+189-99bin/pkill/tests/pkill-j_test.sh
+164-95bin/pkill/tests/pgrep-j_test.sh
+2-2bin/pkill/tests/Makefile
+355-1963 files

FreeBSD/ports 47258ef — multimedia/mediamtx/files patch-internal_staticsources_handler.go patch-internal_core_path__manager.go

multimedia/mediamtx: Update 1.21.3 => 1.22.0

Changelogs:
https://github.com/bluenviron/mediamtx/releases/tag/v1.21.4
https://github.com/bluenviron/mediamtx/releases/tag/v1.22.0

While here:
* Disable CGO_ENABLED
* Clean up references to rpiCamera
* Update maintainer address

PR:     301428
MFH:    2026Q4
(cherry picked from commit 0f01a9cde53d5a3aa4fccc13892cc96c00acd8a3)
DeltaFile
+643-0multimedia/mediamtx/files/patch-internal_conf_path.go
+253-0multimedia/mediamtx/files/patch-internal_conf_conf__test.go
+140-0multimedia/mediamtx/files/patch-api_openapi.yaml
+52-0multimedia/mediamtx/files/patch-internal_conf_path__test.go
+47-0multimedia/mediamtx/files/patch-internal_core_path__manager.go
+9-7multimedia/mediamtx/files/patch-internal_staticsources_handler.go
+1,144-74 files not shown
+1,164-2610 files

FreeBSD/src 3cd9170 — lib/libdevdctl Makefile, lib/libdevdctl/tests Makefile libdevdctl_unittest.cc

Acutally connect the libdevdctl tests to the build

And fix their warnings.

MFC after:              1 week
Sponsored by:           ConnectWise
Reviewed by:            imp
Differential Revision:  https://reviews.freebsd.org/D62334
DeltaFile
+34-24lib/libdevdctl/tests/libdevdctl_unittest.cc
+4-7lib/libdevdctl/tests/Makefile
+5-0lib/libdevdctl/Makefile
+43-313 files

FreeBSD/ports 1582a27 — multimedia/mediamtx Makefile distinfo

multimedia/mediamtx: Update to 1.21.3

Changelog: https://github.com/bluenviron/mediamtx/releases/tag/v1.21.3
(cherry picked from commit b62f43c4b58b519c18bd3c558cee11c4fbc4d0a1)
DeltaFile
+7-7multimedia/mediamtx/distinfo
+1-1multimedia/mediamtx/Makefile
+8-82 files

FreeBSD/ports 9fa0cf8 — multimedia/mediamtx Makefile distinfo

multimedia/mediamtx: Update to 1.21.2

Changelog: https://github.com/bluenviron/mediamtx/releases/tag/v1.21.2
(cherry picked from commit 00e3d4b33e8a74d076bdc878d4eaf264738d6c2a)
DeltaFile
+7-7multimedia/mediamtx/distinfo
+1-2multimedia/mediamtx/Makefile
+8-92 files

FreeBSD/ports 18a13a4 — net-mgmt/ipfixcol2 Makefile distinfo

net-mgmt/ipfixcol2: Update 2.9.0 => 2.9.1

Changelog:
https://github.com/CESNET/ipfixcol2/releases/tag/v2.9.1

Sponsored by:   CESNET, z.s.p.o.
Sponsored by:   PANS Jarosław
Approved by:    olivier (mentor)
DeltaFile
+3-3net-mgmt/ipfixcol2/distinfo
+1-1net-mgmt/ipfixcol2/Makefile
+4-42 files

FreeBSD/src 9301327 — crypto/openssl/crypto/objects obj_dat.h, crypto/openssl/test sslapitest.c safe_math_test.c

crypto/openssl: update to 3.5.10

This change updates the OpenSSL source to 3.5.10.  This is a security
bugfix release which addresses several issues--Medium being the highest
severity issue.  Users are strongly encouraged to update to this
release.

Please see the original vendor commit for more details.

Merge commit '7ee6425d9f3b6d5fba45b5b525953e4d0b662eff'

(cherry picked from commit cbbbed6545063b224659a37da38a73f7de464096)
DeltaFile
+2,523-2,523crypto/openssl/crypto/objects/obj_dat.h
+846-1crypto/openssl/test/radix/quic_tests.c
+649-3crypto/openssl/test/quicapitest.c
+583-3crypto/openssl/test/evp_extra_test.c
+402-46crypto/openssl/test/safe_math_test.c
+420-0crypto/openssl/test/sslapitest.c
+5,423-2,576165 files not shown
+9,613-3,351171 files

FreeBSD/src 1c31743 — crypto/openssl BSDmakefile

crypto/openssl: correct messages printed out when copying manpages

Prior to this change section 1's message applied to 3/5/7 and vice
versa. Now the right message is printed out by the Makefile with its
respective operation.

MFC after:      1 week

(cherry picked from commit cb354d6a5a756df35f772acab3ce70caf90c4bda)
DeltaFile
+6-6crypto/openssl/BSDmakefile
+6-61 files