From ece3e71c15df973067be837281c626a3f342422a Mon Sep 17 00:00:00 2001 From: Michael Date: Mon, 25 Mar 2019 10:56:09 +0100 Subject: [PATCH] security/clamav: remove deprecated defaults and rename options (#1275) --- security/clamav/Makefile | 1 + .../src/opnsense/service/templates/OPNsense/ClamAV/clamd.conf | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/security/clamav/Makefile b/security/clamav/Makefile index 7703a0169..10c0f4ef7 100644 --- a/security/clamav/Makefile +++ b/security/clamav/Makefile @@ -1,5 +1,6 @@ PLUGIN_NAME= clamav PLUGIN_VERSION= 1.6 +PLUGIN_REVISION= 1 PLUGIN_COMMENT= Antivirus engine for detecting malicious threats PLUGIN_DEPENDS= clamav PLUGIN_MAINTAINER= m.muenz@gmail.com diff --git a/security/clamav/src/opnsense/service/templates/OPNsense/ClamAV/clamd.conf b/security/clamav/src/opnsense/service/templates/OPNsense/ClamAV/clamd.conf index c2ae4805d..8d97d2bc7 100644 --- a/security/clamav/src/opnsense/service/templates/OPNsense/ClamAV/clamd.conf +++ b/security/clamav/src/opnsense/service/templates/OPNsense/ClamAV/clamd.conf @@ -28,7 +28,6 @@ FollowDirectorySymlinks yes FollowFileSymlinks yes {% endif %} User clamav -AllowSupplementaryGroups yes {% if helpers.exists('OPNsense.clamav.general.scanpe') and OPNsense.clamav.general.scanpe == '1' %} ScanPE yes {% endif %} @@ -66,7 +65,7 @@ ScanHTML yes ScanArchive yes {% endif %} {% if helpers.exists('OPNsense.clamav.general.arcblockenc') and OPNsense.clamav.general.arcblockenc == '1' %} -ArchiveBlockEncrypted yes +AlertEncryptedArchive yes {% endif %} {% if helpers.exists('OPNsense.clamav.general.maxscansize') and OPNsense.clamav.general.maxscansize != '' %} MaxScanSize {{ OPNsense.clamav.general.maxscansize }}