3 'class_description' => 'Configuration model to edit C</etc/approc/approx.conf>. This file can be edited with the following command:
5 config-edit -application approx
10 'file' => 'approx.conf',
11 'backend' => 'custom',
12 'class' => 'Config::Model::Approx',
13 'config_dir' => '/etc/approx'
18 '2011, Dominique Dumont'
23 'license' => 'LGPL-2.1+',
27 'value_type' => 'uniline',
28 'summary' => 'approx cache directory',
29 'upstream_default' => '/var/cache/approx',
30 'experience' => 'advanced',
32 'description' => 'Specifies the location of the approx cache directory (default: /var/cache/approx). It and all its subdirectories must be owned by the approx server (see also the $user and $group parameters, below.)'
36 'value_type' => 'integer',
37 'summary' => 'file cache expiration in minutes',
38 'upstream_default' => '720',
39 'experience' => 'advanced',
41 'description' => 'Specifies the time in minutes after which a cached file will be considered too old to deliver without first checking with the remote repository for a newer version'
45 'value_type' => 'uniline',
46 'summary' => 'maximum download rate from remote repositories',
48 'description' => "Specifies the maximum download rate from remote repositories, in bytes per second (default: unlimited). The value may be suf\x{2010} fixed with \"K\", \"M\", or \"G\" to indicate kilobytes, megabytes, or gigabytes per second, respectively."
52 'value_type' => 'integer',
53 'summary' => 'maximum number of HTTP redirections',
54 'upstream_default' => '5',
56 'description' => 'Specifies the maximum number of HTTP redirections that will be followed when downloading a remote file'
60 'value_type' => 'uniline',
61 'summary' => 'user that owns the files in the approx cache',
62 'upstream_default' => 'approx',
67 'value_type' => 'uniline',
68 'summary' => 'group that owns the files in the approx cache',
69 'upstream_default' => 'approx',
74 'value_type' => 'uniline',
75 'summary' => 'syslog(3) facility to use when logging',
76 'upstream_default' => 'daemon',
81 'value_type' => 'boolean',
82 'summary' => 'support IndexFile diffs',
83 'upstream_default' => '1',
88 'value_type' => 'boolean',
89 'summary' => 'use cached files when offline',
90 'upstream_default' => '0',
92 'description' => 'Specifies whether to deliver (possibly out-of-date) cached files when they cannot be downloaded from remote repositories'
96 'value_type' => 'integer',
97 'summary' => 'max wait for concurrent file download',
98 'upstream_default' => '10',
100 'description' => 'Specifies how many seconds an approx(8) process will wait for a concurrent download of a file to complete, before attempting to download the file itself'
104 'value_type' => 'boolean',
105 'upstream_default' => '0',
107 'description' => 'Specifies whether informational messages should be printed in the log'
111 'value_type' => 'boolean',
112 'upstream_default' => '0',
114 'description' => 'Specifies whether debug messages should be printed in the log'
118 'level' => 'important',
120 'value_type' => 'uniline',
123 'summary' => 'remote repositories',
125 'description' => 'The other name/value pairs are used to map distribution names to remote repositories. For example,
127 debian => http://ftp.debian.org/debian
128 security => http://security.debian.org/debian-security
130 Use the distribution name as the key of the hash element and the URL as the value
132 'index_type' => 'string'