security/clamav: remove deprecated defaults and rename options (#1275)

This commit is contained in:
Michael
2019-03-25 10:56:09 +01:00
committed by Franco Fichtner
parent 36fecb815d
commit ece3e71c15
2 changed files with 2 additions and 2 deletions
+1
View File
@@ -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
@@ -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 }}