# debian-dists defines mirror packages for
# one or more Debian binary distributions.
# For use with the mirror perl script.
# Version: 1.18 2001/11/03
#
# Copyright (C) 2001 Ian Maclaine-cross <i.maclaine-cross@unsw.edu.au>
# You may use this only under the conditions of the General Public
# License in file GPL.
#
# See /usr/share/doc/mirror/README.quick for beginner's instructions
# and "man mirror" for a guide to the program and documentation.
# Other control file examples are in /usr/share/doc/mirror/examples.
#
# Downloads daily ls-lR.patch.gz files (man mkls-lR) from remote site
# to minimize directory download but needs >100MB of local memory+swap.
#
# The patch packages for each debian package allow mirroring of just the
# remote_ls-lR. The patch package gets the ls-lR.patch.gz and applies it.
# Debian sometimes makes late or extra patch files so an extra daily patch
# run avoids misses reducing download.
#
# Change the three site= lines to the FQDN of your upstream Debian mirrors.
# If you have a single site with the three debian distribution trees you
# can comment out the last two and just use the first.
#
# Inside the USA, /var/lib/mirror/ in the local_dir= lines of the last
# two defaults packages prevent illegal software export when your FTP
# server uses /home/ftp/.  Outside the USA, change the two
# /var/lib/mirror/ by uncommenting the last lines of these packages.
#
# To download current "stable" uncomment second last line of first
# defaults package and change "potato" to current stable Debian
# distribution in dists/.  "potato" required about 2.5 GB of disk
# storage. Replacing "potato" by "(potato|woody)" would download both
# distributions.  The "testing" distribution has files in the "pool"
# tree without symlinks. Uncommenting the last line of the first
# defaults package to get them required about 6 extra GB of disk at
# 2001/11/02.  Change or add to "i386|all" only if your CPUs are not
# Intel 80386 compatible.
#
# If runs with "No files to transfer" report "Not symlinking ... as no
# path ..." uncomment the get_symlink_files= line in the first
# defaults.  Uncomment the delete_excl= line only if the last line of
# this package is commented.

package=defaults
	site=ftp.us.debian.org
	remote_dir=/debian/
	local_dir=/home/ftp/pub/debian
	local_ls_lR_file=remote_ls-lR
	# get_symlink_files=true
	# delete_excl+|^pool/
	get_patt=^[^/]+$|^tools|^dists/[^/]+$
	# get_patt+|^dists/potato/.*(Contents|binary|disks|upgrade)-(i386|all)
	# get_patt+|^pool/.*_(i386|all)\.deb$

package=patch
	exclude_patt=.
	do_deletes=false
	recursive=false
	ls_lR_file=ls-lR.patch.gz
	# ls_lR_file=ls-lR.times

package=debian

package=defaults
	site=ftp.uk.debian.org
	remote_dir=/debian-non-US/
	local_dir=/var/lib/mirror/debian-non-US
	# local_dir=/home/ftp/pub/debian-non-US

package=patch-non-US
	exclude_patt=.
	do_deletes=false
	recursive=false
	ls_lR_file=ls-lR.patch.gz
	# ls_lR_file=ls-lR.times

package=debian-non-US

package=defaults
	site=non-us.debian.org
	remote_dir=/debian-security/
	local_dir=/var/lib/mirror/debian-security
	# local_dir=/home/ftp/pub/debian-security

package=debian-security
	local_ls_lR_file=



