/[smeserver]/rpms/smeserver-clamav/sme8/smeserver-clamav-2.2.0-disable_unofficial_sigs_for_fs_scan.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme8/smeserver-clamav-2.2.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)
Wed Jan 6 14:40:48 2016 UTC (8 years, 4 months ago) by vip-ire
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-15_el5_sme, HEAD
* Wed Jan 6 2016 Daniel Berteaud <daniel@firewall-services.com> 2.2.0-15.sme
- Disable unofficial sigs for filesystem scans [SME: 9176]

1 diff -Nur smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs smeserver-clamav-2.2.0_bz9176/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs
2 --- smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs 1970-01-01 01:00:00.000000000 +0100
3 +++ smeserver-clamav-2.2.0_bz9176/root/etc/e-smith/db/configuration/defaults/clamav/FilesystemScanUnofficialSigs 2016-01-06 15:37:27.880816511 +0100
4 @@ -0,0 +1 @@
5 +no
6 diff -Nur smeserver-clamav-2.2.0/root/sbin/e-smith/smeserver-clamscan smeserver-clamav-2.2.0_bz9176/root/sbin/e-smith/smeserver-clamscan
7 --- smeserver-clamav-2.2.0/root/sbin/e-smith/smeserver-clamscan 2008-10-07 17:34:19.000000000 +0200
8 +++ smeserver-clamav-2.2.0_bz9176/root/sbin/e-smith/smeserver-clamscan 2016-01-06 15:36:35.423823312 +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