--- ./configure~ 2008-04-10 00:55:27.000000000 +0900 +++ ./configure 2008-05-23 22:21:27.000000000 +0900 @@ -11427,6 +11427,7 @@ +if false; then { echo "$as_me:$LINENO: checking for gcc bug PR28045" >&5 echo $ECHO_N "checking for gcc bug PR28045... $ECHO_C" >&6; } if test "$cross_compiling" = yes; then @@ -11496,6 +11497,7 @@ fi rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext fi +fi --- ./etc/clamd.conf~ 2008-03-07 03:41:13.000000000 +0900 +++ ./etc/clamd.conf 2008-05-23 22:40:38.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. @@ -85,6 +88,7 @@ # from the outside world. # Default: no #TCPAddr 127.0.0.1 +TCPAddr 127.0.0.1 # Maximum length the queue of pending connections may grow to. # Default: 15 @@ -142,6 +146,7 @@ # Run as another user (clamd must be started by root for this option to work) # Default: don't drop privileges #User clamav +User clamav # Initialize supplementary group access (clamd must be started by root). # Default: no --- ./etc/freshclam.conf~ 2008-03-07 03:41:13.000000000 +0900 +++ ./etc/freshclam.conf 2008-05-23 22:42:32.000000000 +0900 @@ -5,16 +5,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 # Maximum size of the log file. # Value of 0 disables the limit. @@ -44,11 +46,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: no