# debian-dist defines mirror packages for
# one or more Debian binary distributions.
# For use with the mirror perl script.
# Version: 1.23 2004/09/10

# Copyright (C) 2001-2004 Ian Maclaine-cross <iml@debian.org>
# 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 >50MB of local
# memory+swap.

# 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 just "sarge" uncomment the last three lines of the first
# defaults package. The initial installations disks were in "woody"
# and the new debian-installer was in "sid".
# "sarge" for "i386" required almost 6 GB of disk storage.  Replacing
# "sarge" by "(sarge|woody)" would download both distributions.
# In the debian and debian-pool packages below "dists/potato" appears
# because some files in "sarge" were in that tree.  Change or add to
# "i386" 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.

package=defaults
	# get_symlink_files=true
	site=ftp.us.debian.org
	remote_dir=/debian/
	local_dir=/home/ftp/pub/debian
	local_ls_lR_file=remote_ls-lR
	local_ignore+|/Packages$
	delete_get_patt=true
	get_patt=^[^/]+$|^tools|^dists/[^/]+$
	# get_patt+|^dists/sarge/(|non-US/|updates/)(Release|.*(Contents|binary|disks)-i386)
	# get_patt+|^dists/sarge/.*/installer-i386/
	# get_patt+|^dists/sarge/.*debian-installer/binary-i386
        
package=patch
	exclude_patt=.
	do_deletes=false
	recursive=false
	ls_lR_file=ls-lR.patch.gz
	# ls_lR_file=ls-lR.times

package=debian
	disconnect=true
	exclude_patt+|^(pool|dists/potato)/
	        
package=debian-pool
	compare_offline=true
	get_patt=^(pool|dists/potato)/
	pool_listings=^dists/.*/binary-i386/Packages.gz$

package=defaults
	site=non-us.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
	exclude_patt+|^pool/

package=debian-non-US-pool
	get_patt=^pool/
	pool_listings=^dists/.*/binary-i386/Packages.gz$

package=defaults
	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=
        store_remote_listing=remote_ls-lR
	exclude_patt+|^pool/

package=debian-security-pool
	get_patt=^pool/
	pool_listings=^dists/.*/binary-i386/Packages.gz$







