- On update, remove obsolete option SubmitDetectionStats from
/etc/freshclam.conf otherwise freshclam refuses to start. OBS-URL: https://build.opensuse.org/package/show/security/clamav?expand=0&rev=163
This commit is contained in:
parent
d2722d834a
commit
c0e27f9707
@ -33,6 +33,8 @@ Fri Apr 13 15:07:48 UTC 2018 - max@suse.com
|
|||||||
- Update key ring and add signature file.
|
- Update key ring and add signature file.
|
||||||
- Use system-wide LLVM instead of the deprecated bundled one.
|
- Use system-wide LLVM instead of the deprecated bundled one.
|
||||||
- Move pkgconfig stuff the main to the devel package.
|
- Move pkgconfig stuff the main to the devel package.
|
||||||
|
- On update, remove obsolete option SubmitDetectionStats from
|
||||||
|
/etc/freshclam.conf otherwise freshclam refuses to start.
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Wed Mar 7 13:15:11 UTC 2018 - max@suse.com
|
Wed Mar 7 13:15:11 UTC 2018 - max@suse.com
|
||||||
|
@ -199,6 +199,11 @@ getent passwd vscan >/dev/null || \
|
|||||||
%post
|
%post
|
||||||
systemd-tmpfiles --create %_tmpfilesdir/clamav.conf
|
systemd-tmpfiles --create %_tmpfilesdir/clamav.conf
|
||||||
%service_add_post clamd.service freshclam.service clamav-milter.service
|
%service_add_post clamd.service freshclam.service clamav-milter.service
|
||||||
|
%if $1 == 2; then
|
||||||
|
# If upgrading, comment out obsolete config file options
|
||||||
|
# https://bugzilla.clamav.net/show_bug.cgi?id=12097
|
||||||
|
sed -i '/^[[:space:]]*SubmitDetectionStats/s/^/# OBSOLETE: /' /etc/freshclam.conf
|
||||||
|
%endif
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%service_del_preun clamd.service freshclam.service clamav-milter.service
|
%service_del_preun clamd.service freshclam.service clamav-milter.service
|
||||||
|
Loading…
Reference in New Issue
Block a user