SHA256
1
0
forked from pool/screen

install pam file to make screen locking work again [bnc#1056192]

OBS-URL: https://build.opensuse.org/package/show/Base:System/screen?expand=0&rev=81
This commit is contained in:
Michael Schröder 2017-12-21 13:30:52 +00:00 committed by Git OBS Bridge
parent fb6c6f1cd5
commit 300269e5d0
3 changed files with 15 additions and 0 deletions

View File

@ -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

5
screen.pam Normal file
View File

@ -0,0 +1,5 @@
#%PAM-1.0
auth include common-auth
account include common-account
session include common-session
password include common-password

View File

@ -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