SOURCES: clamav-pld_config.patch - update to 0.92rc2
glen
glen at pld-linux.org
Sun Nov 5 16:21:25 CET 2006
Author: glen Date: Sun Nov 5 15:21:25 2006 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- update to 0.92rc2
---- Files affected:
SOURCES:
clamav-pld_config.patch (1.10 -> 1.11)
---- Diffs:
================================================================
Index: SOURCES/clamav-pld_config.patch
diff -u SOURCES/clamav-pld_config.patch:1.10 SOURCES/clamav-pld_config.patch:1.11
--- SOURCES/clamav-pld_config.patch:1.10 Fri Jan 21 16:13:47 2005
+++ SOURCES/clamav-pld_config.patch Sun Nov 5 16:21:20 2006
@@ -1,6 +1,5 @@
-diff -uN clamav-0.80-orig/etc/clamd.conf clamav-0.80/etc/clamd.conf
---- clamav-0.80-orig/etc/clamd.conf 2004-10-11 03:14:30.000000000 +0200
-+++ clamav-0.80/etc/clamd.conf 2005-01-21 15:03:26.335610128 +0100
+--- clamav-0.90rc2/etc/clamd.conf 2006-10-29 00:25:26.000000000 +0300
++++ clamav-0.90rc2.pld/etc/clamd.conf 2006-11-05 17:18:53.305030378 +0200
@@ -5,13 +5,13 @@
@@ -20,9 +19,9 @@
@@ -40,7 +40,7 @@
# Use system logger (can work together with LogFile).
- # Default: disabled
--#LogSyslog
-+LogSyslog
+ # Default: no
+-#LogSyslog yes
++LogSyslog yes
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
@@ -38,36 +37,36 @@
@@ -69,7 +69,7 @@
# Path to a local socket file the daemon will listen on.
- # Default: disabled
+ # Default: disabled (must be specified by a user)
-LocalSocket /tmp/clamd
+LocalSocket /var/lib/clamav/clamd.socket
# Remove stale socket after unclean shutdown.
- # Default: disabled
-@@ -130,11 +130,11 @@
+ # Default: no
+@@ -141,11 +141,11 @@
# Run as a selected user (clamd must be started by root).
- # Default: disabled
+ # Default: don't drop privileges
-#User clamav
+User clamav
# Initialize supplementary group access (clamd must be started by root).
- # Default: disabled
--#AllowSupplementaryGroups
-+AllowSupplementaryGroups
-
- # Don't fork into background.
- # Default: disabled
-@@ -273,15 +273,15 @@
+ # Default: no
+-#AllowSupplementaryGroups no
++AllowSupplementaryGroups yes
+
+ # Stop daemon when libclamav reports out of memory condition.
+ #ExitOnOOM yes
+@@ -303,15 +303,15 @@
# Set access mask for Clamuko.
- # Default: disabled
--#ClamukoScanOnOpen
--#ClamukoScanOnClose
--#ClamukoScanOnExec
-+ClamukoScanOnOpen
-+ClamukoScanOnClose
-+ClamukoScanOnExec
+ # Default: no
+-#ClamukoScanOnOpen yes
+-#ClamukoScanOnClose yes
+-#ClamukoScanOnExec yes
++ClamukoScanOnOpen yes
++ClamukoScanOnClose yes
++ClamukoScanOnExec yes
# Set the include paths (all files in them will be scanned). You can have
# multiple ClamukoIncludePath directives but each directory must be added
@@ -78,12 +77,11 @@
#ClamukoIncludePath /students
# Set the exclude paths. All subdirectories are also excluded.
-diff -uN clamav-0.80-orig/etc/freshclam.conf clamav-0.80/etc/freshclam.conf
---- clamav-0.80-orig/etc/freshclam.conf 2004-09-27 22:35:01.000000000 +0200
-+++ clamav-0.80/etc/freshclam.conf 2005-01-21 15:03:26.376602687 +0100
-@@ -3,10 +3,14 @@
+--- clamav-0.90rc2/etc/freshclam.conf 2006-10-16 02:38:54.000000000 +0300
++++ clamav-0.90rc2.pld/etc/freshclam.conf 2006-11-05 17:19:32.115904497 +0200
+@@ -2,10 +2,14 @@
+ ## Example config file for freshclam
## Please read the freshclam.conf(5) manual before editing this file.
- ## This file may be optionally merged with clamd.conf.
##
-
+## PLD NOTE: Note that freshclam is called periodically via cron
@@ -98,30 +96,30 @@
# Path to the database directory.
# WARNING: It must match clamd.conf's directive!
-@@ -19,11 +23,11 @@
+@@ -18,11 +22,11 @@
# Enable verbose logging.
- # Default: disabled
--#LogVerbose
-+LogVerbose
+ # Default: no
+-#LogVerbose yes
++LogVerbose yes
# Use system logger (can work together with UpdateLogFile).
- # Default: disabled
--#LogSyslog
-+LogSyslog
+ # Default: no
+-#LogSyslog yes
++LogSyslog yes
# Specify the type of syslog messages - please refer to 'man syslog'
# for facility names.
-@@ -37,7 +41,7 @@
+@@ -36,7 +40,7 @@
# 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
- # Use DNS to verify virus database version. Freshclam uses DNS TXT records
- # to verify database and software versions. We highly recommend enabling
-@@ -62,7 +66,7 @@
+ # Initialize supplementary group access (freshclam must be started by root).
+ # Default: no
+@@ -66,7 +70,7 @@
# Number of database checks per day.
# Default: 12 (every two hours)
@@ -130,11 +128,11 @@
# Proxy settings
# Default: disabled
-@@ -76,7 +80,7 @@
- #NotifyClamd
- # By default it uses the hardcoded configuration file but you can force an
- # another one.
--#NotifyClamd /config/file/path
+@@ -88,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.
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/clamav-pld_config.patch?r1=1.10&r2=1.11&f=u
More information about the pld-cvs-commit
mailing list