HardenedBSD/src 597f0d9contrib/bmake bmake.cat1 arch.c, contrib/libcbor/test pretty_printer_test.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+1,712-853contrib/bmake/bmake.cat1
+0-520sys/dev/tpm/tpm_tis.c
+486-0sys/dev/tpm/tpm_tis_core.c
+67-183contrib/bmake/arch.c
+184-17contrib/libcbor/test/pretty_printer_test.c
+166-0sys/dev/tpm/tpm_spibus.c
+2,615-1,573185 files not shown
+4,478-2,436191 files

HardenedBSD/src 5da1a8dsys/contrib/openzfs/config ax_python_devel.m4, sys/contrib/openzfs/module/os/linux/zfs vdev_disk.c

Merge branch 'freebsd/14-stable/main' into hardened/14-stable/master
DeltaFile
+702-215sys/contrib/openzfs/module/os/linux/zfs/vdev_disk.c
+232-118sys/contrib/openzfs/module/zfs/zil.c
+229-112sys/contrib/openzfs/config/ax_python_devel.m4
+241-55sys/contrib/openzfs/module/zfs/dmu_zfetch.c
+146-60sys/contrib/openzfs/module/zfs/zap_micro.c
+205-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/zed_slow_io.ksh
+1,755-560156 files not shown
+4,925-1,665162 files

HardenedBSD/ports 2a50397arabic/libreoffice distinfo, chinese/libreoffice-zh_CN distinfo

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+10-5x11-toolkits/qt6pas/Makefile
+15-0security/palisade/files/patch-CMakeLists.txt
+11-4graphics/openexr/Makefile
+5-5editors/libreoffice-bn_IN/distinfo
+5-5arabic/libreoffice/distinfo
+5-5chinese/libreoffice-zh_CN/distinfo
+51-24125 files not shown
+539-509131 files

HardenedBSD/src 7e10c2dsys/contrib/openzfs/module/icp/asm-aarch64/blake3 b3_aarch64_sse41.S b3_aarch64_sse2.S

zfs: unbreak aarch64 build with non-gcc compilers

Vendor did not backport this fix into zfs-2.2-release yet.

OpenZFS PR: #16103 35bf25848 Fix: FreeBSD Arm64 does not build currently

(cherry picked from commit b9dee1dca2d74e12e867fd29d2d584fc385078eb)
DeltaFile
+2-2sys/contrib/openzfs/module/icp/asm-aarch64/blake3/b3_aarch64_sse41.S
+2-2sys/contrib/openzfs/module/icp/asm-aarch64/blake3/b3_aarch64_sse2.S
+4-42 files

HardenedBSD/src abd8725contrib/libcbor/doc/source requirements.txt, contrib/libcbor/examples cbor2cjson.c

libcbor: vendor update to 0.11.0

Sponsored by:   The FreeBSD Foundation
DeltaFile
+184-17contrib/libcbor/test/pretty_printer_test.c
+123-0contrib/libcbor/examples/cbor2cjson.c
+49-33contrib/libcbor/src/cbor.c
+67-0contrib/libcbor/test/string_test.c
+26-26contrib/libcbor/doc/source/requirements.txt
+19-24contrib/libcbor/src/cbor/streaming.c
+468-10039 files not shown
+762-22945 files

HardenedBSD/ports 951cc96x11-toolkits/qt6pas Makefile distinfo

x11-toolkits/qt6pas: Update to 6.2.8

PR:             278719
Reported by:    jhale
DeltaFile
+10-5x11-toolkits/qt6pas/Makefile
+3-3x11-toolkits/qt6pas/distinfo
+1-1x11-toolkits/qt6pas/pkg-plist
+14-93 files

HardenedBSD/src b27eb9clib/libc/stdlib cxa_thread_atexit_impl.c

__cxa_thread_call_dtors(3): fix dtor pointer validity check

When checking for the destructor pointer belonging to some still
loaded dso, do not limit the possible dso to the one instantiated the
destructor. For instance, dso could set up the dtr pointer to a function
from libcxx.

PR:     278701
Reported by:    vd
Reviewed by:    dim, emaste, markj
Sponsored by:   The FreeBSD Foundation
MFC after:      1 week
Differential revision:  https://reviews.freebsd.org/D45074
DeltaFile
+1-1lib/libc/stdlib/cxa_thread_atexit_impl.c
+1-11 files

HardenedBSD/src 548bfc5contrib/bmake bmake.cat1 arch.c, contrib/bmake/unit-tests varmod-match.mk

Merge bmake-20240430

