commit:     dcd586857d62227f8317fc453a7d668d63c2aa01
Author:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 14 12:22:44 2025 +0000
Commit:     James Le Cuirot <chewi <AT> gentoo <DOT> org>
CommitDate: Wed Jan 15 11:19:41 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dcd58685

sys-auth/sssd: Add sys-apps/shadow to DEPEND (and not RDEPEND)

It is not linked, but it is needed for the shadow/subid.h header. The package is
in the @system set, but we should still explicitly depend on it when headers are
needed.

Signed-off-by: James Le Cuirot <chewi <AT> gentoo.org>

 sys-auth/sssd/sssd-2.10.1.ebuild   | 2 ++
 sys-auth/sssd/sssd-2.9.6-r1.ebuild | 2 ++
 2 files changed, 4 insertions(+)

diff --git a/sys-auth/sssd/sssd-2.10.1.ebuild b/sys-auth/sssd/sssd-2.10.1.ebuild
index ac25e1ae37a2..7e146e674287 100644
--- a/sys-auth/sssd/sssd-2.10.1.ebuild
+++ b/sys-auth/sssd/sssd-2.10.1.ebuild
@@ -77,6 +77,8 @@ RDEPEND="${DEPEND}
        acct-group/sssd
        passkey? ( sys-apps/pcsc-lite[policykit] )
        selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
+DEPEND+="
+       sys-apps/shadow"
 BDEPEND="
        acct-user/sssd
        acct-group/sssd

diff --git a/sys-auth/sssd/sssd-2.9.6-r1.ebuild 
b/sys-auth/sssd/sssd-2.9.6-r1.ebuild
index a34213b26ee2..faf744ba4edc 100644
--- a/sys-auth/sssd/sssd-2.9.6-r1.ebuild
+++ b/sys-auth/sssd/sssd-2.9.6-r1.ebuild
@@ -75,6 +75,8 @@ DEPEND="
 RDEPEND="${DEPEND}
        passkey? ( sys-apps/pcsc-lite[policykit] )
        selinux? ( >=sec-policy/selinux-sssd-2.20120725-r9 )"
+DEPEND+="
+       sys-apps/shadow"
 BDEPEND="
        virtual/pkgconfig
        app-text/docbook-xml-dtd:4.4

Reply via email to