Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Oct 2009 15:35:50 +0100
From:      krad <kraduk@googlemail.com>
To:        Daniel Bye <freebsd-questions@slightlystrange.org>, freebsd-questions@freebsd.org
Subject:   Re: Updating the ports collection
Message-ID:  <d36406630910070735r7873e921we90a91030b58be62@mail.gmail.com>
In-Reply-To: <20091007123732.GA84700@torus.slightlystrange.org>
References:  <4ACBC82C.3030502@toyon.com> <200910070051.n970pajx012236@banyan.cs.ait.ac.th> <alpine.BSF.2.00.0910062055420.70379@tripel.monochrome.org> <20091007123732.GA84700@torus.slightlystrange.org>

next in thread | previous in thread | raw e-mail | index | archive | help
2009/10/7 Daniel Bye <freebsd-questions@slightlystrange.org>

> 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
> > >ports-all
> >
> > 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`
> SUPFLAGS= -g
>
> in /etc/make.conf and save yourself some typing.
>
> Dan
> you
> --
> Daniel Bye
>                                                                     _
>                                              ASCII ribbon campaign ( )
>                                         - against HTML, vCards and  X
>                                - proprietary attachments in e-mail / \
>


the above way is good but this is the simplest as it requires no additional
programs or editing

csup -h cvsup.FreeBSD.org  /usr/share/examples/cvsup/ports-supfile


I use the following as its a bit faster

csup -h cvsup.uk.FreeBSD.org  /usr/share/examples/cvsup/ports-supfile

you can obviously insert your own country code



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