# localhost defines packages patch and files for mirror. # Version: 1.11 2001/09/07 # # Copyright (C) 1999-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. # # Most FTP sites generate a daily ls-lR.gz and a few also generate # ls-lR.times and ls-lR.patch.gz files using scripts like my # mkls-lR. If you mirror a large directory tree daily, using: # mirror /etc/mirror/packages/ # can reduce FTP site load, download charges and mirror lag by # efficiently using these files. The file README.ls-lR explains why, # when and how. # # localhost is your site's loopback interface. mirror talks to your # own FTP server without going out onto the network. You do not even # need a network card to use this. Use it for learning how to use # mirror and testing. `mirror' will reject localhost as a site if your # hostname=localhost in mirror.defaults or the equivalent occurs in # other configuration files e.g., /etc/hosts. # # The command to make the ls-lR files used by mirror # with localhost is: mkls-lR -d /home/ftp/pub # You need to be root to use this. "man mkls-lR" will tell you more. # # To use ls-lR.times remove the comment "#" from the second "ls_lR_file=" # line below. Otherwise avoid changes in the patch package. package=defaults site=localhost remote_dir=/pub/ local_dir=/tmp/pub local_ls_lR_file=remote_ls-lR get_patt=^[^/]+$|(^|/)(README|mirror_.*\.deb$) package=patch exclude_patt=. do_deletes=false recursive=false ls_lR_file=ls-lR.patch.gz # ls_lR_file=ls-lR.times package=files