summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2023-06-28 08:43:09 +0100
committerSam James <sam@gentoo.org>2023-06-28 08:50:07 +0100
commitac7ecbff48a3d3978a495937017ee22c16edf620 (patch)
tree3f70bf6f6159c4e647c3d73f10ba426b1194c171 /sys-apps/kexec-tools
parentsys-apps/kbd: add missing selinux policy dep (diff)
downloadgentoo-ac7ecbff48a3d3978a495937017ee22c16edf620.tar.gz
gentoo-ac7ecbff48a3d3978a495937017ee22c16edf620.tar.bz2
gentoo-ac7ecbff48a3d3978a495937017ee22c16edf620.zip
sys-apps/kexec-tools: add missing selinux policy dep
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'sys-apps/kexec-tools')
-rw-r--r--sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild10
-rw-r--r--sys-apps/kexec-tools/kexec-tools-9999.ebuild12
2 files changed, 15 insertions, 7 deletions
diff --git a/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild b/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild
index 80eb92493ced..bfdda831e42d 100644
--- a/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-2.0.24.ebuild
@@ -19,14 +19,18 @@ HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="booke lzma xen zlib"
+IUSE="booke lzma selinux xen zlib"
REQUIRED_USE="lzma? ( zlib )"
DEPEND="
lzma? ( app-arch/xz-utils )
- zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
+ zlib? ( sys-libs/zlib )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-kdump )
+"
S="${WORKDIR}/${P/_/-}"
diff --git a/sys-apps/kexec-tools/kexec-tools-9999.ebuild b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
index b69a3c09e13d..76fed6da99d0 100644
--- a/sys-apps/kexec-tools/kexec-tools-9999.ebuild
+++ b/sys-apps/kexec-tools/kexec-tools-9999.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -19,14 +19,18 @@ HOMEPAGE="https://kernel.org/pub/linux/utils/kernel/kexec/"
LICENSE="GPL-2"
SLOT="0"
-IUSE="booke lzma xen zlib"
+IUSE="booke lzma selinux xen zlib"
REQUIRED_USE="lzma? ( zlib )"
DEPEND="
lzma? ( app-arch/xz-utils )
- zlib? ( sys-libs/zlib )"
-RDEPEND="${DEPEND}"
+ zlib? ( sys-libs/zlib )
+"
+RDEPEND="
+ ${DEPEND}
+ selinux? ( sec-policy/selinux-kdump )
+"
S="${WORKDIR}/${P/_/-}"