Merge commit '507951f55039f9d1ceae507d510f8cb68225fbc5'
DeltaFile
+1,712-853contrib/bmake/bmake.cat1
+67-183contrib/bmake/arch.c
+107-52contrib/bmake/var.c
+73-2contrib/bmake/ChangeLog
+31-23contrib/bmake/unit-tests/varmod-match.mk
+29-11contrib/bmake/configure
+2,019-1,124124 files not shown
+2,615-1,606130 files

HardenedBSD/src 507951f. bmake.cat1 arch.c, unit-tests varmod-match.mk

Import bmake-20240430

Intersting/relevant changes since bmake-20240309

ChangeLog since bmake-20240309

2024-04-30  Simon J Gerraty  <sjg at beast.crufty.net>

        * VERSION (_MAKE_VERSION): 20240430
        Merge with NetBSD make, pick up
        o main.c: ensure '.include <makefile>' respects MAKESYSPATH.
        Dir_FindFile will search .CURDIR first unless ".DOTLAST" is seen.

2024-04-28  Simon J Gerraty  <sjg at beast.crufty.net>

        * VERSION (_MAKE_VERSION): 20240428
        Merge with NetBSD make, pick up
        o simplify freeing of lists
        o arch.c: trim pointless comments

    [98 lines not shown]
DeltaFile
+1,712-853bmake.cat1
+67-183arch.c
+107-52var.c
+73-2ChangeLog
+31-23unit-tests/varmod-match.mk
+29-11configure
+2,019-1,124120 files not shown
+2,599-1,584126 files

HardenedBSD/src 5f50d6bdoc/source requirements.txt, examples cbor2cjson.c

Vendor import of libcbor 0.11.0
DeltaFile
+184-17test/pretty_printer_test.c
+123-0examples/cbor2cjson.c
+49-33src/cbor.c
+67-0test/string_test.c
+26-26doc/source/requirements.txt
+19-24src/cbor/streaming.c
+468-10039 files not shown
+762-22945 files

HardenedBSD/src 3a8e153share/man/man5 src.conf.5, sys/conf kern.opts.mk

Enable kernel reproducible builds on stable branch

When the stable/13 branch was created the userland knob (in
share/mk/src.opts.mk) was changed to default to yes, but the kernel
default was not changed.  These two should always have the same default.
Regenerate src.conf.5, as the differing defaults previously confused
`makeman`.

Fixes: bfd15705156b ("Create the stable/13 branch")
Sponsored by: The FreeBSD Foundation
MFS from:       stable/13
MFS to:         releng/14.1

(cherry picked from commit d8644a5d2458588dd7d8e44bd23c6cacaead19b7)
DeltaFile
+4-4share/man/man5/src.conf.5
+1-1sys/conf/kern.opts.mk
+5-52 files

HardenedBSD/src 9a5f0cbsys/contrib/openzfs/config ax_python_devel.m4, sys/contrib/openzfs/module/os/linux/zfs vdev_disk.c

zfs: merge openzfs/zfs at 256659204 (zfs-2.2-release) into stable/14

OpenZFS release 2.2.4

Notable upstream pull request merges:
 #15076 fdd97e009 Refactor dmu_prefetch()
 #15225 5972bb856 Use ASSERT0P() to check that a pointer is NULL
 #15381 7ea833100 ZIL: Detect single-threaded workloads
 #15515 8b1a132de ZIO: Optimize zio_flush()
 #15225 d6da6cbd7 Clean up existing VERIFY*() macros
 #15225 5dda8c091 Add VERIFY0P() and ASSERT0P() macros
 #15436 61f3638a3 Add prefetch property
 #15509 6f323353d Add ashift validation when adding devices to a pool
 #15539 ea3f7c12a Extend import_progress kstat with a notes field
 #15635 25ea8ce94 ZIL: Improve next log block size prediction
 #15784 16c223eec Do no use .cfi_negate_ra_state within the assembly on
                  Arm64
 #15839 706307445 vdev probe to slow disk can stall mmp write checker
 #15879 86b39b41a zpool: Fix locale-specific time

    [31 lines not shown]
DeltaFile
+702-215sys/contrib/openzfs/module/os/linux/zfs/vdev_disk.c
+232-118sys/contrib/openzfs/module/zfs/zil.c
+229-112sys/contrib/openzfs/config/ax_python_devel.m4
+241-55sys/contrib/openzfs/module/zfs/dmu_zfetch.c
+146-60sys/contrib/openzfs/module/zfs/zap_micro.c
+205-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/events/zed_slow_io.ksh
+1,755-560152 files not shown
+4,820-1,658158 files

