Browse code

we need a config file for freshclam just to test -V, use a minimal one.

git-svn: trunk@4304

Török Edvin authored on 2008/10/30 04:06:27
Showing 2 changed files
... ...
@@ -1,3 +1,8 @@
1
+Wed Oct 29 21:34:01 EET 2008 (edwin)
2
+------------------------------------
3
+ * unit_tests/test-freshclam.conf: we need a config file for
4
+ freshclam just to test -V, use a minimal one.
5
+
1 6
 Wed Oct 29 21:22:15 EET 2008 (edwin)
2 7
 ------------------------------------
3 8
  * Makefile.am, Makefile.in, configure, configure.in: fix make
... ...
@@ -1,143 +1 @@
1
-##
2
-## Example config file for freshclam
3
-## Please read the freshclam.conf(5) manual before editing this file.
4
-##
5
-
6
-
7
-# Comment or remove the line below.
8
-#Example
9
-
10
-# Path to the database directory.
11
-# WARNING: It must match clamd.conf's directive!
12
-# Default: hardcoded (depends on installation options)
13
-#DatabaseDirectory /var/lib/clamav
14
-
15
-# Path to the log file (make sure it has proper permissions)
16
-# Default: disabled
17
-#UpdateLogFile /var/log/freshclam.log
18
-
19
-# Maximum size of the log file.
20
-# Value of 0 disables the limit.
21
-# You may use 'M' or 'm' for megabytes (1M = 1m = 1048576 bytes)
22
-# and 'K' or 'k' for kilobytes (1K = 1k = 1024 bytes).
23
-# in bytes just don't use modifiers.
24
-# Default: 1M
25
-#LogFileMaxSize 2M
26
-
27
-# Log time with each message.
28
-# Default: no
29
-#LogTime yes
30
-
31
-# Enable verbose logging.
32
-# Default: no
33
-#LogVerbose yes
34
-
35
-# Use system logger (can work together with UpdateLogFile).
36
-# Default: no
37
-#LogSyslog yes
38
-
39
-# Specify the type of syslog messages - please refer to 'man syslog'
40
-# for facility names.
41
-# Default: LOG_LOCAL6
42
-#LogFacility LOG_MAIL
43
-
44
-# This option allows you to save the process identifier of the daemon
45
-# Default: disabled
46
-#PidFile /var/run/freshclam.pid
47
-
48
-# By default when started freshclam drops privileges and switches to the
49
-# "clamav" user. This directive allows you to change the database owner.
50
-# Default: clamav (may depend on installation options)
51
-#DatabaseOwner clamav
52
-
53
-# Initialize supplementary group access (freshclam must be started by root).
54
-# Default: no
55
-#AllowSupplementaryGroups yes
56
-
57
-# Use DNS to verify virus database version. Freshclam uses DNS TXT records
58
-# to verify database and software versions. With this directive you can change
59
-# the database verification domain.
60
-# WARNING: Do not touch it unless you're configuring freshclam to use your
61
-# own database verification domain.
62
-# Default: current.cvd.clamav.net
63
-#DNSDatabaseInfo current.cvd.clamav.net
64
-
65
-# Uncomment the following line and replace XY with your country
66
-# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
67
-#DatabaseMirror db.XY.clamav.net
68
-
69
-# database.clamav.net is a round-robin record which points to our most 
70
-# reliable mirrors. It's used as a fall back in case db.XY.clamav.net is 
71
-# not working. DO NOT TOUCH the following line unless you know what you
72
-# are doing.
73
-DatabaseMirror database.clamav.net
74
-
75
-# How many attempts to make before giving up.
76
-# Default: 3 (per mirror)
77
-#MaxAttempts 5
78
-
79
-# With this option you can control scripted updates. It's highly recommended
80
-# to keep it enabled.
81
-# Default: yes
82
-#ScriptedUpdates yes
83
-
84
-# By default freshclam will keep the local databases (.cld) uncompressed to
85
-# make their handling faster. With this option you can enable the compression;
86
-# the change will take effect with the next database update.
87
-# Default: no
88
-#CompressLocalDatabase no
89
-
90
-# Number of database checks per day.
91
-# Default: 12 (every two hours)
92
-#Checks 24
93
-
94
-# Proxy settings
95
-# Default: disabled
96
-#HTTPProxyServer myproxy.com
97
-#HTTPProxyPort 1234
98
-#HTTPProxyUsername myusername
99
-#HTTPProxyPassword mypass
100
-
101
-# If your servers are behind a firewall/proxy which applies User-Agent
102
-# filtering you can use this option to force the use of a different
103
-# User-Agent header.
104
-# Default: clamav/version_number
105
-#HTTPUserAgent SomeUserAgentIdString
106
-
107
-# Use aaa.bbb.ccc.ddd as client address for downloading databases. Useful for
108
-# multi-homed systems.
109
-# Default: Use OS'es default outgoing IP address.
110
-#LocalIPAddress aaa.bbb.ccc.ddd
111
-
112
-# Send the RELOAD command to clamd.
113
-# Default: no
114
-#NotifyClamd /path/to/clamd.conf
115
-
116
-# Run command after successful database update.
117
-# Default: disabled
118
-#OnUpdateExecute command
119
-
120
-# Run command when database update process fails.
121
-# Default: disabled
122
-#OnErrorExecute command
123
-
124
-# Run command when freshclam reports outdated version.
125
-# In the command string %v will be replaced by the new version number.
126
-# Default: disabled
127
-#OnOutdatedExecute command
128
-
129
-# Don't fork into background.
130
-# Default: no
131
-#Foreground yes
132
-
133
-# Enable debug messages in libclamav.
134
-# Default: no
135
-#Debug yes
136
-
137
-# Timeout in seconds when connecting to database server.
138
-# Default: 30
139
-#ConnectTimeout 60
140
-
141
-# Timeout in seconds when reading from database server.
142
-# Default: 30
143
-#ReceiveTimeout 60
1
+DatabaseMirror 127.0.0.1