forked from pool/screen
Accepting request 559096 from Base:System
-> OBS-URL: https://build.opensuse.org/request/show/559096 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/screen?expand=0&rev=54
This commit is contained in:
commit
c7b13408ba
@ -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
|
Mon Oct 23 15:22:10 UTC 2017 - alexander_naumov@opensuse.org
|
||||||
|
|
||||||
|
5
screen.pam
Normal file
5
screen.pam
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
#%PAM-1.0
|
||||||
|
auth include common-auth
|
||||||
|
account include common-account
|
||||||
|
session include common-session
|
||||||
|
password include common-password
|
@ -32,6 +32,7 @@ Source: http://ftp.gnu.org/gnu/screen/%{name}-%{version}.tar.gz
|
|||||||
Source1: screen.conf
|
Source1: screen.conf
|
||||||
Source2: http://ftp.gnu.org/gnu/screen/%{name}-%{version}.tar.gz.sig
|
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
|
Source3: https://savannah.gnu.org/project/memberlist-gpgkeys.php?group=screen&download=1#/%{name}.keyring
|
||||||
|
Source4: screen.pam
|
||||||
Patch0: global_screenrc.patch
|
Patch0: global_screenrc.patch
|
||||||
Patch6: libtinfo.diff
|
Patch6: libtinfo.diff
|
||||||
BuildRequires: autoconf
|
BuildRequires: autoconf
|
||||||
@ -98,6 +99,7 @@ rm -f %{buildroot}%{_bindir}/screen
|
|||||||
mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen
|
mv %{buildroot}%{_bindir}/screen-%{version} %{buildroot}%{_bindir}/screen
|
||||||
chmod 755 %{buildroot}%{_bindir}/screen
|
chmod 755 %{buildroot}%{_bindir}/screen
|
||||||
mkdir -p %{buildroot}/etc
|
mkdir -p %{buildroot}/etc
|
||||||
|
mkdir -p %{buildroot}/etc/pam.d
|
||||||
mkdir -p %{buildroot}%{_prefix}/lib
|
mkdir -p %{buildroot}%{_prefix}/lib
|
||||||
mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
|
mkdir -p %{buildroot}%{_prefix}/lib/tmpfiles.d
|
||||||
mkdir -p %{buildroot}%{rundir}/screens
|
mkdir -p %{buildroot}%{rundir}/screens
|
||||||
@ -106,10 +108,12 @@ mkdir -p %{buildroot}%{rundir}/uscreens
|
|||||||
chmod 1777 %{buildroot}%{rundir}/uscreens
|
chmod 1777 %{buildroot}%{rundir}/uscreens
|
||||||
install -m 644 screenrc %{buildroot}%{_sysconfdir}/screenrc
|
install -m 644 screenrc %{buildroot}%{_sysconfdir}/screenrc
|
||||||
install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d
|
install -m 644 %{SOURCE1} %{buildroot}%{_prefix}/lib/tmpfiles.d
|
||||||
|
install -m 644 %{SOURCE4} %{buildroot}/etc/pam.d/screen
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%config %{_sysconfdir}/screenrc
|
%config %{_sysconfdir}/screenrc
|
||||||
|
%config /etc/pam.d/screen
|
||||||
%attr(555,root,root) %{_bindir}/screen
|
%attr(555,root,root) %{_bindir}/screen
|
||||||
%dir %{_datadir}/screen
|
%dir %{_datadir}/screen
|
||||||
%dir %{_prefix}/lib/tmpfiles.d
|
%dir %{_prefix}/lib/tmpfiles.d
|
||||||
|
Loading…
Reference in New Issue
Block a user