archivers/unhare: new port
unhare extracts the filesystem that Bun embeds in a standalone
executable. It finds the bundle through the ELF section holding it, or
by scanning the whole file where there is no such section -- which is
what the Mach-O and PE executables Bun builds on other systems need --
and writes the bundled modules out as ordinary files.
PR: 298005
evdev: map ChromeOS "Vivaldi" top-row action keys
Chromebook keyboards driven by the ChromeOS EC emit the top-row action
keys as scancode set 1 codes 0xE0 0x11 - 0xE0 0x1E (see the codeset 1
comments on the SCANCODE_* enum in chrome-ec
include/keyboard_8042_sharedlib.h). The e0 half of the
evdev_scancode2key() translation table leaves eleven of those at NONE,
so on FreeBSD those keys emit no evdev event at all and userspace
remappers such as keyd have nothing to bind to:
e0 11 fullscreen KEY_ZOOM
e0 12 overview KEY_SCALE
e0 13 screenshot KEY_SYSRQ
e0 14 brightness down KEY_BRIGHTNESSDOWN
e0 15 brightness up KEY_BRIGHTNESSUP
e0 16 privacy screen toggle KEY_PRIVACY_SCREEN_TOGGLE
e0 17 kbd backlight down KEY_KBDILLUMDOWN
e0 18 kbd backlight up KEY_KBDILLUMUP
e0 1a play/pause KEY_PLAYPAUSE
[13 lines not shown]
net-mgmt/semaphore: fix rc script config path
The rc script defaulted to semaphore_config.json, but the port installs
config.json, so the service did not start on a fresh installation.
Installations that created semaphore_config.json by hand can keep it via
semaphore_config in rc.conf.
Reported by: Niclas Wagner (via private mail)
Approved by: portmgr (runtime fix blanket)
Sponsored by: Netzkommune GmbH
manpages: Convert links from http to https when valid
Many of our man pages contain links to websites that are still using
http. Convert them to use https. I skipped those that:
- were not available anymore,
- did not provide an SSL page,
- had caused an SSL validation error,
- were not the original link anymore (i.e. aquisition)
- where the site structure had changed, causing 404s on the new site
Event: EuroBSDcon 2026
Reviewed by: carlavilla (very fast, thanks for that)
Differential Revision: https://reviews.freebsd.org/D59629
Revert "firewall: fix loopback address in private defintions; closes #10694"
This reverts commit 9bac2b8a75f3f218e252a1ca2092c2566291790f.
Since we want to get rid of treating loopback as private and push it to
bogons and this was already broken do not try to repair it.
glabel.8: clarify volume labels, metadata identifiers, and generic GEOM labels
Change description of manual page to add precision. Split out
filesystem, GPT and GEOM labels. Give an example for each filesystem
for the program to show how to set a label. Clarify examples and use ada
device names consistently.
PR: 262207
Differential Revision: https://reviews.freebsd.org/D51030
firewall: remove handling looback addresses as "private"
Loopbacks are not "private" in the traditional sense and will be handled
by bogons in the near future to more closely align with the upstream bogon
source.
sendfile(2): rework compat implementation
Rename the sendfile() function to kern_sendfile(), expand the arguments
previously passed in struct sendfile_args, and extend with two function
pointer arguments to copy in the header/trailer structure and the
create uio's for the header and trailer as required. Use this to allow
the removal of freebsd32_do_sendfile() which was a nearly identical
duplicate of sendfile() with attendant maintenance cost.
Reviewed by: kib, markj
Effort: CHERI upstreaming
Sponsored by: Innovate UK
Differential Revision: https://reviews.freebsd.org/D59034
go14: fix build on FreeBSD with ASLR enabled
The package lang/go14 used for bootstrapping Go fails to build on
FreeBSD with ASLR enabled. Fix by Sean Hickey in PR pkg/59620.
[CMake] Disable linker version scripts for Emscripten (#221647)
Emscripten reports itself as a Unix-like CMake platform, causing LLVM to
set `LLVM_HAVE_LINK_VERSION_SCRIPT` and pass GNU/ELF `--version-script`
options when linking shared libraries.
Emscripten uses `wasm-ld`, which does not support GNU version scripts
and currently reports:
```
em++: warning: ignoring unsupported linker flag: `--version-script`
```
Treat Emscripten like the other platforms without version-script
support. This prevents LLVM and Clang shared-library targets from
passing an unsupported linker option.
This was encountered while building LLVM 23.1.0 for both wasm32 and
wasm64 with Emscripten 6.x in emscripten-forge.
```
[ 45%] Building CXX object tools/clang/lib/Sema/CMakeFiles/obj.clangSema.dir/SemaExceptionSpec.cpp.o
[7 lines not shown]
audio/libg722: Update to 1.2.8
* Use upstream release archive as recommended by Porters Handbook
* Convert to using USES= cmake:testing helper
Initially submitted by Herbert J. Skuhra <herbert at gojira.at>
PR: 297204