FreeBSD/ports cfcd1e2 — devel/py-flake8 distinfo Makefile

devel/py-flake8: Update 7.3.0 => 7.5.0

Release Notes:
https://flake8.pycqa.org/en/latest/release-notes/7.4.0.html
https://flake8.pycqa.org/en/latest/release-notes/7.4.1.html
https://flake8.pycqa.org/en/latest/release-notes/7.5.0.html

While here, switch to PEP517 for build.

PR:     301503
DeltaFile
+3-3devel/py-flake8/distinfo
+4-2devel/py-flake8/Makefile
+7-52 files

FreeBSD/ports 0ae803d — devel/py-pycodestyle distinfo Makefile

devel/py-pycodestyle: Update 2.14.0 => 2.15.0

Changelog:
https://github.com/PyCQA/pycodestyle/blob/2.15.0/CHANGES.txt

While here, switch to PEP517 for build.

PR:     301502
DeltaFile
+5-2devel/py-pycodestyle/Makefile
+3-3devel/py-pycodestyle/distinfo
+8-52 files

FreeBSD/src 747fdb1 — lib/libc/stdio vfwscanf.c, lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Fix negated wchar scansets

We were recording the start of the scanset before checking if it began
with a caret.  We need to check for a caret first, then record whatever
comes next as the start of the scanset.

Note that scanf() did not have this bug, only wscanf(), but this adds
regression tests for both anyway.

MFC after:      1 week
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D62328

(cherry picked from commit 71c723518d22b2ae9c9c7819aa2625af3532bba5)

stdio: Fix typo in scanset test

Fixes:          71c723518d22 ("stdio: Fix negated wchar scansets")
(cherry picked from commit c5917853354369d9537c5a5aee4f0d2854325ed4)
DeltaFile
+3-2lib/libc/stdio/vfwscanf.c
+5-0lib/libc/tests/stdio/swscanf_test.c
+5-0lib/libc/tests/stdio/sscanf_test.c
+13-23 files

FreeBSD/src 3540018 — lib/libc/tests/stdio swprintf_test.c snprintf_test.c

tests: Simplify printf tests

ATF can now directly compare wchar strings.

MFC after:      1 week
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D61617

(cherry picked from commit c855b9431ffc1af81b2a135bcce4da5fb6b4f943)
DeltaFile
+2-2lib/libc/tests/stdio/swprintf_test.c
+2-2lib/libc/tests/stdio/snprintf_test.c
+4-42 files

FreeBSD/src b1a136b — lib/libc/stdio vfwscanf.c vfscanf.c

stdio: Handle unterminated scansets

In both vfscanf() and vfwscanf(), if the end of the format string was
reached before the closing bracket of a scanset, we treated the NUL as
the closing bracket and continued to read beyond the end of the format
string.  Add an error check to catch this case.

MFC after:      1 week
Reported by:    Nick L. Leppelmeier <nicklpmr at gmail.com>
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62199

(cherry picked from commit c5e0899d9908da5935cfaaade073d6911880fcb5)
DeltaFile
+4-2lib/libc/stdio/vfscanf.c
+2-0lib/libc/stdio/vfwscanf.c
+6-22 files

FreeBSD/src 48c9259 — lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Add test cases for scansets

Add test cases that exercise scanf() / wscanf() scansets, including
hyphenated ranges and the missing closing bracket bug we recently fixed.

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62201

(cherry picked from commit c24ab9f32d9bb63b426f346cb5f28c00e63922c2)
DeltaFile
+55-0lib/libc/tests/stdio/swscanf_test.c
+55-0lib/libc/tests/stdio/sscanf_test.c
+110-02 files

FreeBSD/src 5c844a0 — lib/libc/stdio vfwscanf.c

stdio: Implement ranges for wchar scansets

The C and POSIX standards allow but do not require hyphenated ranges to
be supported in scanf() / wscanf() scansets.  We implemented them for
scanf() but not for wscanf().  Do so using similar logic as for scanf().
This is hard to do efficiently for wide characters, which can in theory
span the full 32-bit range (and even the actual range of about 1 million
Unicode codepoints is difficult to handle), so we don't try to be
efficient, but just focus on producing the same results for wscanf() as
for scanf().

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62200

(cherry picked from commit 50eb68efcb473c8c20c016d618a8cd674d3706dc)

stdio: Use correct comparison function


    [2 lines not shown]
DeltaFile
+40-6lib/libc/stdio/vfwscanf.c
+40-61 files

