Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2009 07:51:36 +0700 (ICT)
From:      Olivier Nicole <Olivier.Nicole@cs.ait.ac.th>
To:        cstankevitz@toyon.com
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Updating the ports collection
Message-ID:  <200910070051.n970pajx012236@banyan.cs.ait.ac.th>
In-Reply-To: <4ACBC82C.3030502@toyon.com> (message from Chris Stankevitz on Tue, 06 Oct 2009 15:43:56 -0700)
References:  <4ACBC82C.3030502@toyon.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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:

- you re-run sysinstall and install cvsup from the CD
  (Configure/Packages/Net/CVSup)

- or, since you installed the port tree, you go to
  /usr/ports/net/cvsup-without-gui and you make, make install, make
  clean

> Q2: Is this explained in the handbook?  If so, where?

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

You may change the default host accordingly.

Then I use the command cvsup <name_of_that_file>

Best,

Olivier



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200910070051.n970pajx012236>