--- ./etc/clamd.conf.org 2005-06-24 05:03:04.000000000 +0900 +++ ./etc/clamd.conf 2006-01-10 19:10:26.000000000 +0900 @@ -5,13 +5,14 @@ # Comment or remove the line below. -Example +#Example # Uncomment this option to enable logging. # LogFile must be writable for the user running daemon. # A full path is required. # Default: disabled #LogFile /tmp/clamd.log +LogFile /tmp/clamd.log # By default the log file is locked for writing - the lock protects against # running clamd multiple times (if want to run another clamd, please @@ -55,6 +56,7 @@ # daemon (main thread). # Default: disabled #PidFile /var/run/clamd.pid +PidFile /tmp/clamd.pid # Optional path to the global temporary directory. # Default: system specific (usually /tmp or /var/tmp). @@ -63,6 +65,7 @@ # Path to the database directory. # Default: hardcoded (depends on installation options) #DatabaseDirectory /var/lib/clamav +DatabaseDirectory /opt/local/clamav/share/clamav # The daemon works in a local OR a network mode. Due to security reasons we # recommend the local mode. @@ -84,7 +87,7 @@ # Enable the following to provide some degree of protection # from the outside world. # Default: disabled -#TCPAddr 127.0.0.1 +TCPAddr 127.0.0.1 # Maximum length the queue of pending connections may grow to. # Default: 15 @@ -142,6 +145,7 @@ # Run as a selected user (clamd must be started by root). # Default: disabled #User clamav +User clamav # Initialize supplementary group access (clamd must be started by root). # Default: disabled --- ./etc/freshclam.conf.org 2005-09-16 07:27:13.000000000 +0900 +++ ./etc/freshclam.conf 2006-01-10 19:02:41.000000000 +0900 @@ -6,16 +6,18 @@ # Comment or remove the line below. -Example +#Example # Path to the database directory. # WARNING: It must match clamd.conf's directive! # Default: hardcoded (depends on installation options) #DatabaseDirectory /var/lib/clamav +DatabaseDirectory /opt/local/clamav/share/clamav # Path to the log file (make sure it has proper permissions) # Default: disabled #UpdateLogFile /var/log/freshclam.log +UpdateLogFile /tmp/freshclam.log # Enable verbose logging. # Default: disabled @@ -33,11 +35,13 @@ # This option allows you to save the process identifier of the daemon # Default: disabled #PidFile /var/run/freshclam.pid +PidFile /tmp/freshclam.pid # By default when started freshclam drops privileges and switches to the # "clamav" user. This directive allows you to change the database owner. # Default: clamav (may depend on installation options) #DatabaseOwner clamav +DatabaseOwner clamav # Initialize supplementary group access (freshclam must be started by root). # Default: disabled @@ -53,6 +57,7 @@ # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list. # Default: There is no default, which results in an error when running freshclam #DatabaseMirror db.XY.clamav.net +DatabaseMirror db.jp.clamav.net # database.clamav.net is a round-robin record which points to our most # reliable mirrors. It's used as a fall back in case db.XY.clamav.net is