FreeBSD/src 8067820 — lib/libc/stdio vfwscanf.c, lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Fix negated wchar scansets

We were recording the start of the scanset before checking if it began
with a caret.  We need to check for a caret first, then record whatever
comes next as the start of the scanset.

Note that scanf() did not have this bug, only wscanf(), but this adds
regression tests for both anyway.

MFC after:      1 week
Reviewed by:    emaste
Differential Revision:  https://reviews.freebsd.org/D62328

(cherry picked from commit 71c723518d22b2ae9c9c7819aa2625af3532bba5)

stdio: Fix typo in scanset test

Fixes:          71c723518d22 ("stdio: Fix negated wchar scansets")
(cherry picked from commit c5917853354369d9537c5a5aee4f0d2854325ed4)
DeltaFile
+3-2lib/libc/stdio/vfwscanf.c
+5-0lib/libc/tests/stdio/swscanf_test.c
+5-0lib/libc/tests/stdio/sscanf_test.c
+13-23 files

FreeBSD/src 71e480d — lib/libc/stdio vfwscanf.c

stdio: Implement ranges for wchar scansets

The C and POSIX standards allow but do not require hyphenated ranges to
be supported in scanf() / wscanf() scansets.  We implemented them for
scanf() but not for wscanf().  Do so using similar logic as for scanf().
This is hard to do efficiently for wide characters, which can in theory
span the full 32-bit range (and even the actual range of about 1 million
Unicode codepoints is difficult to handle), so we don't try to be
efficient, but just focus on producing the same results for wscanf() as
for scanf().

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62200

(cherry picked from commit 50eb68efcb473c8c20c016d618a8cd674d3706dc)

stdio: Use correct comparison function


    [2 lines not shown]
DeltaFile
+40-6lib/libc/stdio/vfwscanf.c
+40-61 files

FreeBSD/src 57318b7 — lib/libc/stdio vfwscanf.c vfscanf.c

stdio: Handle unterminated scansets

In both vfscanf() and vfwscanf(), if the end of the format string was
reached before the closing bracket of a scanset, we treated the NUL as
the closing bracket and continued to read beyond the end of the format
string.  Add an error check to catch this case.

MFC after:      1 week
Reported by:    Nick L. Leppelmeier <nicklpmr at gmail.com>
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62199

(cherry picked from commit c5e0899d9908da5935cfaaade073d6911880fcb5)
DeltaFile
+4-2lib/libc/stdio/vfscanf.c
+2-0lib/libc/stdio/vfwscanf.c
+6-22 files

FreeBSD/src bc41f99 — lib/libc/tests/stdio swprintf_test.c snprintf_test.c

tests: Simplify printf tests

ATF can now directly compare wchar strings.

MFC after:      1 week
Reviewed by:    ngie
Differential Revision:  https://reviews.freebsd.org/D61617

(cherry picked from commit c855b9431ffc1af81b2a135bcce4da5fb6b4f943)
DeltaFile
+2-2lib/libc/tests/stdio/swprintf_test.c
+2-2lib/libc/tests/stdio/snprintf_test.c
+4-42 files

FreeBSD/src 0158ac0 — lib/libc/tests/stdio swscanf_test.c sscanf_test.c

stdio: Add test cases for scansets

Add test cases that exercise scanf() / wscanf() scansets, including
hyphenated ranges and the missing closing bracket bug we recently fixed.

MFC after:      1 week
Reviewed by:    kevans, emaste
Differential Revision:  https://reviews.freebsd.org/D62201

(cherry picked from commit c24ab9f32d9bb63b426f346cb5f28c00e63922c2)
DeltaFile
+55-0lib/libc/tests/stdio/swscanf_test.c
+55-0lib/libc/tests/stdio/sscanf_test.c
+110-02 files

FreeBSD/ports 1f7387e — www/mattermost-server Makefile distinfo

www/mattermost-server: Update to 11.7.16
DeltaFile
+3-3www/mattermost-server/distinfo
+1-2www/mattermost-server/Makefile
+4-52 files

FreeBSD/src 122e077 — share/man/man4 apex.4, sys/amd64/conf NOTES

apex: add a driver for the Google Apex Edge TPU

The Apex is the accelerator on Coral PCI Express and M.2 modules,
appearing as 1ac1:089a
Google's Linux driver left staging in 5.16 and the out of tree
repository was archived; no BSD has had one.

Tested on: amd64, Coral M.2 Accelerator, running MobileNet v1
with the TensorFlow Lite 2.16 and LiteRT runtimes

