]> git.pld-linux.org Git - packages/clamav.git/blob - clamav-pld_config.patch
- up to 0.92
[packages/clamav.git] / clamav-pld_config.patch
1 --- clamav-0.92.orig/etc/clamd.conf     2007-12-06 13:59:09.000000000 +0100
2 +++ clamav-0.92/etc/clamd.conf  2007-12-17 21:48:15.000000000 +0100
3 @@ -5,13 +5,13 @@
4  
5  
6  # Comment or remove the line below.
7 -Example
8 +#Example
9  
10  # Uncomment this option to enable logging.
11  # LogFile must be writable for the user running daemon.
12  # A full path is required.
13  # Default: disabled
14 -#LogFile /tmp/clamd.log
15 +#LogFile /var/log/clamd.log
16  
17  # By default the log file is locked for writing - the lock protects against
18  # running clamd multiple times (if want to run another clamd, please
19 @@ -40,12 +40,12 @@
20  
21  # Use system logger (can work together with LogFile).
22  # Default: no
23 -#LogSyslog yes
24 +LogSyslog yes
25  
26  # Specify the type of syslog messages - please refer to 'man syslog'
27  # for facility names.
28  # Default: LOG_LOCAL6
29 -#LogFacility LOG_MAIL
30 +LogFacility LOG_MAIL
31  
32  # Enable verbose logging.
33  # Default: no
34 @@ -54,7 +54,7 @@
35  # This option allows you to save a process identifier of the listening
36  # daemon (main thread).
37  # Default: disabled
38 -#PidFile /var/run/clamd.pid
39 +PidFile /var/run/clamav/clamd.pid
40  
41  # Optional path to the global temporary directory.
42  # Default: system specific (usually /tmp or /var/tmp).
43 @@ -141,11 +141,11 @@
44  
45  # Run as another user (clamd must be started by root for this option to work)
46  # Default: don't drop privileges
47 -#User clamav
48 +User clamav
49  
50  # Initialize supplementary group access (clamd must be started by root).
51  # Default: no
52 -#AllowSupplementaryGroups no
53 +AllowSupplementaryGroups yes
54  
55  # Stop daemon when libclamav reports out of memory condition.
56  #ExitOnOOM yes
57 @@ -327,15 +327,15 @@
58  
59  # Set access mask for Clamuko.
60  # Default: no
61 -#ClamukoScanOnOpen yes
62 -#ClamukoScanOnClose yes
63 -#ClamukoScanOnExec yes
64 +ClamukoScanOnOpen yes
65 +ClamukoScanOnClose yes
66 +ClamukoScanOnExec yes
67  
68  # Set the include paths (all files inside them will be scanned). You can have
69  # multiple ClamukoIncludePath directives but each directory must be added
70  # in a seperate line.
71  # Default: disabled
72 -#ClamukoIncludePath /home
73 +ClamukoIncludePath /home
74  #ClamukoIncludePath /students
75  
76  # Set the exclude paths. All subdirectories are also excluded.
77 --- clamav-0.92.orig/etc/freshclam.conf 2007-12-06 13:59:09.000000000 +0100
78 +++ clamav-0.92/etc/freshclam.conf      2007-12-17 21:48:15.000000000 +0100
79 @@ -2,10 +2,14 @@
80  ## Example config file for freshclam
81  ## Please read the freshclam.conf(5) manual before editing this file.
82  ##
83 -
84 +## PLD NOTE: Note that freshclam is called periodically via cron
85 +## Check /etc/sysconfig/clamd for details
86 +## Seems better to run task once per period than keep daemon running
87 +## only for that.
88 +## But if you have arguments please tell us.
89  
90  # Comment or remove the line below.
91 -Example
92 +#Example
93  
94  # Path to the database directory.
95  # WARNING: It must match clamd.conf's directive!
96 @@ -30,11 +34,11 @@
97  
98  # Enable verbose logging.
99  # Default: no
100 -#LogVerbose yes
101 +LogVerbose yes
102  
103  # Use system logger (can work together with UpdateLogFile).
104  # Default: no
105 -#LogSyslog yes
106 +LogSyslog yes
107  
108  # Specify the type of syslog messages - please refer to 'man syslog'
109  # for facility names.
110 @@ -48,7 +52,7 @@
111  # By default when started freshclam drops privileges and switches to the
112  # "clamav" user. This directive allows you to change the database owner.
113  # Default: clamav (may depend on installation options)
114 -#DatabaseOwner clamav
115 +DatabaseOwner clamav
116  
117  # Initialize supplementary group access (freshclam must be started by root).
118  # Default: no
119 @@ -82,7 +86,7 @@
120  
121  # Number of database checks per day.
122  # Default: 12 (every two hours)
123 -#Checks 24
124 +Checks 2
125  
126  # Proxy settings
127  # Default: disabled
128 @@ -104,7 +108,7 @@
129  
130  # Send the RELOAD command to clamd.
131  # Default: no
132 -#NotifyClamd /path/to/clamd.conf
133 +#NotifyClamd /etc/clamd.conf
134  
135  # Run command after successful database update.
136  # Default: disabled
This page took 0.528316 seconds and 4 git commands to generate.