powerpc/powernv: keep OPAL async messages within one page
opal_wait_completion() gives firmware the physical address of the
caller's buffer, and firmware copies the whole message there. The
callers keep the buffer on the stack, and the pages of a kernel stack
aren't physically contiguous, so a message that crosses a page boundary
ends up partly in some unrelated page.
Use a local buffer that can't cross a page and copy it to the caller.
Reported by: llm-postcr
Approved by: jhibbits (blanket)
MFC after: 1 week
misc/mbuffer: Update to 20261024
Changes according to the ChangeLog in the distribution tar ball:
20261024:
- build fix: dependency generation lacks CPPFLAGS
[LLVM] Migrate call-sites w/o CtxI to new computeSignBits API (#249011)
Migrate to the new computeSignBits SimplifyQuery API in all cases except
when a context-instruction is supplied, defering the issue of safeCtxI
for a follow-up. The SCEV test change can be explained by UseInstrInfo
due to the construction of SQ: there are surely other functional changes
that could be covered with new tests, but we have chosen not to include
new tests.
Assisted-by: llm
[AArch64] Fix immediate cost in numberOfInstrToLoadImm (#249199)
The immediate was being treated as 32 bits, even if the original imm was
64, producing the wrong costs for converting conditions to cheaper
immediates. Fixes #248733
security/keychain: update to 3.0.10
# changes (since 2.9.8)
## 3.0.10
Keychain 3.0.10 fixes a macOS startup regression introduced in 3.0.9.
- macOS can display some process owners, including `nobody`, as negative user IDs. Keychain's stricter process-list validation rejected these legitimate entries, aborting startup even when the process was unrelated to your SSH agent. Keychain now interprets these IDs correctly on macOS, without relaxing process-ID validation or changing discovery on other platforms (#279).
- Added regression tests and a live macOS test covering agent startup, reuse and shutdown while a `nobody` process is running.
Thanks to David Harrigan (@dharrigan) for reporting the regression and @asterbini for identifying the signed-ID parsing problem.
## 3.0.9
Keychain 3.0.9 makes everyday shell startup faster and more dependable across operating systems, with more reliable agent discovery and tighter checks on saved state and command arguments.
- Reduced startup overhead, particularly for commands that do not load keys. On Linux, Keychain now reads process information directly from `/proc`, avoiding the cost of launching `ps` and working without it on minimal systems such as BusyBox-based installations.
- Some Linux and Android configurations hide running SSH agents from process listings, causing Keychain to reject an otherwise usable agent. Keychain can now reuse a responding, user-owned socket when the recorded PID is alive but its details are inaccessible. `keychain inspect` explains this restriction; stopping an agent still requires verifying its process identity (#270).
[189 lines not shown]
devel/py-wsgitools: Fix with Python 3.12+
cgitb was removed in Python 3.13, breaking wsgitools.middlewares;
depend on www/py-legacy-cgi there. asyncore was removed in Python
3.12; it is used only by the leaf module wsgitools/scgi/asynchronous.py
(the asyncore-based SCGI server), which nothing else imports, so drop
that module on 3.12 and later.
Also backport three fixes from upstream's tree, which has had no
release since 0.3.1:
- encode the cgitb HTML page in TracebackMiddleware, which otherwise
returns str instead of bytes on every Python 3 (b12055c53b09);
- return False from AbstractTokenGenerator.check_password() for a user
without a token instead of passing None to compare_digest(), which
raised TypeError, e.g. for a Basic auth login with an unknown user
name (370715e647f2);
- re-raise the exc_info passed to start_response() itself instead of
constructing a new exception from its class, which raised TypeError
for exceptions whose constructor takes other arguments and hid the
[10 lines not shown]
x11-toolkits/fox17: Update to 1.7.95
Bump PORTREVISION on consumers. Since this is a development version,
rebuild is required even for patch releases due to ABI incompatibility.
Drop openjpeg support. This relied on an extremely old version of
openjpeg and the "modern" openjpeg is no longer maintained. This
seems to be the last port that needed graphics/openjpeg15, so it
can go the way of the dodo. [1]
http://www.fox-toolkit.org/news.html
PR: 301259
lang/python312: fix on aarch64
'from _ctypes import Structure' fails on arm64 due to GCC_4.6.0 mismatch in _ctypes.cpython-312.so
This causes further failures in many Python packages on aarch64, particularly in scipy.
This has been a problem for at least several months.
PR: 299238
Approved by: portmgr@ (unbreak; blanket)
devel/py-wsgitools: Fix with Python 3.12+
cgitb was removed in Python 3.13, breaking wsgitools.middlewares;
depend on www/py-legacy-cgi there. asyncore was removed in Python
3.12; it is used only by the leaf module wsgitools/scgi/asynchronous.py
(the asyncore-based SCGI server), which nothing else imports, so drop
that module on 3.12 and later.
Also backport three fixes from upstream's tree, which has had no
release since 0.3.1:
- encode the cgitb HTML page in TracebackMiddleware, which otherwise
returns str instead of bytes on every Python 3 (b12055c53b09);
- return False from AbstractTokenGenerator.check_password() for a user
without a token instead of passing None to compare_digest(), which
raised TypeError, e.g. for a Basic auth login with an unknown user
name (370715e647f2);
- re-raise the exc_info passed to start_response() itself instead of
constructing a new exception from its class, which raised TypeError
for exceptions whose constructor takes other arguments and hid the
[9 lines not shown]
www/opengist: Improve port
* Adjust port Makefile to more closely follow Porters Handbook
PORTVERSION --> DISTVERSION
* Don't extract webdist archive twice by defining EXTRACT_ONLY
* Define LICENSE_FILE
* Set CGO_ENABLED to 0
* Remove GO_ENV, builds fine without
* Use GO_LDFLAGS
* Adjust post-extract to better utilize the framework and only
extract when needed
* Remove limitation to aarch64 and amd64, i386 builds fine and
likely other archs too
* Bump PORTREVISION
PR: 301014
Reported by: Daniel Engberg <diizzy at FreeBSD.org>
(cherry picked from commit d9f508aad31b3dfabe272cb71dfdffa5198040d5)
devel/py-pyface: Migrate to Qt6
- use PySide6 as the Qt6 binding [1]
- add tests: 1330 pass with Xvfb, two modules skipped because they hang
PR: 301408
Reported by: makc [1]
MFH: 2026Q4
[SPARC] Address objects relative to %sp when far away from %fp (#248810)
Frame objects are addressed relative to %fp. When an access is out of
immediate range from %fp, its address is built with multiple
instructions even if the object is close to %sp. Use %sp instead when
the offset fits there and the call frame is reserved, so that %sp does
not move.
Assisted-by: Claude
[SPARC] Add the LEON5 STBAR options to the assembler (#240762)
LEON5 uses unused bits of the STBAR instruction to implement
functionality similar to the MEMBAR instruction in SPARC V9. It also
provides a write-combining hint for the following store.
Assisted-by: Claude