Reviewed by:    ziaee, adrian
Differential Revision:  https://reviews.freebsd.org/D58563
DeltaFile
+1,154-0sys/dev/apex/apex.c
+143-0sys/dev/apex/apexreg.h
+101-0share/man/man4/apex.4
+39-0sys/dev/apex/apex_ioctl.h
+8-0sys/modules/apex/Makefile
+6-0sys/amd64/conf/NOTES
+1,451-05 files not shown
+1,462-011 files

FreeBSD/src 207a5f0 — sys/dev/gasket gasket_dma.c gasket_core.c

gasket: add a framework for Google accelerator ASICs

Gasket is Google's name for the layer their accelerator drivers share:
Google ASIC Software, Kernel Extensions, and Tools. The chips differ,
but they present the same shape to the host. A control register BAR
with a few windows user space may map, an on-chip page table the host
fills in so the device can reach host memory, and a block of MSI-X
vectors.

Reviewed by:    ziaee, adrian
Differential Revision:  https://reviews.freebsd.org/D58561
DeltaFile
+536-0sys/dev/gasket/gasket_chardev.c
+428-0sys/dev/gasket/gasket_ptbl_alloc.c
+417-0sys/dev/gasket/gasket_page_table.c
+369-0sys/dev/gasket/gasket_mmap.c
+263-0sys/dev/gasket/gasket_core.c
+176-0sys/dev/gasket/gasket_dma.c
+2,189-015 files not shown
+3,043-021 files

FreeBSD/ports b59674f — www/mattermost-webapp Makefile distinfo

www/mattermost-webapp: Update to 11.7.16
DeltaFile
+56-54www/mattermost-webapp/pkg-plist
+3-3www/mattermost-webapp/distinfo
+1-1www/mattermost-webapp/Makefile
+60-583 files

FreeBSD/ports f55fcf1 — ports-mgmt/caronade Makefile distinfo

ports-mgmt/caronade: Update to 0.9.0
DeltaFile
+5-5ports-mgmt/caronade/distinfo
+1-2ports-mgmt/caronade/Makefile
+6-72 files

FreeBSD/ports d0eeaf7 — print Makefile

print/Makefile: Add print/ql570 to the build
DeltaFile
+1-0print/Makefile
+1-01 files

FreeBSD/ports f2549a4 — print/ql570 Makefile.git_rev pkg-descr, print/ql570/files newVersion.sh

print/ql570: New port

This program prints monochrome PNG files
on the Brother QL-570 and QL-700 thermal sticker printer
by writing to the USB device file (e.g. /dev/ulpt0).
DeltaFile
+35-0print/ql570/Makefile
+22-0print/ql570/files/newVersion.sh
+5-0print/ql570/pkg-plist
+3-0print/ql570/pkg-descr
+3-0print/ql570/distinfo
+2-0print/ql570/Makefile.git_rev
+70-06 files

FreeBSD/src fc2ec7b — usr.sbin/bhyve pci_virtio_console.c

bhyve: disable SIGPIPE for vtcons

Currently, if a virtio-console socket client closes the connection or
shuts down the read side, the next guest write to the socket
raises SIGPIPE and kills the VM.

Set SO_NOSIGPIPE on this socket to prevent that.

Reviewed by:    markj
Fixes:          13ee8dde0409 ("Add virtio-console support to bhyve.")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D62216

(cherry picked from commit 293dac30b9955d64cff74f3d31138950cc6bfafe)
DeltaFile
+6-0usr.sbin/bhyve/pci_virtio_console.c
+6-01 files

FreeBSD/ports 47bebd1 — mail/tidemail Makefile distinfo

mail/tidemail: Update to 1.11.0
DeltaFile
+5-5mail/tidemail/distinfo
+1-1mail/tidemail/Makefile
+6-62 files

FreeBSD/src 45dbec2 — sys/compat/linux linux_elf.c, sys/kern imgact_elf.c

linux: Fix handling of an empty argv

proc_getargv() can return an sbuf with length zero.  In the Linux
note_prpsinfo() handler, this would cause "len" to underflow to -2,
resulting in a giant out-of-bounds memchr() loop.

There is no reason to subtract anything from the sbuf length to begin
with, the nul terminator is not included there.  Simplify the code to
fix this bug, and modify the native note handler to match.

