Subject: Re: Re: "professionnal" features
To: Mike M. Volokhov <mishka@apk.od.ua>
From: Joel CARNAT <joel@carnat.net>
List: tech-pkg
Date: 04/04/2005 16:03:42
Dans l'épisode précédent (Mon, Apr 04 2005 - 16:41), Mike M. Volokhov nous apprenait que :
> 
> For pkgsrc there are no exactly the same branching as for NetBSD itself.
> It uses quarterly periods instead, AFAIK because pkgsrc framework
> supports many platforms and there are no native and hard bindings to
> NetBSD. For example, latest *stable* pkgsrc branch named 2005Q1, while
> previous one was 2004Q4.
> 
> Thus if you wish to get the latest *stable* pkgsrc branch, please use
> "pkgsrc-2005Q1" tag, i.e.:
> 
> 	cvs up -rpkgsrc-2005Q1 -Pd
> 

 yes, I know this part :)

> The 2005Q1 tarball stored as:
> 
> 	ftp://ftp.netbsd.org/pub/pkgsrc/2005Q1/pkgsrc-2005Q1.tar.gz
> 	ftp://ftp.netbsd.org/pub/pkgsrc/2005Q1/pkgsrc-2005Q1.tar.bz2
> 
> The tarball you have downloaded is pkgsrc "current".

 those were the tarballs I was looking for.

> 
> > 
> > 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" :)

> > 
> > As there only be one machine right now, I really need options on those
> > two points. Having a central /usr/pkgsrc server with special sync rights
> > and that would be NFS server for other NetBSD box is not (yet) the
> > solution. I must find a solution as transparent as possible (aka, use of
> > proxy as much as possible).
> > 
> 
> Hope that helps. For NFS you may also wish to use read-only builds...
> 

 yes, thanks.

-- 
,-- This mail runs ---------.
`------------ NetBSD/i386 --'