From owner-freebsd-questions@FreeBSD.ORG Tue Jul 22 01:27:51 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45570106564A for ; Tue, 22 Jul 2008 01:27:51 +0000 (UTC) (envelope-from fbsd06+YC=3c734ee5@mlists.homeunix.com) Received: from fallback-in1.mxes.net (fallback-out1.mxes.net [216.86.168.190]) by mx1.freebsd.org (Postfix) with ESMTP id 0CDD28FC0C for ; Tue, 22 Jul 2008 01:27:45 +0000 (UTC) (envelope-from fbsd06+YC=3c734ee5@mlists.homeunix.com) Received: from mxout-03.mxes.net (mxout-03.mxes.net [216.86.168.178]) by fallback-in1.mxes.net (Postfix) with ESMTP id 5A65B164238 for ; Mon, 21 Jul 2008 21:11:21 -0400 (EDT) Received: from gumby.homeunix.com. (unknown [87.81.140.128]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.mxes.net (Postfix) with ESMTP id 9B86723E4A0 for ; Mon, 21 Jul 2008 21:11:18 -0400 (EDT) Date: Tue, 22 Jul 2008 02:11:16 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20080722021116.0f4e4e91@gumby.homeunix.com.> In-Reply-To: <818ba6630807211708m192d72acx240a6f73cfb8d308@mail.gmail.com> References: <818ba6630807211708m192d72acx240a6f73cfb8d308@mail.gmail.com> X-Mailer: Claws Mail 3.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Very Beginning CVSup Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 01:27:51 -0000 On Mon, 21 Jul 2008 20:08:37 -0400 J.C. wrote: > I'm a beginner with FreeBSD and somewhat intermediate with Unix-like > operating systems in general, so please bear the nature of my > questions. I have some questions about CVSup that seem unclear from > the handbook. Right now I'm sticking with RELENG_7_0; I intend to > track -STABLE once I get the hang of CVSup, make buildworld, etc. You need to understand CVSup, make buildworld, to track RELENG_7_0 (and successors) too, are you sure you want to track a development branch? > I understand that the supfile contains the list of *default settings > (*default tag=RELENG_7_0 etc.) followed by the list of "collections". > The "Using CVSup" page suggests simply using the src-all collection. I > understand that when tracking -STABLE I want to update the ports > collection before running make buildworld; is the ports collection > included in the "base source tree" (i.e. does src-all imply ports-all) No > or should ports-all be included as a separate line beneath src-all? You can do that, but I think most people use separate files, so they can be updated independently. There are multiple sample files for this reason. > The "Using the Ports Collection" page in the handbook says to make > sure /usr/ports is empty before running csup because otherwise "csup > will not prune removed patch files." Isn't this what the "delete" in > the supfile (as in the line *default release=cvs delete use-rel-suffix > compress) is for? It's a bit subtle, csup has to establish a baseline in its metadata for it to be fully confident about which files it can delete, this can be done starting with an empty or fully syncronized tree. There's also a separate issue that it never deletes files which have never been under CVS. > Do I have to clean /usr/ports every time I run csup > or just the first time? Just the first. > If I don't care about encrypted transmission or HTTP vs. CVS > protocols, are there any compelling reasons to use portsnap instead of > CVSup/csup? portsnap is much faster. And since the fetch part doesn't affect the ports tree it can be done safely from a crontab, which speeds things up even more.