Develop and Download Open Source Software

Browse CVS Repository

Contents of /clamav-update/clamav-update/clamav-update.conf

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.7 - (show annotations) (download)
Mon Feb 5 16:39:14 2007 UTC (17 years, 2 months ago) by okamura
Branch: MAIN
CVS Tags: v2_0_1, v2_0
Changes since 1.6: +23 -54 lines
version 2.0 用にコーディネート
clamav-update.pl の 1.x 用からの主な変更点は clamav-update.pl の CHANGE LOG に記載。
install.sh と Mac OS X 用のラッパー install.command の追加。
それにともない INSTALL の変更。
その日本語版 INSTALL.ja.utf-8 の追加。
install.sh が利用するテンプレートファイルを追加。
*.conf を 2.0 用に更新。

1 # Sample clamav-update.conf
2 # In the default, put this file to /usr/local/clamXav/etc/ .
3 # If you want to use the other file, issue clamav-update.pl with --config
4 # option.
5 # ex) clamav-update.pl --config /etc/clamav-update.conf
6
7 # $Id: clamav-update.conf,v 1.6 2007/02/03 12:20:18 okamura Exp $
8
9 #### Logging ####
10 # log destination
11 # GLOB destinations
12 # \*STDOUT - standerd output
13 # \*STDERR - standerd error output
14 # Syslog destinations
15 # 'unix' - unix domain socket
16 # ['stream', 'FILE_PATH'] - the file of which path name is FILE_PATH
17 # 'inet' - INET socket (either tcp or udp, tried in that order) returned by getservbyname()
18 # 'tcp' - tcp socket returned by getservbyname()
19 # 'udp' - udp socket returned by getservbyname()
20 # 'console' - console
21 #$Setting{logging}->{setlogsock} = \*STDERR;
22
23 # log level
24 # 'emerg' - A panic condition.
25 # 'alert' - A condition that should be corrected immediately.
26 # 'crit' - Critical conditions.
27 # 'err' - Errors.
28 # 'warning' - Warning messages.
29 # 'notice' - Conditions that are not error conditions, but should possibly be
30 # handled specially.
31 # 'info' - Informational messages.
32 # 'debug' - Messages that contain information normally of use only when
33 # debugging a program.
34 #$Setting{logging}->{setlogmask} = 'warning';
35
36 # log identity (only syslog)
37 # 'NAME' - NAME is prepended to every message.
38 #$Setting{logging}->{openlog}->{ident} = 'clamav-update';
39
40 # log options (only syslog)
41 # ['OPTION1', 'OPTION2' ...] or [qw(OPTION1 OPTION2 ...)]
42 # ndelay - Open the connection to syslogd(8) immediately.
43 # perror - Write the message to standard error output as well to the system log.
44 # pid - Log the process id with each message.
45 #$Setting{logging}->{openlog}->{logopt} = [qw()];
46
47 # log facility (only syslog)
48 # 'console' - Messages written to /dev/console by the kernel console output
49 # driver.
50 # 'daemon' - System daemons, such as routed(8), that are not provided for
51 # explicitly by other facilities.
52 # 'mail' - The mail system.
53 # 'news' - The network news system.
54 # 'user' - Messages generated by random user processes.
55 # 'local1' - for other purpose.
56 # 'local2' - for other purpose.
57 # 'local3' - for other purpose.
58 # 'local4' - for other purpose.
59 # 'local5' - for other purpose.
60 # 'local6' - for other purpose.
61 # 'local7' - for other purpose.
62 #$Setting{logging}->{openlog}->{facility} = 'local6';
63
64
65 #### Environment Variables ####
66 # $Setting{environment}->{VARNAME} = 'VALUE';
67 # PATH
68 #$Setting{environment}->{PATH} = '/bin:/sbin:/usr/bin:/usr/sbin:/usr/local/clamXav/bin';
69
70
71 #### Getting Version Method ####
72 # latest version
73 # command to get
74 #$Setting->{version}->{latest}->{command} = [qw(host -t txt current.cvd.clamav.net)];
75
76 # the regular expression that is applied to command output
77 #$Setting->{version}->{latest}->{regexp} = qr/"(\d+(?:\.\d+)*):\d+:\d+:\d+:[^"]*"\s*$/;
78
79 # current version
80 # command to get
81 #$Setting->{version}->{current}->{command} = [qw(clamav-config --version)];
82
83 # the regular expression that is applied to command output
84 #$Setting->{version}->{current}->{regexp} = qr/^(\d+(?:\.\d+)*)\s*$/;
85
86 # version string compare function
87 #$Setting->{version}->{compare} = sub {
88 # my ($a, $b) = @_;
89 # my @a = reverse(split(/\./, $a));
90 # my @b = reverse(split(/\./, $b));
91 #
92 # while (0 < scalar(@a) and 0 < scalar(@b)) {
93 # $a = pop @a;
94 # $b = pop @b;
95 # return -1 if ($a < $b);
96 # return 1 if ($a > $b);
97 # }
98 # return 1 if (0 < scalar(@a));
99 # return -1 if (0 < scalar(@b));
100 # return 0;
101 #};
102
103
104 #### Options ####
105 # These settings will be overwrited with command line options.
106 # download from
107 # 'http://jaist.dl.sourceforge.net/sourceforge/clamav' - Asia: Ishikawa, Japan
108 # 'http://nchc.dl.sourceforge.net/sourceforge/clamav' - Asia: Tainan, Taiwan
109 # 'http://optusnet.dl.sourceforge.net/sourceforge/clamav' - Australia: Sydney, Australia
110 # 'http://surfnet.dl.sourceforge.net/sourceforge/clamav' - Europe: Amsterdam, The Netherlands
111 # 'http://belnet.dl.sourceforge.net/sourceforge/clamav' - Europe: Brussels, Belgium
112 # 'http://heanet.dl.sourceforge.net/sourceforge/clamav' - Europe: Dublin, Ireland
113 # 'http://mesh.dl.sourceforge.net/sourceforge/clamav' - Europe: Duesseldorf, Germany
114 # 'http://kent.dl.sourceforge.net/sourceforge/clamav' - Europe: Kent, UK
115 # 'http://switch.dl.sourceforge.net/sourceforge/clamav' - Europe: Lausanne, Switzerland
116 # 'http://ovh.dl.sourceforge.net/sourceforge/clamav' - Europe: Paris, France
117 # 'http://superb-east.dl.sourceforge.net/sourceforge/clamav' - North America: McLean, Virginia
118 # 'http://umn.dl.sourceforge.net/sourceforge/clamav' - North America: Minneapolis, MN
119 # 'http://easynews.dl.sourceforge.net/sourceforge/clamav' - North America: Phoenix, AZ
120 # 'http://superb-west.dl.sourceforge.net/sourceforge/clamav' - North America: Seattle, Washington
121 # 'http://ufpr.dl.sourceforge.net/sourceforge/clamav' - South America: Curitiba, Brazil
122 #$Setting{option}->{src} = 'http://jaist.dl.sourceforge.net/sourceforge/clamav';
123
124 # download to
125 #$Setting{option}->{dst} = tempdir(CLEANUP => 1);
126
127 # package name (don't change for clamav)
128 #$Setting{option}->{name} = 'clamav';
129
130 # archive file extention (don't change for clamav)
131 #$Setting{option}->{ext} = 'tar.gz';
132
133 # force install
134 #$Setting{option}->{force} = 0;
135
136
137 #### Update Phases Sepcification ####
138 # phase sequence
139 # each item must be defined as key of %Phase.
140 #$Setting{phase}->{sequence} = [qw(download extract build install)];
141
142 # custom phase specifier
143 # built-in specifier:
144 # \&PhaseSpecifier4General
145 # install ClamAV to /usr/local/ from tar.gz file.
146 # \&PhaseSpecifier4ClamAV4ClamXav
147 # install ClamAV to /usr/local/clamXav/ from tar.gz file.
148 # change owner and group of some files or directories.
149 # \&PhaseSpecifier4PkgOnDmg
150 # install something from pkg file in dmg file.
151 # (for Mac OS X)
152 # \&PhaseSpecifier4ClamavUpdate
153 # install clamav-update to /usr/local/ from tar.gz file.
154 # \&PhaseSpecifier4ClamavUpdate4ClamXav
155 # install clamav-update to /usr/local/clamXav/ from tar.gz file.
156 # (see clamav-update.pl for detail.)
157 # You can use your no-name function.
158 # ex) sub { ... }
159 # See PhaseSpecifier4General and PhaseSpecifier4ClamAV4ClamXav definition
160 # on clamav-update.pl. They are good samples.
161 #$Setting{phase}->{specifier} = \&PhaseSpecifier4ClamAV4ClamXav;
162
163
164 #### DO NOT EDIT ####
165 1;

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26