mirror of
https://github.com/Cisco-Talos/clamav.git
synced 2026-05-06 06:35:29 -04:00
* Add a new function cl_cvdgetage() to the libclamav API. This function will retrieve the age of the youngest file in a database directory, or the age of a single CVD (or CLD) file. * Add new clamscan option --fail-if-cvd-older-than=days When passed, causes clamscan to exit with a non-zero return code if the virus database is older than the specified number of days. * Add new clamd option --fail-if-cvd-older-than=days When passed, causes clamd to exit on start-up with a non-zero return code if the virus database is older than the specified number of days. Additionally, we introduce FailIfCvdOlderThan as a clamd.conf synonym for --fail-if-cvd-older-than. Fixes #820