diff --git a/squid.changes b/squid.changes index 10c5296..a5710f1 100644 --- a/squid.changes +++ b/squid.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Tue Oct 23 09:20:12 UTC 2018 - adam.majer@suse.de + +- Create runtime directories needed when SMP mode is enabled. + (bsc#1112695, bsc#1112066) +- Make changelog entries format consistent + ------------------------------------------------------------------- Thu Oct 4 07:36:49 UTC 2018 - Martin Pluskal @@ -8,16 +15,16 @@ Thu Oct 4 07:36:49 UTC 2018 - Martin Pluskal Tue Oct 02 10:16:22 UTC 2018 - sean@suspend.net - New upstream stable version 4.3: - * Bug 4885: Excessive memory usage when running out of descriptors - * Bug 4877: Add missing text about external_acl_type %DATA changes - * Bug 4875 pt1: GCC-8 compile errors with -O3 optimization - * Bug 4716: Blank lines in cachemgr.conf are not skipped - * Bug 4691: balance_on_multiple_ip config option docs - * basic_pop3_auth: fix startup errors - * langpack: Add missing dialect aliases - * Fix range_offset_limit debugging - * Fix icc build errors - * Update systemd dependencies in squid.service + + Bug 4885: Excessive memory usage when running out of descriptors + + Bug 4877: Add missing text about external_acl_type %DATA changes + + Bug 4875 pt1: GCC-8 compile errors with -O3 optimization + + Bug 4716: Blank lines in cachemgr.conf are not skipped + + Bug 4691: balance_on_multiple_ip config option docs + + basic_pop3_auth: fix startup errors + + langpack: Add missing dialect aliases + + Fix range_offset_limit debugging + + Fix icc build errors + + Update systemd dependencies in squid.service ------------------------------------------------------------------- Mon Aug 13 07:30:05 UTC 2018 - adam.majer@suse.de diff --git a/squid.spec b/squid.spec index ba7008e..79dfdcb 100644 --- a/squid.spec +++ b/squid.spec @@ -12,7 +12,7 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# Please submit bugfixes or comments via http://bugs.opensuse.org/ # @@ -37,6 +37,7 @@ Source11: %{name}.service Source13: http://www.squid-cache.org/pgp.asc#/squid.keyring Source15: cache_dir.sed Source16: initialize_cache_if_needed.sh +Source17: tmpfilesdir.squid.conf Patch1: missing_installs.patch BuildRequires: cppunit-devel BuildRequires: db-devel @@ -181,6 +182,10 @@ install -D -m 755 %{SOURCE16} %{buildroot}%{squidlibdir}/initialize_cache_if_nee sed -i -e 's!%%{_libdir}!%{_libdir}!' %{buildroot}%{_unitdir}/%{name}.service ln -sf %{_sbindir}/service %{buildroot}%{_sbindir}/rc%{name} +# needed for smp support (bsc#1112695, bsc#1112066) +mkdir -p %{buildroot}%{_tmpfilesdir} +install -D -m 755 %{SOURCE17} %{buildroot}%{_tmpfilesdir}/squid.conf + # Move the MIB definition to the proper place (and name) mkdir -p %{buildroot}%{_datadir}/snmp/mibs mv %{buildroot}%{_datadir}/squid/mib.txt \ @@ -228,7 +233,7 @@ fi %set_permissions %{_sbindir}/pinger %set_permissions %{_localstatedir}/cache/squid/ %set_permissions %{_localstatedir}/log/squid/ - +%tmpfiles_create %{_tmpfilesdir}/squid.conf %service_add_post squid.service %preun @@ -257,6 +262,8 @@ fi %verify(not user group mode) %attr(750,%{name},root) %dir %{_localstatedir}/cache/%{name}/ %verify(not user group mode) %attr(750,%{name},root) %dir %{_localstatedir}/log/%{name}/ %dir %{squidconfdir} +%dir %{_tmpfilesdir} +%{_tmpfilesdir}/squid.conf %config(noreplace) %{squidconfdir}/cachemgr.conf %config(noreplace) %{squidconfdir}/errorpage.css %config(noreplace) %{squidconfdir}/errors diff --git a/tmpfilesdir.squid.conf b/tmpfilesdir.squid.conf new file mode 100644 index 0000000..eb58fb9 --- /dev/null +++ b/tmpfilesdir.squid.conf @@ -0,0 +1,3 @@ +# See tmpfiles.d(5) for details +d /run/squid 0700 squid root - +