Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Nov 2003 18:14:55 +0100
From:      Melvyn Sopacua <freebsd-questions@webteckies.org>
To:        corbesero@cs.moravian.edu
Cc:        FreeBSD-questions <questions@FreeBSD.ORG>
Subject:   Re: How to use a mirrord cvs repository
Message-ID:  <200311301814.56728.freebsd-questions@webteckies.org>
In-Reply-To: <200311301654.hAUGsDp06296@catwoman.cs.moravian.edu>
References:  <200311301654.hAUGsDp06296@catwoman.cs.moravian.edu>

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

--Boundary-02=_QWiy/JQIx0DbKuR
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Content-Disposition: inline

On Sunday 30 November 2003 17:54, Stephen Corbesero wrote:

> There are several places which clearly describe how to do the cvs
> mirroring, but how do i use the mirror locally?  I was successful in
> grabbing the repository.:

Let's say you've mirrored the repository in /home/ncvs (like the default in=
=20
cvs-supfile).

On that machine, you mv /usr/src /usr/src.old.
Then cd into /usr and:
cvs -d/home/ncvs co -rYOUR_TAG_HERE src

Edit /etc/make.conf:
CVS_UPDATE=3D	yes
CVSROOT?=3D	/home/ncvs

Unset any SUP* variables to make the 'make update' target work correctly.
Adjust the CVSROOT variable if you share the src mirror between machines. H=
ave=20
a look at the cvs(1) manpage for examples of that, allthough probably the=20
best method is to have /home/ncvs available via NFS on the local network,=20
because it doesn't require you to allow 'root' to ssh to other machines or=
=20
setup a pserver.

Remove /usr/src.old once your satisfied :)
=2D-=20
Melvyn

=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D
=46reeBSD sarevok.webteckies.org 5.2-BETA FreeBSD 5.2-BETA #1: Sat Nov 29=20
00:15:33 CET 2003     root@sarevok.webteckies.org:/usr/obj/usr/src/sys/
SAREVOK_NOFW_DBG  i386
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D

--Boundary-02=_QWiy/JQIx0DbKuR
Content-Type: application/pgp-signature
Content-Description: signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (FreeBSD)

iD8DBQA/yiWQOv9JNmfFN5URAgzTAJ9zrE04m85lu1D4V7yoxPJSjAG14gCgsD4o
vVnSMvM1SxWe9quBewEpes4=
=E2wC
-----END PGP SIGNATURE-----

--Boundary-02=_QWiy/JQIx0DbKuR--



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