- Create two set of pam configuration files:

+ *.sle15 are for SLES15 and older
  + add postlogin-* includes to the others as required by new 
    openSUSE's PAM config policy

OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=263
This commit is contained in:
Stefan Dirsch 2023-04-03 11:33:54 +00:00 committed by Git OBS Bridge
parent 66a8467db5
commit 94d053bb80
3 changed files with 14 additions and 2 deletions

View File

@ -1,3 +1,11 @@
-------------------------------------------------------------------
Mon Apr 3 11:24:08 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>
- Create two set of pam configuration files:
+ *.sle15 are for SLES15 and older
+ add postlogin-* includes to the others as required by new
openSUSE's PAM config policy
-------------------------------------------------------------------
Thu Mar 23 12:12:36 UTC 2023 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -132,9 +132,13 @@ for i in xdm-config Xservers; do
cp usr%{_sysconfdir}/X11/xdm/$i etc/X11/xdm/$i
done
mkdir -p ./%{_pam_vendordir}
rm etc/pam.d/{xdm,xdm-np}.sle15
mv etc/pam.d/* ./%{_pam_vendordir}/
%else
patch -p0 < %{PATCH4}
rm etc/pam.d/{xdm,xdm-np}
mv etc/pam.d/{xdm.sle15,xdm}
mv etc/pam.d/{xdm-np.sle15,xdm-np}
%endif
%if "%{_fillupdir}" != "%{_localstatedir}/adm/fillup-templates"
mkdir -p %{buildroot}$(dirname %{_fillupdir})

BIN
xdm.tar.bz2 (Stored with Git LFS)

Binary file not shown.