Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2011 11:49:05 +0100
From:      Matthew Seaman <m.seaman@infracaninophile.co.uk>
To:        Thomas Mueller <mueller6727@bellsouth.net>
Cc:        Damien Fleuriot <ml@my.gd>, freebsd-questions@FreeBSD.org
Subject:   Re: csup: How do I know I have correct version?
Message-ID:  <4EA29FA1.2040706@infracaninophile.co.uk>
In-Reply-To: <201110221023.p9MAN4NW007056@smtp.infracaninophile.co.uk>
References:  <4EA1411B.3050300@infracaninophile.co.uk> <4EA13FA9.9030405@my.gd> <201110221023.p9MAN4NW007056@smtp.infracaninophile.co.uk>

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

[-- Attachment #1 --]
On 22/10/2011 10:22, Thomas Mueller wrote:
> From: Damien Fleuriot <ml@my.gd>:

>>> > >>From my /etc/make.conf:
>> > SUP_UPDATE=     yes
>> > SUP=            /usr/bin/csup
>> > SUPFLAGS=       -zgL 2
>> > SUPHOST=        cvsup1.fr.freebsd.org
>> > SUPFILE=        /etc/cvsup/stable-supfile
>> > PORTSSUPFILE=   /etc/cvsup/ports-supfile
>> > DOCSUPFILE=     /etc/cvsup/doc-supfile
> 
> 
>> > Then, you just have to copy the sample supfiles to /etc/cvsup/
> Then how do you update the system source, ports tree or doc?
> Something with 'make'?  'make update' ?

make update is the correct command.

> For ports, I run
> portsnap fetch update
> 
> For system source, I run 
> csup /usr/share/examples/releng9-supfile
> 
> though I subsequently moved the releng9-supfile to /myconfig .

Don't define PORTSSUPFILE in /etc/make.conf if you're using portsnap(1).
 Apart from anything else, typing 'make update' in /usr/src will attempt
to cvsup not just the system sources but as well any of PORTS, DOC where
you've defined a ...SUPFILE.

In fact, without PORTSUPFILE defined in /etc/make.conf typing 'make
update' in /usr/ports will invoke portsnap for you, so long as you
obtained the ports tree by 'portsnap fetch extract' originally.

	Cheers,

	Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.                   7 Priory Courtyard
                                                  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey     Ramsgate
JID: matthew@infracaninophile.co.uk               Kent, CT11 9PW


[-- Attachment #2 --]
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.16 (Darwin)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk6in6kACgkQ8Mjk52CukIzppACdFOMz0It5rvTtdVqTy8IyoK0v
ZB4An1oZ7XaFZTZnAYGPyIw900Q+IVxm
=VLWQ
-----END PGP SIGNATURE-----
help

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