HardenedBSD/src 27cb6accontrib/netbsd-tests/sbin/newfs_msdos t_create.sh, lib/libnetbsd/sys cdefs.h

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+69-0lib/libusb/libusb20_dev_open.3
+56-0lib/libusb/libusb20_be_device_foreach.3
+14-1lib/libnetbsd/sys/cdefs.h
+2-12contrib/netbsd-tests/sbin/newfs_msdos/t_create.sh
+2-4lib/libusb/Makefile
+2-0sbin/newfs_msdos/tests/Makefile
+145-176 files

HardenedBSD/ports 95230badatabases/mysql96-server pkg-plist Makefile, devel/libddwaf/files patch-update-fmt

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+12,986-0devel/libddwaf/files/patch-update-fmt
+0-1,945misc/usd/pkg-plist
+1,945-0graphics/openusd/pkg-plist
+199-338www/webtrees21/pkg-plist
+286-0databases/mysql96-server/pkg-plist
+182-0databases/mysql96-server/Makefile
+15,598-2,283257 files not shown
+18,798-3,727263 files

HardenedBSD/src faaeb6elib/libnetbsd/sys cdefs.h

libnetbsd: import the `__nothing` macro

This macro is widely used in new NetBSD tests. Please see the comment
next to the imported macro for more details on its use.

Obtained from:  NetBSD (c26cc77b3a0b2)
MFC after:      1 week
DeltaFile
+14-1lib/libnetbsd/sys/cdefs.h
+14-11 files

HardenedBSD/src 411a566contrib/netbsd-tests/sbin/newfs_msdos t_create.sh, sbin/newfs_msdos/tests Makefile

t_create.sh: use `ATF_TESTS_SH_SED` & remove local mods

This particular change replaces all local modifications to the test
script like so:
- Use `ATF_TESTS_SH_SED_test` with a sed(1) statement in the Makefile,
  instead of the equivalent local modifications.
- Remove the need for expecting the output of newfs_msdos to be empty.
  There isn't much to gain from deviating from the upstream NetBSD test--it's
  just another local modification that would need to be carried forward. If
  it's worth testing this FreeBSD-specific behavior, it should be in a
  FreeBSD-specific test.

This makes moving new modifications to the script easier moving forward.

MFC after:      1 week
DeltaFile
+2-12contrib/netbsd-tests/sbin/newfs_msdos/t_create.sh
+2-0sbin/newfs_msdos/tests/Makefile
+4-122 files

HardenedBSD/ports 64cab16databases/rubygem-lmdb pkg-descr

databases/rubygem-lmdb: fix text
DeltaFile
+5-2databases/rubygem-lmdb/pkg-descr
+5-21 files

HardenedBSD/ports 6343bddwww/webtrees21 pkg-plist distinfo

www/webtrees21: Update to 2.1.26

PR:             292786
Approved by:    submitter is maintainer
DeltaFile
+199-338www/webtrees21/pkg-plist
+3-3www/webtrees21/distinfo
+1-1www/webtrees21/Makefile
+203-3423 files

HardenedBSD/src caf23c8lib/libusb libusb20_dev_open.3 libusb20_be_device_foreach.3

libusb20: Add dev_open + be_device_foreach manuals

Manual pages for libusb20_open(3) and libusb20_be_device_foreach(3).

PR:                     291675
MFC after:              3 days
Reviewed by:            adrian (usb), ziaee (manpages)
Differential Revision:  https://reviews.freebsd.org/D54231
DeltaFile
+69-0lib/libusb/libusb20_dev_open.3
+56-0lib/libusb/libusb20_be_device_foreach.3
+2-4lib/libusb/Makefile
+127-43 files

HardenedBSD/ports f268857databases/mysql96-client pkg-message

databases/mysql96-client: Fix pkg-message

Sponsored by:   Netzkommune GmbH
DeltaFile
+1-1databases/mysql96-client/pkg-message
+1-11 files

HardenedBSD/ports 7b83f1fdatabases/mysql91-client Makefile, databases/mysql91-server Makefile

databases/mysql9*-{server|client}: Set Deprecate Date

Deprecate Date and set to expire on 2026-03-31