Reported by:    Laam Alif at Ibteda Digital Library
Fixes:          00d17cf342cd ("elf_note_prpsinfo: handle more failures from proc_getargv()")
Reviewed by:    des, kib
MFC after:      1 week
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D62449
DeltaFile
+4-7sys/compat/linux/linux_elf.c
+3-6sys/kern/imgact_elf.c
+7-132 files

FreeBSD/src 8acb50d — usr.sbin/bhyve uart_backend.c

bhyve: disable SIGPIPE for TCP uart backend

Currently, if a TCP uart client disconnects while the guest is writing
to the serial port, a subsequent write to the socket raises SIGPIPE and
kills the VM.

Set SO_NOSIGPIPE on the listening socket to prevent that. Accepted
connections inherit it.

Reviewed by:    markj
Fixes:          1f903953fbf8 ("bhyve: Add raw tcp to uart backend")
MFC after:      3 days
MFC to:         stable/15
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D62215

(cherry picked from commit cbfe766aac6f316007438c9f5557dd0c99bcbad3)
DeltaFile
+4-0usr.sbin/bhyve/uart_backend.c
+4-01 files

FreeBSD/src daff3ca — usr.sbin/bhyve pci_virtio_console.c

bhyve: disable SIGPIPE for vtcons

Currently, if a virtio-console socket client closes the connection or
shuts down the read side, the next guest write to the socket
raises SIGPIPE and kills the VM.

Set SO_NOSIGPIPE on this socket to prevent that.

Reviewed by:    markj
Fixes:          13ee8dde0409 ("Add virtio-console support to bhyve.")
MFC after:      3 days
Sponsored by:   The FreeBSD Foundation
Differential Revision:  https://reviews.freebsd.org/D62216

(cherry picked from commit 293dac30b9955d64cff74f3d31138950cc6bfafe)
DeltaFile
+6-0usr.sbin/bhyve/pci_virtio_console.c
+6-01 files

FreeBSD/ports 893a07c — emulators/vita3k Makefile

emulators/vita3k: Restrict to aarch64 and amd64

Fails to build on i386 with "error: invalid argument type 'uint128' to
unary expression" message.

Reported by:    pkg-fallout
Approved by:    arrowd (co-mentor)
DeltaFile
+3-0emulators/vita3k/Makefile
+3-01 files

FreeBSD/ports 5916813 — www/radicale Makefile distinfo

www/radicale: Update to 3.9.3
DeltaFile
+3-3www/radicale/distinfo
+1-2www/radicale/Makefile
+4-52 files

FreeBSD/ports ab76e09 — security/vouch-proxy Makefile distinfo

security/vouch-proxy: Update to 0.51.0
DeltaFile
+5-5security/vouch-proxy/distinfo
+1-2security/vouch-proxy/Makefile
+6-72 files

FreeBSD/ports 4bb9636 — sysutils/fwupd Makefile distinfo

sysutils/fwupd: Update to 2.1.10
DeltaFile
+13-3sysutils/fwupd/pkg-plist
+3-3sysutils/fwupd/distinfo
+1-2sysutils/fwupd/Makefile
+17-83 files

FreeBSD/ports df1bcaa — lang/dotnet/files patch-src_runtime_src_native_libs_System.Security.Cryptography.Native_opensslshim.c

lang/dotnet: Teach .NET about OpenSSL 3.5 on FreeBSD 15+

Not bumping PORTREVISION yet because bootstraps need to be re-rolled for this
change to take effect.

PR:             301034
DeltaFile
+15-0lang/dotnet/files/patch-src_runtime_src_native_libs_System.Security.Cryptography.Native_opensslshim.c
+15-01 files

FreeBSD/ports 001d74f — sysutils/azure-pipelines-agent Makefile distinfo, sysutils/azure-pipelines-agent/files patch-src_Agent.Worker_Container_DockerCommandManager.cs patch-src_Agent.Plugins_GitCliManager.cs

sysutils/azure-pipelines-agent: New port
DeltaFile
+435-0sysutils/azure-pipelines-agent/pkg-plist
+340-0sysutils/azure-pipelines-agent/files/patch-src_Agent.Worker_Build_GitCommandManager.cs
+263-0sysutils/azure-pipelines-agent/files/patch-src_Agent.Plugins_GitCliManager.cs
+243-0sysutils/azure-pipelines-agent/distinfo
+194-0sysutils/azure-pipelines-agent/Makefile
+157-0sysutils/azure-pipelines-agent/files/patch-src_Agent.Worker_Container_DockerCommandManager.cs
+1,632-054 files not shown
+2,922-060 files