Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 21 Jan 2009 14:52:16 +0000
From:      Vincent Hoffman <vince@unsane.co.uk>
To:        Wojciech Puchar <wojtek@wojtek.tensor.gdynia.pl>
Cc:        freebsd-questions@freebsd.org, Razor <fblist@gmail.com>
Subject:   Re: Is there any tools can build a mirror of portsnap?
Message-ID:  <497736A0.4060000@unsane.co.uk>
In-Reply-To: <20090121141701.C26218@wojtek.tensor.gdynia.pl>
References:  <910c4cb0901210043o78f76343mea5f1aa67b696510@mail.gmail.com> <20090121130952.B26065@wojtek.tensor.gdynia.pl> <49771CB1.3090106@unsane.co.uk> <20090121141701.C26218@wojtek.tensor.gdynia.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
Wojciech Puchar wrote:
> if portsnap could use proxies - it would be simple. but it cant
>
The manpage suggests you could,
"If you wish to use portsnap to keep a large number of machines up to
date, you may wish to set up a caching HTTP proxy.  Since portsnap
         uses fetch(1) to download updates, setting the HTTP_PROXY
environment
         variable will direct it to fetch updates from the given proxy. 
This
         is much more efficient than mirroring the files on the portsnap
         server, since the vast majority of files are not needed by any par-
         ticular client."

I havent tried this though.

Vince
> On Wed, 21 Jan 2009, Vincent Hoffman wrote:
>
>> Wojciech Puchar wrote:
>>> simply do portsnap in one place and use rsync to mirror
>>> /var/db/portsnap
>>>
>>> On Wed, 21 Jan 2009, Razor wrote:
>>>
>>>> Hi,
>>>>   I want to build a mirror server of portsnap in my company. But I
>>>> couldn't
>>>> find any tools either in ports-mgmt or in google. So is there a tool
>>>> can do
>>>> this?
>>>>
>> There is a script in the freebsd cvs repository to mirror the portsnap
>> servers, but from the README with it.
>>
>> "this is not an invitation to start running a portsnap mirror as well.
>> There
>> is nothing to stop you from mirroring from portsnap[12].freebsd.org,
>> but since mirroring consumes ~5GB/month of bandwidth while updating a
>> single machine consumes ~5MB/month of bandwidth, adding unnecessary
>> mirrors is likely to increase rather than decrease the load on the
>> official mirrors.  If in doubt, talk to me (cperciva@FreeBSD.org)
>> first."
>>
>>
>>
>> So if you think its worth it (you have 1000 or so clients to upgrade,)
>> go look in the cvs repository under projects.
>>
>>
>> Vince
>>
>>>> Thanks.
>>>> _______________________________________________
>>>> freebsd-questions@freebsd.org mailing list
>>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>>> To unsubscribe, send any mail to
>>>> "freebsd-questions-unsubscribe@freebsd.org"
>>>>
>>>>
>>> _______________________________________________
>>> freebsd-questions@freebsd.org mailing list
>>> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
>>> To unsubscribe, send any mail to
>>> "freebsd-questions-unsubscribe@freebsd.org"
>>
>>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?497736A0.4060000>