mail/stalwart-cli: Update 2.0.0 => 2.0.1
Changelog:
https://github.com/stalwartlabs/cli/blob/v2.0.1/CHANGELOG.md
While here, update COMMENT, WWW and pkg-descr: upstream now calls
the product Stalwart Mail and Collaboration Server, 2.0.0 added an
interactive console, and the CLI has its own documentation page.
PR: 301269
libsys: link internal copies of fls*(3), str*(3), and mem*(3) functions used by libsys
To avoid undef symbols which get resolved from libc.
Reviewed by: brooks, jrtc27
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131
libsys: do not link in csu, and compile as freestanding
This is a library below implementation of the C runtime. It should not
(and really cannot) use any of that.
In particular, libsys no longer has undef __cxa_finalize.
Reviewed by: brooks, jrtc27
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131
libsys: this is libsys, not libc
Reviewed by: brooks, jrtc27
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131
libsys: avoid depending on libc _once()
The __init_elf_aux_vector() function is idempotent, so do not bother
ensuring a single call. Just tolerate a possible race.
Reviewed by: brooks, jrtc27 (previous version)
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Differential revision: https://reviews.freebsd.org/D62131
net-im/purple-gowhatsapp: Upgrade 1.26 => 1.28
Upstream changes since 1.26:
- secret encrypted messages are decrypted;
- message deletions are described;
- link previews show their title and description;
- names of subscribed channels are fetched;
- polls can be voted in;
- attached locations and contact cards are displayed;
- WebP images are sent as stickers;
- captions are escaped and file names sanitized;
- downloads work on file systems without fallocate;
- assorted memory leak and crash fixes.
https://github.com/hoehermann/purple-gowhatsapp/blob/v1.28.0/CHANGELOG.md
Update all Go dependencies to their latest versions, including
qrterminal's new major version v4, whose API the plugin uses unchanged.
PR: 301247
Co-Authored-By: Claude Opus 5.5 (effort medium)
vm_pageout: Recheck PGA_SWAP_FREE after locking
vm_pageout_scan_active() reads PGA_SWAP_FREE without the object lock,
and once VM_OBJECT_TRYWLOCK() succeeds it calls
vm_pager_page_unswapped() without rereading the flag. In between,
another thread can move the page to the laundry, e.g., by performing
madvise(MADV_DONTNEED) on a dirty page, where swap_pager_putpages()
clears PGA_SWAP_FREE and assigns a new swap block. Then, the scan frees
that block, perhaps while the write to it is still in flight, and the
page's contents are lost or corrupted.
Recheck the flag with the object locked, and document the rule where
the flag is defined.
Found by: Claude Code (Opus 5.5)
Reviewed by: kib, markj
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D62202
security/yubioath-desktop: Deprecate and set to expire
Legacy Qt5 release depends on EOL Qt 5 with no Qt 6 migration path
(upstream rewrote Yubico Authenticator in Flutter, which is not
currently supported on FreeBSD).
Set EXPIRATION_DATE=2027-04-01 to align with planned Qt 5 removal.
Suggested by: makc (in D62203)
security/yubikey-manager-qt: Deprecate and set to expire
Archived upstream (replaced by Yubico Authenticator) and depends on
unsupported Qt 5 with no Qt 6 migration path.
Set EXPIRATION_DATE=2027-04-01 to align with planned Qt 5 removal.
Suggested by: makc (in D62203)
devel/pyotherside: Add qt5 flavor and unbreak YubiKey ports
Commit eb5a74ac2cf3 switched devel/pyotherside to Qt6-only, breaking
downstream Qt5 consumers that have no Qt6 migration path
(security/yubikey-manager-qt is archived upstream, and
security/yubioath-desktop was rewritten in Flutter which is not
currently viable on FreeBSD).
- Flavorize devel/pyotherside with qt6 (default) and qt5 (deprecated).
- Update MOVED to point devel/pyotherside-qt5 to devel/pyotherside at qt5.
- Point YubiKey consumers to devel/pyotherside at qt5 and bump PORTREVISION.
Reported by: antoine (via e-mail)
Reviewed by: makc
Fixes: eb5a74ac2cf3 ("devel/pyotherside-qt5: Update and switch to Qt6")
Differential Revision: https://reviews.freebsd.org/D62203
i386/sdt: Use a single NOP for disabled probes
As on amd64, a disabled tracepoint must be a single instruction, so
that a thread cannot be interrupted inside it and resume in the middle
of the jump written when the probe is enabled. On i386, both
_SDT_ASM_PATCH_INSTR and sdt_tracepoint_restore() used five one-byte
NOPs.
Use "leal %ds:0(%esi,%eiz,1), %esi" (3e 8d 74 26 00) instead. The
multi-byte NOP (0f 1f) is avoided because i386 GENERIC still supports
CPUs without it.
Tested on stable/15 i386 under bhyve with a reproducer that toggles a
probe while other CPUs run its sites.
Reviewed by: markj
MFC after: 1w
Co-authored-by: Claude Opus 5.5
Differential Revision: https://reviews.freebsd.org/D62198
rtwn: added support for Realtek RTL8192FU chipset
Added support for Realtek RTL8192FU chipset using rtwn driver.
* Used Linux's rtl8xxxu driver for reference.
* New registers derived from it are saved in r92f_reg.h.
* Current additions include:
IQ/LC calibration, channel configuration, LED configuration.
* Firmware image added as uuencoded rtwn-rtl8192fufw.fw.uu with a new
rtwnfw/rtwnrtl8192fu module.
Sponsored by: Alchemilla Ventures Private Limited
Reviewed by: adrian
Differential Revision: https://reviews.freebsd.org/D61728
hid: Increase HID_ITEM_MAXUSAGE to 32
I have a Logitech mouse that reports 16 buttons. Bump to 32 to be a
little more future proof. This increases the size of struct hid_item
but this struct is not exported to userland.
Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D59273
(cherry picked from commit 5cc15fef2656b078982d453b8915379b47ff0e88)
hid: Increase HID_ITEM_MAXUSAGE to 32
I have a Logitech mouse that reports 16 buttons. Bump to 32 to be a
little more future proof. This increases the size of struct hid_item
but this struct is not exported to userland.
Reviewed by: wulf
Differential Revision: https://reviews.freebsd.org/D59273
(cherry picked from commit 5cc15fef2656b078982d453b8915379b47ff0e88)
powerpc: Add first Linuxulator support (ELFv1, BE, powerpc64)
Introduce the first cut of the Linuxulator for powerpc64. This was a
GSoC project for 2022, and consists of the following:
* ELFv1
* Limited shared page (no timekeep fallback)
* Most, if not all, syscalls are implemented, all common ones, no
arch-specific ones.
At completion of the GSoC period this was able to run through the LTP
test suite, with a very high pass rate. More work remains, as always,
and will be done as needed.
Further work is still necessary, but this lays the groundwork. Expected
future work includes:
* ELFv2
* 32-bit support (running legacy Linux applications)
[4 lines not shown]