summaryrefslogtreecommitdiff
path: root/system/clamav/config/freshclam.conf.patch
diff options
context:
space:
mode:
authorYalla-One <yallaone@gmail.com>2010-05-13 00:39:54 +0200
committerRobby Workman <rworkman@slackbuilds.org>2010-05-13 00:39:54 +0200
commit8b9fb0d47dbe3761753a21493b737829a96bd146 (patch)
tree231be308f496929a9d0265572199c4e80670da96 /system/clamav/config/freshclam.conf.patch
parent08a7ad2bc91317a6627d5de166a66fe99a152d66 (diff)
downloadslackbuilds-8b9fb0d47dbe3761753a21493b737829a96bd146.tar.gz
system/clamav: Updated for version 0.95.2
Diffstat (limited to 'system/clamav/config/freshclam.conf.patch')
-rw-r--r--system/clamav/config/freshclam.conf.patch61
1 files changed, 61 insertions, 0 deletions
diff --git a/system/clamav/config/freshclam.conf.patch b/system/clamav/config/freshclam.conf.patch
new file mode 100644
index 0000000000..a55c90cd9a
--- /dev/null
+++ b/system/clamav/config/freshclam.conf.patch
@@ -0,0 +1,61 @@
+diff -Nur clamav-0.95.2.orig/etc/freshclam.conf clamav-0.95.2/etc/freshclam.conf
+--- clamav-0.95.2.orig/etc/freshclam.conf 2009-03-16 13:43:35.000000000 -0500
++++ clamav-0.95.2/etc/freshclam.conf 2009-08-10 10:53:12.146515711 -0500
+@@ -5,7 +5,7 @@
+
+
+ # Comment or remove the line below.
+-Example
++#Example
+
+ # Path to the database directory.
+ # WARNING: It must match clamd.conf's directive!
+@@ -34,25 +34,25 @@
+
+ # 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
+-#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: 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
+@@ -64,7 +64,7 @@
+
+ # 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.@COUNTRY@.clamav.net
+
+ # 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
+@@ -111,7 +111,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