Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jan 2009 08:58:36 -0700
From:      Tim Judd <tajudd@gmail.com>
To:        Stefan Miklosovic <miklosovic.freebsd@gmail.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: creating own CVSup server
Message-ID:  <496B68AC.9090800@gmail.com>
In-Reply-To: <f99a79ec0901111137k5de658b2hb4955dae4456dd5a@mail.gmail.com>
References:  <f99a79ec0901111137k5de658b2hb4955dae4456dd5a@mail.gmail.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
Stefan Miklosovic wrote:
> Hi all,
> 
> I decided to set up my own CVSup server just for my local
> network. After reading all related stuff I should find, I have
> solid knowledge about this issue but one thing disturbed my mind.
> 
> My pc, server which I will mirroring from, is also downloading
> source tree from another server (cvsup.at.freebsd.org) to /usr/src
> directory. I will download my src tree once a week.
> When I am going to set up cvsup server on my own, cvsup-mirror
> asks me, where I want to download files I just purchased. Default
> directory is "/home/ncvs".
> 
> My question is, can be downloading directory /usr/src ?
> Which reason should I place downloading files to /home/ncvs for?
> Does it matter ? Can I serve my own src tree for other computers?
> Does it have to be stored twice?
> 
> thank you
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"

You are mirroring the CVS source tree, you are not making a subversion 
server for your own stuff.

I've used this cvs mirror utility before.  You're mirroring a database, 
which has metainfo, versioning info, plus a whole lot more.  You can't 
simply dump this database-type of files into /usr/src and get your 
system to use them.  (There won't be a Makefile for example).

You need to store them to another location outside /usr/src -- 
/home/ncvs is a good place since the uid and gid that the cvs will serve 
as is called 'ncvs'

I'd keep progressing forward, leaving the defaults alone.

Good luck.



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?496B68AC.9090800>