1 diff -urN clamav-0.66.org/etc/clamav.conf clamav-0.66/etc/clamav.conf
2 --- clamav-0.66.org/etc/clamav.conf Wed Feb 11 11:51:14 2004
3 +++ clamav-0.66/etc/clamav.conf Wed Feb 11 11:52:00 2004
7 # Comment or remove the line below.
11 # Uncomment this option to enable logging.
12 # LogFile must be writable for the user running the daemon.
13 # Full path is required.
14 -#LogFile /tmp/clamd.log
15 +# LogFile /var/log/clamd.log
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
22 # Use system logger (can work together with LogFile).
26 # Enable verbose logging.
29 # This option allows you to save the process identifier of the listening
30 # daemon (main thread).
31 -#PidFile /var/run/clamd.pid
32 +PidFile /var/run/clamav/clamd.pid
34 # Optional path to the global temporary directory.
35 # Default is system specific - usually /var/tmp or /tmp.
37 # Path to the local socket. The daemon doesn't change the mode of the
38 # created file (portability reasons). You may want to create it in a directory
39 # which is only accessible for a user running daemon.
40 -LocalSocket /tmp/clamd
41 +LocalSocket /var/lib/clamav/clamd.socket
43 # Remove stale socket after unclean shutdown.
50 # Maximal number of a threads running at the same time.
51 # Default is 5, and it should be sufficient for a typical workstation.
52 # You may need to increase threads number for a server machine.
56 # Thread (scanner - single task) will be stopped after this time (seconds).
57 # Default is 180. Value of 0 disables the timeout. SECURITY HINT: Increase the
60 # Run as selected user (clamd must be started by root).
61 # By default it doesn't drop privileges.
65 # Initialize the supplementary group access (for all groups in /etc/group
66 # user is added in. clamd must be started by root).
67 -#AllowSupplementaryGroups
68 +AllowSupplementaryGroups
70 # Don't fork into background. Useful in debugging.
75 # Uncomment this option if you are planning to scan mail files.
81 --- clamav-0.70/etc/freshclam.conf.orig 2004-04-17 00:42:13.000000000 +0200
82 +++ clamav-0.70/etc/freshclam.conf 2004-04-20 03:27:50.230380664 +0200
84 ## Please read the clamav.conf(5) manual before editing this file.
85 ## This file may be optionally merged with clamav.conf.
87 +## PLD NOTE: Note that freshclam is called periodically via cron
88 +## Check /etc/sysconfig/clamd for details
89 +## Seems better to run task once per period than keep daemon running
91 +## But if you have arguments please tell us.
94 # You can change the default database directory here.
95 #DatabaseDirectory /var/lib/clamav
97 # Path to the log file (make sure it has proper permissions)
98 -#UpdateLogFile /var/log/freshclam.log
99 +UpdateLogFile /var/log/freshclam.log
101 # Enable verbose logging.
105 # Use system logger (can work together with UpdateLogFile).
108 # By default when freshclam is started by root it drops privileges and
109 # switches to the "clamav" user. You can change this behaviour here.
110 -#DatabaseOwner clamav
111 +DatabaseOwner clamav
113 # The main database mirror is database.clamav.net (this is a round-robin
114 # DNS that points to many mirrors on the world) and in most cases you
117 # How often check for a new database. We suggest checking for it every
123 #HTTPProxyServer myproxy.com
126 # Send the RELOAD command to clamd.
127 #NotifyClamd [/optional/config/file/path]
128 +NotifyClamd /etc/clamav.conf
130 # Run command after database update.
131 #OnUpdateExecute command