/[smeserver]/rpms/smeserver-clamav/sme9/smeserver-clamav-2.4.0-disable_unofficial_sigs_for_fs_scan.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme9/smeserver-clamav-2.4.0-disable_unofficial_sigs_for_fs_scan.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1 - (show annotations) (download)
Tue Dec 1 18:14:45 2015 UTC (8 years, 5 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-clamav-2_4_0-6_el6_sme, smeserver-clamav-2_4_0-5_el6_sme, HEAD
* Tue Dec 1 2015 Daniel Berteaud <daniel@firewall-services.com> 2.4.0-5.sme
- Disable unofficial sigs for filesystem scans [SME: 9142]

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>;

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed