diff -Naur dansguardian-2.9.9.2/configs/dansguardian.conf.in dansguardian-2.9.9.2.oden/configs/dansguardian.conf.in --- dansguardian-2.9.9.2/configs/dansguardian.conf.in 2007-11-26 13:00:06.000000000 +0100 +++ dansguardian-2.9.9.2.oden/configs/dansguardian.conf.in 2008-03-27 16:49:59.000000000 +0100 @@ -62,7 +62,7 @@ # Log file location # # Defines the log directory and filename. -#loglocation = '@DGLOGLOCATION@/access.log' +loglocation = '@DGLOGLOCATION@/access.log' # Statistics log file location @@ -72,7 +72,7 @@ # Once every 3 minutes, the current number of IPs in the cache, and the most # that have been in the cache since the daemon was started, are written to this # file. IPs persist in the cache for 7 days. -#statlocation = '@DGLOGLOCATION@/stats' +statlocation = '@DGLOGLOCATION@/stats' # Network Settings @@ -334,7 +334,7 @@ # File cache dir # Where DG will download files to be scanned if too large for the # RAM cache. -filecachedir = '/tmp' +filecachedir = '@localstatedir@/dansguardian/tmp' @@ -551,24 +551,24 @@ # IPC filename # # Defines IPC server directory and filename used to communicate with the log process. -ipcfilename = '/tmp/.dguardianipc' +ipcfilename = '@localstatedir@/dansguardian/.dguardianipc' # URL list IPC filename # # Defines URL list IPC server directory and filename used to communicate with the URL # cache process. -urlipcfilename = '/tmp/.dguardianurlipc' +urlipcfilename = '@localstatedir@/dansguardian/.dguardianurlipc' # IP list IPC filename # # Defines IP list IPC server directory and filename, for communicating with the client # IP cache process. -ipipcfilename = '/tmp/.dguardianipipc' +ipipcfilename = '@localstatedir@/dansguardian/.dguardianipipc' # PID filename # # Defines process id directory and filename. -#pidfilename = '@DGPIDDIR@/dansguardian.pid' +pidfilename = '@DGPIDDIR@/dansguardian.pid' # Disable daemoning # If enabled the process will not fork into the background. @@ -595,8 +595,8 @@ # Temp files created during virus scanning are given owner and group read # permissions; to use content scanners based on external processes, such as # clamdscan, the two processes must run with either the same group or user ID. -#daemonuser = '@DGPROXYUSER@' -#daemongroup = '@DGPROXYGROUP@' +daemonuser = '@DGPROXYUSER@' +daemongroup = '@DGPROXYGROUP@' # Soft restart # When on this disables the forced killing off all processes in the process group. diff -Naur dansguardian-2.9.9.2/configs/contentscanners/clamdscan.conf.in dansguardian-2.9.9.2.oden/configs/contentscanners/clamdscan.conf.in --- dansguardian-2.9.9.2/configs/contentscanners/clamdscan.conf.in 2006-04-18 18:10:26.000000000 +0200 +++ dansguardian-2.9.9.2.oden/configs/contentscanners/clamdscan.conf.in 2008-03-27 16:50:55.000000000 +0100 @@ -1,7 +1,7 @@ plugname = 'clamdscan' # edit this to match the location of your ClamD UNIX domain socket -#clamdudsfile = '/var/run/clamav/clamd.sock' +clamdudsfile = '@localstatedir@/clamav/clamd.socket' # If this string is set, the text it contains shall be removed from the # beginning of filenames when passing them to ClamD.