/[smeserver]/rpms/smeserver-clamav/sme7/smeserver-clamav-1.2.0-memlimit.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme7/smeserver-clamav-1.2.0-memlimit.patch

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


Revision 1.2 - (show annotations) (download)
Tue Oct 7 15:36:01 2008 UTC (16 years, 1 month ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
New streams

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 +}

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