diff --git a/screen.changes b/screen.changes index 3070a83..ab68e0d 100644 --- a/screen.changes +++ b/screen.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Thu Dec 21 14:23:56 CET 2017 - mls@suse.de + +- install pam file to make screen locking work again [bnc#1056192] + new file: screen.pam + ------------------------------------------------------------------- Mon Oct 23 15:22:10 UTC 2017 - alexander_naumov@opensuse.org diff --git a/screen.pam b/screen.pam new file mode 100644 index 0000000..818f09d --- /dev/null +++ b/screen.pam @@ -0,0 +1,5 @@ +#%PAM-1.0 +auth include common-auth +account include common-account +session include common-session +password include common-password diff --git a/screen.spec b/screen.spec index bef4d03..be370b1 100644 --- a/screen.spec +++ b/screen.spec @@ -32,6 +32,7 @@ Source: http://ftp.gnu.org/gnu/screen/%{name}-%{version}.tar.gz Source1: screen.conf Source2: http://ftp.gnu.org/gnu/screen/%{name}-%{version}.tar.gz.sig Source3: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=screen&download=1#/%{name}.keyring +Source4: screen.pam Patch0: global_screenrc.patch Patch6: libtinfo.diff BuildRequires: autoconf @@ -98,6 +99,7 @@ rm -f %{buildroot}%{_bindir}/screen mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen chmod 755 %{buildroot}%{_bindir}/screen mkdir -p %{buildroot}/etc +mkdir -p %{buildroot}/etc/pam.d mkdir -p %{buildroot}%{_prefix}/lib mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d mkdir -p %{buildroot}%{rundir}/screens @@ -106,10 +108,12 @@ mkdir -p %{buildroot}%{rundir}/uscreens chmod 1777 %{buildroot}%{rundir}/uscreens install -m 644 screenrc %{buildroot}%{_sysconfdir}/screenrc install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d +install -m 644 %{SOURCE4} %{buildroot}/etc/pam.d/screen %files %defattr(-,root,root) %config %{_sysconfdir}/screenrc +%config /etc/pam.d/screen %attr(555,root,root) %{_bindir}/screen %dir %{_datadir}/screen %dir %{_prefix}/lib/tmpfiles.d