Date: Thu, 10 Feb 2011 22:13:38 +0000 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: Run your own portsnap mirror? Message-ID: <20110210221338.400f1f52@gumby.homeunix.com> In-Reply-To: <447hd7y8f2.fsf@be-well.ilk.org> References: <AANLkTinPvxt85%2BvNaSgVc50cjWCO9XcX62qGoASc2Jo3@mail.gmail.com> <447hd7y8f2.fsf@be-well.ilk.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 10 Feb 2011 14:52:01 -0500 Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> wrote: > patrick <gibblertron@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110210221338.400f1f52>