Updating the ports collection
freebsd-questions at slightlystrange.org
Wed Oct 7 12:47:52 UTC 2009
On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote:
> 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
> I do the same, and run csup as:
> csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports
You can set
SUPHOST= `/usr/local/bin/fastest_cvsup -Q -c us`
in /etc/make.conf and save yourself some typing.
ASCII ribbon campaign ( )
- against HTML, vCards and X
- proprietary attachments in e-mail / \
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 196 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20091007/ce7a02a7/attachment.pgp
More information about the freebsd-questions