# ftp.tex.ac.uk defines packages patch, ctanw and ctan for mirror. # Version: 1.11 2001/09/30 # # Copyright (C) 1999-2001 Ian Maclaine-cross # You may use this only under the conditions of the General Public # License in file GPL. # # The ftp.tex.ac.uk server generates daily ls-lR.gz and ls-lR.patch.gz # files which this package file uses. If your cron mirrors after hours # daily using on weekdays something like: # mirror -p patch -p ctanw /etc/mirror/packages/ftp.tex.ac.uk # and on weekends: # mirror -p patch -p ctan /etc/mirror/packages/ftp.tex.ac.uk # you reduce f.t.a.u's load, required bandwidth, download charges and # mirror lag. The packages and source files download and check # ls-lR.gz for the first run but then use ls-lR.patch.gz. This is # typically 2% of the size of ls-lR.gz. # # To run ctan requires RAM plus swap over 128 MB. # # If you start mirror with mirror-master you must set max=1 so the # packages patch and ctan or ctanw run in order without overlapping. # # The file README.ls-lR explains further. # # To use ls-lR.times, if available, remove the comment "#" from the # "skip=" and second "ls_lR_file=" lines below. Otherwise avoid # changing lines in the patch package and below. package=defaults # If you mirror a lot of CTAN, /home/ftp/pub/ctan is usually a mount # point. You create a symbolic link to ./pub/ctan/tex-archive named # tex-archive in /home/ftp. site=ftp.tex.ac.uk remote_dir=/ local_dir=/home/ftp/pub/ctan local_ls_lR_file=remote_ls-lR local_ignore+|(^|/)FILES\.(by|last)[^/]*|^.plan$ get_patt=^tex-archive/([^/]+$|.*/(README|mirror.*\.tar\.gz$)) # get_patt=^tex-archive/.* package=patch exclude_patt=. do_deletes=false recursive=false ls_lR_file=ls-lR.patch.gz # ls_lR_file=ls-lR.times package=ctanw max_days=7 do_deletes=false package=ctan # This package uses only default values.