sysutils/leaf: Add port: Terminal-based Markdown previewer with a GUI-like experience
leaf is a terminal-based Markdown previewer that brings a GUI-like
experience to your command line. It renders Markdown files with rich
formatting, syntax highlighting, LaTeX math, Mermaid diagrams, and
more - all without leaving your terminal.
WWW: https://leaf.rivolink.mg/
devel/simavr: fix build on FreeBSD 15.1
Starting with FreeBSD 15.1, we define the macro strdupa() in <string.h>.
The software defines its own copy. Respect its wishes and #undef our
macro to fix the build.
MFH: 2026Q2
(cherry picked from commit ac442b50ab68222476d652af9802a64eef71fd33)
games/regoth: fix build on !x86
No SSE2 on !x86, so don't try to use it.
This may need to be adjusted for ppc, and possinle sse2neon can be used
on ARM targets.
MFH: 2026Q2
(cherry picked from commit 5a85ce841695566e9bf0c6057531226a9f195498)
games/regoth: fix build on !x86
No SSE2 on !x86, so don't try to use it.
This may need to be adjusted for ppc, and possinle sse2neon can be used
on ARM targets.
MFH: 2026Q2
devel/simavr: fix build on FreeBSD 15.1
Starting with FreeBSD 15.1, we define the macro strdupa() in <string.h>.
The software defines its own copy. Respect its wishes and #undef our
macro to fix the build.
MFH: 2026Q2
graphics/colmap: update to 4.1.0
- comes with a new GPU-based backend (caspar) which I haven't
hooked up for now.
- disable the ONNX option on i386 to have the port build there
Changelog: https://github.com/colmap/colmap/releases/tag/4.1.0
benchmarks/imb: not for 32 bit architectures
The code bases uses %lu or PRIu64 to print size_t values in various
places. Elsewhere it assumes size_t is 64 bits, such as when
evaluating ((size_t)1) << IMB_P2P_MAX_MSG_LOG where
IMB_P2P_MAX_MSG_LOG is greater than 31.
Approved by: portmgr (build fix blanket)
MFH: 2026Q2
loopback: improve checksum offloading
* Allow disabling IFCAP_RXCSUM_IPV6 or IFCAP_TXCSUM_IPV6.
* Do not pretend the checksum is correct by setting the LO_CSUM_SET
flags if IFCAP_RXCSUM_IPV6 or IFCAP_RXCSUM is enabled. Instead,
remove the LO_CSUM_SET flags (in case they have been set somehow)
if IFCAP_RXCSUM_IPV6 or IFCAP_RXCSUM is disabled.
* Do not unset the transmit checksum offload flags LO_CSUM_FEATURES or
LO_CSUM_FEATURES6 since they now have a meaning for the receive path.
Reviewed by: glebius, pouria, tuexen
Okayed by: bz
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D57518
virtio_pci_modern: Remove endianness conversion for config space
The bus_* functions already handle converting from PCI endianness
(i.e. little-endian) to native endianness when accessing the config
space (see ofw_pcib_bus_get_bus_tag), so converting again with
virtio_htogX/virtio_gtohX undoes any byte-swapping and breaks
big-endian systems. They should only be used for operating on shared
memory.
Note part of this reverts commit fb53b42e36a9 ("virtio-modern: fix PCI
common read/write functions on big endian targets").
PR: 294706
Reviewed by: adrian, tuexen
Fixes: fb53b42e36a9 ("virtio-modern: fix PCI common read/write functions on big endian targets")
Fixes: 9da9560c4dd3 ("virtio: Add VirtIO PCI modern (V1) support")
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D57392
adduser: Normalize supplemental groups
Rather than insist on a space-separated list, normalize the input so
that any number of spaces, commas, colons, or semicolons are accepted.
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D57774
(cherry picked from commit 65fba082f44cb9451d2b12bcd99c3287d0a47acc)
rc: Improve load_kld
* Centralize the usage message.
* Document and enforce that -e and -m are mutually exclusive; previously,
speficying both would result in only -e being applied.
* If -e was not specified, and -m was not specified or did not match,
fall back to `kldstat -n file` which will always work for modules that
aren't built into the kernel.
This means the kld and ntpd scripts can now rely on load_kld to dtrt.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57706
(cherry picked from commit a95d324dd3107afcbc16767d183acca7a57ebca9)
rc: Fix improper use of load_kld
Fix scripts that needlessly used -e when the simpler -m would work, or
that used -m when the module and file name are the same, or, in one
particularly egregious case, used -m with the wrong name when using
nothing at all would have worked just fine.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57705
(cherry picked from commit cfe1962a19259fea8f51673f4da6c96656776486)
rc: Make devmatch use load_kld
The default behavior of load_kld is now robust enough for devmatch.
Switching means settings from /etc/sysctl.kld.d are now properly applied
when the corresponding modules are loaded by devmatch.
While here, reduce the amount of output produced by devmatch from one
line per module to a single line.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57707
(cherry picked from commit b9f616d031566e94e6967a2c533b8aa7f36123b9)
adduser: Normalize supplemental groups
Rather than insist on a space-separated list, normalize the input so
that any number of spaces, commas, colons, or semicolons are accepted.
Reviewed by: bcr
Differential Revision: https://reviews.freebsd.org/D57774
(cherry picked from commit 65fba082f44cb9451d2b12bcd99c3287d0a47acc)
rc: Make devmatch use load_kld
The default behavior of load_kld is now robust enough for devmatch.
Switching means settings from /etc/sysctl.kld.d are now properly applied
when the corresponding modules are loaded by devmatch.
While here, reduce the amount of output produced by devmatch from one
line per module to a single line.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57707
(cherry picked from commit b9f616d031566e94e6967a2c533b8aa7f36123b9)
rc: Fix improper use of load_kld
Fix scripts that needlessly used -e when the simpler -m would work, or
that used -m when the module and file name are the same, or, in one
particularly egregious case, used -m with the wrong name when using
nothing at all would have worked just fine.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57705
(cherry picked from commit cfe1962a19259fea8f51673f4da6c96656776486)
rc: Improve load_kld
* Centralize the usage message.
* Document and enforce that -e and -m are mutually exclusive; previously,
speficying both would result in only -e being applied.
* If -e was not specified, and -m was not specified or did not match,
fall back to `kldstat -n file` which will always work for modules that
aren't built into the kernel.
This means the kld and ntpd scripts can now rely on load_kld to dtrt.
MFC after: 1 week
Reviewed by: imp
Differential Revision: https://reviews.freebsd.org/D57706
(cherry picked from commit a95d324dd3107afcbc16767d183acca7a57ebca9)
databases/turso: New port
Turso is an open-source, SQLite-compatible database written in Rust that
lets developers create millions of small, file-based databases for AI
agents, multi-tenant SaaS applications, and edge workloads.
Unlike traditional databases that run as a single shared server process,
Turso treats each database as a lightweight file that can be spun up
instantly, replicated globally, or synced to a device.
emulators/flexemu: Update to 3.32
- Floating toolbar in fullscreen mode
- hex2flex converts Intel Hex or Motorola S-Record File to FLEX binary file(s)
- Add README to ${DATADIR}
- Several new features and many bugfixes
Changelog: https://github.com/aladur/flexemu/commit/f671c5219c858bf1160f4260517710109b60a2ff
Reported by: portscout, Repology