FreeBSD/src 5a2328arelease/tools vmimage.subr

vmimage.subr: Include dangling symlinks in images

When creating VM images, we filter the METALOG file created by pkg(8)
when installing non-base packages, rejecting any lines which correspond
to files which don't exist; this solves a problem which arose when a
package was installed and then deinstalled (or upgraded) later in the
image-building process.

Unfortunately [ -e ... ] follows symlinks and is not basedir-aware, so
an absolute symlink which is valid *inside* the image is omitted from
the image if it points to something which isn't present in the build
host system.

Replace [ -e ... ] with [ -e ... ] || [ -L ... ] so that symlinks are
included even if dangling.

While I'm here, add quoting in case future paths become problematic.

Sponsored by:   Amazon
MFC after:      3 days
DeltaFile
+2-1release/tools/vmimage.subr
+2-11 files

FreeBSD/ports 4af0312net/linphone Makefile

net/linphone: Restore PORTEPOCH

Restore accidentaly removed PORTEPOCH in the previously submitted patch.

PR:             298735
Sponsored by:   UNIS Labs (vvd, commit patch)
DeltaFile
+1-0net/linphone/Makefile
+1-01 files

FreeBSD/ports bb10451net-p2p/amule distinfo pkg-plist, net-p2p/amule/files patch-CMakeLists.txt patch-fix-tests

net-p2p/amule: Update to 3.1.0

- Remove WEBSERVER_USES=readline option as it is defined in global USES
- Apply upstream tests fix patch

ChangeLog: https://github.com/amule-org/amule/releases/tag/3.1.0
DeltaFile
+78-0net-p2p/amule/files/patch-fix-tests
+12-5net-p2p/amule/files/patch-CMakeLists.txt
+6-6net-p2p/amule/Makefile
+6-2net-p2p/amule/pkg-plist
+3-3net-p2p/amule/distinfo
+105-165 files

FreeBSD/ports d7c115cgraphics/py-mayavi distinfo Makefile, graphics/py-mayavi/files patch-pyproject.toml patch-setup.py

graphics/py-mayavi: update 4.8.2 → 4.9.0
DeltaFile
+25-19graphics/py-mayavi/Makefile
+30-0graphics/py-mayavi/files/example-1.py
+19-0graphics/py-mayavi/files/patch-pyproject.toml
+19-0graphics/py-mayavi/files/patch-setup.py
+3-3graphics/py-mayavi/distinfo
+96-225 files

FreeBSD/ports ea2b3d2misc/lean-ctx Makefile distinfo, misc/lean-ctx/files patch-cargo-crates_ort-2.0.0-rc.12_src_lib.rs patch-src_core_engine__artifact_unix.rs

misc/lean-ctx: update 3.8.11 → 3.10.2
DeltaFile
+363-635misc/lean-ctx/distinfo
+187-319misc/lean-ctx/Makefile
+61-0misc/lean-ctx/files/patch-src_core_engine__artifact_unix.rs
+18-0misc/lean-ctx/files/patch-cargo-crates_ort-2.0.0-rc.12_src_lib.rs
+629-9544 files

FreeBSD/ports ef8f3edmath/py-iminuit Makefile

math/py-iminuit: Broken on i386

Reported by:    fallout
DeltaFile
+2-0math/py-iminuit/Makefile
+2-01 files

FreeBSD/ports a40627adevel/py-pyrefly Makefile

devel/py-pyrefly: broken on i386

Reported by:    fallout
DeltaFile
+2-0devel/py-pyrefly/Makefile
+2-01 files

FreeBSD/src 8a0cab2sys/dev/hwpmc hwpmc_amd.h hwpmc_amd.c

hwpmc/amd: replace static pmcdesc[] and pc_amdpmcs[] with dynamic allocation

AMD_NPMCS_MAX = 342 (16 core + 6 L3 + 64 DF + 256 UMC). On a Zen 4
EPYC 9654 with 6 core, 6 L3, 16 DF, and 4 UMC counters, only 32
descriptors are needed; the static arrays over-allocate by ~10x.

Replace both amd_pmcdesc[AMD_NPMCS_MAX] and per-CPU pc_amdpmcs[AMD_NPMCS_MAX]
with mallocarray() sized to the actual registered PMC count:
  - amd_pmcdesc: allocated in pmc_amd_initialize()
  - pc_amdpmcs:  allocated per-CPU in amd_pcpu_init(), freed in fini()

