1 |
vip-ire |
1.1 |
diff -Nur smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs smeserver-clamav-2.4.0_bz9142/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs |
2 |
|
|
--- smeserver-clamav-2.4.0/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs 1970-01-01 01:00:00.000000000 +0100 |
3 |
|
|
+++ smeserver-clamav-2.4.0_bz9142/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs 2015-12-01 18:59:21.037985130 +0100 |
4 |
|
|
@@ -0,0 +1 @@ |
5 |
|
|
+no |
6 |
|
|
diff -Nur smeserver-clamav-2.4.0/root/sbin/e-smith/smeserver-clamscan smeserver-clamav-2.4.0_bz9142/root/sbin/e-smith/smeserver-clamscan |
7 |
|
|
--- smeserver-clamav-2.4.0/root/sbin/e-smith/smeserver-clamscan 2008-10-07 17:34:19.000000000 +0200 |
8 |
|
|
+++ smeserver-clamav-2.4.0_bz9142/root/sbin/e-smith/smeserver-clamscan 2015-12-01 18:58:33.367976716 +0100 |
9 |
|
|
@@ -51,6 +51,9 @@ |
10 |
|
|
$clamscan_opts .= " --move=$quarantine_dir" |
11 |
|
|
if ($db->get_prop("clamav", "Quarantine") || "disabled") eq "enabled"; |
12 |
|
|
|
13 |
|
|
+$clamscan_opts .= " --official-db-only=yes" |
14 |
|
|
+ if ($db->get_prop("clamav", "FilesystemScanUnofficialSigs") || 'no') ne "yes"; |
15 |
|
|
+ |
16 |
|
|
open CLAMSCAN, "-|", "nice /usr/bin/clamscan $clamscan_opts $filesystems 2> /var/log/clamd/smeserver-clamscan.log"; |
17 |
|
|
|
18 |
|
|
my @report = <CLAMSCAN>; |