HardenedBSD/ports 2adc60edatabases/pgvector distinfo pkg-plist

databases/pgvector: Update from 0.6.2 to 0.7.0

  Changelog:

    Added halfvec type
    Added sparsevec type
    Added support for indexing bit type
    Added support for indexing L1 distance with HNSW
    Added binary_quantize function
    Added hamming_distance function
    Added jaccard_distance function
    Added l2_normalize function
    Added subvector function
    Added concatenate operator for vectors
    Added CPU dispatching for distance functions on Linux x86-64
    Updated comparison operators to support vectors with different dimensions

Sponsored by:   P. Variablis GmbH
DeltaFile
+3-3databases/pgvector/distinfo
+4-1databases/pgvector/pkg-plist
+1-1databases/pgvector/Makefile
+8-53 files

HardenedBSD/src 6faf656. RELNOTES

RELNOTES: Document the addition of NVMe over Fabrics support
DeltaFile
+14-0RELNOTES
+14-01 files

HardenedBSD/src c2e9c5bsys/dev/tpm tpm_tis.c tpm_tis_core.c

tpm: Refactor TIS and add a SPI attachment

Summary:
Though mostly used in x86 devices, TPM can be used on others, with a
direct SPI attachment.  Refactor the TPM 2.0 driver set to use an
attachment interface, and implement a SPI bus interface.

Test Plan:
Tested on a Raspberry Pi 4, with a GeeekPi TPM2.0 module (SLB9670
TPM) using security/tpm2-tools tpm2_getcaps for very light testing against the
spibus attachment.

Reviewed by:    kd
Obtained from:  Juniper Networks, Inc.
Differential Revision: https://reviews.freebsd.org/D45069
DeltaFile
+0-520sys/dev/tpm/tpm_tis.c
+486-0sys/dev/tpm/tpm_tis_core.c
+166-0sys/dev/tpm/tpm_spibus.c
+99-0sys/dev/tpm/tpm_bus.c
+91-0sys/dev/tpm/tpm_tis_spibus.c
+86-0sys/dev/tpm/tpm_tis_acpi.c
+928-5208 files not shown
+1,086-60014 files

HardenedBSD/src 227f81clibexec/save-entropy save-entropy.8 Makefile

save-entropy: Add manual page

Succinct manual page for save-entropy(8).

PR:                     223998
Reported by:            AJ Jordan <alex+freebsd at strugee.net>
Reviewed by:            carlavilla@, delphij@, lwhsu@, pauamma_gundo.com
Approved by:            delphi, lwhsu (src)
Differential Revision:  https://reviews.freebsd.org/D41768

(cherry picked from commit 8dc9b10e388da19d63b3dd718a8243e8e969091d)
DeltaFile
+97-0libexec/save-entropy/save-entropy.8
+1-0libexec/save-entropy/Makefile
+98-02 files

HardenedBSD/ports 2ce9c15graphics/openexr Makefile

graphics/openexr: Only build test suite when requested

In order to avoid ctest performance regressions, we also required
commit cbee39bcd1a2472b8f3e24754f5bb3a3429b79a0 from PR 278533.

PR:             278500
DeltaFile
+11-4graphics/openexr/Makefile
+11-41 files

HardenedBSD/ports cbee39bMk/Uses cmake.mk

Mk/Uses/cmake.mk: use proper environment in do-test

* the actual test run used MAKE_ENV but should use TEST_ENV
* also, ctest(1) defaults to running tests serially, so add
  CTEST_PARALLEL_LEVEL here and set it to _MAKE_JOBS_NUMBER.
  NOTE: cmake 3.29 changes semantics for _MAKE_JOBS_NUMBER empty or 0.

This was developed together with diizzy@ as a result of analysing
performance regressions from PR 278500.

PR:             278533
Approved by:    portmgr@ (tcberner@)
DeltaFile
+1-1Mk/Uses/cmake.mk
+1-11 files

HardenedBSD/ports 7c9c1acarabic/libreoffice distinfo, chinese/libreoffice-zh_CN distinfo

editors/libreoffice: Update to 24.2.3

TDF blog:
        https://blog.documentfoundation.org/blog/2024/05/02/libreoffice-24-2-3-community/
Release notes:  https://wiki.documentfoundation.org/ReleaseNotes/24.2
Changelog:      https://wiki.documentfoundation.org/Releases/24.2.3/RC1
                https://wiki.documentfoundation.org/Releases/24.2.3/RC2
