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 17:20:38
Dans l'épisode précédent (Mon, Apr 04 2005 - 17:55), Mike M. Volokhov nous apprenait que :
> On Mon, 4 Apr 2005 16:03:42 +0200
> Joel CARNAT <joel@carnat.net> wrote:
> 
> [snip]
> > 
> >  my problem is not "how to fetch distfiles behind a FW" but "how to sync
> >  /usr/pkgsrc behind a FW" :)
> 
> I'm sorry for misunderstanding you! I will read the messages more
> carefully :)
> 

 hihi, no problem :)

> If so, please use rsync via HTTP proxy, as you have done it for Gentoo
> and use one of rsync mirrors from
> 
> 	http://www.NetBSD.org/mirrors/#rsync
> 

 ah ! seen that but didn't understood how it works.

> For example (assuming your web proxy supports rsync):

 this is OK - if it works with a pinguin, it'll work with the devil ;)

> 
> % setenv RSYNC_PROXY proxy.your.domain:3128
> % rsync -avvz rsync://rsync.NetBSD.org/NetBSD/packages/pkgsrc/mk/buildlink3/ /usr/pkgsrc/mk/buildlink3/

OK, so step 1 is install package rsync (which is possible since I now got
pkgsrc-*.tar.gz from FTP:)

Now, step 2, I don't find in the manpage how to specify the branch to
copy. I don't even know if branches make sense with rsync.

> opening tcp connection to rsync.NetBSD.org port 873
> connection via http proxy proxy.your.domain port 3128
> 
> ** IMPORTANT NOTE **
> 
> Rsync service for the "anoncvs" module is moving from ftp.netbsd.org to
> anoncvs.netbsd.org in the near future.  The new service is available now.
> Please see http://mail-index.netbsd.org/netbsd-users/2004/03/29/0010.html
> for important details.
> 
> ** IMPORTANT NOTE **
> 
> 
> receiving file list ... 
> done
> delta transmission enabled
> ./
> CVS/
> BUILDLINK3_DG
> CVS/Entries
> CVS/Repository
> CVS/Root
> PKGVIEWS_UG
> README
> TODO
> bsd.buildlink3.mk
> bsd.builtin.mk
> buildcmd-libtool
> cleanup-libtool
> cmd-sink-libtool
> libtool-fix-la
> scan-libtool
> transform-libtool
> 
> sent 402 bytes  received 95188 bytes  4446.05 bytes/sec
> total size is 93767  speedup is 0.98
> 
> 
> --
> Mishka.

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