1 diff -uN clamav-0.80-orig/etc/clamd.conf clamav-0.80/etc/clamd.conf
2 --- clamav-0.80-orig/etc/clamd.conf 2004-10-11 03:14:30.000000000 +0200
3 +++ clamav-0.80/etc/clamd.conf 2005-01-21 15:03:26.335610128 +0100
7 # Comment or remove the line below.
11 # Uncomment this option to enable logging.
12 # LogFile must be writable for the user running daemon.
13 # A full path is required.
15 -#LogFile /tmp/clamd.log
16 +#LogFile /var/log/clamd.log
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
22 # Use system logger (can work together with LogFile).
27 # Specify the type of syslog messages - please refer to 'man syslog'
30 # This option allows you to save a process identifier of the listening
31 # daemon (main thread).
33 -#PidFile /var/run/clamd.pid
34 +PidFile /var/run/clamav/clamd.pid
36 # Optional path to the global temporary directory.
37 # Default: system specific (usually /tmp or /var/tmp).
40 # Path to a local socket file the daemon will listen on.
42 -LocalSocket /tmp/clamd
43 +LocalSocket /var/lib/clamav/clamd.socket
45 # Remove stale socket after unclean shutdown.
49 # Run as a selected user (clamd must be started by root).
54 # Initialize supplementary group access (clamd must be started by root).
56 -#AllowSupplementaryGroups
57 +AllowSupplementaryGroups
59 # Don't fork into background.
63 # Set access mask for Clamuko.
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
76 -#ClamukoIncludePath /home
77 +ClamukoIncludePath /home
78 #ClamukoIncludePath /students
80 # Set the exclude paths. All subdirectories are also excluded.
81 diff -uN clamav-0.80-orig/etc/freshclam.conf clamav-0.80/etc/freshclam.conf
82 --- clamav-0.80-orig/etc/freshclam.conf 2004-09-27 22:35:01.000000000 +0200
83 +++ clamav-0.80/etc/freshclam.conf 2005-01-21 15:03:26.376602687 +0100
85 ## Please read the freshclam.conf(5) manual before editing this file.
86 ## This file may be optionally merged with clamd.conf.
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
93 +## But if you have arguments please tell us.
95 # Comment or remove the line below.
99 # Path to the database directory.
100 # WARNING: It must match clamd.conf's directive!
103 # Enable verbose logging.
108 # Use system logger (can work together with UpdateLogFile).
113 # Specify the type of syslog messages - please refer to 'man syslog'
114 # for facility names.
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
122 # Use DNS to verify virus database version. Freshclam uses DNS TXT records
123 # to verify database and software versions. We highly recommend enabling
126 # Number of database checks per day.
127 # Default: 12 (every two hours)
135 # By default it uses the hardcoded configuration file but you can force an
137 -#NotifyClamd /config/file/path
138 +NotifyClamd /etc/clamd.conf
140 # Run command after successful database update.