1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110
|
# Example parameter file for the Debian GNU/Linux "mirror" package
#
# This serves as an illustration for a valid mirror parameter file. See the
# man page mirror(1) and the files in /usr/doc/mirror/examples/* for details.
#
# You can use this as a starting point for a local mirror of parts of the
# Debian distribution. It corresponds to my current parameter file. It is
# set up to ignore non-i386 architecture packages, sources, msdos-8.3-named
# files, the mailing list archives and the WebPages for www.debian.org.
# It still takes several hundred megabytes.
#
# The second section provides a working parameter file for the non-US ftp
# archive which contains material which cannot be exported from the USA.
#
# It is good practice to test modifications by starting mirror(1) with
# the '-n' flag as in
# mirror -n /etc/mirror/packages/ftp.debian.org | tee /tmp/mirror-log
# and to analyses mirror-log.
#
# It worked for me at the time that I wrote it, but it might fail for you.
# No warranties whatsoever. Use at your own risk.
#
# Written by Dirk Eddelbuettel <edd@debian.org> and released under the GPL.
package=Debian
#
comment=Mirror of parts of ftp.debian.org/pub/debian
#
# specify remote host, directory and ls-lR file
site=ftp.debian.org
remote_dir=/pub/debian
ls_lR_file=ls-lR.gz
#
# specify the local directory
local_dir=/var/spool/mirror/debian
#
# inform this user about results
mail_to=root
#
# Now the nifty perl regular expressions. The '(A|B|C)' construct
# describes alternatives A, B and C. As '.' is a meta character that
# matches any character, we have to escape with \ in pathnames.
# See "man perlre" for information on perl's regular expressions.
# Compress these files.
compress_patt=\.*(C|c)ontents(-i386)?
compress_patt+|Packages(-Master)?|ls-lR|md5sums
compress_patt+|Maintainers|msdos-names
#
# Exclude these files or directories
# Here we exclude the released tree, all ms-dos symlinks, all source
# packages, the private tree (but see below) and the bug tree
exclude_patt=.*(-|_)m68k|ms-?dos(-i386)?/|source/|private/
exclude_patt+|debian-(bugs|lists)/
exclude_patt+|(binary|disks)-(alpha|sparc|m68k|powerpc)/
exclude_patt+|i-connect-fixes/|ALPHA-TEST/|/core$|(I|i)ncoming/
exclude_patt+|WebPages/|\.contents\.new|\.in\.|\.new-?|\.mirrorinfo
exclude_patt+|Packages(-Master)?-(alpha|powerpc|sparc)
#
# Also exclude these.
exclude_patt+|experimental/.*(\.(tar|diff)\.gz|\.dsc)$
exclude_patt+|experimental/.*_(m68k|sparc|alpha|powerpc)\.deb$
exclude_patt+|orphaned/.*(\.(tar|diff)\.gz|\.m68k\.deb|\.dsc)$
exclude_patt+|rex(-(fixed|updates))?/
exclude_patt+|bo/
exclude_patt+|bo-updates/.*(\.changes|((\.orig)?\.tar|diff)\.gz|\.dsc)
#
exclude_patt+|\.notar
#
# Uncomment the following lines to exclude BIG packages
# exclude_patt+|experimental/|disks-i386/
# exclude_patt+|xbooks_.*|picon.*|timidity.*|quake.*
# exclude_patt+|bible-kjv.*|abuse.*|scilab.*|networker.*
# exclude_patt+gnat_.*|xemacs.*|non-free/|contrib/
#
# Don't delete what is mirrored by the other mirror package below
# NB no / at end of directory names to save directories from deletion
# also save private/project directory (which contains Incoming)
#
delete_excl=(local|debian-non-US)(/|$)
#
# Do not delete if more than 20% of all files would vanish
max_delete_files=20%
package=Debian-non-US
#
comment=Mirror of nonus.debian.org:/pub/debian-non-US/binary-i386
#
# site and directory
#
site=nonus.debian.org
remote_dir=/pub/debian-non-US/
#
# mirror it into /mirror/debian
local_dir=/var/spool/mirror/debian/debian-non-US/
#
# inform this user about results
mail_to=root
#
compress_patt=\.*Contents$
compress_patt+|Packages(-Master)?$
compress_patt+||ls-lR|contents|md5sums|Maintainers|msdos-names$
#
exclude_patt=Incoming/|source/
exclude_patt+|binary-(alpha|sparc|m68k|powerpc)/
#
do_deletes=true
|