]> git.pld-linux.org Git - packages/clamav.git/blame - clamav-pld_config.patch
- package /usr/bin/clamconf
[packages/clamav.git] / clamav-pld_config.patch
CommitLineData
8934b66c
ER
1--- clamav-0.90rc2/etc/clamd.conf 2006-10-29 00:25:26.000000000 +0300
2+++ clamav-0.90rc2.pld/etc/clamd.conf 2006-11-05 17:18:53.305030378 +0200
0c604439 3@@ -5,13 +5,13 @@
5664ab19 4
c935072a
MK
5
6 # Comment or remove the line below.
7-Example
0c604439 8+#Example
c935072a
MK
9
10 # Uncomment this option to enable logging.
0c604439 11 # LogFile must be writable for the user running daemon.
12 # A full path is required.
13 # Default: disabled
c935072a 14-#LogFile /tmp/clamd.log
0c604439 15+#LogFile /var/log/clamd.log
c935072a
MK
16
17 # By default the log file is locked for writing - the lock protects against
18 # running clamd multiple times (if want to run another clamd, please
0c604439 19@@ -40,7 +40,7 @@
c935072a
MK
20
21 # Use system logger (can work together with LogFile).
8934b66c
ER
22 # Default: no
23-#LogSyslog yes
24+LogSyslog yes
c935072a 25
7259763f 26 # Specify the type of syslog messages - please refer to 'man syslog'
0c604439 27 # for facility names.
28@@ -54,7 +54,7 @@
29 # This option allows you to save a process identifier of the listening
c935072a 30 # daemon (main thread).
0c604439 31 # Default: disabled
c935072a 32-#PidFile /var/run/clamd.pid
5664ab19
MK
33+PidFile /var/run/clamav/clamd.pid
34
35 # Optional path to the global temporary directory.
0c604439 36 # Default: system specific (usually /tmp or /var/tmp).
37@@ -69,7 +69,7 @@
38
39 # Path to a local socket file the daemon will listen on.
8934b66c 40 # Default: disabled (must be specified by a user)
c935072a 41-LocalSocket /tmp/clamd
c935072a
MK
42+LocalSocket /var/lib/clamav/clamd.socket
43
e41d1146 44 # Remove stale socket after unclean shutdown.
8934b66c
ER
45 # Default: no
46@@ -141,11 +141,11 @@
0c604439 47
48 # Run as a selected user (clamd must be started by root).
8934b66c 49 # Default: don't drop privileges
c935072a
MK
50-#User clamav
51+User clamav
52
0c604439 53 # Initialize supplementary group access (clamd must be started by root).
8934b66c
ER
54 # Default: no
55-#AllowSupplementaryGroups no
56+AllowSupplementaryGroups yes
c935072a 57
8934b66c
ER
58 # Stop daemon when libclamav reports out of memory condition.
59 #ExitOnOOM yes
60@@ -303,15 +303,15 @@
0c604439 61
62 # Set access mask for Clamuko.
8934b66c
ER
63 # Default: no
64-#ClamukoScanOnOpen yes
65-#ClamukoScanOnClose yes
66-#ClamukoScanOnExec yes
67+ClamukoScanOnOpen yes
68+ClamukoScanOnClose yes
69+ClamukoScanOnExec yes
0c604439 70
71 # Set the include paths (all files in them will be scanned). You can have
72 # multiple ClamukoIncludePath directives but each directory must be added
73 # in a seperate line.
74 # Default: disabled
75-#ClamukoIncludePath /home
76+ClamukoIncludePath /home
77 #ClamukoIncludePath /students
78
79 # Set the exclude paths. All subdirectories are also excluded.
8934b66c
ER
80--- clamav-0.90rc2/etc/freshclam.conf 2006-10-16 02:38:54.000000000 +0300
81+++ clamav-0.90rc2.pld/etc/freshclam.conf 2006-11-05 17:19:32.115904497 +0200
82@@ -2,10 +2,14 @@
83 ## Example config file for freshclam
0c604439 84 ## Please read the freshclam.conf(5) manual before editing this file.
c935072a 85 ##
0c604439 86-
5664ab19
MK
87+## PLD NOTE: Note that freshclam is called periodically via cron
88+## Check /etc/sysconfig/clamd for details
89+## Seems better to run task once per period than keep daemon running
0c604439 90+## only for that.
5664ab19
MK
91+## But if you have arguments please tell us.
92
0c604439 93 # Comment or remove the line below.
94-Example
95+#Example
96
97 # Path to the database directory.
98 # WARNING: It must match clamd.conf's directive!
8934b66c 99@@ -18,11 +22,11 @@
5664ab19
MK
100
101 # Enable verbose logging.
8934b66c
ER
102 # Default: no
103-#LogVerbose yes
104+LogVerbose yes
5664ab19 105
0ad46739 106 # Use system logger (can work together with UpdateLogFile).
8934b66c
ER
107 # Default: no
108-#LogSyslog yes
109+LogSyslog yes
0ad46739 110
7259763f 111 # Specify the type of syslog messages - please refer to 'man syslog'
0c604439 112 # for facility names.
8934b66c 113@@ -36,7 +40,7 @@
0c604439 114 # By default when started freshclam drops privileges and switches to the
115 # "clamav" user. This directive allows you to change the database owner.
116 # Default: clamav (may depend on installation options)
5664ab19
MK
117-#DatabaseOwner clamav
118+DatabaseOwner clamav
119
8934b66c
ER
120 # Initialize supplementary group access (freshclam must be started by root).
121 # Default: no
122@@ -66,7 +70,7 @@
5664ab19 123
0c604439 124 # Number of database checks per day.
125 # Default: 12 (every two hours)
126-#Checks 24
5664ab19
MK
127+Checks 2
128
129 # Proxy settings
0c604439 130 # Default: disabled
8934b66c
ER
131@@ -88,7 +92,7 @@
132
133 # Send the RELOAD command to clamd.
134 # Default: no
135-#NotifyClamd /path/to/clamd.conf
8fc2b93e 136+NotifyClamd /etc/clamd.conf
c935072a 137
0c604439 138 # Run command after successful database update.
139 # Default: disabled
This page took 0.125097 seconds and 4 git commands to generate.