pccs.service would normally run on a separate host from the compute
host and has no functional dep on mpa_registration.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
While pccs can be run node-local, a typical deployment would
have pccs on the LAN to cache certs across many hosts. As
such a dep on sgx-mpa is inappropriate, and tdx-qgs already
has a weak dep for this.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
pyOpenSSL 24.0.0 removed several APIs required by pccsadmin, so
porting to pycryptography is required.
Using pyasn1 instead of asn1 gives stronger validation during
parsing and brings compatibility with RHEL that lacks python3-asn1
The keyring package needs to be optional on RHEL which lacks this
module (currently).
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
The .service files have to be hardcoded to a path, which must now
be the same as _bindir, so there's no point using _sbindir.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
Recently, Node.js changed the way node modules are installed to allow for better parallel functionality and easier unbundling of certain parts of Node.js.
Previously, Node.js was using a symlink, %{_libdir}/node_modules, which pointed to a versioned path, e.g., %{_libdir}/node_modules_22.
This has changed to using a global %{_libdir}/node_modules static shared folder for generic modules and %{_libdir}/node_modules_XX for version-specific modules.
This change is better described in the Fedora change proposal wiki: https://fedoraproject.org/wiki/Changes/NodejsNodeModulesPath.
This also needed to be reflected in nodejs-packaging macros, which forces a rebuild of dependent packages.
Recently, Node.js changed the way node modules are installed to allow for better parallel functionality and easier unbundling of certain parts of Node.js.
Previously, Node.js was using a symlink, %{_libdir}/node_modules, which pointed to a versioned path, e.g., %{_libdir}/node_modules_22.
This has changed to using a global %{_libdir}/node_modules static shared folder for generic modules and %{_libdir}/node_modules_XX for version-specific modules.
This change is better described in the Fedora change proposal wiki: https://fedoraproject.org/wiki/Changes/NodejsNodeModulesPath.
This also needed to be reflected in nodejs-packaging macros, which forces a rebuild of dependent packages.
cmake 4 dropped compat with cmake < 3.5, which breaks any code
which uses
cmake_minimum_required(VERSION 3.0.0)
Rather than patching the CMakeLists.txt file, or patching the build
system to pass -DCMAKE_POLICY_VERSION_MINIMUM=3.5, set the env var
which gets inherited by any invokatin of cmake.
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>