added kde and kde-np pam files from kde-workspace, required by at least kscreenlocker [release 5.11.5-2mamba;Tue Jan 16 2018]

This commit is contained in:
Silvan Calarco 2024-01-06 10:19:24 +01:00
parent 541b0a44c9
commit 7071d75bd8
3 changed files with 35 additions and 1 deletions

11
plasma-workspace-pam Normal file
View File

@ -0,0 +1,11 @@
#%PAM-1.0
auth required pam_group.so
auth include system-auth
auth required pam_nologin.so
account include system-auth
password include system-auth
session required pam_limits.so
session required pam_unix.so
session required pam_mkhomedir.so silent
session optional pam_loginuid.so
session optional pam_systemd.so kill-session-processes=1 controllers=

View File

@ -0,0 +1,13 @@
#%PAM-1.0
#
# PAM configuration for KDM autologin
#
auth required pam_group.so
auth required pam_permit.so
account include system-auth
session required pam_limits.so
session required pam_permit.so
session required pam_mkhomedir.so silent
session optional pam_loginuid.so
session optional pam_systemd.so kill-session-processes=1 controllers=
password required pam_deny.so

View File

@ -2,7 +2,7 @@
Name: plasma-workspace Name: plasma-workspace
Version: 5.11.5 Version: 5.11.5
Release: 1mamba Release: 2mamba
Summary: KDE Frameworks 5 Workspace Summary: KDE Frameworks 5 Workspace
Group: Graphical Desktop/Applications/Environment Group: Graphical Desktop/Applications/Environment
Vendor: openmamba Vendor: openmamba
@ -11,6 +11,8 @@ Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: http://www.kde.org URL: http://www.kde.org
Source: http://download.kde.org/stable/plasma/%{version}/plasma-workspace-%{version}.tar.xz Source: http://download.kde.org/stable/plasma/%{version}/plasma-workspace-%{version}.tar.xz
# Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz # Source: http://download.kde.org/stable/frameworks/%{majver}/...-%{version}.tar.xz
Source1: plasma-workspace-pam
Source2: plasma-workspace-pam-no-password
License: GPL License: GPL
## AUTOBUILDREQ-BEGIN ## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel BuildRequires: glibc-devel
@ -123,6 +125,9 @@ This package contains libraries and header files for developing applications tha
[ "%{buildroot}" != / ] && rm -rf "%{buildroot}" [ "%{buildroot}" != / ] && rm -rf "%{buildroot}"
%makeinstall -C build %makeinstall -C build
install -D -m0644 %{SOURCE1} %{buildroot}%{_sysconfdir}/pam.d/kde
install -D -m0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/pam.d/kde-np
%find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang %find_lang %{name}5_qt --with-qt --all-name || touch %{name}5_qt.lang
%clean %clean
@ -143,6 +148,8 @@ exit 0
%{_sysconfdir}/xdg/autostart/org.kde.plasmashell.desktop %{_sysconfdir}/xdg/autostart/org.kde.plasmashell.desktop
%{_sysconfdir}/xdg/autostart/xembedsniproxy.desktop %{_sysconfdir}/xdg/autostart/xembedsniproxy.desktop
%{_sysconfdir}/xdg/kuiserver.categories %{_sysconfdir}/xdg/kuiserver.categories
%{_sysconfdir}/pam.d/kde
%{_sysconfdir}/pam.d/kde-np
%{_bindir}/kcheckrunning %{_bindir}/kcheckrunning
%{_bindir}/kcminit %{_bindir}/kcminit
%{_bindir}/kcminit_startup %{_bindir}/kcminit_startup
@ -278,6 +285,9 @@ exit 0
%{_libdir}/cmake/LibTaskManager/LibTaskManager*.cmake %{_libdir}/cmake/LibTaskManager/LibTaskManager*.cmake
%changelog %changelog
* Tue Jan 16 2018 Silvan Calarco <silvan.calarco@mambasoft.it> 5.11.5-2mamba
- added kde and kde-np pam files from kde-workspace, required by at least kscreenlocker
* Wed Jan 03 2018 Automatic Build System <autodist@mambasoft.it> 5.11.5-1mamba * Wed Jan 03 2018 Automatic Build System <autodist@mambasoft.it> 5.11.5-1mamba
- automatic version update by autodist - automatic version update by autodist