diff --git a/plasma-workspace-pam b/plasma-workspace-pam new file mode 100644 index 0000000..6f1744b --- /dev/null +++ b/plasma-workspace-pam @@ -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= diff --git a/plasma-workspace-pam-no-password b/plasma-workspace-pam-no-password new file mode 100644 index 0000000..70a2af2 --- /dev/null +++ b/plasma-workspace-pam-no-password @@ -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 diff --git a/plasma-workspace.spec b/plasma-workspace.spec index 44ae74d..3999763 100644 --- a/plasma-workspace.spec +++ b/plasma-workspace.spec @@ -2,7 +2,7 @@ Name: plasma-workspace Version: 5.11.5 -Release: 1mamba +Release: 2mamba Summary: KDE Frameworks 5 Workspace Group: Graphical Desktop/Applications/Environment Vendor: openmamba @@ -11,6 +11,8 @@ Packager: Silvan Calarco URL: http://www.kde.org Source: http://download.kde.org/stable/plasma/%{version}/plasma-workspace-%{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 ## AUTOBUILDREQ-BEGIN BuildRequires: glibc-devel @@ -123,6 +125,9 @@ This package contains libraries and header files for developing applications tha [ "%{buildroot}" != / ] && rm -rf "%{buildroot}" %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 %clean @@ -143,6 +148,8 @@ exit 0 %{_sysconfdir}/xdg/autostart/org.kde.plasmashell.desktop %{_sysconfdir}/xdg/autostart/xembedsniproxy.desktop %{_sysconfdir}/xdg/kuiserver.categories +%{_sysconfdir}/pam.d/kde +%{_sysconfdir}/pam.d/kde-np %{_bindir}/kcheckrunning %{_bindir}/kcminit %{_bindir}/kcminit_startup @@ -278,6 +285,9 @@ exit 0 %{_libdir}/cmake/LibTaskManager/LibTaskManager*.cmake %changelog +* Tue Jan 16 2018 Silvan Calarco 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 5.11.5-1mamba - automatic version update by autodist