| 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="/path/to/mirrordir"; |
| 16 |
|
| 17 |
# Output options |
| 18 |
$verbose=0; |
| 19 |
$progress=0; |
| 20 |
$debug=0; |
| 21 |
|
| 22 |
# Download options |
| 23 |
$host="ftp.debian.org"; |
| 24 |
$user="anonymous"; |
| 25 |
$passwd="anonymous@"; |
| 26 |
$remoteroot="debian"; |
| 27 |
$download_method="ftp"; |
| 28 |
$omit_suite_symlinks=0; |
| 29 |
$skippackages=0; |
| 30 |
$i18n=0; |
| 31 |
$getcontents=0; |
| 32 |
$do_source=1; |
| 33 |
$max_batch=0; |
| 34 |
|
| 35 |
# Multiple distributions, sections, arches, extras may be specified at once, |
| 36 |
# separated by commas as in the lines below. |
| 37 |
# Uncomment the next string to mirror bookworm distributions. |
| 38 |
# Otherwise, sid is the default. |
| 39 |
# @dists="bookworm,bookworm-updates,bookworm-backports"; |
| 40 |
@sections="main,main/debian-installer,contrib,non-free,non-free-firmware"; |
| 41 |
@arches="i386"; |
| 42 |
# If you wish to create custom CD images using for example debian-cd, you |
| 43 |
# will probably also want to mirror doc and tools. |
| 44 |
# @rsync_extra="trace,doc,tools"; |
| 45 |
# @di_dists="dists"; |
| 46 |
# @di_archs="arches"; |
| 47 |
|
| 48 |
# Multiple includes, excludes and other options with regex arguments |
| 49 |
# may be specified at once as a perl array. |
| 50 |
# For example the next string excludes the following sections: |
| 51 |
# all "debug", "contrib/games", "main/sound" and all "tex" but not "text". |
| 52 |
# @excludes_deb_section=("debug", "contrib/games", "^sound", "tex\$"); |
| 53 |
|
| 54 |
# Uncomment the next line to limit download to files with the specified |
| 55 |
# Debian priority. |
| 56 |
# @limit_priority=("required", "important", "standard", "optional", "extra"); |
| 57 |
|
| 58 |
# Uncomment the following string to completely exclude debug symbols and |
| 59 |
# developer files if you do not need them. |
| 60 |
# @excludes=("-dbg_", "-dev_"); |
| 61 |
# @includes=""; |
| 62 |
# @ignores=""; |
| 63 |
|
| 64 |
# Save mirror state between runs; value sets validity of cache in days |
| 65 |
$state_cache_days=0; |
| 66 |
|
| 67 |
# Security/Sanity options |
| 68 |
# @keyrings="/path/to/keyrings/file"; |
| 69 |
$ignore_release_gpg=0; |
| 70 |
$check_gpg=1; |
| 71 |
$ignore_missing_release=0; |
| 72 |
$verify_checksums=0; |
| 73 |
$ignore_small_errors=0; |
| 74 |
|
| 75 |
# Cleanup |
| 76 |
$pre_cleanup=0; |
| 77 |
$post_cleanup=1; |
| 78 |
|
| 79 |
# Locking options |
| 80 |
$timeout=300; |
| 81 |
|
| 82 |
# Rsync options |
| 83 |
$rsync_batch=200; |
| 84 |
# Uncomment next line to specify standard rsync options with |
| 85 |
# an additional transfer rate limit of 5MiB/s. |
| 86 |
# $rsync_options="-aIL --partial --bwlimit=5M"; |
| 87 |
|
| 88 |
# FTP/HTTP options |
| 89 |
$passive=0; |
| 90 |
# $proxy="http://proxy:port/"; |
| 91 |
|
| 92 |
# Dry run |
| 93 |
$dry_run=0; |
| 94 |
|
| 95 |
# Don't keep diff files but use them |
| 96 |
$diff_mode="use"; |
| 97 |
|
| 98 |
# The config file must return true or perl complains. |
| 99 |
# Always copy this. |
| 100 |
1; |