Run your own portsnap mirror?

Jason Helfman jhelfman at
Thu Feb 10 22:50:59 UTC 2011

On Thu, Feb 10, 2011 at 10:13:38PM +0000, RW thus spake:
>On Thu, 10 Feb 2011 14:52:01 -0500
>Lowell Gilbert <freebsd-questions-local at> wrote:
>> patrick <gibblertron at> 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
>freebsd-questions at mailing list
>To unsubscribe, send any mail to "freebsd-questions-unsubscribe at"

I would be highly interested in running my own internal portsnap mirror
based on an internal ports tree with local ports, as well.

Has anyone done this?

Jason Helfman
System Administrator
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5

More information about the freebsd-questions mailing list