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

next in thread | previous in thread | raw e-mail | index | archive | help

--fUYQa+Pmc3FrFX/N
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Tue, Oct 06, 2009 at 09:07:07PM -0400, Chris Hill wrote:
> On Wed, 7 Oct 2009, Olivier Nicole wrote:
>=20
> >Hi Chris,
> >
> >>The FreeBSD handbook section 4.5.1 describes several methods for
> >>obtaining the ports collection including CVSup, Portsnap, and sysinstal=
l.
> >>
> >>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:
>=20
> csup works (almost?) the same as cvsup, and is in the base system=20
> nowadays. I used to install cvsup, but now I only install fastest_cvsup;=
=20
> it's just a utility to find the fastest server for you at the moment.
>=20
> >Some may correct me, but I use a file that contains:
> >
> >*default tag=3D.
> >*default host=3Dcvsup2.jp.FreeBSD.org
> >*default base=3D/var/db
> >*default prefix=3D/usr
> >*default release=3Dcvs
> >*default delete use-rel-suffix
> >*default compress
> >ports-all
>=20
> I do the same, and run csup as:
>=20
> csup -g -h `/usr/local/bin/fastest_cvsup -Q -c us` /etc/supfile.ports

You can set=20

SUPHOST=3D `/usr/local/bin/fastest_cvsup -Q -c us`
SUPFLAGS=3D -g

in /etc/make.conf and save yourself some typing.

Dan

--=20
Daniel Bye
                                                                     _
                                              ASCII ribbon campaign ( )
                                         - against HTML, vCards and  X
                                - proprietary attachments in e-mail / \

--fUYQa+Pmc3FrFX/N
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.13 (FreeBSD)

iEYEARECAAYFAkrMi4wACgkQixf5fBYiFmq6iQCgqXN7LFWE4e4OLGNyYdfWxAPR
Vu4AoMdkwxhAqK8O+xD7GhYZ5TjFJED/
=YjZz
-----END PGP SIGNATURE-----

--fUYQa+Pmc3FrFX/N--



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