commit:     f20e80717e1ac81b98218b63e627a205fa039953
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Feb 28 10:09:52 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Feb 28 10:11:37 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f20e8071

sys-auth/pambase: wire up pam_openrc

This is for user services autostart.

... on USE=-systemd. I didn't include this in 
9c8c048c41a650ca49fbfcb1ff30df8aedbc9766
as I was leaning towards a USE=openrc or similar but I think having a separate
USE for it is likely to be harmful/confusing/poor UX.

Note that this is a noop by default anyway (no runlevels defined).

Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../pambase/{pambase-20250228.ebuild => pambase-20250228-r1.ebuild}     | 2 +-
 sys-auth/pambase/pambase-999999999.ebuild                               | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-auth/pambase/pambase-20250228.ebuild 
b/sys-auth/pambase/pambase-20250228-r1.ebuild
similarity index 98%
rename from sys-auth/pambase/pambase-20250228.ebuild
rename to sys-auth/pambase/pambase-20250228-r1.ebuild
index e5b7dbc26b8d..01b62511d022 100644
--- a/sys-auth/pambase/pambase-20250228.ebuild
+++ b/sys-auth/pambase/pambase-20250228-r1.ebuild
@@ -87,7 +87,7 @@ src_configure() {
                $(usex securetty '--securetty' '') \
                $(usex selinux '--selinux' '') \
                $(usex sha512 '--sha512' '') \
-               $(usex systemd '--systemd' '') \
+               $(usex systemd '--systemd' '--openrc') \
                $(usex yescrypt '--yescrypt' '') \
                $(usex sssd '--sssd' '') \
        || die

diff --git a/sys-auth/pambase/pambase-999999999.ebuild 
b/sys-auth/pambase/pambase-999999999.ebuild
index eb68a769766a..e3a9fd1369df 100644
--- a/sys-auth/pambase/pambase-999999999.ebuild
+++ b/sys-auth/pambase/pambase-999999999.ebuild
@@ -87,7 +87,7 @@ src_configure() {
                $(usex securetty '--securetty' '') \
                $(usex selinux '--selinux' '') \
                $(usex sha512 '--sha512' '') \
-               $(usex systemd '--systemd' '') \
+               $(usex systemd '--systemd' '--openrc') \
                $(usex yescrypt '--yescrypt' '') \
                $(usex sssd '--sssd' '') \
        || die

Reply via email to