commit:     c1d265805f8cf58fcbc4a95c34452207765bff19
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 20 15:55:10 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 20 15:55:10 2023 +0000
URL:        https://gitweb.gentoo.org/proj/kde.git/commit/?id=c1d26580

kde-plasma/kscreenlocker: prefix new PAM stack w/ kde6-

Then strip it out when installing.

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

 .../kscreenlocker/files/{kde-fingerprint.pam => kde6-fingerprint.pam} | 0
 .../kscreenlocker/files/{kde-smartcard.pam => kde6-smartcard.pam}     | 0
 kde-plasma/kscreenlocker/files/{kde-password.pam => kde6.pam}         | 0
 kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild                    | 4 ++--
 4 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/kde-plasma/kscreenlocker/files/kde-fingerprint.pam 
b/kde-plasma/kscreenlocker/files/kde6-fingerprint.pam
similarity index 100%
rename from kde-plasma/kscreenlocker/files/kde-fingerprint.pam
rename to kde-plasma/kscreenlocker/files/kde6-fingerprint.pam

diff --git a/kde-plasma/kscreenlocker/files/kde-smartcard.pam 
b/kde-plasma/kscreenlocker/files/kde6-smartcard.pam
similarity index 100%
rename from kde-plasma/kscreenlocker/files/kde-smartcard.pam
rename to kde-plasma/kscreenlocker/files/kde6-smartcard.pam

diff --git a/kde-plasma/kscreenlocker/files/kde-password.pam 
b/kde-plasma/kscreenlocker/files/kde6.pam
similarity index 100%
rename from kde-plasma/kscreenlocker/files/kde-password.pam
rename to kde-plasma/kscreenlocker/files/kde6.pam

diff --git a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild 
b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
index 543ef36e07..995a67c4d1 100644
--- a/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
+++ b/kde-plasma/kscreenlocker/kscreenlocker-9999.ebuild
@@ -75,7 +75,7 @@ src_install() {
        ecm_src_install
 
        local config
-       for config in kde-{fingerprint,password,smartcard} ; do
-               newpamd "${FILESDIR}/${config}.pam" ${config}
+       for config in kde6{,-fingerprint,-smartcard} ; do
+               newpamd "${FILESDIR}/${config}.pam" ${config/6}
        done
 }

Reply via email to