Sponsored by:   Netzkommune GmbH
DeltaFile
+3-0databases/mysql91-server/Makefile
+3-0databases/mysql94-server/Makefile
+3-0databases/mysql91-client/Makefile
+3-0databases/mysql94-client/Makefile
+12-04 files

HardenedBSD/ports 3b51df4www/go-www distinfo Makefile

www/go-www: Update to 2.0.5

Remove GO_BUILDFLAGS.
Update WWW.

Changelogs:
https://github.com/nbari/www/releases/tag/2.0.4
https://github.com/nbari/www/releases/tag/2.0.5

PR:             286100
Approved by:    submitter is maintainer
DeltaFile
+9-5www/go-www/distinfo
+5-6www/go-www/Makefile
+14-112 files

HardenedBSD/ports 085f204databases/mysql96-server pkg-plist Makefile, databases/mysql96-server/files patch-sql_rpl__log__encryption.cc patch-storage_innobase_ut_crc32.cc

databases/mysql96-{server|client}: add new Ports

Welcome MySQL 9.6

What is new in MySQL9.6:
https://dev.mysql.com/doc/relnotes/mysql/9.6/en/news-9-6-0.html

MySQL8.4+ supports only 64-bit platforms!

Sponsored by:   Netzkommune GmbH
DeltaFile
+286-0databases/mysql96-server/pkg-plist
+182-0databases/mysql96-server/Makefile
+134-0databases/mysql96-server/files/patch-sql_rpl__log__encryption.cc
+104-0databases/mysql96-server/files/patch-storage_innobase_ut_crc32.cc
+95-0databases/mysql96-server/files/patch-cmake_install__layout.cmake
+80-0databases/mysql96-server/files/patch-CMakeLists.txt
+881-053 files not shown
+2,239-159 files

HardenedBSD/ports a86f619devel/R-cran-later distinfo Makefile

devel/R-cran-later: Update to 1.4.6

Changelog: https://cran.r-project.org/web/packages/later/news/news.html
DeltaFile
+3-3devel/R-cran-later/distinfo
+1-1devel/R-cran-later/Makefile
+4-42 files

HardenedBSD/src 869c055sys/kern kern_exec.c

HBSD: ASLR: Use VMFS_NO_SPACE to map the stack

We want the stack to land where we calculated it based on the
precalculated delta. While VMFS_ANY_SPACE still gets the job done, it is
the wrong flag in this case. By using VMFS_NO_SPACE, we make the process
of mapping the stack a quicker operation.

However, the risk of a failed mapping increases since vm_map_find(9)
will fail if the requested virtual address is already allocated. The
risk of this is small since we're dealing with a fresh address space.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
MFC-to:         15-STABLE
MFC-to:         14-STABLE
(cherry picked from commit 1e761a51dc553a84f88f13e1231a6688a3fcd50d)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
(cherry picked from commit 15de57e616f7af3ea5fc02e9834515851cee3014)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+1-1sys/kern/kern_exec.c
+1-11 files

HardenedBSD/src 46a3370sys/amd64/conf HARDENEDBSD-CORE

HBSD: Disable WITNESS' checking of vnode locks

FreeBSD relatively recently changed how vnode locking works in the
kernel. There are a few places that still need to be updated.
HardenedBSD's use of filesystem extended attributes seems to trip
WITNESS vnode lock checking when ZFS is used. This causes a kernel
panic, which is more likely to be triggered during a package build.

So, for now, let's disable the vnode lock checks. I plan to revisit this
when I have more available time.

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
(cherry picked from commit 103903e6b27e557c93aa52e8cfbdcb103fb78f47)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
(cherry picked from commit 1676d6ab9a023e8feac2e345349a1ddbd74d024d)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+2-0sys/amd64/conf/HARDENEDBSD-CORE
+2-01 files

HardenedBSD/src 08693b5sys/hardenedbsd hbsd_grsec_tpe.c

HBSD: TPE: Ensure user-owned vnodes are unwritable

Neither the executable nor the directory containing it should be
writable if it's not owned by root (0).

