]> git.proxmox.com Git - pmg-api.git/commit
freshclam.conf.in: make ScriptedUpdates a variable
authorStoiko Ivanov <s.ivanov@proxmox.com>
Fri, 3 Apr 2020 17:57:59 +0000 (19:57 +0200)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Tue, 14 Apr 2020 08:29:44 +0000 (10:29 +0200)
commitad02f1c57e74a8a2240863bb0ee53d92df091fcf
treeccb481a1eb358d93ab139cc2333ee4b21df64bb6
parentfd593147551143026606153c868d03d2a2517454
freshclam.conf.in: make ScriptedUpdates a variable

The 'ScriptedUpdate' setting in freshclam.conf (5) defines whether signature
updates should be fetched incrementally or whether the whole database should
be downloaded.

Since the upgrade of clamav to 0.102.1 led to some problems when downloading
the complete file [0], and some users who switched to incremental updates
later had problems with that, it seems the most comfortable and futureproof
solution is to have a simple way for users to selectively switch to
whichever mechanism works. AFAIR signature downloads of clamav also had
similar problems in previous versions.

Additionally the rendered boolean value was changed from 'yes' to 'true',
to be a bit more consistent with the other booleans in our template.

[0] https://blog.clamav.net/2020/02/clamav-01022-security-patch-released.html

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
src/PMG/Config.pm
src/templates/freshclam.conf.in