Date: Wed, 29 Nov 1995 13:49:45 -0500 (EST) From: "Jonathan M. Bresler" <jmb@kryten.Atinc.COM> To: Joe Greco <jgreco@brasil.moneng.mei.com> Cc: Jerry Kendall <Jerry.Kendall@vmicls.com>, hackers@freebsd.org, hubs@freebsd.org Subject: Re: Becoming a mirror site for FreeBSD Message-ID: <Pine.3.89.9511291347.N2785-0100000@kryten.atinc.com> In-Reply-To: <199511291633.KAA14410@brasil.moneng.mei.com>
next in thread | previous in thread | raw e-mail | index | archive | help
> > What is the best way to do this? the easiest way is to use the mirror perl script (its a port mirror-2.3). i have included the packages file that i use at the end run mirror out of cron 11 5 * * * <some path>/mirror <some path> packages jmb Jonathan M. Bresler FreeBSD Postmaster jmb@FreeBSD.ORG play go. ride bike. hack FreeBSD.--ah the good life i am moving to a new job. PLEASE USE: jmb@FreeBSD.ORG # # PACKAGES # # This is the default mirror settings used by my site: # kryten.atinc.com # # adapted from mirror.defaults by Lee McLoughlin <lmjm@doc.ic.ac.uk> # You should be able to use this at other sites. You should only have # to change bits that reference this site so look for doc.ic below. package=defaults # The LOCAL hostname - if not the same as `hostname` # hostname=src.doc.ic.ac.uk # Keep all local_dirs relative to here local_dir=/spare/anon-ftp/pub/ remote_password=jmb@kryten.atinc.com mail_to=jmb@kryten.atinc.com # Don't mirror file modes. Set all dirs/files to these dir_mode=0755 file_mode=0444 # By defaults files are owned by root.zero user=jmb group=staff # # Keep a log file in each updated directory # update_log=.mirror update_log=/home/jmb/bin/mirror.log # Don't overwrite my mirror log with the remote one. # Don't pull back any of their mirror temporary files. # Don't touch anything whose name begins with a space! # nor any FSP or gopher files... exclude_patt=(^|/)(\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost+found/|\ ) # Try to compress everything compress_patt=. compress_prog=compress # Don't compress information files, files that don't benifit from # being compressed, files that tell ftpd, gopher, wais... to do things, # the sources for compression programs... # (Note this is the only regexp that is case insensitive.) # z matches compress/pack/gzip, gz for gzip. (built into perl) # taz/tgz is compressed or gzipped tar files # arc, arj, lzh, zip and zoo are pc and/or amiga archives. # sea are mac archives. # vms used -z instead of .z. stupid vms. # shk is multimedia? used on apple2s. compress_excl+|-z(\d+)?$|\.tgz|_tgz|\.tar\.Z|\.tar\.gz|\.taz$|\.arc$|\.zip$|\.lzh$|\.zoo$|\.exe$|\.lha$|\.zom$|\.gif$|\.jpeg$|\.jpg$|\.mpeg$|\.au$|\.shk$|read.*me|index|info|faq|gzip|compress|(^|/)\.\.?$ # Don't delete own mirror log, .notar or .cache files (incl in subdirs) # delete_excl=(^|/)\.(mirror|notar|cache)$ # Ignore any local readme and .mirror files # jmb 9411201 added .message files local_ignore=README.doc.ic|(^|/)\.(mirror|notar|message)$ # Automatically delete local copies of files that the # remote site has zapped do_deletes=true max_delete_files=50% max_delete_dirs=50% #package=FreeBSD.2.0-RELEASE # comment=FreeBSD 2.0-RELEASE distribution # site=ftp.cdrom.com # remote_dir=/pub/FreeBSD/2.0-RELEASE/ # local_dir+FreeBSD/2.0-RELEASE/ # compress_patt= # local_ignore=packages-2.0|(^|/)\.(mirror|notar|message)$ # #package=FreeBSD.2.0-packages # comment=FreeBSD 2.0 packages # site=ftp.cdrom.com # remote_dir=/pub/FreeBSD/packages-2.0 # local_dir+FreeBSD/2.0-RELEASE/packages-2.0 # compress_patt= # # package=FreeBSD.2.0.5-ALPHA # comment=FreeBSD 2.0.5 ALPHA # site=ftp.freebsd.org # remote_dir=/pub/FreeBSD/2.0.5-ALPHA # local_dir+FreeBSD/2.0.5-ALPHA # compress_patt= # exclude_patt=(^|/)(XF86-co.tgz|XF86-xc.tgz|\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost+found/|\ ) package=FreeBSD.2.0.5-RELEASE comment=FreeBSD 2.0.5 RELEASE site=ftp.cdrom.com remote_dir=/pub/FreeBSD/2.0.5-RELEASE local_dir+FreeBSD/2.0.5-RELEASE compress_patt= exclude_patt=(^|/)(XF86-co.tgz|XF86-xc.tgz|distfiles|\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost+found/|\ ) package=FreeBSD.2.1.0-RELEASE comment=FreeBSD 2.1.0-RELEASE distribution site=ftp.cdrom.com remote_dir=/pub/FreeBSD/2.1.0-RELEASE/ local_dir+FreeBSD/2.1.0-RELEASE/ compress_patt= local_ignore=packages|ports|(^|/)\.(mirror|notar|message)$ package=FreeBSD.2.1-packages comment=FreeBSD 2.1 packages site=ftp.cdrom.com remote_dir=/pub/FreeBSD/packages-2.1 local_dir+FreeBSD/2.1.0-RELEASE/packages compress_patt= exclude_patt=(^|/)(XF86-co.tgz|XF86-xc.tgz|distfiles|\.mirror$|core$|\.cap|\.in\..*\.$|MIRROR.LOG|#.*#|\.FSP|\.cache|\.zipped|\.notar|\.message|lost+found/|\ )
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.3.89.9511291347.N2785-0100000>