Subject: Re: "professionnal" features.
To: None <>
From: Julien Gabel <>
List: tech-pkg
Date: 04/04/2005 16:24:32
>>> 2. we use a proxy to fetch things from Internet to servers.
>>> I know I can use mk.conf/wget/proxy and http_proxy/ftp_proxy to fetch
>>> the tarballs. But how can I synchronise /usr/pkgsrc through a Squid
>>> proxy ? Gentoo/Linux use rsync (which can be configured in Squid).
>>> What is NetBSD/pkgsrc options for that (no, SSH to Internet is also
>>> prohibited ;) ?

>> pkgsrc uses it's own (lukem)ftp command for fetching. Thus just set
>> variables "ftp_proxy" and "http_proxy" to the desired values. For
>> example (for csh):
>> 	setenv ftp_proxy ftp://proxy.your.domain:3128
>> 	setenv http_proxy http://proxy.your.domain:3128

>  my problem is not "how to fetch distfiles behind a FW" but "how to sync
>  /usr/pkgsrc behind a FW" :)

Using a mix of both last answers ;-)

Get the updated pkgsrc branch YYYYQN archive [1] via your proxy on a daily
basis (for example)?