From owner-freebsd-questions Sat Feb 23 15: 4:15 2002 Delivered-To: freebsd-questions@freebsd.org Received: from rwcrmhc53.attbi.com (rwcrmhc53.attbi.com [204.127.198.39]) by hub.freebsd.org (Postfix) with ESMTP id A4FA437B405 for ; Sat, 23 Feb 2002 15:04:09 -0800 (PST) Received: from blossom.cjclark.org ([12.234.91.48]) by rwcrmhc53.attbi.com (InterMail vM.4.01.03.27 201-229-121-127-20010626) with ESMTP id <20020223230408.FDS2951.rwcrmhc53.attbi.com@blossom.cjclark.org>; Sat, 23 Feb 2002 23:04:08 +0000 Received: (from cjc@localhost) by blossom.cjclark.org (8.11.6/8.11.6) id g1NN47B24181; Sat, 23 Feb 2002 15:04:07 -0800 (PST) (envelope-from cjc) Date: Sat, 23 Feb 2002 15:04:07 -0800 From: "Crist J. Clark" To: Joe & Fhe Barbish Cc: FBSDQ Subject: Re: portcheckout & cvsup & cvs Message-ID: <20020223150407.P16048@blossom.cjclark.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from barbish@a1poweruser.com on Sat, Feb 23, 2002 at 11:31:34AM -0500 X-URL: http://people.freebsd.org/~cjc/ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sat, Feb 23, 2002 at 11:31:34AM -0500, Joe & Fhe Barbish wrote: > The handbook says that the FBSD support source tree are > managed by cvsup and replaces the old way of using cvs. The repository is still very much managed by cvs(1). The prefered method to distribtute information from the CVS repository to remote sites, in bulk, is using cvsup(1). > Portcheckout uses cvs to select just one port make files > for download to my FBSD box. That's fine. cvsup(1) is more efficient when you are going through lots of data, and cvsup(1) also allows you to mirror the repository itself (which is so-o kewl). But for a single port here and there, using cvs(1) is just fine... if you can find a anonymous FreeBSD CVS server that's working. > Will portcheckout get the correct content if used? Sure. cvsup(1) uses cvs(1) to get the files at the remote CVSup server too. > In response to a question I posted previously someone said that > I could get cvsup to do the same thing portcheckout does using > this format of the cvsup command. > > Cvsup -g -l2 -I ports/www/lynx /etc/cvsupfile > > Where -I contains the make files you want to download. > This does not work for me. > As usually the man page contains insufficient information to be of any help. Well, I think that's because you want the '-i' option? And the '-l' should be '-L' too. > How can I just download selected port make files using cvsup? If you just want to grab say, nmap(1), using cvsup(1), I'd start with /usr/share/examples/ports-supfile. I don't want to go through the whole thing just for nmap(1). I know nmap(1) is in the security section. So, as I edit the supfile, putting in the server I want to use and the various paths, I will, s/ports-all/#ports-all/ s/#ports-security/ports-security/ Once I have my new supfile, I can just use cvsup(1) as you suggest, $ cvsup -g -L2 -i ports/security/nmap ports-supfile -- Crist J. Clark | cjclark@alum.mit.edu | cjclark@jhu.edu http://people.freebsd.org/~cjc/ | cjc@freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message