ローカル portsnap サーバー
http://www.ebug.jp/pub/docs/20060520/csup_portsnap.pdf
ローカルにportsnapサーバーを 持ちたい場合は?
- HTTPで公開できるマシンのDocumentRoot で、http://cvsup.pt.freebsd.org/cgi-bin/cvsweb/cvsweb.cgi/projects/portsnap/pmirror.sh にあるpmirror.sh を実行すると、 portsnapサーバーを構築できます。
allbsd でも portsnap サーバーをつくっていたんだよな.
http://www.allbsd.org/~hrs/diary/200601.html#d2703
てっきり wget とかつかっているかとおもっていましたよ.
追記:
pmirror.sh によると
# READ THIS BEFORE USING THIS CODE
# --------------------------------
#
# On average, portsnap requires 2-5MB/month of bandwidth to keep a
# single machine up to date. If several machines are sharing an
# HTTP proxy, a significant fraction of this can be cached.
#
# In contrast, using this code to keep a portsnap *mirror* up to
# date requires roughly 1GB of disk space and 5GB/month of bandwidth.
# This is because of the "graceful failure" mechanisms built into
# portsnap -- it can usually take advantage of pregenerated patches,
# but a mirror needs to have lots of larger files just in case they
# are needed.