ローカル portsnap サーバー

http://www.ebug.jp/pub/docs/20060520/csup_portsnap.pdf

ローカルにportsnapサーバーを 持ちたい場合は?

allbsd でも portsnap サーバーをつくっていたんだよな.
http://www.allbsd.org/~hrs/diary/200601.html#d2703

portsnap mirror

portsnap が FreeBSD のベースシステムに入ってしばらく経ちますが、 portsnap1.FreeBSD.org も portsnap2.FreeBSD.org も遠すぎて使いづらい状況なので、 国内にミラーをつくってみました。/usr/local/etc/portsnap.conf に

URL=portsnap.allbsd.org

を指定すれば使えます。portsnap.allbsd.org の内容がいつ更新されたのかについては、

% finger @info.allbsd.org

のように、finger を使ってくださいな。

てっきり 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.


ということなので、通常なら、squidとかでふつうにproxyサーバをたてるほうが良いような気がするけども.