/[smeserver]/rpms/smeserver-clamav/sme7/smeserver-clamav-2.0.0-MemLimit.patch
ViewVC logotype

Annotation of /rpms/smeserver-clamav/sme7/smeserver-clamav-2.0.0-MemLimit.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Apr 18 17:22:47 2010 UTC (14 years, 6 months ago) by snetram
Branch: MAIN
CVS Tags: smeserver-clamav-2_0_0-10_el4_sme, smeserver-clamav-2_0_0-8_el4_sme, smeserver-clamav-2_0_0-11_el4_sme, smeserver-clamav-2_0_0-12_el4_sme, smeserver-clamav-2_0_0-9_el4_sme, HEAD
* Sun Apr 18 2010 Jonathan Martens <smeserver-contribs@snetram.nl> 2.0.0-8.sme
- Increase MemLimit to 600M for clamav-0.96 [SME: 5868]

1 snetram 1.1 diff -Naur smeserver-clamav-2.2.0-orig/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit
2     smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit
3     --- smeserver-clamav-2.2.0-orig/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2008-10-07 17:34:18.000000000 +0200
4     +++ smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2010-04-02 12:48:18.044259444 +0200
5     @@ -1 +1 @@
6     -250000000
7     +600000000
8     diff -up
9     smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit.MemLimit2
10     smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit
11     --- smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit.MemLimit2 2010-04-18 19:05:27.000000000 +0200
12     +++ smeserver-clamav-2.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2010-04-18 19:06:33.000000000 +0200
13     @@ -1,5 +1,7 @@
14     {
15     my $clamd = $DB->get('clamd');
16     return unless $clamd;
17     - $clamd->set_prop('MemLimit', 250000000) if $clamd->prop('MemLimit') < 250000000;
18     +
19     + my $size = 600000000;
20     + $clamd->set_prop('MemLimit', $size) if $clamd->prop('MemLimit') < $size;
21     }

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