diff options
author | Eric Hameleers <alien@slackware.com> | 2007-02-14 10:20:22 +0000 |
---|---|---|
committer | Eric Hameleers <alien@slackware.com> | 2007-02-14 10:20:22 +0000 |
commit | 9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c (patch) | |
tree | 289669e773f06fb140fb9e3418982468df30a43f | |
parent | 4104be76a729975257437da37ec326c7ae25f5a7 (diff) | |
download | asb-9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c.tar.gz asb-9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c.tar.xz |
Initial revision
Diffstat (limited to '')
-rw-r--r-- | clamav/build/clamav.conf.patch | 52 | ||||
-rw-r--r-- | clamav/build/freshclam.conf.patch | 49 |
2 files changed, 101 insertions, 0 deletions
diff --git a/clamav/build/clamav.conf.patch b/clamav/build/clamav.conf.patch new file mode 100644 index 00000000..0706e3cf --- /dev/null +++ b/clamav/build/clamav.conf.patch @@ -0,0 +1,52 @@ +--- /clamd.conf.old 2005-05-11 03:43:05.000000000 +0200 ++++ clamd.conf 2005-05-21 14:34:47.000000000 +0200 +@@ -11,7 +11,7 @@ + # LogFile must be writable for the user running daemon. + # A full path is required. + # Default: disabled +-#LogFile /tmp/clamd.log ++LogFile /var/log/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 +@@ -31,7 +31,7 @@ + + # Log time with each message. + # Default: disabled +-#LogTime ++LogTime + + # Also log clean files. Useful in debugging but drastically increases the + # log size. +@@ -54,7 +54,7 @@ + # This option allows you to save a process identifier of the listening + # daemon (main thread). + # Default: disabled +-#PidFile /var/run/clamd.pid ++PidFile /var/run/clamav/clamd.pid + + # Optional path to the global temporary directory. + # Default: system specific (usually /tmp or /var/tmp). +@@ -69,7 +69,7 @@ + + # Path to a local socket file the daemon will listen on. + # Default: disabled +-LocalSocket /tmp/clamd ++LocalSocket /var/run/clamav/clamd + + # Remove stale socket after unclean shutdown. + # Default: disabled +@@ -141,11 +141,11 @@ + + # 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 +-#AllowSupplementaryGroups ++AllowSupplementaryGroups + + # Stop daemon when libclamav reports out of memory condition. + #ExitOnOOM diff --git a/clamav/build/freshclam.conf.patch b/clamav/build/freshclam.conf.patch new file mode 100644 index 00000000..e154c661 --- /dev/null +++ b/clamav/build/freshclam.conf.patch @@ -0,0 +1,49 @@ +--- freshclam.conf.old 2005-05-11 03:43:05.000000000 +0200 ++++ freshclam.conf 2005-05-21 14:34:47.000000000 +0200 +@@ -15,7 +15,7 @@ + + # Path to the log file (make sure it has proper permissions) + # Default: disabled +-#UpdateLogFile /var/log/freshclam.log ++UpdateLogFile /var/log/freshclam.log + + # Enable verbose logging. + # Default: disabled +@@ -32,16 +32,16 @@ + + # This option allows you to save the process identifier of the daemon + # Default: disabled +-#PidFile /var/run/freshclam.pid ++PidFile /var/run/clamav/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 +-#AllowSupplementaryGroups ++AllowSupplementaryGroups + + # Use DNS to verify virus database version. Freshclam uses DNS TXT records + # to verify database and software versions. With this directive you can change +@@ -66,7 +66,7 @@ + + # Number of database checks per day. + # Default: 12 (every two hours) +-#Checks 24 ++Checks 24 + + # Proxy settings + # Default: disabled +@@ -82,7 +82,7 @@ + + # Send the RELOAD command to clamd. + # Default: disabled +-#NotifyClamd ++NotifyClamd + # By default it uses the hardcoded configuration file but you can force an + # another one. + #NotifyClamd /config/file/path |