Signed-off-by:  Shawn Webb <shawn.webb at hardenedbsd.org>
MFC-to:         15-STABLE
MFC-to:         14-STABLE
(cherry picked from commit ffe9d2caea1bbab424281f5d784a551152e97d56)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
(cherry picked from commit 1d02b772d171d403e9d264916034c8806aca1d8a)
Signed-off-by: Shawn Webb <shawn.webb at hardenedbsd.org>
DeltaFile
+12-6sys/hardenedbsd/hbsd_grsec_tpe.c
+12-61 files

HardenedBSD/src 53fb08fbin/pwd pwd.c, bin/pwd/tests pwd_test.sh

Merge remote-tracking branch 'origin/hardened/15-stable/main' into hardened/15-stable/main
DeltaFile
+249-0usr.bin/m4/tests/m4_test.sh
+54-47bin/pwd/pwd.c
+94-0bin/pwd/tests/pwd_test.sh
+0-44usr.bin/m4/tests/regress.gnuprefix.out
+22-22usr.bin/xinstall/xinstall.c
+44-0usr.bin/m4/tests/regress.gnuprefix.err
+463-11323 files not shown
+610-18529 files

HardenedBSD/ports 6555e43devel/reflect-cpp pkg-plist distinfo

devel/reflect-cpp: Update 0.23.0 => 0.24.0

Changelogs:
* https://github.com/getml/reflect-cpp/releases/tag/v0.24.0
* https://github.com/getml/reflect-cpp/compare/v0.23.0...v0.24.0

Approved by:    db@, yuri@ (Mentors, implicit)
DeltaFile
+11-1devel/reflect-cpp/pkg-plist
+3-3devel/reflect-cpp/distinfo
+1-1devel/reflect-cpp/Makefile
+15-53 files

HardenedBSD/src a404c23stand/efi/loader/arch/i386 Makefile.inc

Revert "stand: compile ia32 EFI loader with -malign-double"

The loader shares types with various libraries that don't compile with
this flag. Revert for now.

Reported by:    jrtc27
DeltaFile
+0-2stand/efi/loader/arch/i386/Makefile.inc
+0-21 files

HardenedBSD/ports 2433819www/seahub Makefile

www/seahub: Add missing dependency

PR:             292289
DeltaFile
+2-1www/seahub/Makefile
+2-11 files

HardenedBSD/ports 475bfe6emulators/wine Makefile, emulators/wine/files wine-wow64.sh

emulators/wine: Set 32-bit lib path for WoW

This avoids failures like

  wine: could not load ntdll.so: Shared object "libhwloc.so.15" not found,
  required by "ntdll.so"

PR:             293179
Submitted by:   Zane C. Bowers-Hadley <vvelox at vvelox.net>
Reviewed by:    Alexander Vereeken <Alexander88207 at protonmail.com>
DeltaFile
+3-0emulators/wine/files/wine-wow64.sh
+1-0emulators/wine/Makefile
+4-02 files

HardenedBSD/ports d7f9992games/chessx Makefile, games/chessx/files patch-chessx.pro

games/chessx: Improve port

- After remove ".if ${COMPILER_TYPE} == clang":
  * remove ".include <bsd.port.pre.mk>";
  * replace ".include <bsd.port.post.mk>" with ".include <bsd.port.mk>".
- Remove the useless block from the patch that adds one blank line.

PR:             292841
Approved by:    Alexey Vyskubov <alexey at pentode.fi> (maintainer, timeout 2 weeks)
DeltaFile
+1-9games/chessx/files/patch-chessx.pro
+1-3games/chessx/Makefile
+2-122 files

HardenedBSD/ports 24631ccgraphics/openusd Makefile

graphics/openusd: Adjust PORTNAME and CATEGORIES after moving

PR:             292497
Approved by:    yuri (maintainer, timeout 1 month)
DeltaFile
+2-2graphics/openusd/Makefile
+2-21 files

HardenedBSD/ports 47a07f9graphics/openusd pkg-plist, graphics/openusd/files patch-pxr_base_arch_fileSystem.cpp patch-pxr_base_arch_debugger.cpp

misc/usd: Move to graphics/openusd

Rename to match upstream naming and moved to a more appropriate category

