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