Re: csup: How do I know I have correct version?
This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig08C45280992986CA2D4F16B9
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
On 22/10/2011 10:22, Thomas Mueller wrote:
> From: Damien Fleuriot <ml@my.gd>:
>>> > >>From my /etc/make.conf:
>> > SUP_UPDATE=3D yes
>> > SUP=3D /usr/bin/csup
>> > SUPFLAGS=3D -zgL 2
>> > SUPHOST=3D cvsup1.fr.freebsd.org
>> > SUPFILE=3D /etc/cvsup/stable-supfile
>> > PORTSSUPFILE=3D /etc/cvsup/ports-supfile
>> > DOCSUPFILE=3D /etc/cvsup/doc-supfile
>=20
>=20
>> > 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
>=20
> For system source, I run=20
> csup /usr/share/examples/releng9-supfile
>=20
> 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
--=20
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
--------------enig08C45280992986CA2D4F16B9
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"
-----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-----
--------------enig08C45280992986CA2D4F16B9--
討論串 (同標題文章)
完整討論串 (本文為第 5 之 6 篇):