Script 'mail_helper' called by obssrc
Hello community,

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

Package is "sssd"

Wed Jan  4 18:10:28 2023 rev:125 rq:1046555 version:2.8.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/sssd/sssd.changes        2022-12-24 
14:50:52.463135486 +0100
+++ /work/SRC/openSUSE:Factory/.sssd.new.1563/sssd.changes      2023-01-04 
18:10:40.360572048 +0100
@@ -1,0 +2,5 @@
+Tue Jan  3 12:01:41 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d. 
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ sssd.spec ++++++
--- /var/tmp/diff_new_pack.QyDDGM/_old  2023-01-04 18:10:40.944575490 +0100
+++ /var/tmp/diff_new_pack.QyDDGM/_new  2023-01-04 18:10:40.948575514 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package sssd
 #
-# Copyright (c) 2022 SUSE LLC
+# Copyright (c) 2023 SUSE LLC
 #
 # All modifications and additions to the file contributed by third parties
 # remain the property of their copyright owners, unless otherwise agreed
@@ -408,6 +408,8 @@
 %if 0%{?suse_version} > 1500
 install -d "$b/%_distconfdir/logrotate.d"
 install -m644 src/examples/logrotate "$b/%_distconfdir/logrotate.d/sssd"
+install -d "$b/%_pam_vendordir"
+mv "$b/%_pam_confdir/sssd-shadowutils" "$b/%_pam_vendordir"
 %else
 install -d "$b/%_sysconfdir/logrotate.d"
 install -m644 src/examples/logrotate "$b/%_sysconfdir/logrotate.d/sssd"
@@ -428,6 +430,12 @@
 
 %pre
 %service_add_pre sssd.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/etc; save any old .rpmsave
+for i in pam.d/sssd-shadowutils ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
 
 %post
 /sbin/ldconfig
@@ -497,7 +505,7 @@
 %if 0%{?suse_version} > 1500
 %posttrans
 # Migration to /usr/etc, restore just created .rpmsave
-for i in logrotate.d/sssd ; do
+for i in logrotate.d/sssd pam.d/sssd-shadowutils ; do
    test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
 done
 %endif
@@ -595,11 +603,12 @@
 %config(noreplace) %_sysconfdir/sssd/sssd.conf
 %if 0%{?suse_version} > 1500
 %_distconfdir/logrotate.d/sssd
+%_pam_vendordir/sssd-shadowutils
 %else
 %config(noreplace) %_sysconfdir/logrotate.d/sssd
+%config(noreplace) %_pam_confdir/sssd-shadowutils
 %endif
 %dir %_sysconfdir/sssd/conf.d
-%config(noreplace) %_pam_confdir/sssd-shadowutils
 %dir %_datadir/%name/
 %_datadir/%name/cfg_rules.ini
 %_datadir/%name/sssd.api.conf

Reply via email to