From owner-freebsd-questions@FreeBSD.ORG Wed Oct 7 01:08:32 2009 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 A2E21106568B for ; Wed, 7 Oct 2009 01:08:32 +0000 (UTC) (envelope-from chris@monochrome.org) Received: from mail.monochrome.org (b4.ebbed1.client.atlantech.net [209.190.235.180]) by mx1.freebsd.org (Postfix) with ESMTP id 5F8728FC0A for ; Wed, 7 Oct 2009 01:08:31 +0000 (UTC) Received: from [192.168.1.11] ([192.168.1.11]) by mail.monochrome.org (8.14.3/8.14.3) with ESMTP id n9718QJX081598; Tue, 6 Oct 2009 21:08:26 -0400 (EDT) (envelope-from chris@monochrome.org) Date: Tue, 6 Oct 2009 21:07:07 -0400 (EDT) From: Chris Hill To: Olivier Nicole In-Reply-To: <200910070051.n970pajx012236@banyan.cs.ait.ac.th> Message-ID: References: <4ACBC82C.3030502@toyon.com> <200910070051.n970pajx012236@banyan.cs.ait.ac.th> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: cstankevitz@toyon.com, freebsd-questions@freebsd.org Subject: Re: Updating the ports collection 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: Wed, 07 Oct 2009 01:08:32 -0000 On Wed, 7 Oct 2009, Olivier Nicole wrote: > Hi Chris, > >> The FreeBSD handbook section 4.5.1 describes several methods for >> obtaining the ports collection including CVSup, Portsnap, and sysinstall. >> >> Section 4.5.1 also describes how to update the ports collection, but >> only for the CVSup and Portsnap methods. >> >> Q1: How do I update the ports collection after using sysinstall to >> obtain it? > > I cannot speak for postsnap, but for cvsup: csup works (almost?) the same as cvsup, and is in the base system nowadays. I used to install cvsup, but now I only install fastest_cvsup; it's just a utility to find the fastest server for you at the moment. > Some may correct me, but I use a file that contains: > > *default tag=. > *default host=cvsup2.jp.FreeBSD.org > *default base=/var/db > *default prefix=/usr > *default release=cvs > *default delete use-rel-suffix > *default compress > ports-all I do the same, and run csup as: csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports ...where /etc/supfile.ports is pretty much as above. In that case, it doesn't matter what "default host" is set to, since the -h option to csup overrides the default. The '-c us' part applies to me, but it might not for you; see the man page. -- Chris Hill chris@monochrome.org ** [ Busy Expunging <|> ]