Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package squid for openSUSE:Factory checked in at 2022-09-26 18:48:40 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/squid (Old) and /work/SRC/openSUSE:Factory/.squid.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "squid" Mon Sep 26 18:48:40 2022 rev:107 rq:1006088 version:5.7 Changes: -------- --- /work/SRC/openSUSE:Factory/squid/squid.changes 2022-09-12 19:09:06.874682437 +0200 +++ /work/SRC/openSUSE:Factory/.squid.new.2275/squid.changes 2022-09-26 18:48:42.164110812 +0200 @@ -1,0 +2,6 @@ +Thu Sep 15 10:41:14 UTC 2022 - Stefan Schubert <sch...@suse.com> + +- Migration to /usr/etc: Saving user changed configuration files + in /etc and restoring them while an RPM update. + +------------------------------------------------------------------- @@ -5 +11 @@ - - Regression Fix: Typo in manager ACL + - Regression Fix: Typo in manager ACL (bsc#1203677, CVE-2022-41317) @@ -8,0 +15 @@ + (bsc#1203680, CVE-2022-41318) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ squid.spec ++++++ --- /var/tmp/diff_new_pack.ZGVQEP/_old 2022-09-26 18:48:42.968112331 +0200 +++ /var/tmp/diff_new_pack.ZGVQEP/_new 2022-09-26 18:48:42.976112346 +0200 @@ -270,6 +270,20 @@ fi %endif %service_add_pre %{name}.service +%if 0%{?suse_version} > 1500 +# Prepare for migration to /usr/etc; save any old .rpmsave +for i in logrotate.d/%{name} ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i}.rpmsave.old ||: +done +%endif + +%if 0%{?suse_version} > 1500 +%posttrans +# Migration to /usr/etc, restore just created .rpmsave +for i in logrotate.d/%{name} ; do + test -f %{_sysconfdir}/${i}.rpmsave && mv -v %{_sysconfdir}/${i}.rpmsave %{_sysconfdir}/${i} ||: +done +%endif # update mode? if [ "$1" -gt "1" ]; then