commit:     dfba725be83c511fa86d0351f7f521a8d175efc1
Author:     Rahul Sandhu <rahul <AT> sandhuservices <DOT> dev>
AuthorDate: Mon Sep 23 17:15:12 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Sep 24 07:54:46 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dfba725b

gui-libs/greetd: add sec-policy/selinux-xserver to RDEPEND for SELinux

For SELinux system, greetd requires sec-policy/selinux-xserver add
runtime. Let's add it to RDEPEND.

Closes: https://bugs.gentoo.org/933707
Signed-off-by: Rahul Sandhu <rahul <AT> sandhuservices.dev>
Closes: https://github.com/gentoo/gentoo/pull/38746
Signed-off-by: Sam James <sam <AT> gentoo.org>

 gui-libs/greetd/greetd-0.10.3.ebuild | 7 +++++--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/gui-libs/greetd/greetd-0.10.3.ebuild 
b/gui-libs/greetd/greetd-0.10.3.ebuild
index 1969369022d9..30f9a98e47b8 100644
--- a/gui-libs/greetd/greetd-0.10.3.ebuild
+++ b/gui-libs/greetd/greetd-0.10.3.ebuild
@@ -80,14 +80,17 @@ LICENSE="GPL-3+"
 LICENSE+=" Apache-2.0 MIT Unicode-DFS-2016 Unlicense"
 SLOT="0"
 KEYWORDS="~amd64 ~arm64 ~ppc64 ~riscv ~x86"
-IUSE="man"
+IUSE="man selinux"
 
 DEPEND="
        acct-user/greetd
        sys-auth/pambase
        sys-libs/pam
 "
-RDEPEND="${DEPEND}"
+RDEPEND="
+       ${DEPEND}
+       selinux? ( sec-policy/selinux-xserver )
+"
 BDEPEND="man? ( app-text/scdoc )"
 
 QA_FLAGS_IGNORED="usr/bin/.*greet.*"

Reply via email to