From owner-freebsd-questions@FreeBSD.ORG Sun Nov 30 09:14:59 2003 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EF29916A4CE for ; Sun, 30 Nov 2003 09:14:59 -0800 (PST) Received: from morpheus.webteckies.org (node123e0.a2000.nl [24.132.35.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id E2E8E43FDD for ; Sun, 30 Nov 2003 09:14:58 -0800 (PST) (envelope-from freebsd-questions@webteckies.org) Received: from sarevok.idg.nl (unknown [192.168.1.12]) by morpheus.webteckies.org (Postfix) with ESMTP id 9EF8F107C6; Sun, 30 Nov 2003 18:11:39 +0100 (CET) From: Melvyn Sopacua Organization: WebTeckies.org To: corbesero@cs.moravian.edu Date: Sun, 30 Nov 2003 18:14:55 +0100 User-Agent: KMail/1.5.93 References: <200311301654.hAUGsDp06296@catwoman.cs.moravian.edu> In-Reply-To: <200311301654.hAUGsDp06296@catwoman.cs.moravian.edu> MIME-Version: 1.0 Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Boundary-02=_QWiy/JQIx0DbKuR"; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200311301814.56728.freebsd-questions@webteckies.org> cc: FreeBSD-questions Subject: Re: How to use a mirrord cvs repository X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 30 Nov 2003 17:15:00 -0000 --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--