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

Annotation of /rpms/smeserver-clamav/sme8/smeserver-clamav-2.2.0-crondaily.patch

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


Revision 1.2 - (hide annotations) (download)
Mon Jun 14 20:38:03 2010 UTC (14 years, 5 months ago) by wellsi
Branch: MAIN
CVS Tags: smeserver-clamav-2_2_0-14_el5_sme, smeserver-clamav-2_2_0-12_el5_sme, smeserver-clamav-2_2_0-13_el5_sme, smeserver-clamav-2_2_0-15_el5_sme, HEAD
Changes since 1.1: +18 -17 lines
Re-work patch to improve and document template [SME: 6011]

1 wellsi 1.1 diff -ruN smeserver-clamav-2.2.0.old/createlinks smeserver-clamav-2.2.0/createlinks
2 wellsi 1.2 --- smeserver-clamav-2.2.0.old/createlinks 2010-06-14 21:12:03.000000000 +0100
3     +++ smeserver-clamav-2.2.0/createlinks 2010-06-14 21:14:08.000000000 +0100
4     @@ -17,6 +17,7 @@
5     }
6 wellsi 1.1
7 wellsi 1.2 templates2events("/etc/crontab", "clamav-update");
8     +templates2events("/etc/cron.daily/freshclam", "bootstrap-console-save");
9    
10     my $event = "email-update";
11    
12     diff -ruN smeserver-clamav-2.2.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam smeserver-clamav-2.2.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam
13     --- smeserver-clamav-2.2.0.old/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 1970-01-01 01:00:00.000000000 +0100
14     +++ smeserver-clamav-2.2.0/root/etc/e-smith/templates/etc/cron.daily/freshclam/10freshclam 2010-06-14 21:14:08.000000000 +0100
15     @@ -0,0 +1,4 @@
16     +#! /bin/sh
17     +# We do not run freshclam here, because an always-running supervised freshclam
18     +# is used in SME Server
19     +exit 0
20 wellsi 1.1 diff -ruN smeserver-clamav-2.2.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam smeserver-clamav-2.2.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam
21     --- smeserver-clamav-2.2.0.old/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 1970-01-01 01:00:00.000000000 +0100
22 wellsi 1.2 +++ smeserver-clamav-2.2.0/root/etc/e-smith/templates.metadata/etc/cron.daily/freshclam 2010-06-14 21:14:08.000000000 +0100
23 wellsi 1.1 @@ -0,0 +1 @@
24     +PERMS=0755

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