DeltaFile
+5-5editors/libreoffice-bn_IN/distinfo
+5-5arabic/libreoffice/distinfo
+5-5chinese/libreoffice-zh_CN/distinfo
+5-5chinese/libreoffice-zh_TW/distinfo
+5-5editors/libreoffice-am/distinfo
+5-5editors/libreoffice-bs/distinfo
+30-30115 files not shown
+489-489121 files

HardenedBSD/ports 21f9d6bsecurity/palisade Makefile, security/palisade/files patch-CMakeLists.txt

security/palisade: Removbe -Werror to fix build on 15

Reported by:    fallout
DeltaFile
+15-0security/palisade/files/patch-CMakeLists.txt
+1-1security/palisade/Makefile
+16-12 files

HardenedBSD/src 70d9efbsys/contrib/openzfs/config ax_python_devel.m4, sys/contrib/openzfs/lib/libspl assert.c

Merge branch 'freebsd/current/main' into hardened/current/master
DeltaFile
+229-112sys/contrib/openzfs/config/ax_python_devel.m4
+328-8sys/contrib/openzfs/module/zfs/zap.c
+140-51sys/contrib/openzfs/module/zfs/spa.c
+92-60tests/sys/kern/sendfile_helper.c
+97-0sys/contrib/openzfs/tests/zfs-tests/tests/functional/mmp/mmp_write_slow_disk.ksh
+91-2sys/contrib/openzfs/lib/libspl/assert.c
+977-23357 files not shown
+1,536-37063 files

HardenedBSD/ports 398c8f8multimedia/ringrtc webrtc_fetch.sh, net-im/libsignal-node distinfo Makefile.crates

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+36-74net-im/signal-desktop/files/yarn.lock
+47-62security/crowdsec/files/crowdsec.in
+26-50multimedia/ringrtc/webrtc_fetch.sh
+43-27net-im/libsignal-node/distinfo
+36-0security/crowdsec/files/patch-pkg_csconfig_database.go
+19-11net-im/libsignal-node/Makefile.crates
+207-22447 files not shown
+438-36553 files

HardenedBSD/ports 33a2eedsecurity/libgpg-error distinfo Makefile

security/libgpg-error: update to 1.49
DeltaFile
+3-3security/libgpg-error/distinfo
+1-2security/libgpg-error/Makefile
+1-1security/libgpg-error/pkg-plist
+5-63 files

HardenedBSD/ports ced753fmail/msmtp distinfo Makefile

mail/msmtp: update to 1.8.26
DeltaFile
+3-3mail/msmtp/distinfo
+1-2mail/msmtp/Makefile
+4-52 files

HardenedBSD/ports 6a14db3deskutils/calibre distinfo Makefile

deskutils/calibre: Update to 7.10.0
DeltaFile
+5-5deskutils/calibre/distinfo
+2-2deskutils/calibre/Makefile
+7-72 files

HardenedBSD/src b95e960contrib/libdiff/lib diff_output.c

libdiff: More type issues.

Sponsored by:   Klara, Inc.
Reviewed by:    allanjude
Differential Revision:  https://reviews.freebsd.org/D45080
DeltaFile
+12-12contrib/libdiff/lib/diff_output.c
+12-121 files

HardenedBSD/ports cd45d68math/octave-forge Makefile

math/octave-forge: Add optional dependency TIMER.

Update to 20240429.
DeltaFile
+3-2math/octave-forge/Makefile
+3-21 files

HardenedBSD/ports 04f48c9math Makefile, math/octave-forge-timer Makefile pkg-descr

math/octave-forge-timer: New port.

 A Matlab-compatible timer class to execute periodic actions.
DeltaFile
+22-0math/octave-forge-timer/Makefile
+8-0math/octave-forge-timer/pkg-descr
+3-0math/octave-forge-timer/distinfo
+1-0math/Makefile
+34-04 files

HardenedBSD/ports e9821e0devel/gdcm distinfo Makefile

devel/gdcm: Update to 3.0.24.
DeltaFile
+3-3devel/gdcm/distinfo
+1-1devel/gdcm/Makefile
+4-42 files

HardenedBSD/ports a0f0071devel/mold distinfo Makefile, devel/mold/files patch-common_filepath.cc

devel/mold: Update to 2.31.0

- Add a patch to fix building on FreeBSD, submitted upstream
  at https://github.com/rui314/mold/pull/1251
DeltaFile
+13-0devel/mold/files/patch-common_filepath.cc
+3-3devel/mold/distinfo
+1-2devel/mold/Makefile
+17-53 files