/[smeserver]/rpms/smeserver-clamav/sme8/smeserver-clamav-1.2.0-MoveCronTemplate.patch
ViewVC logotype

Contents of /rpms/smeserver-clamav/sme8/smeserver-clamav-1.2.0-MoveCronTemplate.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:02 2008 UTC (16 years ago) by slords
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
Error occurred while calculating annotation data.
FILE REMOVED
New streams

1 diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/createlinks mezzanine_patched_smeserver-clamav-1.2.0/createlinks
2 --- smeserver-clamav-1.2.0/createlinks 2006-03-15 17:38:28.000000000 -0700
3 +++ mezzanine_patched_smeserver-clamav-1.2.0/createlinks 2008-04-18 10:30:52.000000000 -0600
4 @@ -5,7 +5,7 @@
5 my $panel = "manager";
6 panel_link("clamav", $panel);
7
8 -foreach (qw(freshclam.conf clamd.conf cron.d/clamav))
9 +foreach (qw(freshclam.conf clamd.conf crontab))
10 {
11 templates2events("/etc/$_",
12 qw(
13 diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav
14 --- smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav 2005-08-18 22:20:01.000000000 -0600
15 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/cron.d/clamav 1969-12-31 17:00:00.000000000 -0700
16 @@ -1,14 +0,0 @@
17 -{
18 - my $min = substr(gmtime,14,2);
19 -
20 - $OUT .= "\n";
21 - $OUT .= "# smeserver-clamscan filesystem scan\n";
22 - my $ScanFreq = $clamav{FilesystemScan} || 'disabled';
23 - if ($ScanFreq eq 'daily') {
24 - $OUT .= $min."\t0\t*\t*\t*\troot\t/sbin/e-smith/smeserver-clamscan\n";
25 - } elsif ($ScanFreq eq 'weekly') {
26 - $OUT .= $min."\t0\t*\t*\t0\troot\t/sbin/e-smith/smeserver-clamscan\n";
27 - } else {
28 - $OUT .= "# disabled\n";
29 - }
30 -}
31 diff -Nur -x '*.orig' -x '*.rej' smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav
32 --- smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav 1969-12-31 17:00:00.000000000 -0700
33 +++ mezzanine_patched_smeserver-clamav-1.2.0/root/etc/e-smith/templates/etc/crontab/clamav 2008-04-18 10:30:52.000000000 -0600
34 @@ -0,0 +1,14 @@
35 +{
36 + my $min = substr(gmtime,14,2);
37 +
38 + $OUT .= "\n";
39 + $OUT .= "# smeserver-clamscan filesystem scan\n";
40 + my $ScanFreq = $clamav{FilesystemScan} || 'disabled';
41 + if ($ScanFreq eq 'daily') {
42 + $OUT .= $min."\t0\t*\t*\t*\troot\t/sbin/e-smith/smeserver-clamscan\n";
43 + } elsif ($ScanFreq eq 'weekly') {
44 + $OUT .= $min."\t0\t*\t*\t0\troot\t/sbin/e-smith/smeserver-clamscan\n";
45 + } else {
46 + $OUT .= "# disabled\n";
47 + }
48 +}

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