HardenedBSD/src 60e8c8flib/libc/riscv/string memcpy.S memchr.S

Merge branch 'freebsd/15-stable/main' into hardened/15-stable/main
DeltaFile
+217-0lib/libc/riscv/string/memcpy.S
+188-0lib/libc/riscv/string/memchr.S
+143-0lib/libc/riscv/string/strnlen.S
+127-0lib/libc/riscv/string/strrchr.S
+116-0lib/libc/riscv/string/strchrnul.S
+95-0lib/libc/riscv/string/memset.S
+886-06 files not shown
+1,047-1612 files

HardenedBSD/ports 4c4fe59misc/koboldcpp/files patch-Makefile, misc/py-ezc3d/files patch-pyproject.toml

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+241-263net/wstunnel/distinfo
+121-133net/wstunnel/Makefile
+43-41sysutils/systeroid/distinfo
+39-26misc/koboldcpp/files/patch-Makefile
+21-21sysutils/systeroid/Makefile
+34-0misc/py-ezc3d/files/patch-pyproject.toml
+499-48439 files not shown
+670-60545 files

HardenedBSD/ports 299b415www/rubygem-typhoeus-gitlab Makefile

www/rubygem-typhoeus-gitlab: fix build error

caused by regression from 9816a72d0e47bc436744e060d0eff483eb1678ce

