bsdinstall: fix root password prompt with backslashes
Use "read -r" to set the root password in "bsdinstall rootpass" to
prevent issues with passwords containing one or more backslash
characters.
PR: 294781
Discussed with: tuexen, crest
Approved by: khorben
MFC after: 3 days
Event: Wiesbaden Hackathon 202604
(cherry picked from commit 1566386b90d34dea7f30a0e6b511e178bd0d50b8)
sysutils/azure-agent: update to 2.15.0.1
Other minor changes:
* Bring in upstream patch to fix detection of cloud-init on FreeBSD
* Setup the test suite
Approved by: weh at microsoft.com (maintainer timeout), lwhsu (mentor, implicitly)
Makefile.inc1: Only copy locales to INSTALLTMP on FreeBSD
Makefile.inc1 copies locales to ${INSTALLTMP} to avoid issues when
running make installworld on a live system. However, this can break
on non-FreeBSD systems, e.g. on openSUSE where /usr/share/locales
has mode 0555, which means after we copy it, we can't delete it,
so the build fails.
Since this functionality is only useful when installing over a
live system, disable it when the build host is not FreeBSD.
MFC after: 2 weeks
Reviewed by: kevans, emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56677
packages: Make create-sets.sh more robust
Use ${PKG_CMD} rather than bare 'pkg' to fix the build when pkg is
not in the tools path. Provide a default in case it's not set for
some reason (e.g., running the script by hand).
Since set -- $(...) does not trigger an exit from set -e if the
command fails, this failure was silent and resulted in sets not
being built correctly if we failed to run pkg. Use a temporary
variable, which does trigger set -e, to fail correctly.
MFC after: 2 weeks
Reviewed by: sjg
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56676
llvm: Move libprivatelldb to the lldb package
Set PACKAGE=lldb in lldb.pre.mk rather than in individual Makefiles;
change lib/clang/Makefile.inc from PACKAGE=clang to PACKAGE?=clang to
avoid overwriting it.
This is safe to MFC to stable/15 since the moved library will be
picked up automatically by pkg.
MFC after: 2 weeks
Reviewed by: emaste
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56674
acpi: Remove userland bits on non-ACPI platforms
ACPI is only supported on amd64, arm64 and i386. Don't install the
power_profile rc script or devd configuration on other platforms.
This avoids creating a useless FreeBSD-acpi package on those platforms.
MFC after: 2 weeks
Reviewed by: imp
Sponsored by: https://www.patreon.com/bsdivy
Differential Revision: https://reviews.freebsd.org/D56650
games/kodi-addon-game.libretro*,multimedia/kodi-addon*: update ports to latest kodi version
unbreaks and undeprecates games/kodi-addon-game.libretro
PR: 294761
PR: 294242
(cherry picked from commit b9c7ff8c41cc89fc10e6c5ae1b6dd4b74b0bbb91)
misc/llama-cpp: Multiple changes
1. Allow for multiple models to be selected at the run-time
2. Remove the leftover VULKAN option. VULKAN is enabled in misc/ggml.
PR: 294795 (allow multiple models at run-time)
Requested by: Ivan Rozhuk <rozhuk.im at gmail.com>
java/sqlitejdbc: little cleanup
- bump portrevision so new packages with the deprecation annotation
and expiration date are build
- be a bit more pedantic about the 3 months expiration date so we are
sure the next quarterly branch contains this package
- mark as conflicting with the new port, they install the same
.so library file
PR: 293491
Approved-by: maintainer timeout (Lapo Luchini)
hwpmc: Add IBS capability control policy
Reject unsupported AMD IBS and PMU control bits before programming the
MSRs.
Initialize IBS fetch/op allow masks from CPUID feature bits and validate
user-provided IBS control values against those masks. Keep the
load-latency filter dependency on L3MissOnly, but avoid decoding fields
that are already constrained by the mask.
Apply the same reserved-bit policy to the AMD PMU raw-config path by
checking core, L3, and data fabric configs against subclass-specific
masks.
Fix the IBS CPUID feature bit definitions used by the policy.
Reviewed by: mhorne, Ali Mashtizadeh <ali at mashtizadeh.com>
Sponsored by: AMD
Signed-off-by: Andre Silva <andasilv at amd.com>
Pull Request: https://github.com/freebsd/freebsd-src/pull/2140
hwpmc: Add extra_mask sysctls per counter type
Expose kern.hwpmc.{ibs_fetch,ibs_op,amd_core,amd_l3,amd_df}_extra_mask
as RWTUN uint64s that OR into the CPUID-derived allow mask at
validation time. Default 0, so the strict policy applies unless an
administrator opts bits back in — intended for testing the wrmsr_safe
path in PR #2157.
Reviewed by: mhorne, Ali Mashtizadeh <ali at mashtizadeh.com>
Sponsored by: AMD
Signed-off-by: Andre Silva <andasilv at amd.com>
Pull Request: https://github.com/freebsd/freebsd-src/pull/2140
hwpmc_ibs: Add external error handling
Add EXTERR_CAT_HWPMC_IBS to the external error categories and replace generic
EINVAL returns in ibs_allocate_pmc() with EXTERROR() calls that provide
detailed error messages.
This will be augmented with additional cases in the near future.
Reviewed by: mhorne
Sponsored by: AMD
Signed-off-by: Andre Silva <andasilv at amd.com>
Pull Request: https://github.com/freebsd/freebsd-src/pull/2134
*/*: Replace CONFIGURE_ARGS with MESON_ARGS
Meson based ports that uses CONFIGURE_ARGS "works" as MESON_ARGS is
appended however framework and documentation expects that MESON_ARGS
is used for Meson based ports
PR: 294808
Approved by: blanket
Mk/Uses/meson.mk: Silence warning during do-configure stage
Add setup to CONFIGURE_ARGS to silence following warning:
"WARNING: Running the setup command as `meson [options]` instead of
`meson setup [options]` is ambiguous and deprecated."
While at it add a safeguard when CONFIGURE_ARGS is used instead of
MESON_ARGS
PR: 294808
Reviewed by: desktop (arrowd), previous interation