]> git.pld-linux.org Git - packages/clamav.git/blob - clamav-pld_config.patch
- tabs in preamble
[packages/clamav.git] / clamav-pld_config.patch
1 --- clamav-0.90rc2/etc/clamd.conf       2006-11-05 18:53:11.342468909 +0200
2 +++ clamav-0.90rc2/etc/clamd.conf       2006-11-05 18:53:11.342468909 +0200
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 @@ -69,11 +69,11 @@
44  
45  # Path to a local socket file the daemon will listen on.
46  # Default: disabled (must be specified by a user)
47 -LocalSocket /tmp/clamd
48 +LocalSocket /var/lib/clamav/clamd.socket
49  
50  # Remove stale socket after unclean shutdown.
51  # Default: no
52 -#FixStaleSocket yes
53 +FixStaleSocket yes
54  
55  # TCP port address.
56  # Default: no
57 @@ -141,11 +141,11 @@
58  
59  # Run as a selected user (clamd must be started by root).
60  # Default: don't drop privileges
61 -#User clamav
62 +User clamav
63  
64  # Initialize supplementary group access (clamd must be started by root).
65  # Default: no
66 -#AllowSupplementaryGroups no
67 +AllowSupplementaryGroups yes
68  
69  # Stop daemon when libclamav reports out of memory condition.
70  #ExitOnOOM yes
71 @@ -303,15 +303,15 @@
72  
73  # Set access mask for Clamuko.
74  # Default: no
75 -#ClamukoScanOnOpen yes
76 -#ClamukoScanOnClose yes
77 -#ClamukoScanOnExec yes
78 +ClamukoScanOnOpen yes
79 +ClamukoScanOnClose yes
80 +ClamukoScanOnExec yes
81  
82  # Set the include paths (all files in them will be scanned). You can have
83  # multiple ClamukoIncludePath directives but each directory must be added
84  # in a seperate line.
85  # Default: disabled
86 -#ClamukoIncludePath /home
87 +ClamukoIncludePath /home
88  #ClamukoIncludePath /students
89  
90  # Set the exclude paths. All subdirectories are also excluded.
91 --- clamav-0.90rc2/etc/freshclam.conf   2006-10-16 02:38:54.000000000 +0300
92 +++ clamav-0.90rc2.pld/etc/freshclam.conf       2006-11-05 17:19:32.115904497 +0200
93 @@ -2,10 +2,14 @@
94  ## Example config file for freshclam
95  ## Please read the freshclam.conf(5) manual before editing this file.
96  ##
97 -
98 +## PLD NOTE: Note that freshclam is called periodically via cron
99 +## Check /etc/sysconfig/clamd for details
100 +## Seems better to run task once per period than keep daemon running
101 +## only for that.
102 +## But if you have arguments please tell us.
103  
104  # Comment or remove the line below.
105 -Example
106 +#Example
107  
108  # Path to the database directory.
109  # WARNING: It must match clamd.conf's directive!
110 @@ -18,11 +22,11 @@
111  
112  # Enable verbose logging.
113  # Default: no
114 -#LogVerbose yes
115 +LogVerbose yes
116  
117  # Use system logger (can work together with UpdateLogFile).
118  # Default: no
119 -#LogSyslog yes
120 +LogSyslog yes
121  
122  # Specify the type of syslog messages - please refer to 'man syslog'
123  # for facility names.
124 @@ -36,7 +40,7 @@
125  # By default when started freshclam drops privileges and switches to the
126  # "clamav" user. This directive allows you to change the database owner.
127  # Default: clamav (may depend on installation options)
128 -#DatabaseOwner clamav
129 +DatabaseOwner clamav
130  
131  # Initialize supplementary group access (freshclam must be started by root).
132  # Default: no
133 @@ -66,7 +70,7 @@
134  
135  # Number of database checks per day.
136  # Default: 12 (every two hours)
137 -#Checks 24
138 +Checks 2
139  
140  # Proxy settings
141  # Default: disabled
142 @@ -88,7 +92,7 @@
143  
144  # Send the RELOAD command to clamd.
145  # Default: no
146 -#NotifyClamd /path/to/clamd.conf
147 +#NotifyClamd /etc/clamd.conf
148  
149  # Run command after successful database update.
150  # Default: disabled
This page took 0.057322 seconds and 3 git commands to generate.