Is there any tools can build a mirror of portsnap?

2009-01-21 Thread Razor
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? Thanks. ___ freebsd-questions@freebsd.org mailing list

Re: Is there any tools can build a mirror of portsnap?

2009-01-21 Thread Wojciech Puchar
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? Thanks.

Re: Is there any tools can build a mirror of portsnap?

2009-01-21 Thread Vincent Hoffman
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

Re: Is there any tools can build a mirror of portsnap?

2009-01-21 Thread Wojciech Puchar
if portsnap could use proxies - it would be simple. but it cant 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

Re: Is there any tools can build a mirror of portsnap?

2009-01-21 Thread RW
On Wed, 21 Jan 2009 14:17:17 +0100 (CET) Wojciech Puchar woj...@wojtek.tensor.gdynia.pl wrote: if portsnap could use proxies - it would be simple. but it cant It's certainly supposed to, the man page says it does, fetch and phttpget are both supposed to support proxies, and there's support in

Re: Is there any tools can build a mirror of portsnap?

2009-01-21 Thread Razor
Thank you. I have checked out the shell script for mirroring. I read the notes in the script. My company may have a few user of portsnap. But they usually complain about the portsnap mirror on the internet is so slow. My company doesn't have a proxy, it seems to be using NAT. So if I change the

Re: Is there any tools can build a mirror of portsnap?

2009-01-21 Thread Vincent Hoffman
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