Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package xrdp for openSUSE:Factory checked in 
at 2023-01-28 18:44:56
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/xrdp (Old)
 and      /work/SRC/openSUSE:Factory/.xrdp.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "xrdp"

Sat Jan 28 18:44:56 2023 rev:49 rq:1061678 version:0.9.20

Changes:
--------
--- /work/SRC/openSUSE:Factory/xrdp/xrdp.changes        2023-01-10 
15:00:25.905416543 +0100
+++ /work/SRC/openSUSE:Factory/.xrdp.new.32243/xrdp.changes     2023-01-28 
18:45:37.918713627 +0100
@@ -1,0 +2,5 @@
+Mon Jan 16 14:49:33 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ xrdp.spec ++++++
--- /var/tmp/diff_new_pack.Bvds7O/_old  2023-01-28 18:45:38.642717756 +0100
+++ /var/tmp/diff_new_pack.Bvds7O/_new  2023-01-28 18:45:38.650717802 +0100
@@ -172,11 +172,28 @@
 # use certification file created at the post phase
 rm -f %{buildroot}/%{_sysconfdir}/xrdp/{cert,key}.pem
 
+%if 0%{?suse_version} > 1500
+mkdir -p %{buildroot}%{_pam_vendordir}
+mv %{buildroot}%{_sysconfdir}/pam.d/xrdp-sesman %{buildroot}%{_pam_vendordir}
+%endif
+
 %fdupes -s %{buildroot}
 
 %pre
 %service_add_pre xrdp-sesman.service
 %service_add_pre xrdp.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/xrdp-sesam ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+
+%posttrans
+# Migration to /usr/lib, restore just created .rpmsave
+for i in pam.d/xrdp-sesman ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
 
 %post
 /sbin/ldconfig
@@ -215,7 +232,11 @@
 
 %dir %{_datadir}/xrdp
 %dir %{_libdir}/xrdp
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/xrdp-sesman
+%else
 %config(noreplace) %{_sysconfdir}/pam.d/xrdp-sesman
+%endif
 %license COPYING
 %{_bindir}/xrdp*
 %{_datadir}/xrdp/*

Reply via email to