Run your own portsnap mirror?

RW rwmaillists at googlemail.com
Thu Feb 10 22:13:44 UTC 2011


On Thu, 10 Feb 2011 14:52:01 -0500
Lowell Gilbert <freebsd-questions-local at be-well.ilk.org> wrote:

> patrick <gibblertron at gmail.com> writes:
> 
> > Is there any official way to run a private portsnap mirror? ie. Have
> > one, external server fetch from the official portsnap sources, and
> > then internal servers pulling from the private mirror?
> 
> It runs over pipelined HTTP, so all you need to do is set up a caching
> HTTP proxy, and have your internal servers use that.

If you are going to do that then you need to set HTTP_PROXY
and/or http_proxy consistently. If either of these are set portsnap uses
them to to seed it's choice of server rather than a pure random
selection.



More information about the freebsd-questions mailing list