--- ./configure.org 2010-05-19 21:23:34.000000000 +0900 +++ ./configure 2010-07-28 14:54:50.000000000 +0900 @@ -13116,7 +13116,8 @@ { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc bug PR28045" >&5 $as_echo_n "checking for gcc bug PR28045... " >&6; } -if test "$cross_compiling" = yes; then : +#if test "$cross_compiling" = yes; then : +if :; then : { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assumed ok" >&5 $as_echo "cross-compiling, assumed ok" >&6; } else --- ./etc/clamd.conf.org 2010-04-27 23:37:30.000000000 +0900 +++ ./etc/clamd.conf 2010-07-28 16:10:15.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 # Only load the official signatures published by the ClamAV project. # Default: no @@ -90,6 +93,7 @@ # TCP port address. # Default: no #TCPSocket 3310 +TCPSocket 3310 # TCP address. # By default we bind to INADDR_ANY, probably not wise. @@ -97,6 +101,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 @@ -184,6 +189,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.org 2010-05-12 05:45:30.000000000 +0900 +++ ./etc/freshclam.conf 2010-07-28 03:45:49.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