PR:             292497
Approved by:    yuri (maintainer, timeout 1 month)
DeltaFile
+1,945-0graphics/openusd/pkg-plist
+0-1,945misc/usd/pkg-plist
+142-0graphics/openusd/files/patch-pxr_base_arch_fileSystem.cpp
+0-142misc/usd/files/patch-pxr_base_arch_fileSystem.cpp
+0-83misc/usd/files/patch-pxr_base_arch_debugger.cpp
+83-0graphics/openusd/files/patch-pxr_base_arch_debugger.cpp
+2,170-2,170149 files not shown
+3,230-3,229155 files

HardenedBSD/ports 539c00ddevel/protobuf-java distinfo Makefile

devel/protobuf-java: Update 4.33.2 => 4.33.5

Changelog:
https://github.com/protocolbuffers/protobuf/releases/tag/v33.3
https://github.com/protocolbuffers/protobuf/releases/tag/v33.4
https://github.com/protocolbuffers/protobuf/releases/tag/v33.5

PR:     293184
DeltaFile
+3-3devel/protobuf-java/distinfo
+1-1devel/protobuf-java/Makefile
+4-42 files

HardenedBSD/ports 179d4f1net-im/conduit distinfo Makefile

net-im/conduit: Update to 0.10.12

PR:             293171
DeltaFile
+3-3net-im/conduit/distinfo
+1-3net-im/conduit/Makefile
+4-62 files

HardenedBSD/ports 857a033ports-mgmt/pkg-devel distinfo Makefile

ports-mgmt/pkg-devel: 2.5.99.3

revert extract optimization
DeltaFile
+3-3ports-mgmt/pkg-devel/distinfo
+2-2ports-mgmt/pkg-devel/Makefile
+5-52 files

HardenedBSD/ports feff92fsysutils/hcloud distinfo Makefile

sysutils/hcloud: Update to 1.61.0

Changelog: https://github.com/hetznercloud/cli/releases/tag/v1.61.0
DeltaFile
+5-5sysutils/hcloud/distinfo
+1-2sysutils/hcloud/Makefile
+6-72 files

HardenedBSD/src a60e7e6stand/efi/loader/arch/i386 Makefile.inc

stand: compile ia32 EFI loader with -malign-double

The UEFI spec says:
> Structures are aligned on boundaries equal to the largest internal
> datum of the structure and internal data are implicitly padded to
> achieve natural alignment.

By default, structs containing members of type "long long" have 4 byte
alignment on i386. This caused some EFI structures to be subtly wrong.

Fix this by compiling the ia32 EFI loader with -malign-double, which
bumps the alignment up to 8 if such members are present.

MFC after:      3 days
DeltaFile
+2-0stand/efi/loader/arch/i386/Makefile.inc
+2-01 files

HardenedBSD/ports 2f44bf4net/remmina Makefile

net/remmina: Update to 1.4.42

ChangeLog: https://gitlab.com/Remmina/Remmina/-/releases/v1.4.42

 * add option to enforce IPvX preference
 * Fix ssh x11 forwarding crashing in nixos
 * Add support for smartcard authentication
 * [REM-3444] Add option to delay floating toolbar popup
 * [REM-3448] Update FreeRDP checks to newer version
 * [REM-3448] Fix typo
 * Update AppStream metadata
 * [FLAT-390] update ffmpeg
 * [Rem-3180] Create named SPICE connection
 * [REM-2880] Fix session stuck problem with KeePassXC
 * [REM-3453] default dynamic resolution when supported issue
 * [REM-3258] toolbar disappearance in some multi-monitor situations
 * [REM-3458] Enable AAD support in Flatpak build
 * Create viewonly mode button on rcw toolbar
 * Permit css customization in scrolled window mode

    [15 lines not shown]
DeltaFile
+1-2net/remmina/Makefile
+1-21 files

HardenedBSD/ports 48d02f9graphics/zathura-pdf-poppler distinfo Makefile

graphics/zathura-pdf-poppler: Update to 2026.02.03

Changelogs:
https://pwmt.org/projects/zathura-pdf-poppler/changelog/2026.02.03/index.html
https://pwmt.org/projects/zathura-pdf-poppler/changelog/2026.01.30/index.html

PR:             292876
Approved by:    submitter is maintainer
DeltaFile
+3-3graphics/zathura-pdf-poppler/distinfo
+2-3graphics/zathura-pdf-poppler/Makefile
+5-62 files