Re: hamm-only mirror
Hi,
Remove the other sets after the Hamm (I also get docs, and
things on the root, and the experimental packages). About 500M if you
include enough of bo to satisfy the symlinks in Hamm.
manoj
# 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. As an example, it is set up to ignore non-i386
# architecture, sources, msdos-8.3-named files, the mailing list archives
# as well as the WebPages for www.debian.org. It will take up around 200 MB.
#
# It worked for me when I wrote it, but it might fail for you. No warranties
# whatsoever. Use at your own risk.
#
# Written by Dirk Eddelbuettel <edd@debian.org>
package=Hamm
#
comment=Mirror of the unstabel distribution
#
# specify remote host and directory
site=ftp.debian.org
remote_dir=/pub/debian/hamm
#
# specify local directory
local_dir=/var/spool/mirror/debian/hamm
#
# inform this user about results
mail_to=root
#
# compress these files (see perlre(1) for regular expressions)
compress_patt=\.*(Contents|Packages(-Master)?|ls-lR|contents|md5sums|Maintainers)$
#
# exclude these files or directories
# see "man perlre" for information on perl's regular expressions
exclude_patt=(lost\+found|source/|(binary|disks)-(alpha|sparc|m68k)/|^Contents-i386$|.mirrorinfo|^\.contents.new|^\.new-packages)
# exclude_patt=(rex/|unstable/|development/|experimental/|
# ms-dos(-i386)?/|source/|private/|debian-(bugs|lists)/
# |binary-(alpha|sparc|m68k)/|Incoming/|WebPages/|local/
# |.mirrorinfo)
#
# preserve these files or directories (see perlre(1) for reg. expr.)
delete_excl=(((^|/).(mirror|notar)$)|(local$))
#
# do not delete if more than 20% of all files would vanish
max_delete_files=20%
max_days=7
#
# this speeds up the construction of the remote ls-lR by pruning
# recurse_hard=true
compress_excl=(\.gz$|\.Z$|^\.notar$|-z|.taz$|.arc$|.zip$|.lzh$|.zoo$|.exe$|.lha$|.zom$|.gif$|.jpeg$|.jpg$|.mpeg$|.au$|index|.message|info|faq|gzip|compress)
package=Doc
#
comment=Mirror Debian Documentation
#
# specify remote host and directory
site=ftp.debian.org
remote_dir=/pub/debian/doc
#
# specify local directory
local_dir=/var/spool/mirror/debian/doc
#
# inform this user about results
mail_to=root
#
# compress these files (see perlre(1) for regular expressions)
compress_patt=\.*(Contents|Packages(-Master)?|ls-lR|contents|md5sums|Maintainers)$
#
# exclude these files or directories
# see "man perlre" for information on perl's regular expressions
exclude_patt=(lost\+found|source/|(binary|disks)-(alpha|sparc|m68k)/|^Contents-i386$|.mirrorinfo|^\.contents.new|^\.new-packages)
#
# preserve these files or directories (see perlre(1) for reg. expr.)
delete_excl=(((^|/).(mirror|notar)$)|(local$))
#
# do not delete if more than 20% of all files would vanish
max_delete_files=20%
max_days=7
#
# this speeds up the construction of the remote ls-lR by pruning
# recurse_hard=true
compress_excl=(\.gz$|\.Z$|^\.notar$|-z|.taz$|.arc$|.zip$|.lzh$|.zoo$|.exe$|.lha$|.zom$|.gif$|.jpeg$|.jpg$|.mpeg$|.au$|index|.message|information|faq|gzip|compress)
package=Debian
#
comment=Mirror Debian FTP root
#
# specify remote host and directory
site=ftp.debian.org
remote_dir=/pub/debian
#
# specify local directory
local_dir=/var/spool/mirror/debian
#
# inform this user about results
mail_to=root
#
# compress these files (see perlre(1) for regular expressions)
compress_patt=\.*(Contents|Packages(-Master)?|ls-lR|contents|md5sums|Maintainers)$
#
# exclude these files or directories
# see "man perlre" for information on perl's regular expressions
exclude_patt=(lost\+found|source/|(binary|disks)-(alpha|sparc|m68k)/|^Contents-i386$|.mirrorinfo|^\.contents.new|^\.new-packages)
#
# preserve these files or directories (see perlre(1) for reg. expr.)
delete_excl=(((^|/).(mirror|notar)$)|(local$)|(tools|non-free|contrib|bo|dists|hamm))
#
# do not delete if more than 20% of all files would vanish
max_delete_files=20%
max_days=7
#
# Do not recurse down
recursive=false
compress_excl=(\.gz$|\.Z$|^\.notar$|-z|.taz$|.arc$|.zip$|.lzh$|.zoo$|.exe$|.lha$|.zom$|.gif$|.jpeg$|.jpg$|.mpeg$|.au$|index|.message|information|faq|gzip|compress)
package=Tools
#
comment=Mirror Debian Tools
#
# specify remote host and directory
site=ftp.debian.org
remote_dir=/pub/debian/tools
#
# specify local directory
local_dir=/var/spool/mirror/debian/tools
#
# inform this user about results
mail_to=root
#
# compress these files (see perlre(1) for regular expressions)
compress_patt=\.*(Contents|Packages(-Master)?|ls-lR|contents|md5sums|Maintainers)$
#
# exclude these files or directories
# see "man perlre" for information on perl's regular expressions
exclude_patt=(lost\+found|source/|(binary|disks)-(alpha|sparc|m68k)/|^Contents-i386$|.mirrorinfo|^\.contents.new|^\.new-packages)
#
# preserve these files or directories (see perlre(1) for reg. expr.)
delete_excl=(((^|/).(mirror|notar)$)|(local$))
#
# do not delete if more than 20% of all files would vanish
max_delete_files=20%
max_days=7
#
# this speeds up the construction of the remote ls-lR by pruning
# recurse_hard=true
compress_excl=(\.gz$|\.Z$|^\.notar$|-z|.taz$|.arc$|.zip$|.lzh$|.zoo$|.exe$|.lha$|.zom$|.gif$|.jpeg$|.jpg$|.mpeg$|.au$|index|.message|information|faq|gzip|compress)
package=Experimental
#
comment=Mirror Debian Experimental stuff
#
# specify remote host and directory
site=ftp.debian.org
remote_dir=/pub/debian/project/experimental
#
# specify local directory
local_dir=/var/spool/mirror/debian/project/experimental
#
# inform this user about results
mail_to=root
#
# compress these files (see perlre(1) for regular expressions)
compress_patt=\.*(Contents|Packages(-Master)?|ls-lR|contents|md5sums|Maintainers)$
#
# exclude these files or directories
# see "man perlre" for information on perl's regular expressions
exclude_patt=(lost\+found|\.dsc$|(alpha|sparc|m68k).deb|\.gz$|.mirrorinfo|^\.contents.new|\.new-packages)
#
# preserve these files or directories (see perlre(1) for reg. expr.)
delete_excl=(((^|/).(mirror|notar)$)|(local$))
#
# do not delete if more than 20% of all files would vanish
max_delete_files=20%
max_days=7
#
# this speeds up the construction of the remote ls-lR by pruning
# recurse_hard=true
compress_excl=(\.gz$|\.Z$|^\.notar$|-z|.taz$|.arc$|.zip$|.lzh$|.zoo$|.exe$|.lha$|.zom$|.gif$|.jpeg$|.jpg$|.mpeg$|.au$|index|.message|information|faq|gzip|compress)
--
"Gotcha, you snot-necked weenies!" Post Bros. Comics
Manoj Srivastava <url:mailto:srivasta@acm.org>
Mobile, Alabama USA <url:http://www.datasync.com/%7Esrivasta/>
--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org .
Trouble? e-mail to templin@bucknell.edu .
Reply to: