From 94d053bb80151ebb58aa765c297a363220915bd9cb7f4cf144f262cb0759995e Mon Sep 17 00:00:00 2001 From: Stefan Dirsch Date: Mon, 3 Apr 2023 11:33:54 +0000 Subject: [PATCH] - 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 --- xdm.changes | 8 ++++++++ xdm.spec | 4 ++++ xdm.tar.bz2 | 4 ++-- 3 files changed, 14 insertions(+), 2 deletions(-) diff --git a/xdm.changes b/xdm.changes index 23248e7..c2689ab 100644 --- a/xdm.changes +++ b/xdm.changes @@ -1,3 +1,11 @@ +------------------------------------------------------------------- +Mon Apr 3 11:24:08 UTC 2023 - Stefan Dirsch + +- 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 diff --git a/xdm.spec b/xdm.spec index 40a29d8..682c736 100644 --- a/xdm.spec +++ b/xdm.spec @@ -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}) diff --git a/xdm.tar.bz2 b/xdm.tar.bz2 index 3cf352b..1000496 100644 --- a/xdm.tar.bz2 +++ b/xdm.tar.bz2 @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:fc577629000f7a0850619285e014a50dae0a567a80602d7b001abfe1517d4d8c -size 21161 +oid sha256:ba5513eaacd8973266eee63e44471cbfad72b747e03ed7f799d9b2815cc4c761 +size 21324