Re: How to use a mirrord cvs repository

From: Melvyn Sopacua (freebsd-questions_at_webteckies.org)
Date: 11/30/03

  • Next message: Matthew Seaman: "Re: sendmail newbie question"
    To: corbesero@cs.moravian.edu
    Date: Sun, 30 Nov 2003 18:14:55 +0100
    
    
    

    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
    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= yes
    CVSROOT?= /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. Have
    a look at the cvs(1) manpage for examples of that, allthough probably the
    best method is to have /home/ncvs available via NFS on the local network,
    because it doesn't require you to allow 'root' to ssh to other machines or
    setup a pserver.

    Remove /usr/src.old once your satisfied :)

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



  • Next message: Matthew Seaman: "Re: sendmail newbie question"

    Relevant Pages