HardenedBSD/src 2ee4aa9sbin/init ttys, sys/conf options

Merge remote-tracking branch 'origin/hardened/current/master' into hardened/current/cross-dso-cfi
DeltaFile
+39-3sys/dev/uart/uart_dev_ns8250.c
+14-14sbin/init/ttys
+4-0sys/conf/options
+1-1sys/sys/buf.h
+1-0sys/net/if_vlan.c
+59-185 files

HardenedBSD/src 35d7753sbin/init ttys, sys/conf options

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+39-3sys/dev/uart/uart_dev_ns8250.c
+14-14sbin/init/ttys
+4-0sys/conf/options
+1-1sys/sys/buf.h
+1-0sys/net/if_vlan.c
+59-185 files

HardenedBSD/src af26c2asys/kern kern_syscalls.c

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+8-2sys/kern/kern_syscalls.c
+8-21 files

HardenedBSD/ports a93db25net-p2p/transmission-components Makefile, net-p2p/transmission-components/files patch-CMakeLists.txt patch-cmake_TrMacros.cmake

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+296-18net-p2p/transmission-components/files/patch-CMakeLists.txt
+85-144net-p2p/transmission-components/Makefile
+146-0net-p2p/transmission-components/files/patch-cmake_TrMacros.cmake
+97-0net-p2p/transmission-components/files/patch-cmake_Findlibutp.cmake
+92-0net-p2p/transmission-components/files/patch-cmake_FindLibevent.cmake
+76-0net-p2p/transmission-components/files/patch-cmake_Findlibdeflate.cmake
+792-162112 files not shown
+1,741-589118 files

HardenedBSD/ports 7e50eb8net/cloud-init-devel Makefile

net/cloud-init-devel: Deprecate and set expiration date to 2026-03-31

Currently unmaintained and years behind net/cloud-init

Reference: https://reviews.freebsd.org/D48959
DeltaFile
+3-0net/cloud-init-devel/Makefile
+3-01 files

HardenedBSD/ports 7838592security/vuxml/vuln 2026.xml

security/vuxml: Add openexr < 3.4.5

Security:       716d25a6-0fdc-11f1-bfdf-ff9355aecb00
DeltaFile
+27-0security/vuxml/vuln/2026.xml
+27-01 files

HardenedBSD/ports 56907a7www/restinio/files patch-restinio_CMakeLists.txt

www/restinio: Fix detection of llhttp's shared library

Upstream refers to it as llhttp_shared not llhttp_dynamic

Reference:
https://github.com/nodejs/llhttp/blob/release/v9.3.0/CMakeLists.txt#L96

Approved by:    blanket (just fix it)
DeltaFile
+15-0www/restinio/files/patch-restinio_CMakeLists.txt
+15-01 files

HardenedBSD/ports 6b50d38graphics/openexr Makefile distinfo, graphics/openexr-website-docs distinfo Makefile

graphics/openexr*: Security update to v3.4.5 and i386 fix

"Patch release that fixes an incorrect size check in
istream_nonparallel_read that could lead to a buffer overflow on invalid
input data."

Also fix i386 self-tests by adding -msse2: i386 builds require SSE2, but
the upstream cmake stuff does not enable this, so use CFLAGS_i386.

To prevent people seeing SIGILL crashes down late at run-time,
check if the CPU is sse2-capable by querying the clang compiler from
the pre-install script (pkg-plist's @preexec). Suggested by diizzy@.
  Other than that we could use the cpuid or the lscpu port instead, but
let's for now assume everything that wants to run OpenEXR also has a
working cc that is clang and has -march=native and gives us CPU details).
(GCC also gives us this but will use a different output format.)

While here, make failed tests verbose through ctest's environment so we
can see what's up from the build log already. (We need to go through

    [6 lines not shown]
DeltaFile
+15-2graphics/openexr/Makefile
+3-3graphics/openexr/distinfo
+3-3graphics/openexr-website-docs/distinfo
+1-1graphics/openexr-website-docs/Makefile
+1-0graphics/openexr/pkg-plist
+23-95 files

HardenedBSD/ports 13ac3b3multimedia/mediamtx distinfo Makefile

multimedia/mediamtx: Update to 1.16.2