===>   Installing existing package /packages/All/rubygem-faraday-typhoeus-gitlab-1.1.0_1.pkg
[143amd64-gitlab-job-02] Installing rubygem-faraday-typhoeus-gitlab-1.1.0_1...
[143amd64-gitlab-job-02] `-- Installing rubygem-typhoeus-gitlab-1.4.1...
[143amd64-gitlab-job-02] |   `-- Installing rubygem-ethon-0.18.0...
[143amd64-gitlab-job-02] |   | `-- Installing rubygem-logger-1.7.0...
pkg-static: rubygem-logger-1.7.0 conflicts with rubygem-logger-gitlab-1.7.0 (installs files into the same place).  Problematic file: /usr/local/lib/ruby/gems/3.3/specifications/logger-1.7.0.gemspec
DeltaFile
+2-1www/rubygem-typhoeus-gitlab/Makefile
+2-11 files

HardenedBSD/ports 4030b7ddevel/opentelemetry-cpp Makefile

devel/opentelemetry-cpp: fix build error

Added devel/c4core as a lib dependency:
====> Running Q/A tests (stage-qa)
Error: /usr/local/lib/libopentelemetry_configuration.so.1.24.0 is linked to /usr/local/lib/libc4core.so.0.2.6 from devel/c4core but it is not declared as a dependency
Warning: you need LIB_DEPENDS+=libc4core.so:devel/c4core
Warning: you might not need LIB_DEPENDS on libcurl.so
Warning: you might not need LIB_DEPENDS on libgtest.so
*** Error code 1

Approved by:    just-fix-it
DeltaFile
+3-1devel/opentelemetry-cpp/Makefile
+3-11 files

HardenedBSD/ports f0fc00cdeskutils/stirling-pdf distinfo Makefile

deskutils/stirling-pdf: update to 2.0.2

Changes:        https://github.com/Stirling-Tools/Stirling-PDF/releases/tag/v2.0.2
DeltaFile
+3-3deskutils/stirling-pdf/distinfo
+1-1deskutils/stirling-pdf/Makefile
+4-42 files

HardenedBSD/ports 16bd691x11/cde-devel distinfo Makefile

x11/cde-devel: Update to the latest cdesktopenv-code commit

Update to the latest cdedesktop-code commit proxied through my GH accoun
DeltaFile
+3-3x11/cde-devel/distinfo
+2-3x11/cde-devel/Makefile
+5-62 files

HardenedBSD/ports 190b450x11/cde distinfo Makefile

x11/cde: Update to 2.5.3
DeltaFile
+3-3x11/cde/distinfo
+1-2x11/cde/Makefile
+4-52 files

HardenedBSD/ports dc3e228devel Makefile, devel/py-polyfactory Makefile distinfo

devel/py-polyfactory: Add new port

Polyfactory is a simple and powerful mock data generation library,
based around type hints and supporting dataclasses, typed-dicts,
pydantic models, msgspec structs and more.
DeltaFile
+21-0devel/py-polyfactory/Makefile
+3-0devel/py-polyfactory/distinfo
+3-0devel/py-polyfactory/pkg-descr
+1-0devel/Makefile
+28-04 files

HardenedBSD/ports 753c8ccdatabases/weaviate distinfo Makefile

databases/weaviate: update 1.34.0 → 1.34.1
DeltaFile
+5-5databases/weaviate/distinfo
+1-1databases/weaviate/Makefile
+6-62 files

HardenedBSD/ports e47b6acdevel/py-uv-build distinfo Makefile

devel/py-uv-build: update 0.9.12 → 0.9.13
DeltaFile
+3-3devel/py-uv-build/distinfo
+1-1devel/py-uv-build/Makefile
+4-42 files

HardenedBSD/ports 8b72e9enet/wstunnel distinfo Makefile

net/wstunnel: update 10.5.0 → 10.5.1
DeltaFile
+241-263net/wstunnel/distinfo
+121-133net/wstunnel/Makefile
+362-3962 files

HardenedBSD/ports 30a81f4sysutils/systeroid distinfo Makefile

sysutils/systeroid: update 0.4.5 → 0.4.6
DeltaFile
+43-41sysutils/systeroid/distinfo
+21-21sysutils/systeroid/Makefile
+64-622 files

HardenedBSD/ports 67c7c5adevel/py-ruff distinfo Makefile, devel/ruff distinfo Makefile

devel/{,py-}ruff: update 0.14.6 → 0.14.7
DeltaFile
+15-15devel/py-ruff/distinfo
+7-7devel/py-ruff/Makefile
+3-3devel/ruff/distinfo
+1-1devel/ruff/Makefile
+26-264 files

HardenedBSD/ports 7b3ee96devel/py-uv distinfo Makefile, devel/uv distinfo Makefile

devel/py-uv: update 0.9.12 → 0.9.13
DeltaFile
+3-3devel/py-uv/distinfo
+3-3devel/uv/distinfo
+1-1devel/py-uv/Makefile
+1-1devel/uv/Makefile
+8-84 files

HardenedBSD/ports 8da6dbdmisc/gemini-cli pkg-plist distinfo, misc/gemini-cli/files package-lock.json

misc/gemini-cli: update 0.18.0 → 0.18.4
DeltaFile
+13-13misc/gemini-cli/files/package-lock.json
+14-6misc/gemini-cli/pkg-plist
+3-3misc/gemini-cli/distinfo
+1-1misc/gemini-cli/Makefile
+31-234 files

HardenedBSD/ports 836790dmisc/ezc3d distinfo Makefile, misc/py-ezc3d Makefile distinfo

misc/{,py-}ezc3d: update 1.5.19 → 1.6.3

Reported by:    portscout
DeltaFile
+34-0misc/py-ezc3d/files/patch-pyproject.toml
+5-5misc/ezc3d/distinfo
+4-3misc/ezc3d/Makefile
+4-3misc/py-ezc3d/Makefile
+3-3misc/py-ezc3d/distinfo
+2-0misc/ezc3d/pkg-plist
+52-146 files

HardenedBSD/ports 705ee0cmisc/koboldcpp pkg-plist Makefile, misc/koboldcpp/files patch-Makefile

misc/koboldcpp: update 1.95 → 1.102.3
DeltaFile
+39-26misc/koboldcpp/files/patch-Makefile
+15-7misc/koboldcpp/pkg-plist
+7-4misc/koboldcpp/Makefile
+3-3misc/koboldcpp/distinfo
+64-404 files

HardenedBSD/ports 06b319dsysutils/usacloud-core distinfo Makefile

sysutils/usacloud: Update to 1.19.3

ChangeLogs:     https://github.com/sacloud/usacloud/compare/v1.14.1...v1.19.3
Approved by:    hrs (mentor, blanket)
DeltaFile
+5-5sysutils/usacloud-core/distinfo
+1-2sysutils/usacloud-core/Makefile
+1-2sysutils/usacloud-core/Makefile.version
+7-93 files

HardenedBSD/ports 1997302devel/py-deptry distinfo, lang/v pkg-plist

Merge branch 'freebsd/main' into hardenedbsd/main
DeltaFile
+651-38lang/v/pkg-plist
+289-323www/vigil/distinfo
+411-0textproc/typos/distinfo
+144-162www/vigil/Makefile
+107-119devel/py-deptry/distinfo
+204-0textproc/typos/Makefile.crates
+1,806-6421,569 files not shown
+6,717-4,5751,575 files

HardenedBSD/src 1369056tools/build depend-cleanup.sh

depend-cleanup.sh: clean up after riscv64 enhanced string function patch set

This ensures an incremental build succeeds after import of
D47275, D46023, D45730, D45693, D46139, D46230, D46047, and D53248.

Approved by:    markj (mentor)
MFC after:      1 month
MFC to:         stable/15
Differential Revision:  https://reviews.freebsd.org/D53485

(cherry picked from commit d59e924d2969ce2c8bec0fc4500989865fbece75)
DeltaFile
+27-0tools/build/depend-cleanup.sh
+27-01 files

HardenedBSD/src 65f6088share/man/man7 simd.7

simd.7: document bcopy() and bzero() as accelerated on riscv64

Event:          Google Summer of Code 2024
MFC after:      1 month
MFC to:         stable/15
Approved by:    markj (mentor)
Differential Revision:  https://reviews.freebsd.org/D53248

(cherry picked from commit d6870bb941fe235e0031f8bfb53fbd120ff859f9)
DeltaFile
+2-2share/man/man7/simd.7
+2-21 files

HardenedBSD/src be97631lib/libc/riscv/string bcopy.c bzero.c

libc/riscv64: implement bcopy() and bzero() through memcpy() and memset()

This picks up the accelerated string functions written by
strajabot@.

Event:          Google Summer of Code 2024
MFC after:      1 month
MFC to:         stable/15
See also:       79e01e7e643c9337d8d6046b6db7df674475a099
Approved by:    markj (mentor)
Differential Revision:  https://reviews.freebsd.org/D53248

(cherry picked from commit b5dbf3de561189140c73f915bd50c28ea69a1e19)
DeltaFile
+14-0lib/libc/riscv/string/bcopy.c
+14-0lib/libc/riscv/string/bzero.c
+2-0lib/libc/riscv/string/Makefile.inc
+30-03 files

HardenedBSD/src 4e63278share/man/man7 simd.7

simd.7: add scalar strchrnul() for RISC-V to manpage

index() and strchr() are implemented by calling strchrnul(), so they
also get to be marked as platform-specific.

MFC after:      1 month
MFC to:         stable/15
Approved by:    markj (mentor)
Reviewed by:    fuz
Sponsored by:   Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D46047

(cherry picked from commit 39fef5b9fa943f301776e0b0bf406cedd7c29af2)
DeltaFile
+4-4share/man/man7/simd.7
+4-41 files

HardenedBSD/src f56c684lib/libc/riscv/string strchrnul.S Makefile.inc

libc: scalar strchrnul() in RISC-V assembly

Scalar implementation of strchrnul() in RISC-V assembly and changes to the
corresponding manpage.

Performance was benchmarked on a HiFive Unmatched (SiFive HF105-001) board
using: https://github.com/clausecker/strperf

os: FreeBSD
arch: riscv
        │ strchrnul_baseline │          strchrnul_scalar           │
        │       sec/op       │   sec/op     vs base                │
Short            680.2µ ± 5%   435.3µ ± 0%  -36.01% (p=0.000 n=20)
Mid              314.7µ ± 3%   221.4µ ± 0%  -29.63% (p=0.000 n=20)
Long             152.3µ ± 0%   138.5µ ± 0%   -9.08% (p=0.000 n=20)
geomean          319.5µ        237.2µ       -25.75%

        │ strchrnul_baseline │          strchrnul_scalar          │
        │       MiB/s        │   MiB/s     vs base                │

    [13 lines not shown]
DeltaFile
+116-0lib/libc/riscv/string/strchrnul.S
+1-0lib/libc/riscv/string/Makefile.inc
+117-02 files

HardenedBSD/src b06836fshare/man/man7 simd.7

simd.7: add scalar strnlen() for RISC-V to manpage

MFC after:      1 month
MFC to:         stable/15
Approved by:    mhorne, markj (mentor)
Reviewed by:    fuz, Jari Sihvola <jsihv at gmx.com>
Sponsored by:   Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D46230

(cherry picked from commit 474a80d3ff8516df5c379fa7f8e563cecb032060)
DeltaFile
+1-1share/man/man7/simd.7
+1-11 files

HardenedBSD/src 3f0dda7lib/libc/riscv/string strnlen.S Makefile.inc

libc: scalar strnlen() in RISC-V assembly

Optimized implementation of strnlen() in RISC-V assembly

Performance was measured using strperf on a HiFive Unmatched (SiFive HF105-001) board.

os: FreeBSD
arch: riscv
        │ strnlen_baseline │           strnlen_scalar            │
        │      sec/op      │   sec/op     vs base                │
Short          787.0µ ± 0%   430.9µ ± 1%  -45.24% (p=0.000 n=20)
Mid            621.6µ ± 0%   195.1µ ± 1%  -68.61% (p=0.000 n=20)
Long           569.4µ ± 1%   100.6µ ± 0%  -82.34% (p=0.000 n=20)
geomean        653.1µ        203.7µ       -68.81%

        │ strnlen_baseline │            strnlen_scalar            │
        │      MiB/s       │    MiB/s     vs base                 │
Short           158.8 ± 0%    290.1 ± 1%   +82.62% (p=0.000 n=20)
Mid             201.1 ± 0%    640.6 ± 1%  +218.59% (p=0.000 n=20)

    [11 lines not shown]
DeltaFile
+143-0lib/libc/riscv/string/strnlen.S
+1-0lib/libc/riscv/string/Makefile.inc
+144-02 files

HardenedBSD/src bb2cbe8share/man/man7 simd.7

simd.7: add scalar memcpy() for RISC-V to manpage

MFC after:      1 month
MFC to:         stable/15
Approved by:    mhorne, markj (mentor)
Reviewed by:    fuz
Sponsored by:   Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D46139

(cherry picked from commit c80dfcb37261e5e8575d41801e64a39b7db6f4f8)
DeltaFile
+2-2share/man/man7/simd.7
+2-21 files

HardenedBSD/src 8c9581ashare/man/man7 simd.7

simd.7: add scalar memchr() for RISC-V to manpage

MFC after:      1 month
MFC to:         stable/15
Approved by:    mhorne, markj (mentor)
Sponsored by:   Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D46023

(cherry picked from commit d2c23f5953a823e01f0c6418b0f98c119f145e20)
DeltaFile
+1-1share/man/man7/simd.7
+1-11 files

HardenedBSD/src 8a02704lib/libc/riscv/string strrchr.S Makefile.inc

libc: scalar strrchr() in RISC-V assembly

Implements strrchr in RISC-V assembly, leading to the following
improvements (performance measured on SiFive HF105-001)

os: FreeBSD
arch: riscv
        │ strrchr_baseline │             strrchr_scalar             │
        │      sec/op      │   sec/op     vs base                   │
Short          837.2µ ± 1%   574.6µ ± 1%  -31.37% (p=0.000 n=20+21)
Mid            639.7µ ± 0%   269.7µ ± 0%  -57.84% (p=0.000 n=20+21)
Long           589.1µ ± 0%   176.7µ ± 0%  -70.01% (p=0.000 n=20+21)
geomean        680.8µ        301.4µ       -55.73%

        │ strrchr_baseline │             strrchr_scalar             │
        │      MiB/s       │   MiB/s     vs base                    │
Short           149.3 ± 1%   217.6 ± 1%   +45.71% (p=0.000 n=20+21)
Mid             195.4 ± 0%   463.6 ± 0%  +137.22% (p=0.000 n=20+21)
Long            212.2 ± 0%   707.4 ± 0%  +233.40% (p=0.000 n=20+21)

    [9 lines not shown]
DeltaFile
+124-0lib/libc/riscv/string/strrchr.S
+2-0lib/libc/riscv/string/Makefile.inc
+126-02 files

HardenedBSD/src 09d15e9lib/libc/riscv/string strrchr.S, share/man/man7 simd.7

simd.7: add scalar strrchr() for RISC-V to manpage

MFC after:      1 month
MFC to:         stable/15
Approved by:    mhorne, markj (mentor)
Sponsored by:   Google LLC (GSoC 2024)
Differential Revision:  https://reviews.freebsd.org/D47275

(cherry picked from commit 63ff982b17ee398c7808be323d8fd37819a5863c)
DeltaFile
+9-6share/man/man7/simd.7
+3-0lib/libc/riscv/string/strrchr.S
+12-62 files