# -*- sh -*- # Lean Debian/GNU Linux non-US Mirror Config # Copyright (C) 2001 Johann Botha # You may use this config under the BSD License # /usr/share/common-licenses/BSD # The Lean Debian/GNU Linux Mirror Config aims to mirror a selective # subset of the Debian Package structure to save bandwidth and disk space. # # Currently the config: # * mirrors i386 Architecture only # * aims to mirror only the English subset of Debian # * does not mirror the Linux kernel source # * only mirrors the 1.44 format boot disks # # The Debian Archive Mirrors change frequently, so you may # need to use this as an example and customise it to your needs. # Have a look at: http://sunsite.org.uk/packages/mirror/mirror.html # Changes # # 2001-04-01 # Added GPL Copyright, minor fixes, reformatted # # 2001-03-31 # Split non-us and main packages # Exclude hppa,mipsel,sparc64,sh arch # # 2001-03-09 # added digex.net and linux.co.za mirrors # replaced exclude dirs slash with "(/|$)" # added 'pool', exclude ia64 arch, exclude kernel-(source|etc) # only get english .deb's and 1.44 images package=Debian-non-US comment=Debian GNU/Linux Non-US ########################## # Remote Host ZA # ### IS.co.za site=ftp.is.co.za remote_dir=/mirrors/non-us.debian.org ########################## # Remote Host US # ### DEBIAN.org # site=non-us.debian.org # remote_dir=/debian-non-US # ### ls-lR file ls_lR_file=ls-lR.gz ### Local Directory # local_dir=/home/ftp/pub/os/debian-non-US local_dir=/os/debian-non-US ### Mail result mail_to=root mail_subject=-s\"Mirror Update: $package\" ### Login Info # remote_user=anonymous # remote_password=info@frogfoot.net ### Timeout (sec) timeout=60 ### Passive FTP passive_ftp=false ### Time/Size #dont get if just the timestamp changed get_newer=false get_size_change=true ### Delete do_deletes=true max_delete_files=80% #do not delete regex matching delete_excl+|(^|/)\.(mirror|notar)$ # Perl regular expression part # 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 ### Exclude these files or directories exclude_patt=.*(-|_)m68k|ms-?dos(-i386)?(/|$)|source(/|$)|private(/|$) exclude_patt+|debian-(bugs|lists)(/|$) exclude_patt+|(binary|disks)-(alpha|sparc|m68k|powerpc|& mips|arm|hurd-i386|ia64|hppa|mipsel|sparc64|sh)(/|$) exclude_patt+|i-connect-fixes/|ALPHA-TEST/|/core$|(I|i)ncoming(/|$) exclude_patt+|upgrade-((binary|disks)-)?(alpha|sparc|m68k|& powerpc|mips|arm|hurd-i386|ia64|hppa|mipsel|sparc64|sh).* exclude_patt+|upgrade-i386/.*(cs|de|eo|es|fi|fr|hr|hu|it|ja|& pl|pt|ru|sk|sv|tr).* exclude_patt+|images-1.20(/|$) exclude_patt+|images-2.88(/|$) exclude_patt+|lang(/|$) exclude_patt+|bo(/|$) exclude_patt+|slink(/|$) exclude_patt+|slink-updates(/|$) exclude_patt+|slink-proposed-updates(/|$) exclude_patt+|potato-updates(/|$) exclude_patt+|potato-proposed-updates(/|$) exclude_patt+|sid(/|$) exclude_patt+|sid-updates(/|$) exclude_patt+|contrib(/|$) exclude_patt+|indices-non-US(/|$) exclude_patt+|project(/|$) ### Also exclude these exclude_patt+|WebPages/|\.contents\.new|\.in\.|\.new-?|\.mirrorinfo exclude_patt+|Packages(-Master)?-(binary|disks)-(alpha|& sparc|m68k|powerpc|mips|arm|hurd-i386|ia64|hppa|& mipsel|sparc64|sh).* exclude_patt+|Contents-((binary|disks)-)?(alpha|sparc|& m68k|powerpc|mips|arm|hurd-i386|ia64|hppa|mipsel|& sparc64|sh).* exclude_patt+|experimental/.*(\.(tar|diff)\.gz|\.dsc)$ exclude_patt+|experimental/.*_(binary|disks)-(alpha|& sparc|m68k|powerpc|mips|arm|hurd-i386|ia64|hppa|& mipsel|sparc64|sh)\.deb$ exclude_patt+|orphaned/.*(\.(tar|diff)\.gz|\.m68k\.deb|\.dsc)$ exclude_patt+|rex(-(fixed|updates))?/ exclude_patt+|bo-updates/.*(\.changes|((\.orig)?\.tar|diff)& \.gz|\.dsc) exclude_patt+|.*kernel-(source|image|patch|headers|doc).* exclude_patt+|.*-(cs|de|eo|es|fi|fr|hr|hu|it|ja|pl|pt|& ru|sk|sv|tr)_.* exclude_patt+|.*i18n.* ### Pool Excludes exclude_patt+|pool/.*(alpha|sparc|m68k|powerpc|mips|arm|& hurd-i386|ia64|hppa|mipsel|sparc64|sh)\.(deb|udeb)$ exclude_patt+|pool/.*(\.(tar|diff)\.gz|\.dsc)$