Changelog: https://github.com/bluenviron/mediamtx/releases/tag/v1.16.2
DeltaFile
+7-7multimedia/mediamtx/distinfo
+2-2multimedia/mediamtx/Makefile
+9-92 files

HardenedBSD/ports bbc5bc5databases/sqlcipher Makefile

databases/sqlcipher: Bump PORTREVISION after fix consumers

PR:     292688
DeltaFile
+1-0databases/sqlcipher/Makefile
+1-01 files

HardenedBSD/ports 0ddb967databases/sqlcipher Makefile pkg-plist, databases/sqlcipher/files patch-autosetup_sqlite-config.tcl

databases/sqlcipher: Fix consumers

Rename installed files from *sqlite3* back to *sqlcipher*.
Unbreak consumers:
- finance/kmymoney
- finance/skrooge
- net-im/gurk-rs
- net-im/qTox
- net-p2p/retroshare
- databases/py-sqlcipher3

While here improve port:
- Use USES=localbase instead of CFLAGS+=-I${LOCALBASE}/include and
  LDFLAGS+=-L${LOCALBASE}/lib.
- Split long lines.
- Fix warnings from portclippy.
- Sort CONFIGURE_ARGS and CPPFLAGS.

PR:             292688

    [2 lines not shown]
DeltaFile
+28-11databases/sqlcipher/Makefile
+9-9databases/sqlcipher/pkg-plist
+17-0databases/sqlcipher/files/patch-autosetup_sqlite-config.tcl
+54-203 files

HardenedBSD/ports 9ede2adnet-im/nchat distinfo Makefile

net-im/nchat: update: 5.12.21 ->  5.13.17

ChangeLog:      https://github.com/d99kris/nchat/compare/v5.12.21...v5.13.17

Sponsored by:   tipi.work
DeltaFile
+3-3net-im/nchat/distinfo
+1-1net-im/nchat/Makefile
+4-42 files

HardenedBSD/ports 3862afaemulators/virtualbox-ose Makefile, emulators/virtualbox-ose-70 Makefile

emulators/virtualbox-ose{,-70,-71,-72,-legacy}: Improve port (non-functional)

- Replace ${PREFIX}/share/applications with ${DESKTOPDIR}.
- Replace "*" with . in COPYTREE_SHARE.
DeltaFile
+3-3emulators/virtualbox-ose-legacy/Makefile
+3-3emulators/virtualbox-ose-72/Makefile
+3-3emulators/virtualbox-ose-70/Makefile
+3-3emulators/virtualbox-ose-71/Makefile
+3-3emulators/virtualbox-ose/Makefile
+15-155 files

HardenedBSD/ports 4f2ef91emulators/virtualbox-ose pkg-plist, emulators/virtualbox-ose-70 pkg-plist Makefile

emulators/virtualbox-ose*: Add support of "Unattended Installation of Guest OS" feature

Install files required by Unattended Installation of Guest OS feature.
These files were already prepared during the ports' build, so just add
them to the installation.

Details about this feature are here:
https://www.virtualbox.org/manual/topics/create-vm.html#tk_create-vm-unattended-install

Reported by:    xin3qu via IRC (#freebsd-vbox @ Libera.Chat)
DeltaFile
+24-0emulators/virtualbox-ose-72/pkg-plist
+24-0emulators/virtualbox-ose-71/pkg-plist
+22-0emulators/virtualbox-ose-70/pkg-plist
+14-0emulators/virtualbox-ose-legacy/pkg-plist
+14-0emulators/virtualbox-ose/pkg-plist
+4-2emulators/virtualbox-ose-70/Makefile
+102-29 files not shown
+123-1515 files

HardenedBSD/ports c1fefb8math/octave-forge-linear-algebra distinfo Makefile

math/octave-forge-linear-algebra: Update to 2.2.4.
DeltaFile
+3-3math/octave-forge-linear-algebra/distinfo
+1-2math/octave-forge-linear-algebra/Makefile
+4-52 files

HardenedBSD/ports da4dad1x11-drivers/xlibre-drivers Makefile, x11-drivers/xlibre-xf86-video-ast Makefile

*/*: Update maintainer email to xlibre at FreeBSD.org

- Add powerpc64le to x11-drivers/xlibre-xf86-video-ast port
DeltaFile
+3-3x11-drivers/xlibre-xf86-video-ast/Makefile
+3-2x11-servers/xlibre-server/Makefile
+3-2x11-drivers/xlibre-drivers/Makefile
+3-2x11-servers/xlibre-ephyr/Makefile
+3-2x11-servers/xlibre-nest/Makefile
+3-2x11-servers/xlibre-vfb/Makefile
+18-1323 files not shown
+65-4029 files

HardenedBSD/ports ab05146net/asterisk20 distinfo Makefile

net/asterisk22: Update 20.18.1 => 20.18.2

Security Advisories Resolved: 4
- GHSA-85x7-54wr-vh42: Asterisk xml.c uses unsafe XML_PARSE_NOENT
  leading to potential XXE Injection.
- GHSA-rvch-3jmx-3jf3: ast_coredumper running as root sources
  ast_debug_tools.conf from /etc/asterisk; potentially leading to
  privilege escalation.
- GHSA-v6hp-wh3r-cwxh: The Asterisk embedded web server's /httpstatus
  page echos user supplied values(cookie and query string) without
  sanitization.
- GHSA-xpc6-x892-v83c: ast_coredumper runs as root, and writes gdb init
  file to world writeable folder; leading to potential privilege
  escalation.

Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ChangeLog-20.18.2.html

PR:             293361

    [6 lines not shown]
DeltaFile
+3-3net/asterisk20/distinfo
+1-1net/asterisk20/Makefile
+4-42 files

HardenedBSD/ports 28d3febnet/asterisk22 distinfo Makefile

net/asterisk22: Update 22.8.1 => 22.8.2

Security Advisories Resolved: 4
- GHSA-85x7-54wr-vh42: Asterisk xml.c uses unsafe XML_PARSE_NOENT
  leading to potential XXE Injection.
- GHSA-rvch-3jmx-3jf3: ast_coredumper running as root sources
  ast_debug_tools.conf from /etc/asterisk; potentially leading to
  privilege escalation.
- GHSA-v6hp-wh3r-cwxh: The Asterisk embedded web server's /httpstatus
  page echos user supplied values(cookie and query string) without
  sanitization.
- GHSA-xpc6-x892-v83c: ast_coredumper runs as root, and writes gdb init
  file to world writeable folder; leading to potential privilege
  escalation.

Changelog:
https://downloads.asterisk.org/pub/telephony/asterisk/old-releases/ChangeLog-22.8.2.html

PR:             293361

    [6 lines not shown]
DeltaFile
+3-3net/asterisk22/distinfo
+1-1net/asterisk22/Makefile
+4-42 files

HardenedBSD/ports 7926593multimedia/minisatip Makefile distinfo, multimedia/minisatip/files minisatip.in

multimedia/minisatip: Update to 2.0.75
DeltaFile
+3-5multimedia/minisatip/Makefile
+3-3multimedia/minisatip/distinfo
+1-1multimedia/minisatip/files/minisatip.in
+1-1multimedia/minisatip/pkg-plist
+8-104 files

HardenedBSD/src d2dea8bsys/conf options, sys/dev/uart uart_dev_ns8250.c

arm: Add EARLY_PRINTF for ns8250 on arm/aarch64 platforms.

Reviewed  by:   adrian (previous version)
MFC after:      3 weeks
DeltaFile
+39-3sys/dev/uart/uart_dev_ns8250.c
+4-0sys/conf/options
+43-32 files

HardenedBSD/ports cc77144net-p2p/transmission-components Makefile, net-p2p/transmission-components/files patch-CMakeLists.txt patch-cmake_TrMacros.cmake

net-p2p/transmission{,-components}: Update 4.0.6 => 4.1.1

Update gtk flavor to gtk4 and qt flavor to qt6.

Changelogs:
https://github.com/transmission/transmission/releases/tag/4.1.0
https://github.com/transmission/transmission/releases/tag/4.1.1

Improve port:
- Optimize Makefile for different flavors - dependencies, NO_BUILD,
  CMAKE_ARGS/CMAKE_ON/CMAKE_OFF, goals and etc.
- Add EXTRACT_AFTER_ARGS to prevent extract unnecessary files.
- Rework do-install.
- Fix warnings from portclippy.

PR:             292846
Co-authored-by: Vladimir Druzenko <vvd at FreeBSD.org>
DeltaFile
+296-18net-p2p/transmission-components/files/patch-CMakeLists.txt
+85-144net-p2p/transmission-components/Makefile
+146-0net-p2p/transmission-components/files/patch-cmake_TrMacros.cmake
+97-0net-p2p/transmission-components/files/patch-cmake_Findlibutp.cmake
+92-0net-p2p/transmission-components/files/patch-cmake_FindLibevent.cmake
+76-0net-p2p/transmission-components/files/patch-cmake_Findlibdeflate.cmake
+792-16230 files not shown
+1,323-42736 files

HardenedBSD/ports e2c7196net/libnatpmp distinfo Makefile

net/libnatpmp: Update 20230423 => 20250404

Commit log:
https://github.com/miniupnp/libnatpmp/compare/724dc69...134fc89

PR:     292846
DeltaFile
+3-3net/libnatpmp/distinfo
+2-2net/libnatpmp/Makefile
+5-52 files

HardenedBSD/ports 6af94canet-p2p/libutp distinfo Makefile

net-p2p/libutp: Update g20231123 => g20241117

Commit log:
https://github.com/transmission/libutp/compare/52645d6...490874c

PR:     292846
DeltaFile
+3-3net-p2p/libutp/distinfo
+2-2net-p2p/libutp/Makefile
+5-52 files

HardenedBSD/ports 6aedb9fwww/rubygem-gollum-lib distinfo Makefile

www/rubygem-gollum-lib: Update to 6.1.0

PR:             290530
Approved by:    maintainer (timeout)
DeltaFile
+3-3www/rubygem-gollum-lib/distinfo
+2-1www/rubygem-gollum-lib/Makefile
+5-42 files

HardenedBSD/src dfcd04csys/net if_vlan.c

net/if_vlan.c: do not leak vlan sx slock in vlan_clone_dump_nl()

Reported by:    pho
Reviewed by:    markj
Fixes:  d4062b9f16e46f039f2b5b40dd35592b5dabf00c
Sponsored by:   The FreeBSD Foundation
MFC after:      3 days
Differential revision:  https://reviews.freebsd.org/D55447
DeltaFile
+1-0sys/net/if_vlan.c
+1-01 files

HardenedBSD/src 10f22bdsys/kern kern_syscalls.c

kern_syscall_deregister: document syscall 0 no-op logic

Document syscall #0 being handled specially in
`kern_syscall_deregister(..)`: it's a reserved syscall and not
dynamically registered, and hence does not need to be deregistered in
the function.

Co-authored-by: ngie@
MFC after:      2 weeks
Differential Revision:  https://reviews.freebsd.org/D54326

(cherry picked from commit f384784289dba13b90138a89d3df3a8ea063aff9)
DeltaFile
+8-2sys/kern/kern_syscalls.c
+8-21 files

HardenedBSD/ports d557aaddns/dnscontrol distinfo Makefile

dns/dnscontrol: Update to 4.34.0
DeltaFile
+5-5dns/dnscontrol/distinfo
+1-2dns/dnscontrol/Makefile
+6-72 files

HardenedBSD/src 6d15e0esbin/init ttys

ttys: Correct comment about required statuses

The status field also accepts onifconsole and onifexists,
so it looks crusty saying that it only accepts on and off.

Reviewed by:    imp
Closes:         https://github.com/freebsd/freebsd-src/pull/2042
DeltaFile
+3-3sbin/init/ttys
+3-31 files

HardenedBSD/src 0a492ebsbin/init ttys

ttys: Align comment whitespace and wrapping

This doesn't lengthen or shorten any configuration,
only comments, so merging the configuration will be safe.

Reviewed by:    imp
Closes:         https://github.com/freebsd/freebsd-src/pull/2042
DeltaFile
+11-11sbin/init/ttys
+11-111 files

HardenedBSD/ports 2c53428sysutils/podman Makefile, sysutils/podman/files podman.in

sysutils/podman: Allow setting ownership on auto-created socket

The podman daemon auto-creates a socket on startup, along with parent
directory, and is always run as root. It is often useful to have another
proxy like haproxy or nginx provide more sophisticed security, and these
daemons do not need root privileges.

Differential Revision:  https://reviews.freebsd.org/D55339

Reviewed by:    arrowd
Approved by:    dfr
DeltaFile
+32-0sysutils/podman/files/podman.in
+1-1sysutils/podman/Makefile
+33-12 files