1 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit |
2 |
--- smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2006-03-15 17:38:28.000000000 -0700 |
3 |
+++ mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/defaults/clamd/MemLimit 2007-02-21 19:29:02.000000000 -0700 |
4 |
@@ -1 +1 @@ |
5 |
-80000000 |
6 |
+120000000 |
7 |
diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit |
8 |
--- smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 1969-12-31 17:00:00.000000000 -0700 |
9 |
+++ mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/db/configuration/migrate/clamdMemLimit 2007-02-21 19:29:28.000000000 -0700 |
10 |
@@ -0,0 +1,5 @@ |
11 |
+{ |
12 |
+ my $clamd = $DB->get('clamd'); |
13 |
+ return unless $clamd; |
14 |
+ $clamd->set_prop('MemLimit', 120000000) if $clamd->prop('MemLimit') < 120000000; |
15 |
+} |