]> git.pld-linux.org Git - packages/clamav.git/blame - clamav-pld_config.patch
- up to 0.92
[packages/clamav.git] / clamav-pld_config.patch
CommitLineData
e1ead9e8
AZ
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
0c604439 3@@ -5,13 +5,13 @@
5664ab19 4
c935072a
MK
5
6 # Comment or remove the line below.
7-Example
0c604439 8+#Example
c935072a
MK
9
10 # Uncomment this option to enable logging.
0c604439 11 # LogFile must be writable for the user running daemon.
12 # A full path is required.
13 # Default: disabled
c935072a 14-#LogFile /tmp/clamd.log
0c604439 15+#LogFile /var/log/clamd.log
c935072a
MK
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
20a53372 19@@ -40,12 +40,12 @@
c935072a
MK
20
21 # Use system logger (can work together with LogFile).
8934b66c
ER
22 # Default: no
23-#LogSyslog yes
24+LogSyslog yes
c935072a 25
7259763f 26 # Specify the type of syslog messages - please refer to 'man syslog'
0c604439 27 # for facility names.
20a53372
ER
28 # Default: LOG_LOCAL6
29-#LogFacility LOG_MAIL
30+LogFacility LOG_MAIL
31
32 # Enable verbose logging.
33 # Default: no
0c604439 34@@ -54,7 +54,7 @@
35 # This option allows you to save a process identifier of the listening
c935072a 36 # daemon (main thread).
0c604439 37 # Default: disabled
c935072a 38-#PidFile /var/run/clamd.pid
5664ab19
MK
39+PidFile /var/run/clamav/clamd.pid
40
41 # Optional path to the global temporary directory.
0c604439 42 # Default: system specific (usually /tmp or /var/tmp).
e1ead9e8 43@@ -141,11 +141,11 @@
0c604439 44
e1ead9e8 45 # Run as another user (clamd must be started by root for this option to work)
8934b66c 46 # Default: don't drop privileges
c935072a
MK
47-#User clamav
48+User clamav
49
0c604439 50 # Initialize supplementary group access (clamd must be started by root).
8934b66c
ER
51 # Default: no
52-#AllowSupplementaryGroups no
53+AllowSupplementaryGroups yes
c935072a 54
8934b66c
ER
55 # Stop daemon when libclamav reports out of memory condition.
56 #ExitOnOOM yes
e1ead9e8 57@@ -327,15 +327,15 @@
0c604439 58
59 # Set access mask for Clamuko.
8934b66c
ER
60 # Default: no
61-#ClamukoScanOnOpen yes
62-#ClamukoScanOnClose yes
63-#ClamukoScanOnExec yes
64+ClamukoScanOnOpen yes
65+ClamukoScanOnClose yes
66+ClamukoScanOnExec yes
0c604439 67
6e64bbee 68 # Set the include paths (all files inside them will be scanned). You can have
0c604439 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.
e1ead9e8
AZ
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
8934b66c
ER
79@@ -2,10 +2,14 @@
80 ## Example config file for freshclam
0c604439 81 ## Please read the freshclam.conf(5) manual before editing this file.
c935072a 82 ##
0c604439 83-
5664ab19
MK
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
0c604439 87+## only for that.
5664ab19
MK
88+## But if you have arguments please tell us.
89
0c604439 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!
e1ead9e8 96@@ -30,11 +34,11 @@
5664ab19
MK
97
98 # Enable verbose logging.
8934b66c
ER
99 # Default: no
100-#LogVerbose yes
101+LogVerbose yes
5664ab19 102
0ad46739 103 # Use system logger (can work together with UpdateLogFile).
8934b66c
ER
104 # Default: no
105-#LogSyslog yes
106+LogSyslog yes
0ad46739 107
7259763f 108 # Specify the type of syslog messages - please refer to 'man syslog'
0c604439 109 # for facility names.
e1ead9e8 110@@ -48,7 +52,7 @@
0c604439 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)
5664ab19
MK
114-#DatabaseOwner clamav
115+DatabaseOwner clamav
116
8934b66c
ER
117 # Initialize supplementary group access (freshclam must be started by root).
118 # Default: no
e1ead9e8 119@@ -82,7 +86,7 @@
5664ab19 120
0c604439 121 # Number of database checks per day.
122 # Default: 12 (every two hours)
123-#Checks 24
5664ab19
MK
124+Checks 2
125
126 # Proxy settings
0c604439 127 # Default: disabled
e1ead9e8 128@@ -104,7 +108,7 @@
8934b66c
ER
129
130 # Send the RELOAD command to clamd.
131 # Default: no
132-#NotifyClamd /path/to/clamd.conf
38d9666e 133+#NotifyClamd /etc/clamd.conf
c935072a 134
0c604439 135 # Run command after successful database update.
136 # Default: disabled
This page took 0.665485 seconds and 4 git commands to generate.