summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/c3/c3-4.0.1.ebuild6
-rw-r--r--sys-cluster/ceph/ceph-15.2.17.ebuild6
-rw-r--r--sys-cluster/ceph/ceph-16.2.10-r2.ebuild (renamed from sys-cluster/ceph/ceph-16.2.10.ebuild)6
-rw-r--r--sys-cluster/ceph/ceph-16.2.9-r2.ebuild (renamed from sys-cluster/ceph/ceph-16.2.9-r1.ebuild)11
-rw-r--r--sys-cluster/ceph/ceph-17.2.3-r3.ebuild (renamed from sys-cluster/ceph/ceph-17.2.3.ebuild)16
-rw-r--r--sys-cluster/ceph/files/ceph-15.2.15-snappy-1.1.9.patch22
-rw-r--r--sys-cluster/ceph/files/ceph-16.2.10-flags.patch14
-rw-r--r--sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch45
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.0-cyclic-deps.patch29
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.0-gcc12-dout.patch42
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.0-gcc12-header.patch30
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.0-system-opentelemetry.patch2
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.1-python310.patch23
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.3-flags.patch19
-rw-r--r--sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch31
-rw-r--r--sys-cluster/ceph/files/make-node-frontend-tarball.bash140
-rw-r--r--sys-cluster/ceph/metadata.xml1
-rw-r--r--sys-cluster/galera/galera-25.3.28-r2.ebuild2
-rw-r--r--sys-cluster/galera/galera-25.3.35.ebuild2
-rw-r--r--sys-cluster/galera/galera-26.4.10-r1.ebuild2
-rw-r--r--sys-cluster/galera/galera-26.4.8-r1.ebuild2
-rw-r--r--sys-cluster/glusterfs/files/glusterd-10.2-r2.initd32
-rw-r--r--sys-cluster/glusterfs/glusterfs-10.2-r2.ebuild203
-rw-r--r--sys-cluster/glusterfs/metadata.xml1
-rw-r--r--sys-cluster/hpx/Manifest1
-rw-r--r--sys-cluster/hpx/hpx-1.8.1.ebuild105
-rw-r--r--sys-cluster/ipvsadm/Manifest1
-rw-r--r--sys-cluster/ipvsadm/files/ipvsadm-1.27-fix-daemon-state.patch56
-rw-r--r--sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild73
-rw-r--r--sys-cluster/ipvsadm/ipvsadm-1.31-r1.ebuild4
-rw-r--r--sys-cluster/k3s/Manifest7
-rw-r--r--sys-cluster/k3s/k3s-1.24.4_p1.ebuild (renamed from sys-cluster/k3s/k3s-1.24.2_p1.ebuild)6
-rw-r--r--sys-cluster/k3s/k3s-1.25.0_p1.ebuild (renamed from sys-cluster/k3s/k3s-1.24.2_p2.ebuild)8
-rw-r--r--sys-cluster/k9scli/k9scli-0.25.18-r1.ebuild (renamed from sys-cluster/k9scli/k9scli-0.25.18.ebuild)2
-rw-r--r--sys-cluster/kube-apiserver/Manifest14
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.22.13.ebuild (renamed from sys-cluster/kube-apiserver/kube-apiserver-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.22.14.ebuild (renamed from sys-cluster/kube-apiserver/kube-apiserver-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.23.10.ebuild (renamed from sys-cluster/kube-apiserver/kube-apiserver-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.23.11.ebuild (renamed from sys-cluster/kube-apiserver/kube-apiserver-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.24.4.ebuild (renamed from sys-cluster/kube-apiserver/kube-apiserver-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.24.5.ebuild (renamed from sys-cluster/kube-apiserver/kube-apiserver-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.25.0.ebuild39
-rw-r--r--sys-cluster/kube-apiserver/kube-apiserver-1.25.1.ebuild39
-rw-r--r--sys-cluster/kube-controller-manager/Manifest14
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.22.13.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.22.14.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.23.10.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.24.4.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.24.5.ebuild (renamed from sys-cluster/kube-controller-manager/kube-controller-manager-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.25.0.ebuild38
-rw-r--r--sys-cluster/kube-controller-manager/kube-controller-manager-1.25.1.ebuild38
-rw-r--r--sys-cluster/kube-proxy/Manifest14
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.22.13.ebuild (renamed from sys-cluster/kube-proxy/kube-proxy-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.22.14.ebuild (renamed from sys-cluster/kube-proxy/kube-proxy-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.23.10.ebuild (renamed from sys-cluster/kube-proxy/kube-proxy-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.23.11.ebuild (renamed from sys-cluster/kube-proxy/kube-proxy-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.24.4.ebuild (renamed from sys-cluster/kube-proxy/kube-proxy-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.24.5.ebuild (renamed from sys-cluster/kube-proxy/kube-proxy-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.25.0.ebuild34
-rw-r--r--sys-cluster/kube-proxy/kube-proxy-1.25.1.ebuild34
-rw-r--r--sys-cluster/kube-scheduler/Manifest14
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.22.13.ebuild (renamed from sys-cluster/kube-scheduler/kube-scheduler-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.22.14.ebuild (renamed from sys-cluster/kube-scheduler/kube-scheduler-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.23.10.ebuild (renamed from sys-cluster/kube-scheduler/kube-scheduler-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.23.11.ebuild (renamed from sys-cluster/kube-scheduler/kube-scheduler-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.24.4.ebuild (renamed from sys-cluster/kube-scheduler/kube-scheduler-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.24.5.ebuild (renamed from sys-cluster/kube-scheduler/kube-scheduler-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild38
-rw-r--r--sys-cluster/kube-scheduler/kube-scheduler-1.25.1.ebuild38
-rw-r--r--sys-cluster/kubeadm/Manifest14
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.22.13.ebuild (renamed from sys-cluster/kubeadm/kubeadm-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.22.14.ebuild (renamed from sys-cluster/kubeadm/kubeadm-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.23.10.ebuild (renamed from sys-cluster/kubeadm/kubeadm-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.23.11.ebuild (renamed from sys-cluster/kubeadm/kubeadm-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.24.4.ebuild (renamed from sys-cluster/kubeadm/kubeadm-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.24.5.ebuild (renamed from sys-cluster/kubeadm/kubeadm-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.25.0.ebuild33
-rw-r--r--sys-cluster/kubeadm/kubeadm-1.25.1.ebuild33
-rw-r--r--sys-cluster/kubectl/Manifest14
-rw-r--r--sys-cluster/kubectl/kubectl-1.22.13.ebuild (renamed from sys-cluster/kubectl/kubectl-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kubectl/kubectl-1.22.14.ebuild (renamed from sys-cluster/kubectl/kubectl-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kubectl/kubectl-1.23.10.ebuild (renamed from sys-cluster/kubectl/kubectl-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kubectl/kubectl-1.23.11.ebuild (renamed from sys-cluster/kubectl/kubectl-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kubectl/kubectl-1.24.4.ebuild (renamed from sys-cluster/kubectl/kubectl-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kubectl/kubectl-1.24.5.ebuild (renamed from sys-cluster/kubectl/kubectl-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kubectl/kubectl-1.25.0.ebuild33
-rw-r--r--sys-cluster/kubectl/kubectl-1.25.1.ebuild33
-rw-r--r--sys-cluster/kubelet/Manifest14
-rw-r--r--sys-cluster/kubelet/kubelet-1.22.13.ebuild (renamed from sys-cluster/kubelet/kubelet-1.22.10.ebuild)0
-rw-r--r--sys-cluster/kubelet/kubelet-1.22.14.ebuild (renamed from sys-cluster/kubelet/kubelet-1.22.12.ebuild)2
-rw-r--r--sys-cluster/kubelet/kubelet-1.23.10.ebuild (renamed from sys-cluster/kubelet/kubelet-1.23.7.ebuild)0
-rw-r--r--sys-cluster/kubelet/kubelet-1.23.11.ebuild (renamed from sys-cluster/kubelet/kubelet-1.23.9.ebuild)2
-rw-r--r--sys-cluster/kubelet/kubelet-1.24.4.ebuild (renamed from sys-cluster/kubelet/kubelet-1.24.1.ebuild)0
-rw-r--r--sys-cluster/kubelet/kubelet-1.24.5.ebuild (renamed from sys-cluster/kubelet/kubelet-1.24.3.ebuild)2
-rw-r--r--sys-cluster/kubelet/kubelet-1.25.0.ebuild36
-rw-r--r--sys-cluster/kubelet/kubelet-1.25.1.ebuild36
-rw-r--r--sys-cluster/libquo/libquo-1.3.1-r2.ebuild (renamed from sys-cluster/libquo/libquo-1.3.1-r1.ebuild)4
-rw-r--r--sys-cluster/libquo/libquo-9999.ebuild4
-rw-r--r--sys-cluster/ploop/Manifest1
-rw-r--r--sys-cluster/ploop/files/ploop-1.14-musl.patch78
-rw-r--r--sys-cluster/ploop/ploop-1.14.1-r1.ebuild64
-rw-r--r--sys-cluster/ploop/ploop-1.15-r1.ebuild (renamed from sys-cluster/ploop/ploop-1.15.ebuild)8
-rw-r--r--sys-cluster/rdma-core/Manifest2
-rw-r--r--sys-cluster/rdma-core/files/rdma-core-38.0-musl.patch30
-rw-r--r--sys-cluster/rdma-core/metadata.xml24
-rw-r--r--sys-cluster/rdma-core/rdma-core-38.0.ebuild98
-rw-r--r--sys-cluster/rdma-core/rdma-core-39.0.ebuild96
-rw-r--r--sys-cluster/rdma-core/rdma-core-41.0.ebuild2
-rw-r--r--sys-cluster/resource-agents/Manifest2
-rw-r--r--sys-cluster/resource-agents/files/3.9.4-configure.patch30
-rw-r--r--sys-cluster/resource-agents/resource-agents-3.9.6.ebuild59
-rw-r--r--sys-cluster/resource-agents/resource-agents-4.0.1.ebuild59
-rw-r--r--sys-cluster/resource-agents/resource-agents-4.6.1.ebuild4
-rw-r--r--sys-cluster/sanlock/Manifest1
-rw-r--r--sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch34
-rw-r--r--sys-cluster/sanlock/sanlock-3.8.2.ebuild95
-rw-r--r--sys-cluster/sanlock/sanlock-3.8.4-r1.ebuild (renamed from sys-cluster/sanlock/sanlock-3.8.4.ebuild)2
-rw-r--r--sys-cluster/slurm/Manifest2
-rw-r--r--sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch (renamed from sys-cluster/slurm/files/slurm-20.11.0.1_autoconf-lua.patch)19
-rw-r--r--sys-cluster/slurm/metadata.xml6
-rw-r--r--sys-cluster/slurm/slurm-20.11.0.1-r105.ebuild275
-rw-r--r--sys-cluster/slurm/slurm-22.05.3.ebuild (renamed from sys-cluster/slurm/slurm-20.11.0.1-r104.ebuild)36
-rw-r--r--sys-cluster/torque/torque-6.0.4-r2.ebuild2
-rw-r--r--sys-cluster/ucx/Manifest2
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-binutils-2.39-ptr-typedef.patch25
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch20
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-drop-werror.patch33
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-fix-bashisms.patch44
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-fix-fcntl-include-musl.patch103
-rw-r--r--sys-cluster/ucx/files/ucx-1.13.0-no-rpm-sandbox.patch12
-rw-r--r--sys-cluster/ucx/metadata.xml3
-rw-r--r--sys-cluster/ucx/ucx-1.13.0.ebuild57
-rw-r--r--sys-cluster/ucx/ucx-1.13.1.ebuild59
134 files changed, 1614 insertions, 1373 deletions
diff --git a/sys-cluster/c3/c3-4.0.1.ebuild b/sys-cluster/c3/c3-4.0.1.ebuild
index f8985982dde..76baca262f1 100644
--- a/sys-cluster/c3/c3-4.0.1.ebuild
+++ b/sys-cluster/c3/c3-4.0.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -38,8 +38,8 @@ src_install() {
done
# Get systemimager-using tool out of bin, since systemimager isn't in
# portage
- dodoc ${D}/${C3DIR}/cpushimage
- rm ${D}/${C3DIR}/cpushimage || die
+ dodoc "${D}"/${C3DIR}/cpushimage
+ rm "${D}"/${C3DIR}/cpushimage || die
dodoc README README.scale CHANGELOG KNOWN_BUGS
docinto contrib
diff --git a/sys-cluster/ceph/ceph-15.2.17.ebuild b/sys-cluster/ceph/ceph-15.2.17.ebuild
index d3e65042d29..16c75727aa7 100644
--- a/sys-cluster/ceph/ceph-15.2.17.ebuild
+++ b/sys-cluster/ceph/ceph-15.2.17.ebuild
@@ -90,7 +90,7 @@ DEPEND="
)
rbd-rwl? ( dev-libs/pmdk:= )
ssl? ( dev-libs/openssl:= )
- system-boost? ( >=dev-libs/boost-1.72:=[threads(+),context,python,${PYTHON_USEDEP}] )
+ system-boost? ( dev-libs/boost:=[context,python,${PYTHON_USEDEP}] )
!system-boost? ( <sys-libs/glibc-2.34 )
uring? ( sys-libs/liburing:= )
xfs? ( sys-fs/xfsprogs:= )
@@ -328,7 +328,7 @@ src_compile() {
# we have to do this here to prevent from building everything multiple times
python_copy_sources
- python_foreach_impl python_compile
+ distutils-r1_src_compile
}
src_test() {
@@ -346,7 +346,7 @@ python_install() {
src_install() {
cmake_src_install
- python_foreach_impl python_install
+ distutils-r1_src_install
find "${ED}" -name '*.la' -type f -delete || die
diff --git a/sys-cluster/ceph/ceph-16.2.10.ebuild b/sys-cluster/ceph/ceph-16.2.10-r2.ebuild
index 7100183dd1b..79585b405bc 100644
--- a/sys-cluster/ceph/ceph-16.2.10.ebuild
+++ b/sys-cluster/ceph/ceph-16.2.10-r2.ebuild
@@ -40,7 +40,7 @@ DEPEND="
app-arch/bzip2:=
app-arch/lz4:=
app-arch/snappy:=
- || ( >=app-arch/snappy-1.1.9-r1 <app-arch/snappy-1.1.9 )
+ >=app-arch/snappy-1.1.9-r1
app-arch/zstd:=
app-shells/bash:0
app-misc/jq:=
@@ -92,7 +92,7 @@ DEPEND="
rdma? ( sys-cluster/rdma-core:= )
spdk? ( dev-util/cunit )
sqlite? ( dev-db/sqlite:= )
- system-boost? ( >=dev-libs/boost-1.72:=[threads(+),context,python,${PYTHON_USEDEP}] )
+ system-boost? ( dev-libs/boost:=[context,python,${PYTHON_USEDEP},zlib] )
!system-boost? ( $(python_gen_impl_dep '' 3.8 3.9) )
uring? ( sys-libs/liburing:= )
xfs? ( sys-fs/xfsprogs:= )
@@ -218,6 +218,8 @@ PATCHES=(
"${FILESDIR}/ceph-16.2.7-string-includes.patch"
"${FILESDIR}/ceph-17.2.0-fuse3.patch"
"${FILESDIR}/ceph-16.2.9-python310.patch"
+ "${FILESDIR}/ceph-17.2.0-gcc12-header.patch"
+ "${FILESDIR}/ceph-16.2.10-flags.patch"
)
check-reqs_export_vars() {
diff --git a/sys-cluster/ceph/ceph-16.2.9-r1.ebuild b/sys-cluster/ceph/ceph-16.2.9-r2.ebuild
index 880937c7a70..a6cfee73bcb 100644
--- a/sys-cluster/ceph/ceph-16.2.9-r1.ebuild
+++ b/sys-cluster/ceph/ceph-16.2.9-r2.ebuild
@@ -40,7 +40,7 @@ DEPEND="
app-arch/bzip2:=
app-arch/lz4:=
app-arch/snappy:=
- || ( >=app-arch/snappy-1.1.9-r1 <app-arch/snappy-1.1.9 )
+ >=app-arch/snappy-1.1.9-r1
app-arch/zstd:=
app-shells/bash:0
app-misc/jq:=
@@ -92,7 +92,7 @@ DEPEND="
rdma? ( sys-cluster/rdma-core:= )
spdk? ( dev-util/cunit )
sqlite? ( dev-db/sqlite:= )
- system-boost? ( >=dev-libs/boost-1.72:=[threads(+),context,python,${PYTHON_USEDEP}] )
+ system-boost? ( dev-libs/boost:=[context,python,${PYTHON_USEDEP,zlib}] )
!system-boost? ( $(python_gen_impl_dep '' 3.8 3.9) )
uring? ( sys-libs/liburing:= )
xfs? ( sys-fs/xfsprogs:= )
@@ -335,6 +335,8 @@ ceph_src_configure() {
else
mycmakeargs+=(
-DWITH_RADOSGW_SELECT_PARQUET:BOOL=OFF
+ # don't want to warn about unused CLI when reconfiguring for python
+ -DCMAKE_WARN_UNUSED_CLI:BOOL=OFF
)
fi
@@ -405,6 +407,7 @@ src_install() {
python_setup
cmake_src_install
+ python_optimize
find "${ED}" -name '*.la' -type f -delete || die
@@ -471,3 +474,7 @@ pkg_postinst() {
tmpfiles_process ${PN}.conf
udev_reload
}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/sys-cluster/ceph/ceph-17.2.3.ebuild b/sys-cluster/ceph/ceph-17.2.3-r3.ebuild
index 8a67048c345..b5146965365 100644
--- a/sys-cluster/ceph/ceph-17.2.3.ebuild
+++ b/sys-cluster/ceph/ceph-17.2.3-r3.ebuild
@@ -41,7 +41,7 @@ DEPEND="
app-arch/bzip2:=
app-arch/lz4:=
app-arch/snappy:=
- || ( >=app-arch/snappy-1.1.9-r1 <app-arch/snappy-1.1.9 )
+ >=app-arch/snappy-1.1.9-r1
app-arch/zstd:=
app-shells/bash:0
app-misc/jq:=
@@ -99,7 +99,7 @@ DEPEND="
rdma? ( sys-cluster/rdma-core:= )
spdk? ( dev-util/cunit )
sqlite? ( dev-db/sqlite:= )
- system-boost? ( >=dev-libs/boost-1.72:=[threads(+),context,python,${PYTHON_USEDEP}] )
+ system-boost? ( dev-libs/boost:=[context,python,${PYTHON_USEDEP},zlib] )
uring? ( sys-libs/liburing:= )
xfs? ( sys-fs/xfsprogs:= )
zbd? ( sys-block/libzbd:= )
@@ -216,6 +216,10 @@ PATCHES=(
"${FILESDIR}/ceph-17.2.0-fuse3.patch"
"${FILESDIR}/ceph-17.2.0-osd_class_dir.patch"
"${FILESDIR}/ceph-17.2.1-python310.patch"
+ "${FILESDIR}/ceph-17.2.3-gcc12.patch"
+ "${FILESDIR}/ceph-17.2.0-gcc12-dout.patch"
+ "${FILESDIR}/ceph-17.2.0-gcc12-header.patch"
+ "${FILESDIR}/ceph-17.2.3-flags.patch"
)
check-reqs_export_vars() {
@@ -327,6 +331,9 @@ ceph_src_configure() {
else
mycmakeargs+=(
-DWITH_RADOSGW_SELECT_PARQUET:BOOL=OFF
+ -DWITH_JAEGER:BOOL=OFF
+ # don't want to warn about unused CLI when reconfiguring for python
+ -DCMAKE_WARN_UNUSED_CLI:BOOL=OFF
)
fi
@@ -393,6 +400,7 @@ src_install() {
python_setup
cmake_src_install
+ python_optimize
find "${ED}" -name '*.la' -type f -delete || die
@@ -457,3 +465,7 @@ pkg_postinst() {
tmpfiles_process ${PN}.conf
udev_reload
}
+
+pkg_postrm() {
+ udev_reload
+}
diff --git a/sys-cluster/ceph/files/ceph-15.2.15-snappy-1.1.9.patch b/sys-cluster/ceph/files/ceph-15.2.15-snappy-1.1.9.patch
index 3b38c170873..3319f3989ff 100644
--- a/sys-cluster/ceph/files/ceph-15.2.15-snappy-1.1.9.patch
+++ b/sys-cluster/ceph/files/ceph-15.2.15-snappy-1.1.9.patch
@@ -1,25 +1,3 @@
-From 4c13a798dcf2e783afd7558bf3541dc025de854a Mon Sep 17 00:00:00 2001
-From: Nathan Cutler <ncutler@suse.com>
-Date: Tue, 27 Jul 2021 15:27:58 +0200
-Subject: [PATCH] compression/snappy: use uint32_t to be compatible with 1.1.9
-
-The snappy project made the following change in snappy.h between version 1.1.8
-and 1.1.9:
-
-< bool GetUncompressedLength(Source* source, uint32_t* result);
----
-> bool GetUncompressedLength(Source* source, uint32* result);
-
-This causes Ceph to FTBFS with snappy 1.1.9.
-
-Thanks to Chris Denice for bringing this to our attention via Redmine.
-
-Fixes: https://tracker.ceph.com/issues/50934
-Signed-off-by: Nathan Cutler <ncutler@suse.com>
----
- src/compressor/snappy/SnappyCompressor.h | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
diff --git a/src/compressor/snappy/SnappyCompressor.h b/src/compressor/snappy/SnappyCompressor.h
index 25393f8dc1ff4..93206c4007bed 100644
--- a/src/compressor/snappy/SnappyCompressor.h
diff --git a/sys-cluster/ceph/files/ceph-16.2.10-flags.patch b/sys-cluster/ceph/files/ceph-16.2.10-flags.patch
new file mode 100644
index 00000000000..79002b3a5fc
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-16.2.10-flags.patch
@@ -0,0 +1,14 @@
+diff --git a/cmake/modules/Distutils.cmake b/cmake/modules/Distutils.cmake
+index 01a6fc500c8..9eb4658482f 100644
+--- a/cmake/modules/Distutils.cmake
++++ b/cmake/modules/Distutils.cmake
+@@ -90,7 +90,8 @@ function(distutils_add_cython_module target name src)
+ CXX="${PY_CXX}"
+ LDSHARED="${PY_LDSHARED}"
+ OPT=\"-DNDEBUG -g -fwrapv -w\"
+- LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
++ CFLAGS=${CMAKE_C_FLAGS}
++ LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\ ${CMAKE_LINKER_FLAGS}\ ${CMAKE_SHARED_LINKER_FLAGS}
+ CYTHON_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}
+ CEPH_LIBDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
+ ${Python3_EXECUTABLE} ${setup_py}
diff --git a/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch b/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch
new file mode 100644
index 00000000000..79bc5d41f41
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-16.2.10-gcc12.patch
@@ -0,0 +1,45 @@
+diff --git a/src/include/buffer.h b/src/include/buffer.h
+index 7c8f90e9fb5d3..71cb01935000b 100644
+--- a/src/include/buffer.h
++++ b/src/include/buffer.h
+@@ -41,6 +41,7 @@
+ #include <iosfwd>
+ #include <iomanip>
+ #include <list>
++#include <memory>
+ #include <vector>
+ #include <string>
+ #if __cplusplus >= 201703L
+
+diff --git a/src/rgw/rgw_string.h b/src/rgw/rgw_string.h
+index 257daa9c1fe6e..90e64f98a2587 100644
+--- a/src/rgw/rgw_string.h
++++ b/src/rgw/rgw_string.h
+@@ -8,6 +8,8 @@
+ #include <stdlib.h>
+ #include <limits.h>
+ #include <string_view>
++#include <string>
++#include <stdexcept>
+
+ #include <boost/container/small_vector.hpp>
+
+
+diff --git a/src/test/encoding.cc b/src/test/encoding.cc
+index 6d252fae18b71..f18901cbd27d9 100644
+--- a/src/test/encoding.cc
++++ b/src/test/encoding.cc
+@@ -334,11 +334,11 @@ void lame_decoder(int which) {
+ }
+
+ TEST(EncodingException, Macros) {
+- for (unsigned i = 0; i < sizeof(expected_what)/sizeof(expected_what[0]); i++) {
++ for (unsigned i = 0; i < std::size(expected_what); i++) {
+ try {
+ lame_decoder(i);
+ } catch (const exception& e) {
+- ASSERT_EQ(string(expected_what[i]), string(e.what()));
++ ASSERT_NE(string(e.what()).find(expected_what[i]), string::npos);
+ }
+ }
+ }
diff --git a/sys-cluster/ceph/files/ceph-17.2.0-cyclic-deps.patch b/sys-cluster/ceph/files/ceph-17.2.0-cyclic-deps.patch
index f80edddd8de..e9177cc0276 100644
--- a/sys-cluster/ceph/files/ceph-17.2.0-cyclic-deps.patch
+++ b/sys-cluster/ceph/files/ceph-17.2.0-cyclic-deps.patch
@@ -1,32 +1,3 @@
-From 78edb6a91788133334ceeeda0c95529df5f40da8 Mon Sep 17 00:00:00 2001
-From: "Kaleb S. KEITHLEY" <kkeithle@redhat.com>
-Date: Mon, 14 Feb 2022 07:42:08 -0500
-Subject: [PATCH] rgw: cmake configure error on fedora-37/rawhide
-
-see
-https://kojipkgs.fedoraproject.org//work/tasks/6624/82706624/build.log,
-excerpted below
-
-...
-CMake Error: The inter-target dependency graph contains the following
-strongly connected component (cycle): "rgw_common" of type
-STATIC_LIBRARY depends on "dbstore" (weak) depends on "sqlite_db" (weak)
-"dbstore" of type SHARED_LIBRARY depends on "rgw_common" (weak) depends
-on "sqlite_db" (weak) "sqlite_db" of type SHARED_LIBRARY depends on
-"rgw_common" (weak) depends on "dbstore" (weak) At least one of these
-targets is not a STATIC_LIBRARY. Cyclic dependencies are allowed only
-among static libraries. CMake Generate step failed. Build files cannot
-be regenerated correctly.
-...
-
-https://tracker.ceph.com/issues/54266
-
-Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
----
- src/rgw/store/dbstore/CMakeLists.txt | 2 +-
- src/rgw/store/dbstore/sqlite/CMakeLists.txt | 2 +-
- 2 files changed, 2 insertions(+), 2 deletions(-)
-
diff --git a/src/rgw/store/dbstore/CMakeLists.txt b/src/rgw/store/dbstore/CMakeLists.txt
index 143ede3c094c9..18e032b73f54f 100644
--- a/src/rgw/store/dbstore/CMakeLists.txt
diff --git a/sys-cluster/ceph/files/ceph-17.2.0-gcc12-dout.patch b/sys-cluster/ceph/files/ceph-17.2.0-gcc12-dout.patch
new file mode 100644
index 00000000000..d119bf1bf11
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-17.2.0-gcc12-dout.patch
@@ -0,0 +1,42 @@
+From 841806de212226921eeaeb3eea054bda8ccce616 Mon Sep 17 00:00:00 2001
+From: Radoslaw Zarzynski <rzarzyns@redhat.com>
+Date: Wed, 19 Jan 2022 15:24:11 +0000
+Subject: [PATCH 2/2] common: fix FTBFS due to dout & need_dynamic on GCC-12
+
+For details see:
+https://gist.github.com/rzarzynski/d6d2df6888923bef6a3e764f4856853f.
+
+Special thanks to Kaleb Keithley who reported the issue
+and tested the fix!
+
+Fixes: https://tracker.ceph.com/issues/53896
+Signed-off-by: Radoslaw Zarzynski <rzarzyns@redhat.com>
+
+Upstream-Status: Backport [963d756ded40f5adf2efef53893c917bec1845c1]
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ src/common/dout.h | 5 +++--
+ 1 file changed, 3 insertions(+), 2 deletions(-)
+
+diff --git a/src/common/dout.h b/src/common/dout.h
+index c7c08182..42f49915 100644
+--- a/src/common/dout.h
++++ b/src/common/dout.h
+@@ -99,11 +99,12 @@ namespace ceph::dout {
+ template<typename T>
+ struct dynamic_marker_t {
+ T value;
+- operator T() const { return value; }
++ // constexpr ctor isn't needed as it's an aggregate type
++ constexpr operator T() const { return value; }
+ };
+
+ template<typename T>
+-dynamic_marker_t<T> need_dynamic(T&& t) {
++constexpr dynamic_marker_t<T> need_dynamic(T&& t) {
+ return dynamic_marker_t<T>{ std::forward<T>(t) };
+ }
+
+--
+2.36.0
+
diff --git a/sys-cluster/ceph/files/ceph-17.2.0-gcc12-header.patch b/sys-cluster/ceph/files/ceph-17.2.0-gcc12-header.patch
new file mode 100644
index 00000000000..70d3eb94c97
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-17.2.0-gcc12-header.patch
@@ -0,0 +1,30 @@
+From 496465d9238109a93612e28682273e5bf576823b Mon Sep 17 00:00:00 2001
+From: Chen Qi <Qi.Chen@windriver.com>
+Date: Sun, 22 May 2022 19:40:59 -0700
+Subject: [PATCH 1/2] buffer.h: add missing header file due to gcc upgrade
+
+The header file <memory> have been changed to be no longer included by other
+heades, thus requiring explicit include. See https://gcc.gnu.org/gcc-12/porting_to.html
+
+Upstream-Status: Pending
+
+Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
+---
+ src/include/buffer.h | 1 +
+ 1 file changed, 1 insertion(+)
+
+diff --git a/src/include/buffer.h b/src/include/buffer.h
+index 5c8b427d..88845ee6 100644
+--- a/src/include/buffer.h
++++ b/src/include/buffer.h
+@@ -43,6 +43,7 @@
+ #include <list>
+ #include <vector>
+ #include <string>
++#include <memory>
+ #if __cplusplus >= 201703L
+ #include <string_view>
+ #endif // __cplusplus >= 201703L
+--
+2.36.0
+
diff --git a/sys-cluster/ceph/files/ceph-17.2.0-system-opentelemetry.patch b/sys-cluster/ceph/files/ceph-17.2.0-system-opentelemetry.patch
index 6e0788a093e..1b4e614bb51 100644
--- a/sys-cluster/ceph/files/ceph-17.2.0-system-opentelemetry.patch
+++ b/sys-cluster/ceph/files/ceph-17.2.0-system-opentelemetry.patch
@@ -9,7 +9,7 @@ index 30cf3605468..902e2123d04 100644
- include(BuildOpentelemetry)
- build_opentelemetry()
- set(jaeger_base opentelemetry::libopentelemetry thrift::libthrift)
-+ find_package(opentelemetry-cpp 1.3.0 REQUIRED)
++ find_package(opentelemetry-cpp REQUIRED)
+ set(jaeger_base
+ opentelemetry-cpp::common
+ opentelemetry-cpp::trace
diff --git a/sys-cluster/ceph/files/ceph-17.2.1-python310.patch b/sys-cluster/ceph/files/ceph-17.2.1-python310.patch
index 767cd2922a2..959e98a8067 100644
--- a/sys-cluster/ceph/files/ceph-17.2.1-python310.patch
+++ b/sys-cluster/ceph/files/ceph-17.2.1-python310.patch
@@ -1,26 +1,3 @@
-From 389054888f2aa782f73564125ec7a1ef0212d536 Mon Sep 17 00:00:00 2001
-From: Pete Zaitcev <zaitcev@redhat.com>
-Date: Tue, 14 Dec 2021 23:04:34 -0600
-Subject: [PATCH] mgr: Define PY_SSIZE_T_CLEAN ahead of every Python.h
-
-Building on Fedora 35 with Python 3.10 makes vstart to loop
-forever, throwing the following message:
-
- Error EINVAL: SystemError: PY_SSIZE_T_CLEAN macro must be
- defined for '#' formats
-
-I followed the hint in the following document:
- https://docs.python.org/3/c-api/intro.html
-
-It says "recommended" to always define PY_SSIZE_T_CLEAN,
-but as you can see it is actually required in our case.
-
-Fixes: https://tracker.ceph.com/issues/53441
-Signed-off-by: Pete Zaitcev <zaitcev@redhat.com>
----
- src/mgr/CMakeLists.txt | 1 +
- 1 file changed, 1 insertion(+)
-
diff --git a/src/mgr/CMakeLists.txt b/src/mgr/CMakeLists.txt
index 55147af4fc6ba..8f39e41ac0694 100644
--- a/src/mgr/CMakeLists.txt
diff --git a/sys-cluster/ceph/files/ceph-17.2.3-flags.patch b/sys-cluster/ceph/files/ceph-17.2.3-flags.patch
new file mode 100644
index 00000000000..236ff544183
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-17.2.3-flags.patch
@@ -0,0 +1,19 @@
+diff --git a/cmake/modules/Distutils.cmake b/cmake/modules/Distutils.cmake
+index 1916363382f..ae460d84542 100644
+--- a/cmake/modules/Distutils.cmake
++++ b/cmake/modules/Distutils.cmake
+@@ -94,12 +94,12 @@ function(distutils_add_cython_module target name src)
+ COMMAND
+ env
+ CC="${PY_CC}"
+- CFLAGS="${PY_CFLAGS}"
++ CFLAGS="${PY_CFLAGS}"\ ${CMAKE_C_FLAGS}
+ CPPFLAGS="${PY_CPPFLAGS}"
+ CXX="${PY_CXX}"
+ LDSHARED="${PY_LDSHARED}"
+ OPT=\"-DNDEBUG -g -fwrapv -w\"
+- LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
++ LDFLAGS=-L${CMAKE_LIBRARY_OUTPUT_DIRECTORY}\ ${CMAKE_LINKER_FLAGS}\ ${CMAKE_SHARED_LINKER_FLAGS}
+ CYTHON_BUILD_DIR=${CMAKE_CURRENT_BINARY_DIR}
+ CEPH_LIBDIR=${CMAKE_LIBRARY_OUTPUT_DIRECTORY}
+ ${Python3_EXECUTABLE} ${setup_py}
diff --git a/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch b/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch
new file mode 100644
index 00000000000..356da385fed
--- /dev/null
+++ b/sys-cluster/ceph/files/ceph-17.2.3-gcc12.patch
@@ -0,0 +1,31 @@
+diff --git a/src/include/buffer.h b/src/include/buffer.h
+index 7c8f90e9fb5d3..71cb01935000b 100644
+--- a/src/include/buffer.h
++++ b/src/include/buffer.h
+@@ -41,6 +41,7 @@
+ #include <iosfwd>
+ #include <iomanip>
+ #include <list>
++#include <memory>
+ #include <vector>
+ #include <string>
+ #if __cplusplus >= 201703L
+
+diff --git a/src/test/encoding.cc b/src/test/encoding.cc
+index 6d252fae18b71..f18901cbd27d9 100644
+--- a/src/test/encoding.cc
++++ b/src/test/encoding.cc
+@@ -334,11 +334,11 @@ void lame_decoder(int which) {
+ }
+
+ TEST(EncodingException, Macros) {
+- for (unsigned i = 0; i < sizeof(expected_what)/sizeof(expected_what[0]); i++) {
++ for (unsigned i = 0; i < std::size(expected_what); i++) {
+ try {
+ lame_decoder(i);
+ } catch (const exception& e) {
+- ASSERT_EQ(string(expected_what[i]), string(e.what()));
++ ASSERT_NE(string(e.what()).find(expected_what[i]), string::npos);
+ }
+ }
+ }
diff --git a/sys-cluster/ceph/files/make-node-frontend-tarball.bash b/sys-cluster/ceph/files/make-node-frontend-tarball.bash
deleted file mode 100644
index 0a8015ffa98..00000000000
--- a/sys-cluster/ceph/files/make-node-frontend-tarball.bash
+++ /dev/null
@@ -1,140 +0,0 @@
-#!/bin/bash
-
-frontend_path="src/pybind/mgr/dashboard/frontend"
-node_dir="node_modules"
-output_name_format="ceph-%s-frontend-node-modules.tar.xz"
-cache_dir_format="ceph-%s-npm-cache"
-
-# regexes for modules to remove
-remove_modules=(
- "^karma.*"
- "^jasmine.*"
- ".+/jasmine.*"
- "^tslint.*"
- "^codelyzer"
- "^protractor"
- "^ts-node"
-)
-
-# location to find dependencies to prune
-node_dep_location="devDependencies"
-
-# node package files
-node_package_file="package.json"
-node_package_lock="package-lock.json"
-
-# system commands needed
-dependencies=(
- wget
- git
- gzip
- jq
- tar
- xz
-)
-
-check_deps() {
- local dep
-
- for dep in "${dependencies[@]}"; do
- if ! command -v "${dep}" >/dev/null; then
- printf '%s: ERROR could not find required command "%s"\n' "${appname}" "${dep}" >&2
- exit 1
- fi
- done
-
- # make sure that jq was compiled with support for regexes
- if ! jq -c 'map( select(. | test("TEST"; "i")))' <<< '{"TEST": "TEST"}' >/dev/null; then
- printf '%s: ERROR: jq does not support regular expressions, make sure the "oniguruma" USE flag is enabled\n' \
- "${appname}"
- exit 1
- fi
- :
-}
-
-get_npm_packages() {
- local tempfile jq_regex full_cache_dir
-
- full_cache_dir="${PWD}/${cache_dir}"
-
- pushd "${source_path}/${frontend_path}" > /dev/null
- if [[ ! -r "${node_package_file}" ]]; then
- printf '%s: ERROR: could not find "%s" in "%s"\n' "${appname}" \
- "${node_package_file}" "${frontend_path}"
- exit 1
- fi
-
- tempfile="$(TMPDIR="." mktemp packages-XXXXX.json)"
-
- jq_regex="$(printf "%s|" "${remove_modules[@]}")"
-
- # filter out test only deps that pull in precompiled binaries
- # shellcheck disable=SC2031
- jq --monochrome-output --raw-output --exit-status \
- '."'"${node_dep_location}"'"|=with_entries(select(.key|test("('"${jq_regex%|}"')")|not))' \
- "${node_package_file}" > "${tempfile}"
-
- # make sure output is still valid JSON
- jq . --exit-status "${tempfile}" > /dev/null
-
- mv "${tempfile}" "${node_package_file}"
-
- rm -rf "${full_cache_dir:?}" "${node_dir:?}" "${node_package_lock:?}"
-
- npm install --ignore-scripts --cache="${full_cache_dir}"
-
- popd >/dev/null
-}
-
-main() {
- local appname source_path version cache_dir
-
- set -e
- set -o pipefail
- shopt -s nullglob
-
- appname=$(basename "${0}")
- source_path="${1}"
- version="${2}"
-
- if [[ -z ${source_path} || -z ${version} ]]; then
- printf 'Syntax: %s <source directory> <version>\n' "${appname}" >&2
- return 1
-
- elif [[ ! -d ${source_path} ]]; then
- printf '%s: ERROR: Not a directory: %s\n' "${appname}" "${source_path}"
- return 1
- fi
-
- check_deps
-
- # shellcheck disable=SC2059
- cache_dir="$(printf -- "${cache_dir_format}\\n" "${version}")"
-
- get_npm_packages
- pack_tarball
-}
-
-pack_tarball() {
- local output
-
- # shellcheck disable=SC2059
- output="$(printf -- "${output_name_format}\\n" "${version}")"
-
- tar caf "${output}" \
- --numeric-owner \
- --anchored \
- --owner="root:0" \
- --group="root:0" \
- --exclude-vcs \
- --transform="s:^${source_path}/:ceph-${version}/:" \
- "${cache_dir}" \
- "${source_path}/${frontend_path}/${node_package_file}" \
- "${source_path}/${frontend_path}/${node_package_lock}"
-
- printf '%s: Output written to "%s"\n' "${appname}" "${output}"
-}
-
-main "${@}"
-
-# vim:ft=sh:noet:ts=4:sts=4:sw=4:
diff --git a/sys-cluster/ceph/metadata.xml b/sys-cluster/ceph/metadata.xml
index 0f7b1135bd1..ee5e501736a 100644
--- a/sys-cluster/ceph/metadata.xml
+++ b/sys-cluster/ceph/metadata.xml
@@ -41,5 +41,6 @@
</use>
<upstream>
<bugs-to>https://tracker.ceph.com/issues</bugs-to>
+ <remote-id type="github">ceph/ceph</remote-id>
</upstream>
</pkgmetadata>
diff --git a/sys-cluster/galera/galera-25.3.28-r2.ebuild b/sys-cluster/galera/galera-25.3.28-r2.ebuild
index e45e685f02a..eb95bef3291 100644
--- a/sys-cluster/galera/galera-25.3.28-r2.ebuild
+++ b/sys-cluster/galera/galera-25.3.28-r2.ebuild
@@ -20,7 +20,7 @@ RESTRICT="!test? ( test )"
CDEPEND="
dev-libs/openssl:0=
- >=dev-libs/boost-1.41:0=
+ dev-libs/boost:=
"
BDEPEND=">=sys-devel/gcc-4.4"
DEPEND="${BDEPEND}
diff --git a/sys-cluster/galera/galera-25.3.35.ebuild b/sys-cluster/galera/galera-25.3.35.ebuild
index 56491a2b77f..cec35cd930c 100644
--- a/sys-cluster/galera/galera-25.3.35.ebuild
+++ b/sys-cluster/galera/galera-25.3.35.ebuild
@@ -23,7 +23,7 @@ RESTRICT="!test? ( test )"
COMMON_DEPEND="
dev-libs/openssl:0=
- >=dev-libs/boost-1.41:0=
+ dev-libs/boost:=
"
DEPEND="
diff --git a/sys-cluster/galera/galera-26.4.10-r1.ebuild b/sys-cluster/galera/galera-26.4.10-r1.ebuild
index cb0b0bf6fe8..9647d547cd3 100644
--- a/sys-cluster/galera/galera-26.4.10-r1.ebuild
+++ b/sys-cluster/galera/galera-26.4.10-r1.ebuild
@@ -27,7 +27,7 @@ RESTRICT="test"
COMMON_DEPEND="
dev-libs/openssl:0=
- >=dev-libs/boost-1.41:0=
+ dev-libs/boost:=
"
DEPEND="
diff --git a/sys-cluster/galera/galera-26.4.8-r1.ebuild b/sys-cluster/galera/galera-26.4.8-r1.ebuild
index e42efc9eb9b..f071a52b10e 100644
--- a/sys-cluster/galera/galera-26.4.8-r1.ebuild
+++ b/sys-cluster/galera/galera-26.4.8-r1.ebuild
@@ -24,7 +24,7 @@ RESTRICT="test"
CDEPEND="
dev-libs/openssl:0=
- >=dev-libs/boost-1.41:0=
+ dev-libs/boost:=
"
BDEPEND=">=sys-devel/gcc-4.4"
diff --git a/sys-cluster/glusterfs/files/glusterd-10.2-r2.initd b/sys-cluster/glusterfs/files/glusterd-10.2-r2.initd
new file mode 100644
index 00000000000..e7e53f3ed9c
--- /dev/null
+++ b/sys-cluster/glusterfs/files/glusterd-10.2-r2.initd
@@ -0,0 +1,32 @@
+#!/sbin/openrc-run
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+description="Gluster elastic volume management daemon"
+command="/usr/sbin/glusterd"
+pidfile="/run/${SVCNAME}.pid"
+command_args="-N"
+
+command_background="yes"
+
+depend() {
+ need net
+ before netmount
+}
+
+start_pre() {
+ # Ensure that the GlusterFS auxiliary mount parent directory exists
+ checkpath --directory --owner gluster:gluster --mode 0775 /run/gluster
+}
+
+start_post() {
+ local c=0
+ ebegin "Waiting for glusterd to start up"
+ while ! /usr/sbin/gluster volume list >/dev/null 2>&1 && [ "${c}" -lt "${glusterd_max_wait_start-60}" ]; do
+ c=$(( c+1 ))
+ done
+ [ "${c}" -lt "${glusterd_max_wait_start-60}" ]
+ eend $?
+
+ return 0
+}
diff --git a/sys-cluster/glusterfs/glusterfs-10.2-r2.ebuild b/sys-cluster/glusterfs/glusterfs-10.2-r2.ebuild
new file mode 100644
index 00000000000..183c91a3c4c
--- /dev/null
+++ b/sys-cluster/glusterfs/glusterfs-10.2-r2.ebuild
@@ -0,0 +1,203 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit autotools elisp-common python-single-r1 tmpfiles systemd
+
+DESCRIPTION="GlusterFS is a powerful network/cluster filesystem"
+HOMEPAGE="https://www.gluster.org/ https://github.com/gluster/glusterfs/"
+SRC_URI="https://download.gluster.org/pub/gluster/${PN}/$(ver_cut 1)/${PV}/${P}.tar.gz"
+
+LICENSE="|| ( GPL-2 LGPL-3+ )"
+SLOT="0/${PV%%.*}"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ppc64 ~riscv x86"
+
+IUSE="debug emacs +fuse georeplication ipv6 +libtirpc rsyslog static-libs tcmalloc test +uring xml"
+
+REQUIRED_USE="${PYTHON_REQUIRED_USE}
+ georeplication? ( xml )
+ ipv6? ( libtirpc )"
+
+# the tests must be run as root
+RESTRICT="test"
+
+# sys-apps/util-linux is required for libuuid
+RDEPEND="
+ acct-group/gluster
+ acct-user/gluster
+ dev-libs/libaio
+ dev-libs/openssl:=[-bindist(-)]
+ net-libs/rpcsvc-proto
+ dev-libs/userspace-rcu:=
+ sys-apps/util-linux
+ sys-libs/readline:=
+ !elibc_glibc? ( sys-libs/argp-standalone )
+ emacs? ( >=app-editors/emacs-23.1:* )
+ fuse? ( >=sys-fs/fuse-2.7.0:0 )
+ georeplication? ( ${PYTHON_DEPS} )
+ libtirpc? ( net-libs/libtirpc:= )
+ !libtirpc? ( elibc_glibc? ( sys-libs/glibc[rpc(-)] ) )
+ tcmalloc? ( dev-util/google-perftools )
+ uring? ( sys-libs/liburing:= )
+ xml? ( dev-libs/libxml2 )
+"
+DEPEND="
+ ${RDEPEND}
+ sys-devel/bison
+ sys-devel/flex
+ virtual/acl
+ test? ( >=dev-util/cmocka-1.0.1
+ app-benchmarks/dbench
+ dev-vcs/git
+ net-fs/nfs-utils
+ virtual/perl-Test-Harness
+ dev-libs/yajl
+ sys-fs/xfsprogs
+ sys-apps/attr )
+"
+BDEPEND="
+ virtual/pkgconfig
+"
+
+SITEFILE="50${PN}-mode-gentoo.el"
+
+DOCS=( AUTHORS ChangeLog NEWS README.md THANKS )
+
+QA_PKGCONFIG_VERSION=7.10.2
+
+# Maintainer notes:
+# * The build system will always configure & build argp-standalone but it'll never use it
+# if the argp.h header is found in the system. Which should be the case with
+# glibc or if argp-standalone is installed.
+
+pkg_setup() {
+ python_setup "python3*"
+ python-single-r1_pkg_setup
+}
+
+src_prepare() {
+ default
+
+ # build rpc-transport and xlators only once as shared libs
+ find rpc/rpc-transport xlators -name Makefile.am -exec \
+ sed -i 's|.*$(top_srcdir).*\.sym|\0 -shared|' {} + || die
+
+ # fix execution permissions
+ chmod +x libglusterfs/src/gen-defaults.py || die
+
+ eautoreconf
+}
+
+src_configure() {
+ econf \
+ --disable-fusermount \
+ --disable-lto \
+ $(use_enable debug) \
+ $(use_enable fuse fuse-client) \
+ $(use_enable georeplication) \
+ $(use_enable static-libs static) \
+ $(use_enable test cmocka) \
+ $(use_enable uring linux-io-uring) \
+ $(use_enable xml xml-output) \
+ $(usex ipv6 --with-ipv6-default "") \
+ $(usex libtirpc "" --without-libtirpc) \
+ $(usex tcmalloc "" --without-tcmalloc) \
+ --with-tmpfilesdir="${EPREFIX}"/usr/lib/tmpfiles.d \
+ --localstatedir="${EPREFIX}"/var
+}
+
+src_compile() {
+ default
+ use emacs && elisp-compile extras/glusterfs-mode.el
+}
+
+src_test() {
+ ./run-tests.sh || die
+}
+
+src_install() {
+ default
+
+ rm \
+ "${ED}"/etc/glusterfs/glusterfs-{georep-,}logrotate \
+ "${ED}"/etc/glusterfs/gluster-rsyslog-*.conf \
+ "${ED}"/usr/share/doc/${PF}/glusterfs{-mode.el,.vim} || die "removing false files failed"
+
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/glusterfs.logrotate glusterfs
+
+ if use rsyslog ; then
+ insinto /etc/rsyslog.d
+ newins extras/gluster-rsyslog-7.2.conf 60-gluster.conf
+ fi
+
+ if use emacs ; then
+ elisp-install ${PN} extras/glusterfs-mode.el*
+ elisp-site-file-install "${FILESDIR}/${SITEFILE}"
+ fi
+
+ insinto /usr/share/vim/vimfiles/ftdetect; doins "${FILESDIR}"/${PN}.vim
+ insinto /usr/share/vim/vimfiles/syntax; doins extras/${PN}.vim
+
+ # insert some other tools which might be useful
+ insinto /usr/share/glusterfs/scripts
+ doins \
+ extras/backend-{cleanup,xattr-sanitize}.sh \
+ extras/clear_xattrs.sh \
+ extras/migrate-unify-to-distribute.sh
+
+ # correct permissions on installed scripts
+ # fperms 0755 /usr/share/glusterfs/scripts/*.sh
+ chmod 0755 "${ED}"/usr/share/glusterfs/scripts/*.sh || die
+
+ newinitd "${FILESDIR}/glusterfsd-10.2.initd" glusterfsd
+ newinitd "${FILESDIR}/glusterd-10.2-r2.initd" glusterd
+ newconfd "${FILESDIR}/${PN}.confd" glusterfsd
+
+ keepdir /var/log/${PN}
+ keepdir /var/lib/glusterd/{events,glusterfind/.keys}
+
+ systemd_dounit extras/systemd/{glusterd,glustereventsd,glusterfssharedstorage,gluster-ta-volume}.service
+
+ # QA
+ rm -r "${ED}/var/run/" || die
+ if ! use static-libs; then
+ find "${D}" -type f -name '*.la' -delete || die
+ fi
+
+ python_optimize "${ED}"
+}
+
+pkg_postinst() {
+ tmpfiles_process gluster.conf
+
+ elog "Starting with ${PN}-3.1.0, you can use the glusterd daemon to configure your"
+ elog "volumes dynamically. To do so, simply use the gluster CLI after running:"
+ elog " /etc/init.d/glusterd start"
+ echo
+ elog "For static configurations, the glusterfsd startup script can be multiplexed."
+ elog "The default startup script uses /etc/conf.d/glusterfsd to configure the"
+ elog "separate service. To create additional instances of the glusterfsd service"
+ elog "simply create a symlink to the glusterfsd startup script."
+ echo
+ elog "Example:"
+ elog " # ln -s glusterfsd /etc/init.d/glusterfsd2"
+ elog " # ${EDITOR} /etc/glusterfs/glusterfsd2.vol"
+ elog "You can now treat glusterfsd2 like any other service"
+ echo
+ ewarn "You need to use a ntp client to keep the clocks synchronized across all"
+ ewarn "of your servers. Setup a NTP synchronizing service before attempting to"
+ ewarn "run GlusterFS."
+ echo
+ elog "If you are upgrading from a previous version of ${PN}, please read:"
+ elog " http://docs.gluster.org/en/latest/Upgrade-Guide/upgrade_to_$(ver_cut '1-2')/"
+
+ use emacs && elisp-site-regen
+}
+
+pkg_postrm() {
+ use emacs && elisp-site-regen
+}
diff --git a/sys-cluster/glusterfs/metadata.xml b/sys-cluster/glusterfs/metadata.xml
index 73cd1d833a4..ec48e5f0ac9 100644
--- a/sys-cluster/glusterfs/metadata.xml
+++ b/sys-cluster/glusterfs/metadata.xml
@@ -26,5 +26,6 @@
<flag name="ipv6">Use IPv6 by default, requires libtirpc</flag>
<flag name="libtirpc">Build against <pkg>net-libs/libtirpc</pkg> for RPC support</flag>
<flag name="rsyslog">Install configuration snippet for <pkg>app-admin/rsyslog</pkg></flag>
+ <flag name="uring">Control whether or not glusterfs is compiled with uring support or not.</flag>
</use>
</pkgmetadata>
diff --git a/sys-cluster/hpx/Manifest b/sys-cluster/hpx/Manifest
index 4783253e878..ab1db7886af 100644
--- a/sys-cluster/hpx/Manifest
+++ b/sys-cluster/hpx/Manifest
@@ -1 +1,2 @@
DIST hpx-1.8.0.tar.gz 5209106 BLAKE2B aab9d3743cc2d73c2d3a6a2f2323e35dbe38cf506618475ea627d9c0d92855632f646404f5b257e2260eabe6bb22e8090bc3db2aafd9f4f71a0eeb62d7286247 SHA512 80afc93d517144d5c11164f82d7f0dd6fd71c079fb65930532c4fd96b6a5497cdf972bee8a6251035548a3662579a3bee5c04802569f47bc3c042ca868716cb7
+DIST hpx-1.8.1.tar.gz 5242024 BLAKE2B 0a08c004573cf2bebff4042f859fa457bd821bd55b58aa0e0e56dfc8b80378469c24daa94789196d9486a3321598031a0930306e2e76c311b6fd8179e9bc61a1 SHA512 af2471a04dd0a3c414907ed06661ab1c6f6a49cc09d1ed3ae5d5587ca365270797a1d2ce9d0320dc7d7f9ff2c6d29037c7fbb84fa6d9c0033628ba7036f12986
diff --git a/sys-cluster/hpx/hpx-1.8.1.ebuild b/sys-cluster/hpx/hpx-1.8.1.ebuild
new file mode 100644
index 00000000000..f99ace8db3a
--- /dev/null
+++ b/sys-cluster/hpx/hpx-1.8.1.ebuild
@@ -0,0 +1,105 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..11} )
+
+if [[ ${PV} == 9999 ]] ; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/STEllAR-GROUP/hpx.git"
+else
+ SRC_URI="https://github.com/STEllAR-GROUP/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+fi
+inherit check-reqs cmake multiprocessing python-single-r1
+
+DESCRIPTION="C++ runtime system for parallel and distributed applications"
+HOMEPAGE="https://hpx.stellar-group.org/"
+
+SLOT="0"
+LICENSE="Boost-1.0"
+IUSE="examples jemalloc mpi papi +perftools tbb zlib"
+# tests fail to compile
+RESTRICT="test"
+
+REQUIRED_USE="
+ ${PYTHON_REQUIRED_USE}
+ ?? ( jemalloc perftools tbb )
+"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+RDEPEND="
+ ${PYTHON_DEPS}
+ >=dev-cpp/asio-1.12.0
+ dev-libs/boost:=
+ sys-apps/hwloc:=
+ jemalloc? ( dev-libs/jemalloc:= )
+ mpi? ( virtual/mpi )
+ papi? ( dev-libs/papi )
+ perftools? ( dev-util/google-perftools:= )
+ tbb? ( dev-cpp/tbb:= )
+ zlib? ( sys-libs/zlib )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}/${PN}-1.8.0-python.patch"
+)
+
+hpx_memory_requirement() {
+ # HPX needs enough main memory for compiling
+ # rule of thumb: 1G per job
+ if [[ -z ${MAKEOPTS} ]] ; then
+ echo "2G"
+ else
+ local jobs=$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")
+ echo "${jobs}G"
+ fi
+}
+
+pkg_pretend() {
+ local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+ check-reqs_pkg_setup
+}
+
+pkg_setup() {
+ local CHECKREQS_MEMORY=$(hpx_memory_requirement)
+ check-reqs_pkg_setup
+ python-single-r1_pkg_setup
+}
+
+src_configure() {
+ local mycmakeargs=(
+ -DHPX_WITH_EXAMPLES=OFF
+ -DHPX_WITH_DOCUMENTATION=OFF
+ -DHPX_WITH_PARCELPORT_MPI=$(usex mpi)
+ -DHPX_WITH_PAPI=$(usex papi)
+ -DHPX_WITH_GOOGLE_PERFTOOLS=$(usex perftools)
+ -DHPX_WITH_COMPRESSION_ZLIB=$(usex zlib)
+ -DHPX_WITH_TESTS=OFF
+ )
+ if use jemalloc; then
+ mycmakeargs+=( -DHPX_WITH_MALLOC=jemalloc )
+ elif use perftools; then
+ mycmakeargs+=( -DHPX_WITH_MALLOC=tcmalloc )
+ elif use tbb; then
+ mycmakeargs+=( -DHPX_WITH_MALLOC=tbbmalloc )
+ else
+ mycmakeargs+=( -DHPX_WITH_MALLOC=system )
+ fi
+
+ cmake_src_configure
+}
+
+src_compile() {
+ cmake_src_compile
+}
+
+src_install() {
+ cmake_src_install
+ use examples && dodoc -r examples/
+ python_fix_shebang "${ED}"
+}
diff --git a/sys-cluster/ipvsadm/Manifest b/sys-cluster/ipvsadm/Manifest
index fab6b310824..316c23370ea 100644
--- a/sys-cluster/ipvsadm/Manifest
+++ b/sys-cluster/ipvsadm/Manifest
@@ -1,2 +1 @@
-DIST ipvsadm-1.27.tar.xz 38196 BLAKE2B 1b8a72b11c14a909b8b7459c459195d32bb7944ed4a01d963e2b85e8279c5d7d2fd095d9c23473c64dc15881a2b22b439b39c10b2019b3183f54e22535a258a9 SHA512 cf982b7981674c91d1b7516de7b55cf378b306ce4a53e13976b8eeb8610015c4fa4aa9d251bc4d329db8e05c1862863160af2d3c63b76263f290087cffdf1b80
DIST ipvsadm-1.31.tar.xz 42396 BLAKE2B a42ceea834fb16e25ea34417227f6b632fe3b94c8a7ce5d3daff4375884fd47f14999551eab3bf7226d5eb02f25aef4c77a8287592b642946683bc5ddc6783da SHA512 1c7187405771e702eff0009d688fa697375b833a486ff88b41a4a0dcfaa3e9884c7e3bc34375efea5f6a2d025847c9fac9fd6ba694ec3bf2fc9d357eef2cb631
diff --git a/sys-cluster/ipvsadm/files/ipvsadm-1.27-fix-daemon-state.patch b/sys-cluster/ipvsadm/files/ipvsadm-1.27-fix-daemon-state.patch
deleted file mode 100644
index e3e5ebec72c..00000000000
--- a/sys-cluster/ipvsadm/files/ipvsadm-1.27-fix-daemon-state.patch
+++ /dev/null
@@ -1,56 +0,0 @@
-From 8c34d5a0d4c763db9b8f1e54be0c6c3ded6c54e0 Mon Sep 17 00:00:00 2001
-From: Alexander Holler <alexander.holler@1und1.de>
-Date: Mon, 9 Jan 2012 13:16:55 +0100
-Subject: [PATCH] libipvs: Fix reporting of the state of the backup-daemon.
-
-ipvsadm -l --daemon didn't report a running ipvs-backup-daemon
-(if no master-daemon was run).
-
-It seems there was some misunderstanding of
-how the daemons got reported (without using netlink). The state of
-the backup-daemon is always reported (by the kernel) in the second
-element of type ip_vs_daemon_user which is returned by the kernel
-through IP_VS_SO_GET_DAEMON or IPVS_CMD_GET_DAEMON.
-
-Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
-
----
- libipvs/libipvs.c | 11 ++++++-----
- 1 files changed, 6 insertions(+), 5 deletions(-)
-
-Note: patch adjusted slightly to apply against ipvsadm (was spun for keepalived) - robbat2
-
-diff --git a/libipvs/libipvs.c b/libipvs/libipvs.c
-index ea5e851..6bee837 100644
---- a/libipvs/libipvs.c
-+++ b/libipvs/libipvs.c
-@@ -1003,12 +1003,9 @@ static int ipvs_daemon_parse_cb(struct nl_msg *msg, void *arg)
- struct nlattr *attrs[IPVS_CMD_ATTR_MAX + 1];
- struct nlattr *daemon_attrs[IPVS_DAEMON_ATTR_MAX + 1];
- ipvs_daemon_t *u = (ipvs_daemon_t *)arg;
-+ __u32 state;
- int i = 0;
-
-- /* We may get two daemons. If we've already got one, this is the second */
-- if (u[0].state)
-- i = 1;
--
- if (genlmsg_parse(nlh, 0, attrs, IPVS_CMD_ATTR_MAX, ipvs_cmd_policy) != 0)
- return -1;
-
-@@ -1021,7 +1018,11 @@ static int ipvs_daemon_parse_cb(struct nl_msg *msg, void *arg)
- daemon_attrs[IPVS_DAEMON_ATTR_SYNC_ID]))
- return -1;
-
-- u[i].state = nla_get_u32(daemon_attrs[IPVS_DAEMON_ATTR_STATE]);
-+ state = nla_get_u32(daemon_attrs[IPVS_DAEMON_ATTR_STATE]);
-+ /* The second element is used for the state of the backup daemon. */
-+ if (state == IP_VS_STATE_BACKUP)
-+ i = 1;
-+ u[i].state = state;
- strncpy(u[i].mcast_ifn,
- nla_get_string(daemon_attrs[IPVS_DAEMON_ATTR_MCAST_IFN]),
- IP_VS_IFNAME_MAXLEN);
---
-1.7.6.5
-
diff --git a/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild
deleted file mode 100644
index 6cdcb9bf785..00000000000
--- a/sys-cluster/ipvsadm/ipvsadm-1.27-r1.ebuild
+++ /dev/null
@@ -1,73 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit epatch linux-info toolchain-funcs
-
-DESCRIPTION="utility to administer the IP virtual server services"
-HOMEPAGE="http://linuxvirtualserver.org/"
-SRC_URI="https://kernel.org/pub/linux/utils/kernel/ipvsadm/ipvsadm-${PV}.tar.xz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~ia64 ~ppc ppc64 ~s390 sparc x86"
-IUSE="static-libs"
-
-RDEPEND=">=sys-libs/ncurses-5.2:*
- dev-libs/libnl:=
- >=dev-libs/popt-1.16"
-DEPEND="${RDEPEND}
- virtual/pkgconfig"
-
-pkg_pretend() {
- if kernel_is 2 4; then
- eerror "${P} supports only 2.6 series and later kernels, please try ${PN}-1.21 for 2.4 kernels"
- die "wrong kernel version"
- fi
-}
-
-src_prepare() {
- default
- epatch "${FILESDIR}"/${PN}-1.27-buildsystem.patch
- # Merged upstream in 1.27
- #epatch "${FILESDIR}"/${PN}-1.26-stack_smashing.patch # bug 371903
- epatch "${FILESDIR}"/${PN}-1.27-fix-daemon-state.patch
- use static-libs && export STATIC=1
-}
-
-src_compile() {
- local libnl_include
- if has_version ">=dev-libs/libnl-3.0"; then
- libnl_include=$($(tc-getPKG_CONFIG) --cflags libnl-3.0)
- else
- libnl_include=""
- fi
- emake -e \
- INCLUDE="-I.. -I. ${libnl_include}" \
- CC="$(tc-getCC)" \
- HAVE_NL=1 \
- STATIC=${STATIC} \
- POPT_LIB="$($(tc-getPKG_CONFIG) --libs popt)"
-}
-
-src_install() {
- into /
- dosbin ipvsadm ipvsadm-save ipvsadm-restore
-
- into /usr
- doman ipvsadm.8 ipvsadm-save.8 ipvsadm-restore.8
-
- newinitd "${FILESDIR}"/ipvsadm-init ipvsadm
- keepdir /var/lib/ipvsadm
-
- use static-libs && dolib.a libipvs/libipvs.a
- dolib.so libipvs/libipvs.so
-
- insinto /usr/include/ipvs
- newins libipvs/libipvs.h ipvs.h
-}
-
-pkg_postinst() {
- einfo "You will need a kernel that has ipvs patches to use LVS."
-}
diff --git a/sys-cluster/ipvsadm/ipvsadm-1.31-r1.ebuild b/sys-cluster/ipvsadm/ipvsadm-1.31-r1.ebuild
index 22b2dc5d489..508b16f130c 100644
--- a/sys-cluster/ipvsadm/ipvsadm-1.31-r1.ebuild
+++ b/sys-cluster/ipvsadm/ipvsadm-1.31-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://kernel.org/pub/linux/utils/kernel/ipvsadm/ipvsadm-${PV}.tar.xz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~ia64 ~ppc ~ppc64 ~s390 ~sparc ~x86"
+KEYWORDS="amd64 ~ia64 ~ppc ppc64 ~s390 sparc x86"
IUSE="static-libs"
RDEPEND="
diff --git a/sys-cluster/k3s/Manifest b/sys-cluster/k3s/Manifest
index e8c688d78e8..2aae204293d 100644
--- a/sys-cluster/k3s/Manifest
+++ b/sys-cluster/k3s/Manifest
@@ -1,9 +1,10 @@
-DIST k3s-1.24.2_p1-vendor.tar.gz 31410828 BLAKE2B 410dc4de95201fb8654571c343458e458e17c52b2b1e2bcf2777df04a50ae54bb119fa88086ee61b7f569d905b0e58df12446c5bd145b46027930a57f5aa033a SHA512 ace54126bc47bc25bf2d2dc13c7ad085d2815d6303ab851ec8738aff5765b9e6f77e6a23fd41375999e03dd215d6b3d54d122d820559dd36dabd87e41ba95093
-DIST k3s-1.24.2_p2-vendor.tar.gz 31418274 BLAKE2B d0fb00c1419cf894eebb83b4f7d29f260628dd06a3a6376cf60257bcc0b571e743954013877e6e85de6b22eb643799a09bf79d898419383951270944ea0e6fe4 SHA512 d0dd6e9804e1e5f7abc9b9429bf0e208baa9da0ee405f7fc3b241e03f39a40284ad098cf1832ac3292f7ee12de66711f9cfc6b01a99ad97fb6653e6236badbb8
DIST k3s-1.24.3_p1-vendor.tar.gz 31433160 BLAKE2B 33328690ac94c101fd02bc2ef166f09eb5b54a1404da9206a3ff7fdf3c212a2dea96563b6d1da9a25105a15f69cc71664e3d1cb6f35f18f18faae50a67607d80 SHA512 e742b01960a4dc35f80e923fc9fbf41ae2913a24b66de7acd8c8b7a78681cca55821adc5e42df527fc6a9c42146f8b39de85c1060e2981198cd6712dcf300231
+DIST k3s-1.24.4_p1-vendor.tar.gz 31949072 BLAKE2B 60f152f7085039f061461e932a5ccada68404ff5a6de88602aeffd07141b825b441ea4a58d6fc5eb8b73bc8f02df81cb1c710fc8f05e1f6d8d8a1ecd4adf564b SHA512 3b27e3dc3834ba509e57f32b5cff68903cb8160d5b0b1c5dd753b66021c0fbd547f7df7d5cb8d3820e1fa0d495087eb98f6197ec29ff9127b713c6f9ab4f1710
+DIST k3s-1.25.0_p1-vendor.tar.gz 31880481 BLAKE2B 6b45448119713374f7e796f35ba460a7f8fc351d2a146f1d47af96a7e5a3d67f24f48f9a6ce5643675122b0677b3db46e25af282f1ad1b99722b3fe2246fd078 SHA512 4cee72ce30ac14bbacc90d0d976f727e931dcd6f98a88b6a22da6635ce2977afa2db8eea779ff80bfdb91aeb5711ce560b9dc09b19fa5d10c9503bb52be0b24a
DIST k3s-cni-plugins-1.1.1.tar.gz 3122345 BLAKE2B 270283ffb746ca97ad147b368143c56bd9641b7ebcb1b2b61f80ffea3336b240b28c9b9496bd2f6eb6d7e5382da4979c26e37eca30ac19fd362ed822ba94f300 SHA512 53dcd363231325553a5c9e804fc9005471fe5c05c87aae0340214c146eba66a3761d73976ba0145d86a663a2b0a1941e6cc5823b6d05e002a9ef18e41e10ac3c
DIST k3s-containerd-1.6.6-k3s1.tar.gz 10337871 BLAKE2B c4d038c2654243f61f907942a7ddc6d6584c50a04db3cd539f8cbb46901737744b39ca7c31ef51e84ba87faafbfa1962a36e2912a1bfee9d922e2f15e3253970 SHA512 11a2247ea8deb498fb8f0fbd90735d5c4e980d3744ddf1c17b1bf438379c55124a57838a27bc6df7a0b0421881d6072f0cd0bbb4c4835aa34ea894af02334fa8
+DIST k3s-containerd-1.6.8-k3s1.tar.gz 10344676 BLAKE2B 18b236d61c710234fc6feefb4b08e36950c02a3a74d92a7bae5286ddf2916d29f636d1c9fb4307ccb6c6f1c7a77441096b0db9c892d5745f32815f4016af7b54 SHA512 b85c5e73c9f6c66c229888d93b3796c3fa4b362ee2ee4f7fb37f760ff241223820c0bec4995e73e9c3d20b81a8fc3676e7b0ed170239c8cb43194aae2701a6b5
DIST k3s-root-amd64-0.11.0.tar 11878400 BLAKE2B 6227ba08e305f062ed814a6b997313415c08e469b05f0501c86f7df25e8a3c9ecb43675613337f6d038faa5153aae98eb44cad9bc170967e0a216ba5ec27559e SHA512 d181117230ad941b40173c3b7dc3d2bb0f3d44a28e9715d85c752193c6058bb6be4a4b8f061df73fed690629a7b2b330185b38bb90ce7fcc9c808096516cb0a3
-DIST k3s-runc-v1.1.2-r1.tar.gz 2332953 BLAKE2B e6047baa799e97d201630f5ff438ca8742ef4c9f465c3728fe2e4bd7f18a571172cb8f994c0e9ffba4f7ae75088626583602f49e0e9f4764c96157820c332b5b SHA512 61d8cc82f49e3bc1cf4cc4ae18a9d9c8f4ae93e8380ce6fa9034b154bd1b915339ee65babdf7518021d015a3c31545fcbad5bbf0c4579c7eb50988877121f049
DIST k3s-runc-v1.1.3.tar.gz 2333384 BLAKE2B 7530faa80a6d51c840a1ea702ec59580a3e42514f5932a7dd4df9f80ff93245bde05accd572a942190b6be76316f38a408566b003ad380611376e73abe3cb5c0 SHA512 27fce2569d0dc710a0f90095957be30c29da24ce1d2b8e115b9dc11d36f5226d98c4b2d8b92ecfa7581eade90bc51c5d9bccaf15fcb2542dafebe4fabc6e1cd9
+DIST k3s-runc-v1.1.4.tar.gz 2334639 BLAKE2B bc7eb7de29e8ebb9ce146bc77bf6cfc116f4af3e28c0344059183cf0c8082c629ccb235531c368cce99915991b25df0b50b7cbb98b9c6a7d141ba6cc15958651 SHA512 c8e79ad839964680d29ab56a4de255f91192741951673025da6889c544a232d4d392db2da8005d8e22999a37bfbc9c9fe7f6043b165bc4edc2f2a29261d8a3d6
DIST traefik-10.19.3.tgz 25287 BLAKE2B c43a5e066d78e066bc4449ad1d7a3796c99c5f029244dac5494a452592424a9be057b6a3d8eddd174d8daab2b322c4f54e39eae53fba67e97e1ebdb92ce2fd65 SHA512 6df4b186c4caad09abf47469757c1d26d3b593531704af53eb262208f1efa27b5b09b178c6dd6721e78362877e6ba3b2c8c3bfbc91fe152ce090b53ac283acf9
diff --git a/sys-cluster/k3s/k3s-1.24.2_p1.ebuild b/sys-cluster/k3s/k3s-1.24.4_p1.ebuild
index e01a71ae45a..37d109813df 100644
--- a/sys-cluster/k3s/k3s-1.24.2_p1.ebuild
+++ b/sys-cluster/k3s/k3s-1.24.4_p1.ebuild
@@ -7,7 +7,7 @@ inherit go-module linux-info systemd
DESCRIPTION="Lightweight Kubernetes"
HOMEPAGE="https://k3s.io"
K3S_CONTAINERD_VERSION=1.6.6-k3s1
-K3S_RUNC_VERSION=v1.1.2
+K3S_RUNC_VERSION=v1.1.3
K3S_ROOT_VERSION=0.11.0
K3S_TRAEFIK_VERSION=10.19.3
K3S_TRAEFIK_PACKAGE_VERSION=00
@@ -18,7 +18,7 @@ MY_PV=${PV%_p*}+k3s${PV#*_p}
SRC_URI="https://github.com/zmedico/k3s/archive/refs/tags/v${MY_PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
${EGO_SUM_SRC_URI}
https://github.com/k3s-io/containerd/archive/refs/tags/v${K3S_CONTAINERD_VERSION}.tar.gz -> k3s-containerd-${K3S_CONTAINERD_VERSION}.tar.gz
- https://github.com/opencontainers/runc/archive/refs/tags/${K3S_RUNC_VERSION}.tar.gz -> k3s-runc-${K3S_RUNC_VERSION}-r1.tar.gz
+ https://github.com/opencontainers/runc/archive/refs/tags/${K3S_RUNC_VERSION}.tar.gz -> k3s-runc-${K3S_RUNC_VERSION}.tar.gz
https://helm.traefik.io/traefik/traefik-${K3S_TRAEFIK_VERSION}.tgz
https://github.com/rancher/plugins/archive/refs/tags/v${K3S_CNIPLUGINS_VERSION}-k3s1.tar.gz -> k3s-cni-plugins-${K3S_CNIPLUGINS_VERSION}.tar.gz
amd64? ( https://github.com/rancher/k3s-root/releases/download/v${K3S_ROOT_VERSION}/k3s-root-amd64.tar -> k3s-root-amd64-${K3S_ROOT_VERSION}.tar )"
@@ -61,7 +61,7 @@ src_prepare() {
local RUNC_DIR=build/src/github.com/opencontainers/runc
mkdir -p "${RUNC_DIR}" || die
- tar -x --strip-components=1 -f "${DISTDIR}/k3s-runc-${K3S_RUNC_VERSION}-r1.tar.gz" -C "${RUNC_DIR}" || die
+ tar -x --strip-components=1 -f "${DISTDIR}/k3s-runc-${K3S_RUNC_VERSION}.tar.gz" -C "${RUNC_DIR}" || die
# Disable download for files fetched via SRC_URI.
sed -e 's:^[[:space:]]*curl:#\0:' \
diff --git a/sys-cluster/k3s/k3s-1.24.2_p2.ebuild b/sys-cluster/k3s/k3s-1.25.0_p1.ebuild
index e01a71ae45a..aa025376138 100644
--- a/sys-cluster/k3s/k3s-1.24.2_p2.ebuild
+++ b/sys-cluster/k3s/k3s-1.25.0_p1.ebuild
@@ -6,8 +6,8 @@ inherit go-module linux-info systemd
DESCRIPTION="Lightweight Kubernetes"
HOMEPAGE="https://k3s.io"
-K3S_CONTAINERD_VERSION=1.6.6-k3s1
-K3S_RUNC_VERSION=v1.1.2
+K3S_CONTAINERD_VERSION=1.6.8-k3s1
+K3S_RUNC_VERSION=v1.1.4
K3S_ROOT_VERSION=0.11.0
K3S_TRAEFIK_VERSION=10.19.3
K3S_TRAEFIK_PACKAGE_VERSION=00
@@ -18,7 +18,7 @@ MY_PV=${PV%_p*}+k3s${PV#*_p}
SRC_URI="https://github.com/zmedico/k3s/archive/refs/tags/v${MY_PV}-vendor.tar.gz -> ${P}-vendor.tar.gz
${EGO_SUM_SRC_URI}
https://github.com/k3s-io/containerd/archive/refs/tags/v${K3S_CONTAINERD_VERSION}.tar.gz -> k3s-containerd-${K3S_CONTAINERD_VERSION}.tar.gz
- https://github.com/opencontainers/runc/archive/refs/tags/${K3S_RUNC_VERSION}.tar.gz -> k3s-runc-${K3S_RUNC_VERSION}-r1.tar.gz
+ https://github.com/opencontainers/runc/archive/refs/tags/${K3S_RUNC_VERSION}.tar.gz -> k3s-runc-${K3S_RUNC_VERSION}.tar.gz
https://helm.traefik.io/traefik/traefik-${K3S_TRAEFIK_VERSION}.tgz
https://github.com/rancher/plugins/archive/refs/tags/v${K3S_CNIPLUGINS_VERSION}-k3s1.tar.gz -> k3s-cni-plugins-${K3S_CNIPLUGINS_VERSION}.tar.gz
amd64? ( https://github.com/rancher/k3s-root/releases/download/v${K3S_ROOT_VERSION}/k3s-root-amd64.tar -> k3s-root-amd64-${K3S_ROOT_VERSION}.tar )"
@@ -61,7 +61,7 @@ src_prepare() {
local RUNC_DIR=build/src/github.com/opencontainers/runc
mkdir -p "${RUNC_DIR}" || die
- tar -x --strip-components=1 -f "${DISTDIR}/k3s-runc-${K3S_RUNC_VERSION}-r1.tar.gz" -C "${RUNC_DIR}" || die
+ tar -x --strip-components=1 -f "${DISTDIR}/k3s-runc-${K3S_RUNC_VERSION}.tar.gz" -C "${RUNC_DIR}" || die
# Disable download for files fetched via SRC_URI.
sed -e 's:^[[:space:]]*curl:#\0:' \
diff --git a/sys-cluster/k9scli/k9scli-0.25.18.ebuild b/sys-cluster/k9scli/k9scli-0.25.18-r1.ebuild
index 3daa0b58fbe..e43e5f859ec 100644
--- a/sys-cluster/k9scli/k9scli-0.25.18.ebuild
+++ b/sys-cluster/k9scli/k9scli-0.25.18-r1.ebuild
@@ -23,7 +23,7 @@ src_prepare() {
}
src_compile() {
- emake GIT=${GIT_COMMIT} VERSION=v${pv} build
+ emake GIT=${GIT_COMMIT} VERSION=v${PV} build
}
src_install() {
diff --git a/sys-cluster/kube-apiserver/Manifest b/sys-cluster/kube-apiserver/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kube-apiserver/Manifest
+++ b/sys-cluster/kube-apiserver/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.22.10.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.22.13.ebuild
index a43f3c26772..a43f3c26772 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.22.10.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.22.13.ebuild
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.22.12.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.22.14.ebuild
index a43f3c26772..19b4da1a49f 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.22.12.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.23.7.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.23.10.ebuild
index 5fb6d6b4727..5fb6d6b4727 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.23.7.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.23.10.ebuild
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.23.9.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.23.11.ebuild
index 5fb6d6b4727..a7400f70bdb 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.23.9.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.24.1.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.24.4.ebuild
index 6c3647f7100..6c3647f7100 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.24.1.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.24.4.ebuild
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.24.3.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.24.5.ebuild
index 6c3647f7100..4010c16c51d 100644
--- a/sys-cluster/kube-apiserver/kube-apiserver-1.24.3.ebuild
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.25.0.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.25.0.ebuild
new file mode 100644
index 00000000000..f987e6c308e
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.25.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="
+ acct-group/kube-apiserver
+ acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}
diff --git a/sys-cluster/kube-apiserver/kube-apiserver-1.25.1.ebuild b/sys-cluster/kube-apiserver/kube-apiserver-1.25.1.ebuild
new file mode 100644
index 00000000000..f987e6c308e
--- /dev/null
+++ b/sys-cluster/kube-apiserver/kube-apiserver-1.25.1.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module systemd
+
+DESCRIPTION="Kubernetes API server"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="
+ acct-group/kube-apiserver
+ acct-user/kube-apiserver"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}
diff --git a/sys-cluster/kube-controller-manager/Manifest b/sys-cluster/kube-controller-manager/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kube-controller-manager/Manifest
+++ b/sys-cluster/kube-controller-manager/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.10.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.13.ebuild
index 2e2307593ee..2e2307593ee 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.10.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.13.ebuild
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.12.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.14.ebuild
index 2e2307593ee..3611bae7ae4 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.12.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="acct-group/kube-controller-manager
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.7.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.10.ebuild
index 6b3568782a0..6b3568782a0 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.7.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.10.ebuild
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.9.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild
index 6b3568782a0..8a6411803c9 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.9.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="acct-group/kube-controller-manager
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.1.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.4.ebuild
index 7cb5f5ddc80..7cb5f5ddc80 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.1.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.4.ebuild
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.3.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.5.ebuild
index 7cb5f5ddc80..492d28a5d90 100644
--- a/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.3.ebuild
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="acct-group/kube-controller-manager
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.0.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.0.ebuild
new file mode 100644
index 00000000000..cbfbfcafdd6
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-controller-manager
+ acct-user/kube-controller-manager"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}
diff --git a/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.1.ebuild b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.1.ebuild
new file mode 100644
index 00000000000..cbfbfcafdd6
--- /dev/null
+++ b/sys-cluster/kube-controller-manager/kube-controller-manager-1.25.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Controller Manager"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-controller-manager
+ acct-user/kube-controller-manager"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}
diff --git a/sys-cluster/kube-proxy/Manifest b/sys-cluster/kube-proxy/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kube-proxy/Manifest
+++ b/sys-cluster/kube-proxy/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.22.10.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.22.13.ebuild
index 5cb1f41bbea..5cb1f41bbea 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.22.10.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.22.13.ebuild
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.22.12.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.22.14.ebuild
index 5cb1f41bbea..866b8b777f1 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.22.12.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RDEPEND="net-firewall/conntrack-tools
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.23.7.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.23.10.ebuild
index d0b34277f83..d0b34277f83 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.23.7.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.23.10.ebuild
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.23.9.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.23.11.ebuild
index d0b34277f83..2193eb857e8 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.23.9.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RDEPEND="net-firewall/conntrack-tools"
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.24.1.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.24.4.ebuild
index c71a00eedf4..c71a00eedf4 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.24.1.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.24.4.ebuild
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.24.3.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.24.5.ebuild
index c71a00eedf4..9073ae83aeb 100644
--- a/sys-cluster/kube-proxy/kube-proxy-1.24.3.ebuild
+++ b/sys-cluster/kube-proxy/kube-proxy-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RDEPEND="net-firewall/conntrack-tools"
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.25.0.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.25.0.ebuild
new file mode 100644
index 00000000000..456218a3a32
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.25.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="net-firewall/conntrack-tools"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ keepdir /var/log/${PN} /var/lib/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}
diff --git a/sys-cluster/kube-proxy/kube-proxy-1.25.1.ebuild b/sys-cluster/kube-proxy/kube-proxy-1.25.1.ebuild
new file mode 100644
index 00000000000..456218a3a32
--- /dev/null
+++ b/sys-cluster/kube-proxy/kube-proxy-1.25.1.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Proxy service"
+HOMEPAGE="https://github.com/kubernetes/kubernetes https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+RDEPEND="net-firewall/conntrack-tools"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ keepdir /var/log/${PN} /var/lib/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+}
diff --git a/sys-cluster/kube-scheduler/Manifest b/sys-cluster/kube-scheduler/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kube-scheduler/Manifest
+++ b/sys-cluster/kube-scheduler/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.22.10.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.22.13.ebuild
index 992ec024d53..992ec024d53 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.22.10.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.22.13.ebuild
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.22.12.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.22.14.ebuild
index 992ec024d53..6deafd6db8c 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.22.12.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="acct-group/kube-scheduler
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.23.7.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.23.10.ebuild
index 44631012179..44631012179 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.23.7.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.23.10.ebuild
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.23.9.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.23.11.ebuild
index 44631012179..393cef8175a 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.23.9.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="acct-group/kube-scheduler
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.24.1.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.24.4.ebuild
index 825dcd92ae7..825dcd92ae7 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.24.1.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.24.4.ebuild
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.24.3.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.24.5.ebuild
index 825dcd92ae7..0644cbea3c9 100644
--- a/sys-cluster/kube-scheduler/kube-scheduler-1.24.3.ebuild
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
COMMON_DEPEND="acct-group/kube-scheduler
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild
new file mode 100644
index 00000000000..a07decbaab8
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.25.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-scheduler
+ acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}
diff --git a/sys-cluster/kube-scheduler/kube-scheduler-1.25.1.ebuild b/sys-cluster/kube-scheduler/kube-scheduler-1.25.1.ebuild
new file mode 100644
index 00000000000..a07decbaab8
--- /dev/null
+++ b/sys-cluster/kube-scheduler/kube-scheduler-1.25.1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module
+
+DESCRIPTION="Kubernetes Scheduler"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+COMMON_DEPEND="acct-group/kube-scheduler
+ acct-user/kube-scheduler"
+DEPEND="${COMMON_DEPEND}"
+RDEPEND="${COMMON_DEPEND}"
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ keepdir /var/log/${PN}
+ fowners ${PN}:${PN} /var/log/${PN}
+}
diff --git a/sys-cluster/kubeadm/Manifest b/sys-cluster/kubeadm/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kubeadm/Manifest
+++ b/sys-cluster/kubeadm/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kubeadm/kubeadm-1.22.10.ebuild b/sys-cluster/kubeadm/kubeadm-1.22.13.ebuild
index 7ce55220d46..7ce55220d46 100644
--- a/sys-cluster/kubeadm/kubeadm-1.22.10.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.22.13.ebuild
diff --git a/sys-cluster/kubeadm/kubeadm-1.22.12.ebuild b/sys-cluster/kubeadm/kubeadm-1.22.14.ebuild
index 7ce55220d46..654b067fe40 100644
--- a/sys-cluster/kubeadm/kubeadm-1.22.12.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RDEPEND="!sys-cluster/kubernetes"
diff --git a/sys-cluster/kubeadm/kubeadm-1.23.7.ebuild b/sys-cluster/kubeadm/kubeadm-1.23.10.ebuild
index 0789de0b701..0789de0b701 100644
--- a/sys-cluster/kubeadm/kubeadm-1.23.7.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.23.10.ebuild
diff --git a/sys-cluster/kubeadm/kubeadm-1.23.9.ebuild b/sys-cluster/kubeadm/kubeadm-1.23.11.ebuild
index 0789de0b701..bcdb2bea7e7 100644
--- a/sys-cluster/kubeadm/kubeadm-1.23.9.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
BDEPEND=">=dev-lang/go-1.17"
diff --git a/sys-cluster/kubeadm/kubeadm-1.24.1.ebuild b/sys-cluster/kubeadm/kubeadm-1.24.4.ebuild
index b616b259fd0..b616b259fd0 100644
--- a/sys-cluster/kubeadm/kubeadm-1.24.1.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.24.4.ebuild
diff --git a/sys-cluster/kubeadm/kubeadm-1.24.3.ebuild b/sys-cluster/kubeadm/kubeadm-1.24.5.ebuild
index b616b259fd0..0bc4d23fc42 100644
--- a/sys-cluster/kubeadm/kubeadm-1.24.3.ebuild
+++ b/sys-cluster/kubeadm/kubeadm-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
BDEPEND=">=dev-lang/go-1.18.1"
diff --git a/sys-cluster/kubeadm/kubeadm-1.25.0.ebuild b/sys-cluster/kubeadm/kubeadm-1.25.0.ebuild
new file mode 100644
index 00000000000..eaddfbca299
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.25.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}
diff --git a/sys-cluster/kubeadm/kubeadm-1.25.1.ebuild b/sys-cluster/kubeadm/kubeadm-1.25.1.ebuild
new file mode 100644
index 00000000000..eaddfbca299
--- /dev/null
+++ b/sys-cluster/kubeadm/kubeadm-1.25.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to Easily bootstrap a secure Kubernetes cluster"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS=-v GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}
diff --git a/sys-cluster/kubectl/Manifest b/sys-cluster/kubectl/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kubectl/Manifest
+++ b/sys-cluster/kubectl/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kubectl/kubectl-1.22.10.ebuild b/sys-cluster/kubectl/kubectl-1.22.13.ebuild
index 1bc008b30c4..1bc008b30c4 100644
--- a/sys-cluster/kubectl/kubectl-1.22.10.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.22.13.ebuild
diff --git a/sys-cluster/kubectl/kubectl-1.22.12.ebuild b/sys-cluster/kubectl/kubectl-1.22.14.ebuild
index 1bc008b30c4..f480c2f8284 100644
--- a/sys-cluster/kubectl/kubectl-1.22.12.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
DEPEND="!sys-cluster/kubernetes"
diff --git a/sys-cluster/kubectl/kubectl-1.23.7.ebuild b/sys-cluster/kubectl/kubectl-1.23.10.ebuild
index 619b0c54183..619b0c54183 100644
--- a/sys-cluster/kubectl/kubectl-1.23.7.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.23.10.ebuild
diff --git a/sys-cluster/kubectl/kubectl-1.23.9.ebuild b/sys-cluster/kubectl/kubectl-1.23.11.ebuild
index 619b0c54183..93befd48539 100644
--- a/sys-cluster/kubectl/kubectl-1.23.9.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
BDEPEND=">=dev-lang/go-1.17"
diff --git a/sys-cluster/kubectl/kubectl-1.24.1.ebuild b/sys-cluster/kubectl/kubectl-1.24.4.ebuild
index bc629ac7255..bc629ac7255 100644
--- a/sys-cluster/kubectl/kubectl-1.24.1.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.24.4.ebuild
diff --git a/sys-cluster/kubectl/kubectl-1.24.3.ebuild b/sys-cluster/kubectl/kubectl-1.24.5.ebuild
index bc629ac7255..375df35b0a7 100644
--- a/sys-cluster/kubectl/kubectl-1.24.3.ebuild
+++ b/sys-cluster/kubectl/kubectl-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
BDEPEND=">=dev-lang/go-1.18.1"
diff --git a/sys-cluster/kubectl/kubectl-1.25.0.ebuild b/sys-cluster/kubectl/kubectl-1.25.0.ebuild
new file mode 100644
index 00000000000..293f7d962b1
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.25.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}
diff --git a/sys-cluster/kubectl/kubectl-1.25.1.ebuild b/sys-cluster/kubectl/kubectl-1.25.1.ebuild
new file mode 100644
index 00000000000..293f7d962b1
--- /dev/null
+++ b/sys-cluster/kubectl/kubectl-1.25.1.ebuild
@@ -0,0 +1,33 @@
+# Copyright 2021-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit bash-completion-r1 go-module
+
+DESCRIPTION="CLI to run commands against Kubernetes clusters"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test"
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ _output/bin/${PN} completion bash > ${PN}.bash || die
+ _output/bin/${PN} completion zsh > ${PN}.zsh || die
+ newbashcomp ${PN}.bash ${PN}
+ insinto /usr/share/zsh/site-functions
+ newins ${PN}.zsh _${PN}
+}
diff --git a/sys-cluster/kubelet/Manifest b/sys-cluster/kubelet/Manifest
index 35709720da4..1701b79b4ac 100644
--- a/sys-cluster/kubelet/Manifest
+++ b/sys-cluster/kubelet/Manifest
@@ -1,6 +1,8 @@
-DIST kubernetes-1.22.10.tar.gz 36075584 BLAKE2B e2d440070f8d573527359f4e59950af8c9b783da5e3f1914960b69e527411bf1aca98a1c23902e4e3d6b7c799233837676f02cc8469de130d8405800957b4cc1 SHA512 213629d3f71837318b3321b72cc08dcbf756be11ff927893154ec207cb6747a2a36c198cdbeb0f0bf9b1c0d0284f4bca8a43129f538ca1b763570fa4fe0e2ac8
-DIST kubernetes-1.22.12.tar.gz 36092785 BLAKE2B dc6427905469afee9d18b83f725a58a3f78d40f9fc1f4128e3105a0547df91d8b04500c507b21b43efba9358c012652b62c747d4f6ad3c4c442cca2a0093c897 SHA512 a024b652fd47e2e23890ae1509314456cb0abd96d3619054da18b8264e4f9da3a00278e1a4ab5b342aa7e80fbe637b4fb4d3053b8f999d4246bb1699ac145633
-DIST kubernetes-1.23.7.tar.gz 38210779 BLAKE2B 7b664b22491b19697ab596a2eacab5f4f907b7053f40e54bec48f807c273ec673f0e3f09107539d496ce2efbcfc0d649792d604aa6ea29ed938fc2b732b0cace SHA512 f871d8e4d9e41f829e8f6b5bc563ce7c2a060a3b23e9e8a76e3af49be4e2278422f2e8edff275730b690cc60127e334058f2b08d20c3befc6572431d08a8c0b4
-DIST kubernetes-1.23.9.tar.gz 38225608 BLAKE2B f657a2ed9df4a45f360f90e7dbea5c04c9ff536ffb08c53797d5745f3b18468041374910525995a8ae45e31add799ce863c2912892333a84197e6bf0e733dda2 SHA512 e5e46e68c90f6374e4b97424b088ed5b3d494a60bfd753a88cafed59d51d6696260d2be279631eab52f73b9f5444511609aaf950c51c73dfc77cba174943f37f
-DIST kubernetes-1.24.1.tar.gz 37940937 BLAKE2B f5076a5ec36cf108b363645b7e39dd9e9b7d56c26457a3a740f30fad29db2bf66877f71ec33c4f545f9e5cdf736cfa6f752cb4d04ca917e2d78da1abfa233f83 SHA512 cdd85c10d931367e29d2cf3e99fd7eb0561e14a8c4a73c57cd3e497ecbd4ae4c0b30bac649ab75af241df63c715ca8ccc4cc67a51736fe2b01d182cd3a3ee104
-DIST kubernetes-1.24.3.tar.gz 37961140 BLAKE2B 663d1fe72e4c80b2946168880e496cae8842f7a884c1a821b0f4f6045dc81eb4313261cdaf3d86f887ee1ca34bb5c63a803ef4e109b935cde25ec0357dbdd5cd SHA512 21e5feac02be09f42b30c0e3a11855dcdfb5868fa031abd7dc52edc81c615353c62eae76fafb400dddb1fa41a25d96b2e4f193751f0d7362adaf32bae023a105
+DIST kubernetes-1.22.13.tar.gz 36093191 BLAKE2B ca73ff8e3ce8f22041a38c7e0c52eaec171bae117dd4afde9e9ba952edb5b641d8b0dd472be6ac4aba8859595557e222b188c763bc7cdafd25ab35e4a0ccaa57 SHA512 29bda4adf6970ab2f18fb71a8b932360c27a6b6cb1d0d797ce99a0e8d8469548ac6f54e666a8c8717e5ac44344a9cd34c8dba1c1eeee2074cff88637f60fdf69
+DIST kubernetes-1.22.14.tar.gz 36106528 BLAKE2B 62c07e6d775827ad167db3abfc877cb04a19dd4fef655be69aa815975310b7c7df3c46cafe098b92bc5b01cff3af6ac9e55e05c3a831827185121e6303f40287 SHA512 96c5db11c07224a1cd2a86da21e38e95198a2584eb0657bea920a41ed16c369462e5aff130069230415c49787e99d4582a32dcbf4c79fb79cfc3ce7be37f0d52
+DIST kubernetes-1.23.10.tar.gz 38229682 BLAKE2B 706ea466b4148475321e20b47d2d7f45c5f8fbb50065374604000a72b35eb7732272dea64b521a8b4fb91cd0f05cf28391ca205693dd76bb6a79081a83d65894 SHA512 9535a3adfd1769ded3c427ba5536bd497d0d30f3df81c41c554a562b67d0c356326730b18f641687be9e482be9b6e76320f4ce31f3c81b7d3a5a0fa7c13fe872
+DIST kubernetes-1.23.11.tar.gz 38238863 BLAKE2B 6c0a4cd85151f32f1755758fe82b1f734216632d677ddcb396126e71002151750bd84993120852c5de68e67915675fdb7b4168426a7d42f7ab774cdab96b5dd9 SHA512 160da70eca160875f348e54852bcbf248a5308c4f547b4d0c19d714618b329ee998cb7dda5aac396ece9f4d11d21c74b0cd781de96572193481a3183bd393de2
+DIST kubernetes-1.24.4.tar.gz 37973948 BLAKE2B ee608211efd23507f3e98e00694bb7d90fcfcdf8c66847c0e437860f55ef4d9c8d20463e9d603b1c740d1ec5a6008dcd76bc129635d2765a16c4a69f75644ae8 SHA512 2478e4a114a0efaab530e9f61a61a3b94c9d586ab776519110578a0e127796b737149c5ff0896280f84dd08c972333623fb6aeac5e9bf7f7ebf86f1ee1ba5a05
+DIST kubernetes-1.24.5.tar.gz 37984125 BLAKE2B 2b474f002336a505a0f366173a33cfe6d316a262c527b53aa449180eacfa52a5e71d8067f769388f22a6434a705768cedd87386b253b2fd1a5c7436cc63fbb36 SHA512 d0edb8abf6a155dfc7e0a9aa93dcf5817dd624ceaba9b090cef1f5df6486d2187022fc35b6903fa8ac88762d2ad9742a783bb42fb7d3d87b21d8f94af375e2d3
+DIST kubernetes-1.25.0.tar.gz 40040646 BLAKE2B 089d71c9c848d5bdb0fb6c2142a569d2e38e7b89761ff58ecd9aa2a560e71fc310d221b327ce8b1c2790e1eddf3af9e12de37aa784e1c9b0207fd549e6539eeb SHA512 19ab9038d465d409b429ce77c2d90ba62b932c2be08a7192b265c061b7a7da2c46bb887f63b66d1f48f05c9052fdf3cddf5842a55ffc65b0eb3c8cd8b17905bc
+DIST kubernetes-1.25.1.tar.gz 38046191 BLAKE2B f2a268a227986a8f9cfde48cb4641fba3102033bbceaf3c9d306e3e3ad82af826b9b2100ce051e62c6b1f36f42367853726fbeb40294dacd9ef1b9811b81410d SHA512 6c61689c6a08816fe9cf79b31bce7b131ba2398ee1257a94dffa25ef001bf6f1ee971db7479d4a984180fb13d6af8394440928c86f7f906cdd07e4d872c91430
diff --git a/sys-cluster/kubelet/kubelet-1.22.10.ebuild b/sys-cluster/kubelet/kubelet-1.22.13.ebuild
index dff62dcd892..dff62dcd892 100644
--- a/sys-cluster/kubelet/kubelet-1.22.10.ebuild
+++ b/sys-cluster/kubelet/kubelet-1.22.13.ebuild
diff --git a/sys-cluster/kubelet/kubelet-1.22.12.ebuild b/sys-cluster/kubelet/kubelet-1.22.14.ebuild
index dff62dcd892..3dc412ebab1 100644
--- a/sys-cluster/kubelet/kubelet-1.22.12.ebuild
+++ b/sys-cluster/kubelet/kubelet-1.22.14.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
RDEPEND="!sys-cluster/kubernetes"
diff --git a/sys-cluster/kubelet/kubelet-1.23.7.ebuild b/sys-cluster/kubelet/kubelet-1.23.10.ebuild
index 1460ed4513e..1460ed4513e 100644
--- a/sys-cluster/kubelet/kubelet-1.23.7.ebuild
+++ b/sys-cluster/kubelet/kubelet-1.23.10.ebuild
diff --git a/sys-cluster/kubelet/kubelet-1.23.9.ebuild b/sys-cluster/kubelet/kubelet-1.23.11.ebuild
index 1460ed4513e..ecbeff2f53f 100644
--- a/sys-cluster/kubelet/kubelet-1.23.9.ebuild
+++ b/sys-cluster/kubelet/kubelet-1.23.11.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
BDEPEND=">=dev-lang/go-1.17"
diff --git a/sys-cluster/kubelet/kubelet-1.24.1.ebuild b/sys-cluster/kubelet/kubelet-1.24.4.ebuild
index e27cd329b9b..e27cd329b9b 100644
--- a/sys-cluster/kubelet/kubelet-1.24.1.ebuild
+++ b/sys-cluster/kubelet/kubelet-1.24.4.ebuild
diff --git a/sys-cluster/kubelet/kubelet-1.24.3.ebuild b/sys-cluster/kubelet/kubelet-1.24.5.ebuild
index e27cd329b9b..e4341ebfaa6 100644
--- a/sys-cluster/kubelet/kubelet-1.24.3.ebuild
+++ b/sys-cluster/kubelet/kubelet-1.24.5.ebuild
@@ -10,7 +10,7 @@ SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kuber
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 ~arm64"
+KEYWORDS="~amd64 ~arm64"
IUSE="hardened"
BDEPEND=">=dev-lang/go-1.18.1"
diff --git a/sys-cluster/kubelet/kubelet-1.25.0.ebuild b/sys-cluster/kubelet/kubelet-1.25.0.ebuild
new file mode 100644
index 00000000000..e7a7ae40acd
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.25.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ insinto /etc/kubernetes
+ newins "${FILESDIR}"/${PN}.env ${PN}.env
+}
diff --git a/sys-cluster/kubelet/kubelet-1.25.1.ebuild b/sys-cluster/kubelet/kubelet-1.25.1.ebuild
new file mode 100644
index 00000000000..e7a7ae40acd
--- /dev/null
+++ b/sys-cluster/kubelet/kubelet-1.25.1.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+inherit go-module systemd
+
+DESCRIPTION="Kubernetes Node Agent"
+HOMEPAGE="https://kubernetes.io"
+SRC_URI="https://github.com/kubernetes/kubernetes/archive/v${PV}.tar.gz -> kubernetes-${PV}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64"
+IUSE="hardened"
+
+BDEPEND=">=dev-lang/go-1.19"
+
+RESTRICT+=" test "
+S="${WORKDIR}/kubernetes-${PV}"
+
+src_compile() {
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" \
+ emake -j1 GOFLAGS="" GOLDFLAGS="" LDFLAGS="" WHAT=cmd/${PN}
+}
+
+src_install() {
+ dobin _output/bin/${PN}
+ keepdir /etc/kubernetes/manifests /var/log/kubelet /var/lib/kubelet
+ newinitd "${FILESDIR}"/${PN}.initd ${PN}
+ newconfd "${FILESDIR}"/${PN}.confd ${PN}
+ insinto /etc/logrotate.d
+ newins "${FILESDIR}"/${PN}.logrotated ${PN}
+ systemd_dounit "${FILESDIR}"/${PN}.service
+ insinto /etc/kubernetes
+ newins "${FILESDIR}"/${PN}.env ${PN}.env
+}
diff --git a/sys-cluster/libquo/libquo-1.3.1-r1.ebuild b/sys-cluster/libquo/libquo-1.3.1-r2.ebuild
index 3d9b0bc1a74..e50bb9edbd6 100644
--- a/sys-cluster/libquo/libquo-1.3.1-r1.ebuild
+++ b/sys-cluster/libquo/libquo-1.3.1-r2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,7 +27,7 @@ RESTRICT="!test? ( test )"
DEPEND="
virtual/mpi[fortran?]
sys-process/numactl
- sys-apps/hwloc:=[numa,xml]
+ sys-apps/hwloc:=[numa(+),xml]
"
RDEPEND="${DEPEND}"
diff --git a/sys-cluster/libquo/libquo-9999.ebuild b/sys-cluster/libquo/libquo-9999.ebuild
index 3d9b0bc1a74..e50bb9edbd6 100644
--- a/sys-cluster/libquo/libquo-9999.ebuild
+++ b/sys-cluster/libquo/libquo-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -27,7 +27,7 @@ RESTRICT="!test? ( test )"
DEPEND="
virtual/mpi[fortran?]
sys-process/numactl
- sys-apps/hwloc:=[numa,xml]
+ sys-apps/hwloc:=[numa(+),xml]
"
RDEPEND="${DEPEND}"
diff --git a/sys-cluster/ploop/Manifest b/sys-cluster/ploop/Manifest
index adfb985c05c..f469a1e30aa 100644
--- a/sys-cluster/ploop/Manifest
+++ b/sys-cluster/ploop/Manifest
@@ -1,2 +1 @@
-DIST ploop-1.14.1.tar.bz2 123962 BLAKE2B d4f4f102d2ec0714d79901bd3193f85514e232dc18ffcab254becb954cf794f3598fe7b0f65d0bbb85766bff5ded9d816900b40b81cb6046c31d8b6459c67618 SHA512 7a235865f071de6e2762923d6591c8c6ee00d0d05ec80c6a2a1332f5b6881ccf827f7ddc40dfe1d663b8abf492a188a23f7d28a43dd553d6e37c8091cb3bc484
DIST ploop-1.15.tar.bz2 125618 BLAKE2B ad7d06865606c20bdd9601ce343817a332653f3f7544dd27f08d3fb5ff2ee8112ef1ae0217546c28fde3dba076b0703b5881e8a019eec663964dd39885c5524c SHA512 07a691aeed949971534dcf9bb5138defacf25d7c437336df84a5ec3759cba0c20f6724660b7c8a204b3f455d15a892e20b060b0e0ea27280eeba738c36f280cb
diff --git a/sys-cluster/ploop/files/ploop-1.14-musl.patch b/sys-cluster/ploop/files/ploop-1.14-musl.patch
deleted file mode 100644
index 693135123c5..00000000000
--- a/sys-cluster/ploop/files/ploop-1.14-musl.patch
+++ /dev/null
@@ -1,78 +0,0 @@
---- a/lib/balloon_util.c
-+++ b/lib/balloon_util.c
-@@ -30,6 +30,7 @@
- #include <string.h>
- #include <linux/fs.h>
- #include <linux/fiemap.h>
-+#include <stddef.h>
-
- #include "ploop.h"
-
---- a/lib/delta_read.c
-+++ b/lib/delta_read.c
-@@ -24,6 +24,7 @@
- #include <malloc.h>
- #include <string.h>
- #include <sys/stat.h>
-+#include <stddef.h>
-
- #include "ploop.h"
-
---- a/lib/delta_sysfs.c
-+++ b/lib/delta_sysfs.c
-@@ -29,6 +29,7 @@
- #include <linux/fs.h>
- #include <sys/ioctl.h>
- #include <sys/utsname.h>
-+#include <sys/sysmacros.h>
-
- #include "ploop.h"
-
-@@ -238,7 +239,7 @@ static int get_dev_num(const char *path, dev_t *dev_num)
- ploop_err(0, "Unexpected format of %s: %s", path, nbuf);
- return -1;
- }
-- *dev_num = gnu_dev_makedev(maj, min);
-+ *dev_num = makedev(maj, min);
- return 0;
- }
-
---- a/lib/merge.c
-+++ b/lib/merge.c
-@@ -29,6 +29,7 @@
- #include <linux/types.h>
- #include <string.h>
- #include <assert.h>
-+#include <stddef.h>
-
- #include "ploop.h"
-
---- a/lib/ploop.c
-+++ b/lib/ploop.c
-@@ -1087,7 +1087,7 @@ static int get_mount_dir(const char *device, char *out, int size)
-
- if (get_dev_by_name(device, &dev))
- return -1;
-- minor = gnu_dev_minor(dev);
-+ minor = minor(dev);
-
- fp = fopen("/proc/self/mountinfo", "r");
- if (fp == NULL) {
-@@ -1719,7 +1719,7 @@ static int create_ploop_dev(int minor)
- make_sysfs_dev_name(minor, device + 5, sizeof(device) - 5);
- /* Create pair /dev/ploopN & /dev/ploopNp1 */
- if (access(device, F_OK)) {
-- if (mknod(device, S_IFBLK, gnu_dev_makedev(PLOOP_DEV_MAJOR, minor))) {
-+ if (mknod(device, S_IFBLK, makedev(PLOOP_DEV_MAJOR, minor))) {
- ploop_err(errno, "mknod %s", device);
- return SYSEXIT_MKNOD;
- }
-@@ -1730,7 +1730,7 @@ static int create_ploop_dev(int minor)
- }
- snprintf(devicep1, sizeof(devicep1), "%sp1", device);
- if (access(devicep1, F_OK)) {
-- if (mknod(devicep1, S_IFBLK, gnu_dev_makedev(PLOOP_DEV_MAJOR, minor+1))) {
-+ if (mknod(devicep1, S_IFBLK, makedev(PLOOP_DEV_MAJOR, minor+1))) {
- ploop_err(errno, "mknod %s", devicep1);
- return SYSEXIT_MKNOD;
- }
diff --git a/sys-cluster/ploop/ploop-1.14.1-r1.ebuild b/sys-cluster/ploop/ploop-1.14.1-r1.ebuild
deleted file mode 100644
index 1dfbcff162d..00000000000
--- a/sys-cluster/ploop/ploop-1.14.1-r1.ebuild
+++ /dev/null
@@ -1,64 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit tmpfiles toolchain-funcs
-
-DESCRIPTION="openvz tool and a library to control ploop block devices"
-HOMEPAGE="https://wiki.openvz.org/Download/ploop"
-SRC_URI="https://download.openvz.org/utils/ploop/${PV}/src/${P}.tar.bz2"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="debug"
-
-BDEPEND="virtual/pkgconfig"
-DEPEND="dev-libs/libxml2"
-RDEPEND="${DEPEND}
- sys-block/parted
- sys-fs/e2fsprogs
- sys-process/lsof
- sys-apps/findutils"
-
-PATCHES=(
- "${FILESDIR}"/disable_create_run_dir.patch
- "${FILESDIR}"/${PN}-1.14-musl.patch
-)
-
-DOCS=( tools/README )
-
-src_prepare() {
- default
-
- # Respect CFLAGS and CC, do not add debug by default
- sed -i \
- -e 's|CFLAGS =|CFLAGS +=|' \
- -e '/CFLAGS/s/-g -O0 //' \
- -e '/CFLAGS/s/-O2//' \
- -e 's|CC=|CC?=|' \
- -e 's/-Werror//' \
- -e '/DEBUG=yes/d' \
- -e '/LOCKDIR/s/var/run/' \
- Makefile.inc || die 'sed on Makefile.inc failed'
- # Avoid striping of binaries
- sed -e '/INSTALL/{s: -s::}' -i tools/Makefile || die 'sed on tools/Makefile failed'
-
- # respect AR and RANLIB, bug #452092
- tc-export AR RANLIB
- sed -i -e 's/ranlib/$(RANLIB)/' lib/Makefile || die 'sed on lib/Makefile failed'
-}
-
-src_compile() {
- emake CC="$(tc-getCC)" V=1 $(usex debug 'DEBUG' '' '=yes' '')
-}
-
-src_install() {
- emake DESTDIR="${D}" LIBDIR=/usr/$(get_libdir) install
- rm "${ED}"/usr/$(get_libdir)/*.a || die
-}
-
-pkg_postinst() {
- tmpfiles_process ploop.conf
-}
diff --git a/sys-cluster/ploop/ploop-1.15.ebuild b/sys-cluster/ploop/ploop-1.15-r1.ebuild
index c554d97126d..502d92b28e1 100644
--- a/sys-cluster/ploop/ploop-1.15.ebuild
+++ b/sys-cluster/ploop/ploop-1.15-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://download.openvz.org/utils/ploop/${PV}/src/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
IUSE="debug"
BDEPEND="virtual/pkgconfig"
@@ -51,7 +51,11 @@ src_prepare() {
}
src_compile() {
- emake CC="$(tc-getCC)" V=1 $(usex debug 'DEBUG' '' '=yes' '')
+ emake \
+ CC="$(tc-getCC)" \
+ LIBDIR=/usr/$(get_libdir) \
+ V=1 \
+ $(usex debug 'DEBUG' '' '=yes' '')
}
src_install() {
diff --git a/sys-cluster/rdma-core/Manifest b/sys-cluster/rdma-core/Manifest
index 64abd552759..256c0cbc605 100644
--- a/sys-cluster/rdma-core/Manifest
+++ b/sys-cluster/rdma-core/Manifest
@@ -1,3 +1 @@
-DIST rdma-core-38.0.tar.gz 1760189 BLAKE2B ab028ce9367353201748f19d05d4d02170920b155b7ebb3584043729422e377cfb4ae29ed442ce7f965faa2470fe558499e9b2e7da51f282fa65ab029d4bcaa9 SHA512 98b3e3d26675891d54652817851f172855443faf6950b5c17177f10f5b3b197778590ad0e9640ecceaba17cf4aceb276ddb145ab46c1f6af9d2f6954688c3239
-DIST rdma-core-39.0.tar.gz 1762652 BLAKE2B 7fed2be57624451c660120c6360fedd15ffaff36608879a329c3f078b647cb325c94fc949ef14f99b3be8b43ffddee6759e7da2f88287adf4dee413658afb5db SHA512 a003cae24cff6791a6281b1ab7cc1823fb08a74e03231bf846f8ebbd5fa447c8dd900357493108f6a2b22fd5dabd657fe42e1ce2f65a01746ce47a3222815459
DIST rdma-core-41.0.tar.gz 1784540 BLAKE2B 3c153dcc3563427f32fa32d9a31527635c6bb3e63297c201f30de1328a68ac73ecb3af89074dfcc27d92c640d14d8d8ec61c001659d18336a4156cf8ed22996c SHA512 d8c1210ca078ea53879cee42c838cc88bcc98430471ae609d8c4a25218dbfd63a70f5bbd4e9ba6efabdfc467f7d5796ce618ec22013d414f17502d1257601a80
diff --git a/sys-cluster/rdma-core/files/rdma-core-38.0-musl.patch b/sys-cluster/rdma-core/files/rdma-core-38.0-musl.patch
deleted file mode 100644
index b3f92bfaa1a..00000000000
--- a/sys-cluster/rdma-core/files/rdma-core-38.0-musl.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-From cf11c3d888ae49374ed2d4871560c82e4639b85b Mon Sep 17 00:00:00 2001
-From: David Seifert <soap@gentoo.org>
-Date: Sat, 29 Jan 2022 11:57:38 +0100
-Subject: [PATCH] Do not use `__THROW` in prototypes
-
-`__THROW` is a glibc-internal macro, as indicated by the
-preceding double underscore. The absence of this macro breaks
-builds on musl.
-
-Bug: https://bugs.gentoo.org/828894
----
- libibverbs/neigh.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
-diff --git a/libibverbs/neigh.c b/libibverbs/neigh.c
-index fa3cbf57..7eed95f1 100644
---- a/libibverbs/neigh.c
-+++ b/libibverbs/neigh.c
-@@ -30,7 +30,7 @@
- #if !HAVE_WORKING_IF_H
- /* We need this decl from net/if.h but old systems do not let use co-include
- net/if.h and netlink/route/link.h */
--extern unsigned int if_nametoindex(__const char *__ifname) __THROW;
-+extern unsigned int if_nametoindex(__const char *__ifname);
- #endif
-
- /* for PFX */
---
-2.35.0
-
diff --git a/sys-cluster/rdma-core/metadata.xml b/sys-cluster/rdma-core/metadata.xml
index 7b6cdee46e8..da97f392f60 100644
--- a/sys-cluster/rdma-core/metadata.xml
+++ b/sys-cluster/rdma-core/metadata.xml
@@ -1,16 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
- <maintainer type="person">
- <email>zlogene@gentoo.org</email>
- <name>Mikle Kolyada</name>
- </maintainer>
- <use>
- <flag name="neigh">Enable iwpmd support</flag>
- <flag name="python">Enable pyverbs support</flag>
- <flag name="valgrind">Enable valgrind notations</flag>
- </use>
- <upstream>
- <remote-id type="github">linux-rdma/rdma-core</remote-id>
- </upstream>
+ <maintainer type="project">
+ <email>cluster@gentoo.org</email>
+ <name>Gentoo Cluster Project</name>
+ </maintainer>
+ <use>
+ <flag name="neigh">Enable iwpmd support</flag>
+ <flag name="python">Enable pyverbs support</flag>
+ <flag name="valgrind">Enable valgrind notations</flag>
+ </use>
+ <upstream>
+ <remote-id type="github">linux-rdma/rdma-core</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sys-cluster/rdma-core/rdma-core-38.0.ebuild b/sys-cluster/rdma-core/rdma-core-38.0.ebuild
deleted file mode 100644
index 9d116917a5c..00000000000
--- a/sys-cluster/rdma-core/rdma-core-38.0.ebuild
+++ /dev/null
@@ -1,98 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6..10} )
-
-inherit cmake python-single-r1 udev systemd
-
-DESCRIPTION="Userspace components for the Linux Kernel's drivers/infiniband subsystem"
-HOMEPAGE="https://github.com/linux-rdma/rdma-core"
-
-if [[ ${PV} == "9999" ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core"
-else
- SRC_URI="https://github.com/linux-rdma/rdma-core/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~ppc ppc64 ~riscv ~s390 sparc x86"
-fi
-
-LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )"
-SLOT="0"
-IUSE="neigh python static-libs systemd valgrind"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-COMMON_DEPEND="
- virtual/libudev:=
- neigh? ( dev-libs/libnl:3 )
- systemd? ( sys-apps/systemd:= )
- valgrind? ( dev-util/valgrind )
- python? ( ${PYTHON_DEPS} )"
-
-DEPEND="${COMMON_DEPEND}
- python? (
- $(python_gen_cond_dep '
- dev-python/cython[${PYTHON_USEDEP}]
- ')
- )"
-
-RDEPEND="${COMMON_DEPEND}
- !sys-fabric/infiniband-diags
- !sys-fabric/libibverbs
- !sys-fabric/librdmacm
- !sys-fabric/libibumad
- !sys-fabric/ibacm
- !sys-fabric/libibmad
- !sys-fabric/srptools
- !sys-fabric/infinipath-psm
- !sys-fabric/libcxgb3
- !sys-fabric/libcxgb4
- !sys-fabric/libmthca
- !sys-fabric/libmlx4
- !sys-fabric/libmlx5
- !sys-fabric/libocrdma
- !sys-fabric/libnes"
-
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${P}-musl.patch )
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
- -DCMAKE_INSTALL_RUNDIR=/run
- -DCMAKE_INSTALL_SHAREDSTATEDIR=/var/lib
- -DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}""$(get_udevdir)"/rules.d
- -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)"
- -DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex systemd no yes)"
- -DENABLE_VALGRIND="$(usex valgrind)"
- -DENABLE_RESOLVE_NEIGH="$(usex neigh)"
- -DENABLE_STATIC="$(usex static-libs)"
- -DNO_PYVERBS="$(usex python OFF ON)"
- -DNO_MAN_PAGES=1
- )
-
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- udev_dorules "${ED}"/etc/udev/rules.d/70-persistent-ipoib.rules
- rm -r "${ED}"/etc/{udev,init.d} || die
-
- if use neigh; then
- newinitd "${FILESDIR}"/ibacm.init ibacm
- newinitd "${FILESDIR}"/iwpmd.init iwpmd
- fi
-
- newinitd "${FILESDIR}"/srpd.init srpd
-
- use python && python_optimize
-}
diff --git a/sys-cluster/rdma-core/rdma-core-39.0.ebuild b/sys-cluster/rdma-core/rdma-core-39.0.ebuild
deleted file mode 100644
index 18e127dbf86..00000000000
--- a/sys-cluster/rdma-core/rdma-core-39.0.ebuild
+++ /dev/null
@@ -1,96 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-PYTHON_COMPAT=( python3_{8..10} )
-
-inherit cmake python-single-r1 udev systemd
-
-DESCRIPTION="Userspace components for the Linux Kernel's drivers/infiniband subsystem"
-HOMEPAGE="https://github.com/linux-rdma/rdma-core"
-
-if [[ ${PV} == *9999 ]]; then
- inherit git-r3
- EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core"
-else
- SRC_URI="https://github.com/linux-rdma/rdma-core/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
-fi
-
-LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )"
-SLOT="0"
-IUSE="neigh python static-libs systemd valgrind"
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-COMMON_DEPEND="
- virtual/libudev:=
- neigh? ( dev-libs/libnl:3 )
- systemd? ( sys-apps/systemd:= )
- valgrind? ( dev-util/valgrind )
- python? ( ${PYTHON_DEPS} )"
-
-DEPEND="${COMMON_DEPEND}
- python? (
- $(python_gen_cond_dep '
- dev-python/cython[${PYTHON_USEDEP}]
- ')
- )"
-
-RDEPEND="${COMMON_DEPEND}
- !sys-fabric/infiniband-diags
- !sys-fabric/libibverbs
- !sys-fabric/librdmacm
- !sys-fabric/libibumad
- !sys-fabric/ibacm
- !sys-fabric/libibmad
- !sys-fabric/srptools
- !sys-fabric/infinipath-psm
- !sys-fabric/libcxgb3
- !sys-fabric/libcxgb4
- !sys-fabric/libmthca
- !sys-fabric/libmlx4
- !sys-fabric/libmlx5
- !sys-fabric/libocrdma
- !sys-fabric/libnes"
-
-BDEPEND="virtual/pkgconfig"
-
-PATCHES=( "${FILESDIR}"/${PN}-39.0-RDMA_BuildType.patch )
-
-pkg_setup() {
- use python && python-single-r1_pkg_setup
-}
-
-src_configure() {
- local mycmakeargs=(
- -DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}"/etc
- -DCMAKE_INSTALL_RUNDIR=/run
- -DCMAKE_INSTALL_SHAREDSTATEDIR="${EPREFIX}"/var/lib
- -DCMAKE_INSTALL_UDEV_RULESDIR="${EPREFIX}$(get_udevdir)"/rules.d
- -DCMAKE_INSTALL_SYSTEMD_SERVICEDIR="$(systemd_get_systemunitdir)"
- -DCMAKE_DISABLE_FIND_PACKAGE_Systemd="$(usex !systemd)"
- -DENABLE_VALGRIND="$(usex valgrind)"
- -DENABLE_RESOLVE_NEIGH="$(usex neigh)"
- -DENABLE_STATIC="$(usex static-libs)"
- -DNO_PYVERBS="$(usex !python)"
- -DNO_MAN_PAGES=1
- )
- cmake_src_configure
-}
-
-src_install() {
- cmake_src_install
-
- udev_dorules "${ED}"/etc/udev/rules.d/70-persistent-ipoib.rules
- rm -r "${ED}"/etc/{udev,init.d} || die
-
- if use neigh; then
- newinitd "${FILESDIR}"/ibacm.init ibacm
- newinitd "${FILESDIR}"/iwpmd.init iwpmd
- fi
-
- newinitd "${FILESDIR}"/srpd.init srpd
-
- use python && python_optimize
-}
diff --git a/sys-cluster/rdma-core/rdma-core-41.0.ebuild b/sys-cluster/rdma-core/rdma-core-41.0.ebuild
index d8d8ff54cdf..79658d2d3d9 100644
--- a/sys-cluster/rdma-core/rdma-core-41.0.ebuild
+++ b/sys-cluster/rdma-core/rdma-core-41.0.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == *9999 ]]; then
EGIT_REPO_URI="https://github.com/linux-rdma/rdma-core"
else
SRC_URI="https://github.com/linux-rdma/rdma-core/archive/v${PV}.tar.gz -> ${P}.tar.gz"
- KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc ~x86"
+ KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~loong ~ppc ppc64 ~riscv ~s390 sparc x86"
fi
LICENSE="|| ( GPL-2 ( CC0-1.0 MIT BSD BSD-with-attribution ) )"
diff --git a/sys-cluster/resource-agents/Manifest b/sys-cluster/resource-agents/Manifest
index ab38975e5ff..ed88231ec60 100644
--- a/sys-cluster/resource-agents/Manifest
+++ b/sys-cluster/resource-agents/Manifest
@@ -1,3 +1 @@
-DIST resource-agents-3.9.6.tar.gz 617790 BLAKE2B a158743dca379dd4bbc9fe1cf784bca3f7cee1f930e9867734fae86ae8c8b39942b5b9a244f3a3efdbbcdb2cdc3718714062d0e7954645bca5f0eb1a4fd7ca38 SHA512 b4ca8b8cc3e09508847af3f1cf50cef946f374eae4ee7903700ba49ef7a3357b1ceaa26dca0616feaa79fb290713f18939dda42ee92a5a7bca2fab807fc77901
-DIST resource-agents-4.0.1.tar.gz 659123 BLAKE2B 47b976db2db2f82b2f5c300dbaa0e794d16f91425aa7641c18915cc2cc499af00a49d9990085ac069602d1bf6b8cf1ff5b477236254d16d15a0c48c6649a0350 SHA512 9c92bca7775e3c47c6463587fd7eea89f019997cfab0361ef37ee97192604d3b3d0dcd1cb70f774e01689b803dc856af170bd10e86a9d4824597293c264735d5
DIST resource-agents-4.6.1.tar.gz 799688 BLAKE2B a276dbd17d6b91926f2a040d847e2ca499fe36cf30a0413d2bdffccd3bd8cbe7022ab29244524d5f7f6b91c7513a56b40de5f4bb425e65d4f83710445da91231 SHA512 ccd4a86b5a4da636248badfb81808fa4c96f08dbce9dc8d9322b594cb6028f74b33fd9cacdbee65f49ca05f7dca04671e247f64b767df5cd0b7d19539f52ad5e
diff --git a/sys-cluster/resource-agents/files/3.9.4-configure.patch b/sys-cluster/resource-agents/files/3.9.4-configure.patch
deleted file mode 100644
index bb2f7bec62a..00000000000
--- a/sys-cluster/resource-agents/files/3.9.4-configure.patch
+++ /dev/null
@@ -1,30 +0,0 @@
---- a/configure.ac 2013-01-18 13:14:54.492191322 +0100
-+++ b/configure.ac 2013-01-18 13:17:17.559551891 +0100
-@@ -557,11 +557,13 @@
- AC_DEFINE_UNQUOTED(POWEROFF_CMD, "$POWEROFF_CMD", path to the poweroff command)
- AC_DEFINE_UNQUOTED(POWEROFF_OPTIONS, "$POWEROFF_OPTIONS", poweroff options)
-
--AC_PATH_PROGS(XSLTPROC, xsltproc)
--AM_CONDITIONAL(BUILD_DOC, test "x$XSLTPROC" != "x" )
--if test "x$XSLTPROC" = "x"; then
-- AC_MSG_WARN([xsltproc not installed, unable to (re-)build manual pages])
--fi
-+AC_ARG_ENABLE([doc],
-+ AS_HELP_STRING([--enable-doc],[Build documentation]))
-+
-+AS_IF([test "x$enable_doc" = "xyes"], [
-+ AC_PATH_PROGS(XSLTPROC, xsltproc)
-+])
-+AM_CONDITIONAL([BUILD_DOC], [test "x$enable_doc" = "xyes"] )
- AC_SUBST(XSLTPROC)
-
- AC_PATH_PROGS(POD2MAN, pod2man)
-@@ -732,8 +734,6 @@
- CFLAGS="$CFLAGS -g"
- enable_fatal_warnings=no
- else
-- CFLAGS="$CFLAGS -ggdb3"
--
- # We had to eliminate -Wnested-externs because of libtool changes
- # Also remove -Waggregate-return because we use one libnet
- # call which returns a struct
diff --git a/sys-cluster/resource-agents/resource-agents-3.9.6.ebuild b/sys-cluster/resource-agents/resource-agents-3.9.6.ebuild
deleted file mode 100644
index 89bc9fa4d7b..00000000000
--- a/sys-cluster/resource-agents/resource-agents-3.9.6.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${P/resource-}"
-inherit autotools multilib
-
-DESCRIPTION="Resources pack for Heartbeat / Pacemaker"
-HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents"
-SRC_URI="https://github.com/ClusterLabs/resource-agents/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
-IUSE="doc libnet rgmanager"
-
-RDEPEND="sys-apps/iproute2
- sys-cluster/cluster-glue
- libnet? ( net-libs/libnet:1.1 )"
-DEPEND="${RDEPEND}
- doc? (
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- )"
-
-PATCHES=(
- "${FILESDIR}/3.9.4-configure.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- --localstatedir=/var \
- --with-ocf-root=/usr/$(get_libdir)/ocf \
- $(use_enable doc) \
- $(use_enable libnet)
-}
-
-src_install() {
- default
- rm -rf "${D}"/etc/init.d/ || die
- rm -rf "${D}"/var/run || die
- use rgmanager || rm -rf "${D}"/usr/share/cluster/ "${D}"/var/
-}
-
-pkg_postinst() {
- elog "To use Resource Agents installed in /usr/$(get_libdir)/ocf/resource.d"
- elog "you have to emerge required runtime dependencies manually."
- elog ""
- elog "Description and dependencies of all Agents can be found on"
- elog "http://www.linux-ha.org/wiki/Resource_Agents"
- elog "or in the documentation of this package."
-}
diff --git a/sys-cluster/resource-agents/resource-agents-4.0.1.ebuild b/sys-cluster/resource-agents/resource-agents-4.0.1.ebuild
deleted file mode 100644
index f8331aad917..00000000000
--- a/sys-cluster/resource-agents/resource-agents-4.0.1.ebuild
+++ /dev/null
@@ -1,59 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-MY_P="${P/resource-}"
-inherit autotools multilib
-
-DESCRIPTION="Resources pack for Heartbeat / Pacemaker"
-HOMEPAGE="http://www.linux-ha.org/wiki/Resource_Agents"
-SRC_URI="https://github.com/ClusterLabs/resource-agents/archive/v${PV}.tar.gz -> ${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="doc libnet rgmanager"
-
-RDEPEND="sys-apps/iproute2
- sys-cluster/cluster-glue
- libnet? ( net-libs/libnet:1.1 )"
-DEPEND="${RDEPEND}
- doc? (
- dev-libs/libxslt
- app-text/docbook-xsl-stylesheets
- )"
-
-PATCHES=(
- "${FILESDIR}/3.9.4-configure.patch"
-)
-
-src_prepare() {
- default
- eautoreconf
-}
-
-src_configure() {
- econf \
- --disable-fatal-warnings \
- --localstatedir=/var \
- --with-ocf-root=/usr/$(get_libdir)/ocf \
- $(use_enable doc) \
- $(use_enable libnet)
-}
-
-src_install() {
- default
- rm -rf "${D}"/etc/init.d/ || die
- rm -rf "${D}"/var/run || die
- use rgmanager || rm -rf "${D}"/usr/share/cluster/ "${D}"/var/
-}
-
-pkg_postinst() {
- elog "To use Resource Agents installed in /usr/$(get_libdir)/ocf/resource.d"
- elog "you have to emerge required runtime dependencies manually."
- elog ""
- elog "Description and dependencies of all Agents can be found on"
- elog "http://www.linux-ha.org/wiki/Resource_Agents"
- elog "or in the documentation of this package."
-}
diff --git a/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild b/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild
index 8deb2e905c8..cf01dbf6369 100644
--- a/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild
+++ b/sys-cluster/resource-agents/resource-agents-4.6.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/ClusterLabs/resource-agents/archive/v${PV}.tar.gz ->
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa x86"
IUSE="doc libnet rgmanager"
RDEPEND="sys-apps/iproute2
diff --git a/sys-cluster/sanlock/Manifest b/sys-cluster/sanlock/Manifest
index 03cac489bab..27b197157c2 100644
--- a/sys-cluster/sanlock/Manifest
+++ b/sys-cluster/sanlock/Manifest
@@ -1,2 +1 @@
-DIST sanlock-3.8.2.tar.gz 266780 BLAKE2B 5248d08225bcc2a19594a3dcd3872c8c69ca8b217d31f6263f2717e4594180d4ba4685c9679ce2f31b6a2dcb4fe9f3e6a5dd5ac3ed073aea02599e7bbc04390c SHA512 2fa92e16eee4d2f3dac452400522f7e90b93b71349d322564d5957e2d87fb4bd69f0b5617b05f4b296c272d6da9a404fccadbbfff106354a0e302c436593eaac
DIST sanlock-3.8.4.tar.gz 270031 BLAKE2B da011a15d488849d47fe1043df040580652558918dff9549bf4e6cb4077c03b4aaa8f8de5399dbb0e3f2301ae90c0d20599b25bd5e72bae5317b13f79a352333 SHA512 9fca2b18fd3bd504d5186de0b2626ea2c993997528de2384dc042afe52b2b68422a2e4bb79e2409c9e6eccbe5ea8d8939549eb25c5d16aa7fecf6c9a5798340c
diff --git a/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch b/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch
new file mode 100644
index 00000000000..7e99d9b1f93
--- /dev/null
+++ b/sys-cluster/sanlock/files/sanlock-3.8.4-implicit-func-decls.patch
@@ -0,0 +1,34 @@
+https://pagure.io/sanlock/issue/8
+
+From 272f9838f3495f5e419f77e000762c420754c96d Mon Sep 17 00:00:00 2001
+From: Khem Raj <raj.khem@gmail.com>
+Date: Sep 02 2022 22:58:56 +0000
+Subject: add missing system header string.h
+
+
+This is needed for mem* function prototypes used in these sources
+
+Signed-off-by: Khem Raj <raj.khem@gmail.com>
+
+--- a/src/sanlock_sock.c
++++ b/src/sanlock_sock.c
+@@ -12,6 +12,7 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <stddef.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+
+--- a/wdmd/wdmd_sock.c
++++ b/wdmd/wdmd_sock.c
+@@ -12,6 +12,7 @@
+ #include <stdio.h>
+ #include <stdint.h>
+ #include <stddef.h>
++#include <string.h>
+ #include <sys/socket.h>
+ #include <sys/un.h>
+
+
+
diff --git a/sys-cluster/sanlock/sanlock-3.8.2.ebuild b/sys-cluster/sanlock/sanlock-3.8.2.ebuild
deleted file mode 100644
index 4df87061fd1..00000000000
--- a/sys-cluster/sanlock/sanlock-3.8.2.ebuild
+++ /dev/null
@@ -1,95 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-PYTHON_COMPAT=( python3_{7,8} )
-inherit linux-info python-r1 systemd
-
-DESCRIPTION="shared storage lock manager"
-HOMEPAGE="https://pagure.io/sanlock"
-SRC_URI="https://releases.pagure.org/${PN}/${P}.tar.gz"
-
-LICENSE="LGPL-2+ GPL-2 GPL-2+"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ~ppc ppc64 ~riscv ~s390 sparc x86"
-IUSE="python"
-
-REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
-
-DEPEND="
- acct-user/${PN}
- acct-group/${PN}
- dev-libs/libaio
- sys-apps/util-linux
- python? ( ${PYTHON_DEPS} )
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
- ${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch
-)
-
-pkg_setup() {
- local warning="You need to have CONFIG_SOFT_WATCHDOG enabled in your kernel for wdmd"
- if linux_config_exists; then
- if ! linux_chkconfig_present SOFT_WATCHDOG; then
- ewarn ""
- ewarn "${warning}"
- ewarn ""
- fi
- else
- ewarn ""
- ewarn "Could not be checked automatically: $warning"
- ewarn ""
- fi
-}
-
-src_compile() {
- for d in wdmd src fence_sanlock reset; do
- cd ${d} || die
- emake
- cd .. || die
- done
-
- if use python; then
- cd python || die
- python_foreach_impl emake
- cd .. || die
- fi
-}
-
-src_install() {
- for d in wdmd src fence_sanlock reset; do
- cd ${d} || die
- emake DESTDIR="${D}" LIBDIR="${EPREFIX}/usr/$(get_libdir)" install
- cd .. || die
- done
-
- if use python; then
- cd python || die
- python_foreach_impl emake DESTDIR="${D}" install
- cd .. || die
- fi
-
- # config
- dodir /etc/wdmd.d
- dodir /etc/sanlock
- insinto /etc/sanlock
- doins src/sanlock.conf
-
- # init
- newconfd init.d/sanlock.sysconfig sanlock
- newconfd init.d/wdmd.sysconfig wdmd
- newinitd "${FILESDIR}"/sanlock.initd sanlock
- newinitd "${FILESDIR}"/wdmd.initd wdmd
- #doinitd ${FILESDIR}/sanlk-resetd.initd
- #doinitd ${FILESDIR}/fence_sanlockd.initd
-
- # systemd
- systemd_newunit init.d/sanlock.service.native sanlock.service
- sed -i 's,^ExecStartPre=,#ExecStartPre=,' init.d/wdmd.service.native || die
- systemd_newunit init.d/wdmd.service.native wdmd.service
- systemd_dounit init.d/sanlk-resetd.service
- #systemd_dounit ${FILESDIR}/fence_sanlockd.service
-}
diff --git a/sys-cluster/sanlock/sanlock-3.8.4.ebuild b/sys-cluster/sanlock/sanlock-3.8.4-r1.ebuild
index 638cec0ffef..d48b048e3ea 100644
--- a/sys-cluster/sanlock/sanlock-3.8.4.ebuild
+++ b/sys-cluster/sanlock/sanlock-3.8.4-r1.ebuild
@@ -25,9 +25,11 @@ DEPEND="
python? ( ${PYTHON_DEPS} )
"
RDEPEND="${DEPEND}"
+BDEPEND="sys-apps/which"
PATCHES=(
"${FILESDIR}/sanlock-fence_sanlock-LDFLAGS.patch"
+ "${FILESDIR}/sanlock-3.8.4-implicit-func-decls.patch"
)
CONFIG_CHECK="~SOFT_WATCHDOG"
diff --git a/sys-cluster/slurm/Manifest b/sys-cluster/slurm/Manifest
index ba0ae40fe89..94e32473387 100644
--- a/sys-cluster/slurm/Manifest
+++ b/sys-cluster/slurm/Manifest
@@ -1 +1 @@
-DIST slurm-20-11-0-1.tar.gz 8762691 BLAKE2B 1e24a04b3faf97f4df98bd982d67d47f79670b863f466326e45e00fac0b99124122e94e30054a97471e4337234cbd213806791bdd5b3bddfeb05bef55f42931e SHA512 9a57f2610f7294ba6cd265746b874e32a7930100f30c0adf41d95b261787c441bdcacaa641f0b9785150b94fc7d6b5b7608ec618f668bffcae6f774752f17678
+DIST slurm-22.05.3.tar.bz2 7098045 BLAKE2B 597d297bf5f98a6aa98f1cc3047f9d0e88051f80e0d55e931d53a9b3e6bfa5911fe8aa486f56fef2d8f8d3a02fe41cf89625ae65e3737c87ceb9d123f03beb0d SHA512 a500fb657f7d4d3d063307e176e26e537962434ff73ad8d13e16c34c70e94916fdab4e08e23d40aedec7edd86be996d2366e82fcb952c83f5498e59ca47c3f21
diff --git a/sys-cluster/slurm/files/slurm-20.11.0.1_autoconf-lua.patch b/sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch
index f17039e0b59..f5723f7b85b 100644
--- a/sys-cluster/slurm/files/slurm-20.11.0.1_autoconf-lua.patch
+++ b/sys-cluster/slurm/files/slurm-22.05.3_autoconf-lua.patch
@@ -1,23 +1,22 @@
-Prevent automagical detection of Lua, abort if Lua support has been
-requested but Lua cannot be found with pkg-config, and use the Lua
-pkg-config module set up by the eclass-provided wrapper (or unslotted Lua)
-instead of enumerating installed versions.
-
+diff --git a/auxdir/x_ac_lua.m4 b/auxdir/x_ac_lua.m4
+index 6941281bd5..206498191f 100644
--- a/auxdir/x_ac_lua.m4
+++ b/auxdir/x_ac_lua.m4
-@@ -12,18 +12,21 @@
+@@ -12,20 +12,21 @@
AC_DEFUN([X_AC_LUA],
[
- x_ac_lua_pkg_name="lua"
-- #check for 5.3 then 5.2 then 5.1
-- PKG_CHECK_EXISTS([lua5.3], [x_ac_lua_pkg_name=lua5.3],
+- #check for 5.4, 5.3, 5.2 and then 5.1
+- PKG_CHECK_EXISTS([lua5.4], [x_ac_lua_pkg_name=lua5.4],
+- [PKG_CHECK_EXISTS([lua-5.4], [x_ac_lua_pkg_name=lua-5.4],
+- [PKG_CHECK_EXISTS([lua5.3], [x_ac_lua_pkg_name=lua5.3],
- [PKG_CHECK_EXISTS([lua-5.3], [x_ac_lua_pkg_name=lua-5.3],
- [PKG_CHECK_EXISTS([lua5.2], [x_ac_lua_pkg_name=lua5.2],
- [PKG_CHECK_EXISTS([lua-5.2], [x_ac_lua_pkg_name=lua-5.2],
- [PKG_CHECK_EXISTS([lua5.1], [x_ac_lua_pkg_name=lua5.1],
- [PKG_CHECK_EXISTS([lua-5.1], [x_ac_lua_pkg_name=lua-5.1],
-- [x_ac_lua_pkg_name="lua >= 5.1"])])])])])])
+- [x_ac_lua_pkg_name="lua >= 5.1"])])])])])])])])
- PKG_CHECK_MODULES([lua], ${x_ac_lua_pkg_name},
- [x_ac_have_lua="yes"],
- [x_ac_have_lua="no"])
@@ -39,7 +38,7 @@ instead of enumerating installed versions.
if test "x$x_ac_have_lua" = "xyes"; then
saved_CFLAGS="$CFLAGS"
-@@ -52,8 +55,6 @@
+@@ -60,8 +61,6 @@ AC_DEFUN([X_AC_LUA],
fi
CFLAGS="$saved_CFLAGS"
LIBS="$saved_LIBS"
diff --git a/sys-cluster/slurm/metadata.xml b/sys-cluster/slurm/metadata.xml
index fbaaba0061d..5f5481fc23f 100644
--- a/sys-cluster/slurm/metadata.xml
+++ b/sys-cluster/slurm/metadata.xml
@@ -10,16 +10,20 @@
<name>Gentoo Cluster Project</name>
</maintainer>
<use>
+
<flag name="html">Build html documentation</flag>
<flag name="ipmi">Build support for collecting some ipmi stats</flag>
<flag name="json">Add support for json-persing via json-c</flag>
<flag name="munge">Enable authentication via munge</flag>
<flag name="multiple-slurmd">Allow multiple slurmd to run</flag>
- <flag name="netloc">Add support for netloc (amd64 only)</flag>
<flag name="numa">Add NUMA awareness</flag>
+ <flag name="nvml">Enable the NVML device discovery</flag>
<flag name="ofed">Add Infiniband support via ofed</flag>
+ <flag name="rrdtool">Enable RRD export plugin</flag>
<flag name="slurmdbd">Install SQL server for slurmdbd</flag>
+ <flag name="slurmrestd">Enable interface to Slurm via REST API</flag>
<flag name="torque">Enable perl scripts that emulates pbs (qstat, qsub etc.)</flag>
<flag name="ucx">Enable Unified Communication X library support</flag>
+ <flag name="yaml">Enable YAML support</flag>
</use>
</pkgmetadata>
diff --git a/sys-cluster/slurm/slurm-20.11.0.1-r105.ebuild b/sys-cluster/slurm/slurm-20.11.0.1-r105.ebuild
deleted file mode 100644
index 0445fde0fe3..00000000000
--- a/sys-cluster/slurm/slurm-20.11.0.1-r105.ebuild
+++ /dev/null
@@ -1,275 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-LUA_COMPAT=( lua5-{1..3} )
-
-if [[ ${PV} == *9999* ]]; then
- EGIT_REPO_URI="https://github.com/SchedMD/slurm.git"
- INHERIT_GIT="git-r3"
- MY_P="${P}"
-else
- if [[ ${PV} == *pre* || ${PV} == *rc* ]]; then
- MY_PV=$(ver_rs '-0.') # pre-releases or release-candidate
- else
- MY_PV=$(ver_rs 1-4 '-') # stable releases
- fi
- MY_P="${PN}-${MY_PV}"
- INHERIT_GIT=""
- SRC_URI="https://github.com/SchedMD/slurm/archive/${MY_P}.tar.gz"
- KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
-fi
-
-inherit autotools bash-completion-r1 lua-single pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} tmpfiles
-
-DESCRIPTION="A Highly Scalable Resource Manager"
-HOMEPAGE="https://www.schedmd.com https://github.com/SchedMD/slurm"
-
-LICENSE="GPL-2"
-SLOT="0"
-IUSE="debug hdf5 html ipmi json lua multiple-slurmd +munge mysql netloc numa ofed pam perl slurmdbd static-libs ucx torque X"
-
-COMMON_DEPEND="
- !sys-cluster/torque
- !net-analyzer/slurm
- !net-analyzer/sinfo
- || ( sys-cluster/pmix[-pmi] >=sys-cluster/openmpi-2.0.0 )
- mysql? (
- || ( dev-db/mariadb-connector-c dev-db/mysql-connector-c )
- slurmdbd? ( || ( dev-db/mariadb:* dev-db/mysql:* ) )
- )
- munge? ( sys-auth/munge )
- pam? ( sys-libs/pam )
- lua? ( ${LUA_DEPS} )
- ipmi? ( sys-libs/freeipmi )
- json? ( dev-libs/json-c:= )
- amd64? ( netloc? ( >=sys-apps/hwloc-2.1.0:=[netloc(-)] ) )
- hdf5? ( sci-libs/hdf5:= )
- numa? ( sys-process/numactl )
- ofed? ( sys-cluster/rdma-core )
- ucx? ( sys-cluster/ucx )
- X? ( net-libs/libssh2 )
- >=sys-apps/hwloc-1.1.1-r1:=
- sys-libs/ncurses:0=
- app-arch/lz4:0=
- dev-libs/glib:2=
- sys-libs/readline:0="
-
-DEPEND="${COMMON_DEPEND}
- html? ( sys-apps/man2html )"
-
-RDEPEND="${COMMON_DEPEND}
- acct-user/slurm
- acct-group/slurm
- dev-libs/libcgroup"
-
-REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- torque? ( perl )"
-
-S="${WORKDIR}/${PN}-${MY_P}"
-
-LIBSLURM_PERL_S="${S}/contribs/perlapi/libslurm/perl"
-LIBSLURMDB_PERL_S="${S}/contribs/perlapi/libslurmdb/perl"
-
-RESTRICT="test"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-20.11.0.1_autoconf-lua.patch
-)
-
-pkg_setup() {
- use lua && lua-single_pkg_setup
-}
-
-src_unpack() {
- if [[ ${PV} == *9999* ]]; then
- git-r3_src_unpack
- else
- default
- fi
-}
-
-src_prepare() {
- tc-ld-disable-gold
- default
-
- # pids should go to /var/run/slurm
- sed \
- -e 's:/tmp:/var/tmp:g' \
- -e "s:/var/run/slurmctld.pid:${EPREFIX}/run/slurm/slurmctld.pid:g" \
- -e "s:/var/run/slurmd.pid:${EPREFIX}/run/slurm/slurmd.pid:g" \
- -e "s:StateSaveLocation=.*:StateSaveLocation=${EPREFIX}/var/spool/slurm:g" \
- -e "s:SlurmdSpoolDir=.*:SlurmdSpoolDir=${EPREFIX}/var/spool/slurm/slurmd:g" \
- -i "${S}/etc/slurm.conf.example" \
- || die "Can't sed for /var/run/slurmctld.pid"
- sed \
- -e "s:/var/run/slurmdbd.pid:${EPREFIX}/run/slurm/slurmdbd.pid:g" \
- -i "${S}/etc/slurmdbd.conf.example" \
- || die "Can't sed for /var/run/slurmdbd.pid"
- # gentooify systemd services
- sed \
- -e 's:sysconfig/.*:conf.d/slurm:g' \
- -e 's:var/run/:run/slurm/:g' \
- -e '/^EnvironmentFile=.*/d' \
- -i "${S}/etc"/*.service.in \
- || die "Can't sed systemd services for sysconfig or var/run/"
-
- sed -e '/AM_PATH_GTK_2_0/d' -i configure.ac || die
-
- hprefixify auxdir/{ax_check_zlib,x_ac_{lz4,ofed,munge}}.m4
- eautoreconf
-}
-
-src_configure() {
- local myconf=(
- --sysconfdir="${EPREFIX}/etc/${PN}"
- --with-hwloc="${EPREFIX}/usr"
- --htmldir="${EPREFIX}/usr/share/doc/${PF}"
- )
- use pam && myconf+=( --with-pam_dir=$(getpam_mod_dir) )
- use mysql || myconf+=( --without-mysql_config )
- use amd64 && myconf+=( $(use_with netloc) )
- econf "${myconf[@]}" \
- $(use_enable debug) \
- $(use_enable lua) \
- $(use_enable pam) \
- $(use_enable X x11) \
- $(use_with munge) \
- $(use_with json) \
- $(use_with hdf5) \
- $(use_with ofed) \
- $(use_with ucx) \
- $(use_enable static-libs static) \
- $(use_enable multiple-slurmd)
-
- # --htmldir does not seems to propagate... Documentations are installed
- # in /usr/share/doc/slurm-2.3.0/html
- # instead of /usr/share/doc/slurm-2.3.0.2/html
- sed \
- -e "s|htmldir = .*/html|htmldir = \${prefix}/share/doc/slurm-${PVR}/html|g" \
- -i doc/html/Makefile || die
- if use perl ; then
- # small hack to make it compile
- mkdir -p "${S}/src/api/.libs" || die
- mkdir -p "${S}/src/db_api/.libs" || die
- touch "${S}/src/api/.libs/libslurm.so" || die
- touch "${S}/src/db_api/.libs/libslurmdb.so" || die
- cd "${LIBSLURM_PERL_S}" || die
- S="${LIBSLURM_PERL_S}" perl-module_src_configure
- cd "${LIBSLURMDB_PERL_S}" || die
- S="${LIBSLURMDB_PERL_S}" perl-module_src_configure
- cd "${S}" || die
- rm -rf "${S}/src/api/.libs" "${S}/src/db_api/.libs" || die
- fi
-}
-
-src_compile() {
- default
- use pam && emake -C contribs/pam
- if use perl ; then
- cd "${LIBSLURM_PERL_S}" || die
- S="${LIBSLURM_PERL_S}" perl-module_src_compile
- cd "${LIBSLURMDB_PERL_S}" || die
- S="${LIBSLURMDB_PERL_S}" perl-module_src_compile
- cd "${S}" || die
- fi
- use torque && emake -C contribs/torque
-}
-
-src_install() {
- default
- use pam && emake DESTDIR="${D}" -C contribs/pam install
- if use perl; then
- cd "${LIBSLURM_PERL_S}" || die
- S="${LIBSLURM_PERL_S}" perl-module_src_install
- cd "${LIBSLURMDB_PERL_S}" || die
- S="${LIBSLURMDB_PERL_S}" perl-module_src_install
- cd "${S}" || die
- fi
- if use torque; then
- emake DESTDIR="${D}" -C contribs/torque
- rm -f "${D}"/usr/bin/mpiexec || die
- fi
- use static-libs || find "${ED}" -name '*.la' -exec rm {} +
- # install sample configs
- keepdir /etc/slurm
- insinto /etc/slurm
- doins \
- etc/prolog.example \
- etc/cgroup.conf.example \
- etc/slurm.conf.example \
- etc/slurmdbd.conf.example
- exeinto /etc/slurm
- keepdir /etc/slurm/layouts.d
- # install init.d files
- newinitd "$(prefixify_ro "${FILESDIR}/slurmd.initd")" slurmd
- newinitd "$(prefixify_ro "${FILESDIR}/slurmctld.initd")" slurmctld
- newinitd "$(prefixify_ro "${FILESDIR}/slurmdbd.initd")" slurmdbd
- # install conf.d files
- newconfd "${FILESDIR}/slurm.confd" slurm
- # install logrotate file
- insinto /etc/logrotate.d
- newins "${FILESDIR}/logrotate" slurm
- # install bashcomp
- newbashcomp contribs/slurm_completion_help/slurm_completion.sh scontrol
- bashcomp_alias scontrol \
- sreport sacctmgr squeue scancel sshare sbcast sinfo \
- sprio sacct salloc sbatch srun sattach sdiag sstat
- # install systemd files
- newtmpfiles "${FILESDIR}/slurm.tmpfiles" slurm.conf
- systemd_dounit etc/slurmd.service etc/slurmctld.service etc/slurmdbd.service
-}
-
-pkg_preinst() {
- if use munge; then
- sed -i 's,\(SLURM_USE_MUNGE=\).*,\11,' "${D}"/etc/conf.d/slurm || die
- fi
-}
-
-create_folders_and_fix_permissions() {
- einfo "Fixing permissions in ${@}"
- mkdir -p ${@} || die
- chown -R ${PN}:${PN} ${@} || die
-}
-
-pkg_postinst() {
- paths=(
- "${EROOT}"/var/${PN}/checkpoint
- "${EROOT}"/var/${PN}
- "${EROOT}"/var/spool/${PN}/slurmd
- "${EROOT}"/var/spool/${PN}
- "${EROOT}"/var/log/${PN}
- /var/tmp/${PN}/${PN}d
- /var/tmp/${PN}
- /run/${PN}
- )
- local folder_path
- for folder_path in ${paths[@]}; do
- create_folders_and_fix_permissions $folder_path
- done
- echo
-
- tmpfiles_process slurm.conf
-
- elog "Please visit the file '/usr/share/doc/${P}/html/configurator.html"
- elog "through a (javascript enabled) browser to create a configureation file."
- elog "Copy that file to /etc/slurm/slurm.conf on all nodes (including the headnode) of your cluster."
- echo
- elog "For cgroup support, please see https://www.schedmd.com/slurmdocs/cgroup.conf.html"
- elog "Your kernel must be compiled with the wanted cgroup feature:"
- elog " For the proctrack plugin:"
- elog " freezer"
- elog " For the task plugin:"
- elog " cpuset, memory, devices"
- elog " For the accounting plugin:"
- elog " cpuacct, memory, blkio"
- elog "Then, set these options in /etc/slurm/slurm.conf:"
- elog " ProctrackType=proctrack/cgroup"
- elog " TaskPlugin=task/cgroup"
- einfo
- ewarn "Paths were created for slurm. Please use these paths in /etc/slurm/slurm.conf:"
- for folder_path in ${paths[@]}; do
- ewarn " ${folder_path}"
- done
-}
diff --git a/sys-cluster/slurm/slurm-20.11.0.1-r104.ebuild b/sys-cluster/slurm/slurm-22.05.3.ebuild
index ffd4361860d..0b5e602258f 100644
--- a/sys-cluster/slurm/slurm-20.11.0.1-r104.ebuild
+++ b/sys-cluster/slurm/slurm-22.05.3.ebuild
@@ -3,7 +3,7 @@
EAPI=7
-LUA_COMPAT=( lua5-{1..3} )
+LUA_COMPAT=( lua5-{1..4} )
if [[ ${PV} == *9999* ]]; then
EGIT_REPO_URI="https://github.com/SchedMD/slurm.git"
@@ -15,10 +15,10 @@ else
else
MY_PV=$(ver_rs 1-4 '-') # stable releases
fi
- MY_P="${PN}-${MY_PV}"
+ MY_P="${P}"
INHERIT_GIT=""
- SRC_URI="https://github.com/SchedMD/slurm/archive/${MY_P}.tar.gz"
- KEYWORDS="amd64 ~arm64 ~riscv ~x86"
+ SRC_URI="https://download.schedmd.com/slurm/${MY_P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
fi
inherit autotools bash-completion-r1 lua-single pam perl-module prefix toolchain-funcs systemd ${INHERIT_GIT} tmpfiles
@@ -28,7 +28,7 @@ HOMEPAGE="https://www.schedmd.com https://github.com/SchedMD/slurm"
LICENSE="GPL-2"
SLOT="0"
-IUSE="debug hdf5 html ipmi json lua multiple-slurmd +munge mysql netloc numa ofed pam perl slurmdbd static-libs ucx torque X"
+IUSE="X debug hdf5 html ipmi json lua multiple-slurmd +munge mysql numa nvml ofed pam perl rrdtool slurmdbd slurmrestd static-libs torque ucx yaml"
# See bug #813924 for hdf5lib < dep, needs proper fix
COMMON_DEPEND="
@@ -40,21 +40,27 @@ COMMON_DEPEND="
|| ( dev-db/mariadb-connector-c dev-db/mysql-connector-c )
slurmdbd? ( || ( dev-db/mariadb:* dev-db/mysql:* ) )
)
+ slurmrestd? (
+ net-libs/http-parser
+ )
munge? ( sys-auth/munge )
pam? ( sys-libs/pam )
lua? ( ${LUA_DEPS} )
ipmi? ( sys-libs/freeipmi )
json? ( dev-libs/json-c:= )
- amd64? ( netloc? ( >=sys-apps/hwloc-2.1.0:=[netloc] ) )
hdf5? ( <sci-libs/hdf5-1.12:= )
numa? ( sys-process/numactl )
+ nvml? ( dev-util/nvidia-cuda-toolkit x11-drivers/nvidia-drivers )
ofed? ( sys-cluster/rdma-core )
+ rrdtool? ( net-analyzer/rrdtool )
ucx? ( sys-cluster/ucx )
+ yaml? ( dev-libs/libyaml )
X? ( net-libs/libssh2 )
>=sys-apps/hwloc-1.1.1-r1:=
sys-libs/ncurses:0=
app-arch/lz4:0=
dev-libs/glib:2=
+ sys-apps/dbus
sys-libs/readline:0="
DEPEND="${COMMON_DEPEND}
@@ -66,9 +72,10 @@ RDEPEND="${COMMON_DEPEND}
dev-libs/libcgroup"
REQUIRED_USE="lua? ( ${LUA_REQUIRED_USE} )
- torque? ( perl )"
+ torque? ( perl )
+ slurmrestd? ( json ) "
-S="${WORKDIR}/${PN}-${MY_P}"
+S="${WORKDIR}/${MY_P}"
LIBSLURM_PERL_S="${S}/contribs/perlapi/libslurm/perl"
LIBSLURMDB_PERL_S="${S}/contribs/perlapi/libslurmdb/perl"
@@ -76,7 +83,7 @@ LIBSLURMDB_PERL_S="${S}/contribs/perlapi/libslurmdb/perl"
RESTRICT="test"
PATCHES=(
- "${FILESDIR}"/${PN}-20.11.0.1_autoconf-lua.patch
+ "${FILESDIR}"/${PN}-22.05.3_autoconf-lua.patch
)
pkg_setup() {
@@ -124,6 +131,7 @@ src_prepare() {
src_configure() {
local myconf=(
+ CPPFLAGS="-I/opt/cuda/include"
--sysconfdir="${EPREFIX}/etc/${PN}"
--with-hwloc="${EPREFIX}/usr"
--htmldir="${EPREFIX}/usr/share/doc/${PF}"
@@ -139,9 +147,13 @@ src_configure() {
$(use_with munge) \
$(use_with json) \
$(use_with hdf5) \
+ $(use_with nvml) \
$(use_with ofed) \
+ $(use_with rrdtool) \
$(use_with ucx) \
+ $(use_with yaml) \
$(use_enable static-libs static) \
+ $(use_enable slurmrestd) \
$(use_enable multiple-slurmd)
# --htmldir does not seems to propagate... Documentations are installed
@@ -157,9 +169,9 @@ src_configure() {
touch "${S}/src/api/.libs/libslurm.so" || die
touch "${S}/src/db_api/.libs/libslurmdb.so" || die
cd "${LIBSLURM_PERL_S}" || die
- S="${LIBSLURM_PERL_S}" perl-module_src_configure
+ S="${LIBSLURM_PERL_S}" SRC_PREP="no" perl-module_src_configure
cd "${LIBSLURMDB_PERL_S}" || die
- S="${LIBSLURMDB_PERL_S}" perl-module_src_configure
+ S="${LIBSLURMDB_PERL_S}" SRC_PREP="no" perl-module_src_configure
cd "${S}" || die
rm -rf "${S}/src/api/.libs" "${S}/src/db_api/.libs" || die
fi
@@ -231,7 +243,7 @@ pkg_preinst() {
create_folders_and_fix_permissions() {
einfo "Fixing permissions in ${@}"
mkdir -p ${@} || die
- chown -R ${PN}:${PN} ${@} || die
+ chown ${PN}:${PN} ${@} || die
}
pkg_postinst() {
diff --git a/sys-cluster/torque/torque-6.0.4-r2.ebuild b/sys-cluster/torque/torque-6.0.4-r2.ebuild
index c6014ac21c1..9019fab049e 100644
--- a/sys-cluster/torque/torque-6.0.4-r2.ebuild
+++ b/sys-cluster/torque/torque-6.0.4-r2.ebuild
@@ -20,7 +20,7 @@ DEPEND_COMMON="
sys-libs/zlib
sys-libs/readline:0=
dev-libs/libxml2
- >=dev-libs/boost-1.41
+ dev-libs/boost
cpusets? ( sys-apps/hwloc:= )
munge? ( sys-auth/munge )
nvidia? ( >=x11-drivers/nvidia-drivers-275 )
diff --git a/sys-cluster/ucx/Manifest b/sys-cluster/ucx/Manifest
index 8c266590a5e..3acad591f87 100644
--- a/sys-cluster/ucx/Manifest
+++ b/sys-cluster/ucx/Manifest
@@ -1,2 +1,4 @@
DIST ucx-1.10.0_rc5.tar.gz 2399950 BLAKE2B f6f78d2a3e0cd7f252354d59b9d667992c5f9f4d8ee4a41356decf4a1ed72382d8ce5213395bc6bacf1d8658f95808082cc0f825230857ddbbff19ed060efa5c SHA512 b772ad030e80bc5b0ab25d590117950d363f5f7ea1b7ed5ce0bba285d0a932205ee4d73705c094cef077c751b1cf8b6efdd4608c7df6b39d813771a0a31460ac
+DIST ucx-1.13.0.tar.gz 2770439 BLAKE2B 779bf7913ec1d0f5aebfd12d4eda90c83f6dae746e82bb818c4d981f6f564ecb37b6e003c3718db4ad74f25aa19fcbeb0ff98ed6349e254b7c707b4dda3c8974 SHA512 bea02adeb5c4286df360cfe788b40afde3e0404c659678497b53e753851e091de766f32aef39bd6f76e71802c88f0e0ed49c31af0c908ce2d9f3edc79ed6f933
+DIST ucx-1.13.1.tar.gz 2979566 BLAKE2B c175f876dda923062a1350b2f3939aca1c9ce3b8a0ee2a50bcc35c72b9f622cc7f4b740194dfdf2b28f56050f05cf4305d903ca0fb35496090691097f2f6d02b SHA512 8ca0876b55326deaf9f756ad8b60b2f6b96d8107d8fc4b9c58b3aad99b161b5a6c4c8a64a924ce35899012959c2d4479eac0309bec05227cf06ffc83dbfc2f6f
DIST ucx-1.9.0.tar.gz 2467338 BLAKE2B 4d2d18c530f99a56baeb1dec88a7dba813970d3f501eb08f637dc7cefcfe5e564bc121e50c1842ea94e927a0fd657847c571241e3dd9601cdde207729d32d721 SHA512 2e8507e9cbba9ea445efdf8be5b5128dfc76cce30111805e9f7a5618bbbbb77d2bb449b6ad5e415f086b3156b63128306671d3a906583248cde720edb4241c67
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-binutils-2.39-ptr-typedef.patch b/sys-cluster/ucx/files/ucx-1.13.0-binutils-2.39-ptr-typedef.patch
new file mode 100644
index 00000000000..2eb863e6bde
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-binutils-2.39-ptr-typedef.patch
@@ -0,0 +1,25 @@
+https://github.com/openucx/ucx/commit/edd14921fa0a3e8cf631ef1a08fc724e44d072df
+https://bugs.gentoo.org/868117
+
+From 6b6128efd416831cec3a1820f7d1c8e648b79448 Mon Sep 17 00:00:00 2001
+From: Hui Zhou <hzhou321@anl.gov>
+Date: Sun, 14 Aug 2022 23:29:09 -0500
+Subject: [PATCH] UCS/DEBUG: replace PTR with void *
+
+The PTR macro is missing on the latest Arch linux.
+--- a/src/ucs/debug/debug.c
++++ b/src/ucs/debug/debug.c
+@@ -272,10 +272,10 @@ static int load_file(struct backtrace_file *file)
+ goto err_close;
+ }
+
+- symcount = bfd_read_minisymbols(file->abfd, 0, (PTR)&file->syms, &size);
++ symcount = bfd_read_minisymbols(file->abfd, 0, (void *)&file->syms, &size);
+ if (symcount == 0) {
+ free(file->syms);
+- symcount = bfd_read_minisymbols(file->abfd, 1, (PTR)&file->syms, &size);
++ symcount = bfd_read_minisymbols(file->abfd, 1, (void *)&file->syms, &size);
+ }
+ if (symcount < 0) {
+ goto err_close;
+
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch b/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch
new file mode 100644
index 00000000000..890c630c579
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-cstdint-include.patch
@@ -0,0 +1,20 @@
+https://github.com/openucx/ucx/pull/8517
+
+From 8f70e898b43d1bde1ff3fae56bf0ac5aac285997 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Fri, 9 Sep 2022 11:35:03 +0100
+Subject: [PATCH] TEST/SOCKADDR: Add missing <cstdint> include for GCC 13
+
+Closes: https://github.com/openucx/ucx/issues/8347
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/test/apps/sockaddr/sa_util.h
++++ b/test/apps/sockaddr/sa_util.h
+@@ -7,6 +7,7 @@
+ #ifndef SA_UTIL_H_
+ #define SA_UTIL_H_
+
++#include <cstdint>
+ #include <iostream>
+ #include <sstream>
+ #include <string>
+
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-drop-werror.patch b/sys-cluster/ucx/files/ucx-1.13.0-drop-werror.patch
new file mode 100644
index 00000000000..a0901ce23c1
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-drop-werror.patch
@@ -0,0 +1,33 @@
+--- a/config/m4/compiler.m4
++++ b/config/m4/compiler.m4
+@@ -10,7 +10,7 @@
+ #
+ # Initialize CFLAGS
+ #
+-BASE_CFLAGS="-g -Wall -Werror"
++BASE_CFLAGS="-g -Wall"
+
+
+ #
+--- a/examples/Makefile.am
++++ b/examples/Makefile.am
+@@ -26,7 +26,7 @@ EXAMPLE_CUDA_CFLAGS = $(CFLAGS_PEDANTIC)
+ EXAMPLE_CUDA_CPPFLAGS =
+ endif
+
+-EXAMPLE_CCLD_FLAGS = -lucs -I$(includedir) -L$(libdir) -Wall -Werror -Wl,-rpath,$(libdir) \
++EXAMPLE_CCLD_FLAGS = -lucs -I$(includedir) -L$(libdir) -Wall -Wl,-rpath,$(libdir) \
+ $(EXAMPLE_CUDA_LD_FLAGS) $(EXAMPLE_CUDA_LIBS) $(EXAMPLE_CUDA_CPPFLAGS)
+
+ installcheck-local:
+--- a/test/apps/sockaddr/Makefile.am
++++ b/test/apps/sockaddr/Makefile.am
+@@ -12,7 +12,7 @@ noinst_HEADERS = \
+ sa_util.h
+
+ sa_CXXFLAGS = \
+- -std=c++11 -g -Wall -Werror
++ -std=c++11 -g -Wall
+
+ sa_CPPFLAGS = $(BASE_CPPFLAGS)
+
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-fix-bashisms.patch b/sys-cluster/ucx/files/ucx-1.13.0-fix-bashisms.patch
new file mode 100644
index 00000000000..f152c152fcb
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-fix-bashisms.patch
@@ -0,0 +1,44 @@
+https://github.com/openucx/ucx/pull/8494
+
+From c65087d7984f516485c11b4b732d9ac2676a494e Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sat, 3 Sep 2022 00:28:28 +0100
+Subject: [PATCH] config: Fix bashisms in configure
+
+configure scripts need to be runnable with a POSIX-compliant /bin/sh.
+
+On many (but not all!) systems, /bin/sh is provided by Bash, so errors
+like this aren't spotted. Notably Debian defaults to /bin/sh provided
+by dash which doesn't tolerate such bashisms as '=='.
+
+This retains compatibility with bash.
+
+Fixes configure warnings/errors like:
+```
+checking for go... yes
+./configure: 26781: test: xyes: unexpected operator
+```
+
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/config/m4/go.m4
++++ b/config/m4/go.m4
+@@ -21,7 +21,7 @@ AS_IF([test "x$with_go" != xno],
+ [AS_VERSION_COMPARE([1.16], [`go version | awk '{print substr($3, 3, length($3)-2)}'`],
+ [go_happy="yes"], [go_happy="yes"], [go_happy=no])],
+ [go_happy=no])
+- AS_IF([test "x$go_happy" == xno],
++ AS_IF([test "x$go_happy" = xno],
+ [AS_IF([test "x$with_go" = "xguess"],
+ [AC_MSG_WARN([Disabling GO support - GO compiler version 1.16 or newer not found.])],
+ [AC_MSG_ERROR([GO support was explicitly requested, but go compiler not found.])])])
+--- a/configure.ac
++++ b/configure.ac
+@@ -159,7 +159,7 @@ AC_ARG_WITH([docs_only],
+ AC_DEFUN([UCX_DX_ENABLE_CHECK],
+ [AS_IF([DX_TEST_FEATURE($1)],
+ [],
+- [AS_IF([test "x$enable_doxygen_$1" == xyes],
++ [AS_IF([test "x$enable_doxygen_$1" = xyes],
+ [AC_MSG_ERROR([--enable-doxygen-$1 was specified, but $1 tools were not found])],
+ [])])])
+
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-fix-fcntl-include-musl.patch b/sys-cluster/ucx/files/ucx-1.13.0-fix-fcntl-include-musl.patch
new file mode 100644
index 00000000000..2d80ffeaa3d
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-fix-fcntl-include-musl.patch
@@ -0,0 +1,103 @@
+https://github.com/openucx/ucx/pull/8495
+
+From 77ea0b015bc2d18f4a6bc2ba0fb9b71ac7532199 Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sat, 3 Sep 2022 00:44:28 +0100
+Subject: [PATCH 1/2] UCM: Fix deprecated <sys/fcntl.h> includes
+
+Fix deprecation warnings like:
+```
+In file included from /var/tmp/portage/sys-cluster/ucx-1.10.0_rc5/work/ucx-1.10.0-rc5/src/ucs/sys/sys.h:29,
+ from mmap/install.c:21:
+/usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp]]
+ 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
+ | ^~~~~~~
+```
+
+Bug: https://bugs.gentoo.org/832966
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/src/tools/profile/read_profile.c
++++ b/src/tools/profile/read_profile.c
+@@ -13,12 +13,12 @@
+ #include <ucs/sys/string.h>
+
+ #include <sys/signal.h>
+-#include <sys/fcntl.h>
+ #include <sys/ioctl.h>
+ #include <sys/mman.h>
+ #include <sys/stat.h>
+ #include <stdlib.h>
+ #include <getopt.h>
++#include <fcntl.h>
+ #include <unistd.h>
+ #include <string.h>
+ #include <assert.h>
+--- a/src/ucm/util/reloc.c
++++ b/src/ucm/util/reloc.c
+@@ -17,7 +17,6 @@
+ #include <ucs/sys/string.h>
+ #include <ucs/sys/sys.h>
+
+-#include <sys/fcntl.h>
+ #include <sys/mman.h>
+ #include <sys/types.h>
+ #include <sys/stat.h>
+--- a/test/apps/sockaddr/sa_tcp.cc
++++ b/test/apps/sockaddr/sa_tcp.cc
+@@ -8,8 +8,8 @@
+
+ #include <sys/socket.h>
+ #include <sys/epoll.h>
+-#include <sys/fcntl.h>
+ #include <arpa/inet.h>
++#include <fcntl.h>
+ #include <unistd.h>
+ #include <cstring>
+ #include <cerrno>
+
+From 9f9e50e5472e390c86147b9031ddd8525207822a Mon Sep 17 00:00:00 2001
+From: Sam James <sam@gentoo.org>
+Date: Sat, 3 Sep 2022 00:44:56 +0100
+Subject: [PATCH 2/2] UCS: Fix deprecated <sys/fcntl.h> includes
+
+Fix deprecation warnings like:
+```
+In file included from /var/tmp/portage/sys-cluster/ucx-1.10.0_rc5/work/ucx-1.10.0-rc5/src/ucs/sys/sys.h:29,
+ from mmap/install.c:21:
+/usr/include/sys/fcntl.h:1:2: error: #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h> [-Werror=cpp[https://gcc.gnu.org/onlinedocs/gcc/Warning-Options.html#index-Wcpp]]
+ 1 | #warning redirecting incorrect #include <sys/fcntl.h> to <fcntl.h>
+ | ^~~~~~~
+```
+
+Bug: https://bugs.gentoo.org/832966
+Signed-off-by: Sam James <sam@gentoo.org>
+--- a/src/ucs/sys/sys.h
++++ b/src/ucs/sys/sys.h
+@@ -26,7 +26,6 @@
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/uio.h>
+-#include <sys/fcntl.h>
+ #include <sys/stat.h>
+ #include <sys/syscall.h>
+ #include <sys/param.h>
+@@ -36,6 +35,7 @@
+ #include <stdlib.h>
+ #include <stdint.h>
+ #include <assert.h>
++#include <fcntl.h>
+ #include <stdio.h>
+ #include <stdarg.h>
+ #include <string.h>
+--- a/test/gtest/ucs/test_vfs.cc
++++ b/test/gtest/ucs/test_vfs.cc
+@@ -12,7 +12,7 @@ extern "C" {
+ #include <ucs/vfs/sock/vfs_sock.h>
+ }
+
+-#include <sys/fcntl.h>
++#include <fcntl.h>
+ #include <time.h>
+
+
+
diff --git a/sys-cluster/ucx/files/ucx-1.13.0-no-rpm-sandbox.patch b/sys-cluster/ucx/files/ucx-1.13.0-no-rpm-sandbox.patch
new file mode 100644
index 00000000000..c387d640dff
--- /dev/null
+++ b/sys-cluster/ucx/files/ucx-1.13.0-no-rpm-sandbox.patch
@@ -0,0 +1,12 @@
+https://bugs.gentoo.org/790338
+--- a/src/uct/ib/Makefile.am
++++ b/src/uct/ib/Makefile.am
+@@ -13,7 +13,7 @@ libuct_ib_la_CFLAGS = $(BASE_CFLAGS)
+ libuct_ib_la_LIBADD = $(top_builddir)/src/ucs/libucs.la \
+ $(top_builddir)/src/uct/libuct.la
+ libuct_ib_la_LDFLAGS = $(IBVERBS_LDFLAGS) $(NUMA_LIBS) -version-info $(SOVERSION)
+-libmlx5_ver = $(shell (rpm -qf $(IBVERBS_DIR)/include/infiniband/mlx5_hw.h &>/dev/null && rpm -qf /usr/include/infiniband/mlx5_hw.h) | grep -v 'not owned' | head -1)
++libmlx5_ver = $(shell (false -qf $(IBVERBS_DIR)/include/infiniband/mlx5_hw.h &>/dev/null && false -qf /usr/include/infiniband/mlx5_hw.h) | grep -v 'not owned' | head -1)
+
+ noinst_HEADERS = \
+ base/ib_device.h \
diff --git a/sys-cluster/ucx/metadata.xml b/sys-cluster/ucx/metadata.xml
index 3c85be04a4c..780e78e7749 100644
--- a/sys-cluster/ucx/metadata.xml
+++ b/sys-cluster/ucx/metadata.xml
@@ -8,4 +8,7 @@
<use>
<flag name="numa">Add support for numa memory allocation</flag>
</use>
+ <upstream>
+ <remote-id type="github">openucx/ucx</remote-id>
+ </upstream>
</pkgmetadata>
diff --git a/sys-cluster/ucx/ucx-1.13.0.ebuild b/sys-cluster/ucx/ucx-1.13.0.ebuild
new file mode 100644
index 00000000000..309fe0901b8
--- /dev/null
+++ b/sys-cluster/ucx/ucx-1.13.0.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PV=${PV/_/-}
+DESCRIPTION="Unified Communication X"
+HOMEPAGE="https://www.openucx.org"
+SRC_URI="https://github.com/openucx/ucx/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 -riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="+numa +openmp"
+
+RDEPEND="
+ sys-libs/binutils-libs:=
+ numa? ( sys-process/numactl )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.13.0-drop-werror.patch
+ "${FILESDIR}"/${PN}-1.13.0-fix-bashisms.patch
+ "${FILESDIR}"/${PN}-1.13.0-fix-fcntl-include-musl.patch
+ "${FILESDIR}"/${PN}-1.13.0-cstdint-include.patch
+ "${FILESDIR}"/${P}-binutils-2.39-ptr-typedef.patch
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ BASE_CFLAGS="" econf \
+ --disable-compiler-opt \
+ --without-fuse3 \
+ --without-go \
+ $(use_enable numa) \
+ $(use_enable openmp)
+}
+
+src_compile() {
+ BASE_CFLAGS="" emake
+}
diff --git a/sys-cluster/ucx/ucx-1.13.1.ebuild b/sys-cluster/ucx/ucx-1.13.1.ebuild
new file mode 100644
index 00000000000..7aed5e90b66
--- /dev/null
+++ b/sys-cluster/ucx/ucx-1.13.1.ebuild
@@ -0,0 +1,59 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools toolchain-funcs
+
+MY_PV=${PV/_/-}
+DESCRIPTION="Unified Communication X"
+HOMEPAGE="https://www.openucx.org"
+SRC_URI="https://github.com/openucx/ucx/releases/download/v${PV}/${P}.tar.gz"
+S="${WORKDIR}/${PN}-${MY_PV}"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 -riscv ~x86 ~amd64-linux ~x86-linux"
+IUSE="+numa +openmp"
+
+RDEPEND="
+ sys-libs/binutils-libs:=
+ numa? ( sys-process/numactl )
+"
+DEPEND="${RDEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.13.0-drop-werror.patch
+ "${FILESDIR}"/${PN}-1.13.0-fix-bashisms.patch
+ "${FILESDIR}"/${PN}-1.13.0-fix-fcntl-include-musl.patch
+ "${FILESDIR}"/${PN}-1.13.0-cstdint-include.patch
+ "${FILESDIR}"/${PN}-1.13.0-binutils-2.39-ptr-typedef.patch
+ "${FILESDIR}"/${PN}-1.13.0-no-rpm-sandbox.patch
+)
+
+pkg_pretend() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+pkg_setup() {
+ [[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
+}
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ BASE_CFLAGS="" econf \
+ --disable-compiler-opt \
+ --without-fuse3 \
+ --without-go \
+ --without-java \
+ $(use_enable numa) \
+ $(use_enable openmp)
+}
+
+src_compile() {
+ BASE_CFLAGS="" emake
+}