Normalize amd_l3_npmcs and amd_df_npmcs against the AMDID2_PTSCEL2I
and AMDID2_PNXC feature bits before computing npmcs_total, so that
allocation, registration, and amd_get_msr() row offsets are all derived
from the same values.  Previously the ternary in npmcs_total excluded
L3/DF from the allocation while the globals retained their defaults,
causing amd_get_msr() to miscompute DF row offsets when L3 is absent.

amd_umc_npmcs comes from CPUID Fn8000_0022h EBX[23:16] (NumUMCCounters)

    [14 lines not shown]
DeltaFile
+41-2sys/dev/hwpmc/hwpmc_amd.c
+2-1sys/dev/hwpmc/hwpmc_amd.h
+43-32 files

FreeBSD/src c745fccsys/riscv/conf GENERIC

riscv: enable gpiopower driver

It is functional, and there are some RISC-V platforms which can benefit
from it.

Requested by:   Brian Scott <bscott at bunyatech.com.au>
Sponsored by:   The FreeBSD Foundation
DeltaFile
+1-0sys/riscv/conf/GENERIC
+1-01 files

FreeBSD/src e676978sys/dev/eqos if_eqos.c

eqos: Reduce RX error noisiness

Reduce very common console messages:
        Receive error rdes3=30208000

As observed on the VisionFive v2 hardware after some large transfers.

Differentiate between overflow errors and others. Report the errors when
the length is non-zero (overflow errors).

Also, count errors for netstat purposes.

Reviewed by:    mhorne
MFC after:      1 week
Differential Revision:  https://reviews.freebsd.org/D59479
DeltaFile
+9-1sys/dev/eqos/if_eqos.c
+9-11 files

FreeBSD/ports 31772e2x11/nvidia-driver Makefile, x11/nvidia-driver-340 Makefile

x11/nvidia-driver*: Drop pkg-message

All contents of pkg-message are applicable for kmods part
(x11/nvidia-kmod*) only.

This was the remnant when kmods part were splitted out from
x11/nvidia-driver* at commit ports f4e907a49258.

PR:             298709
Differential Revision:  https://reviews.freebsd.org/D59864
DeltaFile
+1-2x11/nvidia-driver/Makefile
+1-1x11/nvidia-driver-devel/Makefile
+1-1x11/nvidia-driver-580/Makefile
+1-1x11/nvidia-driver-470/Makefile
+1-1x11/nvidia-driver-390/Makefile
+1-1x11/nvidia-driver-340/Makefile
+6-71 files not shown
+7-87 files

FreeBSD/src 9257ae7. MAINTAINERS, .github CODEOWNERS

Add entries for third-party projects I maintain

Add myself formally as the "maintainer" for atf, kyua, and lutok, both
in the GitHub CODEOWNERS and MAINTAINERS files.

This change matches the herald rules I recently setup for these
third-party components.
DeltaFile
+2-0MAINTAINERS
+2-0.github/CODEOWNERS
+4-02 files

FreeBSD/ports ef154f3audio/waves Makefile distinfo

audio/waves: Update to 0.1.50

ChangeLog:

1. https://github.com/llehouerou/waves/releases/tag/v0.1.50

Reported by:    "github-actions[bot]" <notifications at github.com>
DeltaFile
+5-5audio/waves/distinfo
+1-1audio/waves/Makefile
+6-62 files

FreeBSD/ports fc0a3c2filesystems/ntfs2btrfs distinfo Makefile, filesystems/ntfs2btrfs/files patch-src_ntfs.cpp patch-src_rollback.cpp

filesystems/ntfs2btrfs: update the port to version 20260810

