1 | # Default config for debmirror |
---|
2 | |
---|
3 | # The config file is a perl script so take care to follow perl syntax. |
---|
4 | # Any setting in /etc/debmirror.conf overrides these defaults and |
---|
5 | # ~/.debmirror.conf overrides those again. Take only what you need. |
---|
6 | # |
---|
7 | # The syntax is the same as on the command line and variable names |
---|
8 | # loosely match option names. If you don't recognize something here |
---|
9 | # then just stick to the command line. |
---|
10 | # |
---|
11 | # Options specified on the command line override settings in the config |
---|
12 | # files. |
---|
13 | |
---|
14 | # Location of the local mirror (use with care) |
---|
15 | $mirrordir="{{MIRRORPATH}}"; |
---|
16 | |
---|
17 | # Output options |
---|
18 | $verbose=0; |
---|
19 | $progress=1; |
---|
20 | $debug=0; |
---|
21 | |
---|
22 | # Download options |
---|
23 | $host="{{ URL }}"; |
---|
24 | #$user=""; |
---|
25 | #$passwd="anonymous@"; |
---|
26 | $remoteroot=""; |
---|
27 | $download_method="http"; |
---|
28 | @dists="{{ DISTRO }}"; |
---|
29 | @sections="{% for section in SECTIONS %}{{section}}{% if not loop.last %},{%endif%}{% endfor %}"; |
---|
30 | @arches=({% for arch in ARCHITECTURES %}"{{arch}}"{% if not loop.last %},{%endif%}{% endfor %}); |
---|
31 | |
---|
32 | $retry_rsync_packages=10; |
---|
33 | # @ignores=""; |
---|
34 | # @excludes=""; |
---|
35 | # @includes=""; |
---|
36 | # @excludes_deb_section=""; |
---|
37 | # @limit_priority=""; |
---|
38 | $omit_suite_symlinks=0; |
---|
39 | $skippackages=0; |
---|
40 | @keyrings="/etc/apt/trusted.gpg"; |
---|
41 | # @rsync_extra="doc,tools"; |
---|
42 | $i18n=0; |
---|
43 | $getcontents=0; |
---|
44 | $do_source=0; |
---|
45 | $max_batch=0; |
---|
46 | |
---|
47 | # @di_dists="dists"; |
---|
48 | # @di_archs="arches"; |
---|
49 | |
---|
50 | # Save mirror state between runs; value sets validity of cache in days |
---|
51 | $state_cache_days=0; |
---|
52 | |
---|
53 | # Security/Sanity options |
---|
54 | $ignore_release_gpg={{IGN_GPG}}; |
---|
55 | $ignore_release={{IGN_RELEASE}}; |
---|
56 | $check_md5sums={{CHK_MD5}}; |
---|
57 | $ignore_small_errors=0; |
---|
58 | |
---|
59 | # Cleanup |
---|
60 | $cleanup=0; |
---|
61 | $post_cleanup=1; |
---|
62 | |
---|
63 | # Locking options |
---|
64 | $timeout=300; |
---|
65 | |
---|
66 | # Rsync options |
---|
67 | $rsync_batch=200; |
---|
68 | $rsync_options="-aIL --partial"; |
---|
69 | |
---|
70 | # FTP/HTTP options |
---|
71 | $passive=0; |
---|
72 | # $proxy="http://proxy:port/"; |
---|
73 | |
---|
74 | # Dry run |
---|
75 | $dry_run=0; |
---|
76 | |
---|
77 | # Don't keep diff files but use them |
---|
78 | $diff_mode="use"; |
---|
79 | |
---|
80 | # The config file must return true or perl complains. |
---|
81 | # Always copy this. |
---|
82 | 1; |
---|