pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/x11/plasma6-kscreenlocker



Module Name:    pkgsrc
Committed By:   markd
Date:           Mon Jan 19 10:05:27 UTC 2026

Modified Files:
        pkgsrc/x11/plasma6-kscreenlocker: Makefile PLIST
Added Files:
        pkgsrc/x11/plasma6-kscreenlocker/files: kde.pam.in

Log Message:
plasma6-kscreenlocker: use pam-pwauth_suid to check password


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/x11/plasma6-kscreenlocker/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/x11/plasma6-kscreenlocker/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/x11/plasma6-kscreenlocker/files/kde.pam.in

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/plasma6-kscreenlocker/Makefile
diff -u pkgsrc/x11/plasma6-kscreenlocker/Makefile:1.2 pkgsrc/x11/plasma6-kscreenlocker/Makefile:1.3
--- pkgsrc/x11/plasma6-kscreenlocker/Makefile:1.2       Wed Jan  7 08:49:39 2026
+++ pkgsrc/x11/plasma6-kscreenlocker/Makefile   Mon Jan 19 10:05:27 2026
@@ -1,21 +1,28 @@
-# $NetBSD: Makefile,v 1.2 2026/01/07 08:49:39 wiz Exp $
+# $NetBSD: Makefile,v 1.3 2026/01/19 10:05:27 markd Exp $
 
 DISTNAME=      kscreenlocker-${PLASMAVER}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    x11
 
-HOMEPAGE=      https://www.kde.org/workspaces/plasmadesktop/
+HOMEPAGE=      https://kde.org/plasma-desktop/
 COMMENT=       Library and components for secure lock screen architecture
 LICENSE=       gnu-gpl-v2
 
 .include "../../meta-pkgs/kde/plasma6.mk"
 
 TOOL_DEPENDS+= kf6-kdoctools>=6.18.0:../../devel/kf6-kdoctools
+DEPENDS+=      pam-pwauth_suid>=1.2:../../security/pam-pwauth_suid
 
 USE_TOOLS+=    msgmerge pkg-config
 
-SPECIAL_PERMS+=        ${PREFIX}/libexec/kcheckpass \
-               ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 4555
+EGDIR=         share/examples/pam.d
+
+CONF_FILES+=   ${EGDIR}/kde ${PKG_SYSCONFBASEDIR}/pam.d/kde
+
+INSTALLATION_DIRS+=    ${EGDIR}
+
+post-install:
+       sed s:%%PREFIX%%:${PREFIX}: < ${FILESDIR}/kde.pam.in > ${DESTDIR}${PREFIX}/${EGDIR}/kde
 
 .include "../../mk/pam.buildlink3.mk"
 .include "../../devel/kf6-kcmutils/buildlink3.mk"

Index: pkgsrc/x11/plasma6-kscreenlocker/PLIST
diff -u pkgsrc/x11/plasma6-kscreenlocker/PLIST:1.1 pkgsrc/x11/plasma6-kscreenlocker/PLIST:1.2
--- pkgsrc/x11/plasma6-kscreenlocker/PLIST:1.1  Tue Dec 23 09:42:49 2025
+++ pkgsrc/x11/plasma6-kscreenlocker/PLIST      Mon Jan 19 10:05:27 2026
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2025/12/23 09:42:49 markd Exp $
+@comment $NetBSD: PLIST,v 1.2 2026/01/19 10:05:27 markd Exp $
 bin/ck-unlock-session
 include/KScreenLocker/KScreenLocker/KsldApp
 include/KScreenLocker/KScreenLocker/kscreenlocker_export.h
@@ -16,6 +16,7 @@ qt6/plugins/plasma/kcms/systemsettings/k
 share/applications/kcm_screenlocker.desktop
 share/dbus-1/interfaces/kf6_org.freedesktop.ScreenSaver.xml
 share/dbus-1/interfaces/org.kde.screensaver.xml
+share/examples/pam.d/kde
 share/knotifications6/ksmserver.notifyrc
 share/ksmserver/screenlocker/org.kde.passworddialog/metadata.desktop
 share/locale/ar/LC_MESSAGES/kcm_screenlocker.mo

Added files:

Index: pkgsrc/x11/plasma6-kscreenlocker/files/kde.pam.in
diff -u /dev/null pkgsrc/x11/plasma6-kscreenlocker/files/kde.pam.in:1.1
--- /dev/null   Mon Jan 19 10:05:27 2026
+++ pkgsrc/x11/plasma6-kscreenlocker/files/kde.pam.in   Mon Jan 19 10:05:27 2026
@@ -0,0 +1,3 @@
+auth   sufficient      %%PREFIX%%lib/security/pam_pwauth_suid.so
+auth   include         system
+account        include         system



Home | Main Index | Thread Index | Old Index