- Due to use of C++ modules now demands LLVM 17+ from ports
- Drop dependency on `devel/libfmt' in favor of std::format

Reported by:    portscout
DeltaFile
+15-0filesystems/ntfs2btrfs/files/patch-CMakeLists.txt
+7-6filesystems/ntfs2btrfs/files/patch-src_rollback.cpp
+0-11filesystems/ntfs2btrfs/files/patch-src_ntfs.cpp
+2-9filesystems/ntfs2btrfs/Makefile
+3-3filesystems/ntfs2btrfs/distinfo
+27-295 files

FreeBSD/doc 3333373website/archetypes/release hardware.adoc

hardware: Add some 3G cellular drivers...
DeltaFile
+4-0website/archetypes/release/hardware.adoc
+4-01 files

FreeBSD/src b952821share/man/man4 ulpt.4

ulpt.4: Canonicalize SYNOPSIS, tag SPDX

MFC after:      3 days
DeltaFile
+6-11share/man/man4/ulpt.4
+6-111 files

FreeBSD/src 2784767share/man/man4 umct.4

umct.4: Canonicalize SYNOPSIS, HARDWARE, tag SPDX

MFC after:      3 days
DeltaFile
+8-14share/man/man4/umct.4
+8-141 files

FreeBSD/src 71a0ea7share/man/man4 umcs.4

umcs.4: Describe better, canonicalize SYNOPSIS

+ tag SPDX
+ improve apropos and hardware notes context
+ canonicalize SYNOPSIS

MFC after:      3 days
DeltaFile
+13-18share/man/man4/umcs.4
+13-181 files

FreeBSD/src 6204c60share/man/man4 uled.4

uled.4: Canonicalize SYNOPSIS, tag SPDX

MFC after:      3 days
DeltaFile
+6-11share/man/man4/uled.4
+6-111 files

FreeBSD/ports 40f6ee7devel/immanent-checker Makefile distinfo

devel/immanent-checker: Upgrade from 0.42 to 0.50

  Add classification support for each check, which improves the performance fixing of checks massively

Sponsored by:   OTTRIA
DeltaFile
+7-7devel/immanent-checker/distinfo
+1-1devel/immanent-checker/Makefile
+8-82 files

FreeBSD/ports 749f98asecurity/certspotter Makefile distinfo

security/certspotter: Update to 0.25.0
DeltaFile
+5-5security/certspotter/distinfo
+1-2security/certspotter/Makefile
+6-72 files

FreeBSD/ports c1c8cbfsecurity/amavisd-new pkg-plist Makefile

security/amavisd-new: Update to 2.15.0
DeltaFile
+3-3security/amavisd-new/distinfo
+2-2security/amavisd-new/Makefile
+1-0security/amavisd-new/pkg-plist
+6-53 files

FreeBSD/ports bd1846cnet-mgmt/icinga-php-thirdparty Makefile distinfo

net-mgmt/icinga-php-thirdparty: Update to 1.0.1
DeltaFile
+146-1net-mgmt/icinga-php-thirdparty/pkg-plist
+3-3net-mgmt/icinga-php-thirdparty/distinfo
+1-1net-mgmt/icinga-php-thirdparty/Makefile
+150-53 files

FreeBSD/ports f9b964enet-mgmt/icinga-php-library Makefile distinfo

net-mgmt/icinga-php-library: Update to 1.0.1
DeltaFile
+3-3net-mgmt/icinga-php-library/distinfo
+1-1net-mgmt/icinga-php-library/Makefile
+4-42 files

FreeBSD/ports 71ad358mail/pflogsumm Makefile distinfo

mail/pflogsumm: Update to 1.3.0
DeltaFile
+3-3mail/pflogsumm/distinfo
+2-2mail/pflogsumm/Makefile
+5-52 files

FreeBSD/ports 106084caudio/alacenc Makefile distinfo

audio/alacenc: the port had been updated to version 0.4.2

While currently unnecessary, tighten CMake version regexp
to prepare for the grim future.

Reported by:    portscout
DeltaFile
+3-3audio/alacenc/distinfo
+2-2audio/alacenc/Makefile
+5-52 files

FreeBSD/ports 0d0ac82net/nfstrace Makefile, net/nfstrace/files patch-CMakeLists.txt

net/nfstrace: Fix build with CMake 4

CMake 4 no longer supports policy compatibility with versions older
than 3.5. Raise the minimum required CMake version accordingly.

PR:             298743
DeltaFile
+8-0net/nfstrace/files/patch-CMakeLists.txt
+1-1net/nfstrace/Makefile
+9-12 files

FreeBSD/ports 970da3bdevel/nsync Makefile distinfo

devel/nsync: Update to 1.30.0
DeltaFile
+6-2devel/nsync/pkg-plist
+3-3devel/nsync/distinfo
+1-1devel/nsync/Makefile
+10-63 files

FreeBSD/ports e238deabenchmarks/nosqlbench Makefile

benchmarks/nosqlbench: Mark deprecated

(cherry picked from commit 8c07eeca04594b59cebba1bfc0bbda12a3905616)
DeltaFile
+4-1benchmarks/nosqlbench/Makefile
+4-11 files

FreeBSD/ports 8c07eecbenchmarks/nosqlbench Makefile

benchmarks/nosqlbench: Mark deprecated
DeltaFile
+4-1benchmarks/nosqlbench/Makefile
+4-11 files