summaryrefslogtreecommitdiffstats
path: root/clamav/build/freshclam.conf.patch
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2007-02-14 10:25:45 +0000
committer Eric Hameleers <alien@slackware.com>2007-02-14 10:25:45 +0000
commit2cb029b2c5bd767226ff9edd25705bc80a17b8b5 (patch)
treeeb524fbb89ed159e87537b95c430eac259087dad /clamav/build/freshclam.conf.patch
parent9ea7672846eee0ddec34a3b1a89a8ce7c90d0a5c (diff)
downloadasb-2cb029b2c5bd767226ff9edd25705bc80a17b8b5.tar.gz
asb-2cb029b2c5bd767226ff9edd25705bc80a17b8b5.tar.xz
Updated patch
Diffstat (limited to 'clamav/build/freshclam.conf.patch')
-rw-r--r--clamav/build/freshclam.conf.patch65
1 files changed, 41 insertions, 24 deletions
diff --git a/clamav/build/freshclam.conf.patch b/clamav/build/freshclam.conf.patch
index e154c661..ce48380a 100644
--- a/clamav/build/freshclam.conf.patch
+++ b/clamav/build/freshclam.conf.patch
@@ -1,15 +1,32 @@
---- 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 @@
+--- freshclam.conf.orig 2007-02-11 10:54:46.000000000 +0100
++++ freshclam.conf 2007-02-14 09:46:29.000000000 +0100
+@@ -5,12 +5,12 @@
+
+
+ # 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 /usr/share/clamav
# Path to the log file (make sure it has proper permissions)
# Default: disabled
--#UpdateLogFile /var/log/freshclam.log
-+UpdateLogFile /var/log/freshclam.log
+@@ -22,25 +22,25 @@
- # Enable verbose logging.
- # Default: disabled
-@@ -32,16 +32,16 @@
+ # Use system logger (can work together with UpdateLogFile).
+ # Default: no
+-#LogSyslog yes
++LogSyslog yes
+
+ # Specify the type of syslog messages - please refer to 'man syslog'
+ # for facility names.
+ # Default: LOG_LOCAL6
+-#LogFacility LOG_MAIL
++LogFacility LOG_MAIL
# This option allows you to save the process identifier of the daemon
# Default: disabled
@@ -23,27 +40,27 @@
+DatabaseOwner clamav
# Initialize supplementary group access (freshclam must be started by root).
- # Default: disabled
--#AllowSupplementaryGroups
-+AllowSupplementaryGroups
+ # Default: no
+-#AllowSupplementaryGroups yes
++AllowSupplementaryGroups yes
# 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 @@
+@@ -52,7 +52,7 @@
- # Number of database checks per day.
- # Default: 12 (every two hours)
--#Checks 24
-+Checks 24
+ # Uncomment the following line and replace XY with your country
+ # code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
+-#DatabaseMirror db.XY.clamav.net
++DatabaseMirror db.nl.clamav.net
- # Proxy settings
- # Default: disabled
-@@ -82,7 +82,7 @@
+ # 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
+@@ -92,7 +92,7 @@
# Send the RELOAD command to clamd.
+ # Default: no
+-#NotifyClamd /path/to/clamd.conf
++NotifyClamd /etc/clamd.conf
+
+ # Run command after successful database update.
# Default: disabled
--#NotifyClamd
-+NotifyClamd
- # By default it uses the hardcoded configuration file but you can force an
- # another one.
- #NotifyClamd /config/file/path