Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package freeradius-server for 
openSUSE:Factory checked in at 2023-01-16 18:00:03
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/freeradius-server (Old)
 and      /work/SRC/openSUSE:Factory/.freeradius-server.new.32243 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "freeradius-server"

Mon Jan 16 18:00:03 2023 rev:92 rq:1058729 version:3.0.25

Changes:
--------
--- /work/SRC/openSUSE:Factory/freeradius-server/freeradius-server.changes      
2022-09-29 18:14:43.059414856 +0200
+++ 
/work/SRC/openSUSE:Factory/.freeradius-server.new.32243/freeradius-server.changes
   2023-01-16 18:02:41.208080818 +0100
@@ -1,0 +2,5 @@
+Fri Jan 13 11:06:06 UTC 2023 - Stefan Schubert <sch...@suse.com>
+
+- Migration of PAM settings to /usr/lib/pam.d.
+
+-------------------------------------------------------------------

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

Other differences:
------------------
++++++ freeradius-server.spec ++++++
--- /var/tmp/diff_new_pack.qMFZYh/_old  2023-01-16 18:02:42.244086346 +0100
+++ /var/tmp/diff_new_pack.qMFZYh/_new  2023-01-16 18:02:42.248086367 +0100
@@ -1,7 +1,7 @@
 #
 # spec file for package freeradius-server
 #
-# 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
@@ -270,9 +270,14 @@
 touch %{buildroot}%{_localstatedir}/log/radius/radutmp
 touch %{buildroot}%{_localstatedir}/log/radius/radius.log
 # SUSE
+%if 0%{?suse_version} > 1500
+install -d     %{buildroot}%{_pam_vendordir}
+install -m 644 suse/radiusd-pam %{buildroot}%{_pam_vendordir}/radiusd
+%else
 install -d     %{buildroot}%{_sysconfdir}/pam.d
-install -d     %{buildroot}%{_sysconfdir}/logrotate.d
 install -m 644 suse/radiusd-pam %{buildroot}%{_sysconfdir}/pam.d/radiusd
+%endif
+install -d     %{buildroot}%{_sysconfdir}/logrotate.d
 install -m 644 suse/radiusd-logrotate 
%{buildroot}%{_sysconfdir}/logrotate.d/radiusd
 mkdir -p %{buildroot}%{_tmpfilesdir}
 install -m 0644 %{SOURCE2} %{buildroot}%{_tmpfilesdir}/%{unitname}.conf
@@ -324,6 +329,12 @@
 %{_bindir}/gpasswd -a radiusd winbind
 
 %service_add_pre %{unitname}.service
+%if 0%{?suse_version} > 1500
+# Prepare for migration to /usr/lib; save any old .rpmsave
+for i in pam.d/radiusd ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i}.rpmsave.old ||:
+done
+%endif
 
 %post
 %service_add_post %{unitname}.service
@@ -335,6 +346,14 @@
 %postun
 %service_del_postun %{unitname}.service
 
+%if 0%{?suse_version} > 1500
+%posttrans
+# Migration to /usr/lib, restore just created .rpmsave
+for i in pam.d/radiusd ; do
+     test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave 
%{_sysconfdir}/${i} ||:
+done
+%endif
+
 %files doc
 %defattr(-,root,root)
 %doc doc/*
@@ -346,7 +365,11 @@
 %doc CREDITS doc/ChangeLog
 %license LICENSE COPYRIGHT
 # SUSE
+%if 0%{?suse_version} > 1500
+%{_pam_vendordir}/radiusd
+%else
 %config %{_sysconfdir}/pam.d/radiusd
+%endif
 %config %{_sysconfdir}/logrotate.d/radiusd
 %{_sbindir}/rcradiusd
 %dir %attr(755,radiusd,radiusd) %{_localstatedir}/lib/radiusd

Reply via email to