On Wed, Jun 22, 2005 at 11:33:15PM +0200, Frank Denis (Jedi/Sector One) wrote: > Hello, > > I'd like to offer a public OpenBSD CVS mirror, but I have no experience > with setting up CVS servers, especially public ones. > > My question may sound obvious: how to set up a read-only CVS server, using > the reference CVS or OpenCVS?
You need this which contains both the instructions and the anoncvs shell needed: http://openbsd.org/anoncvs.shar Replace reference to "sup" with cvsync and the information available at http://openbsd.org/cvsync.html > > I found various tutorials and scripts, but they all describe the insecure > pserver way. I tried to have different uids for the files and for the > anoncvs account, but the CVS server chokes when it comes to creating lock > files. The only working way I found was a systrace policy (just in case it > would be useful to anyone, you can find it here: > ftp://ftp.00f.net/misc/systrace/usr_bin_cvs). But there must be a most > obvious way to do it. How are you doing it, guys? OpenBSD's cvs has special code to make it work under an unwritable directory tree. That code gets trigged by the environment variable CVSREADONLYFS=1. I don't beleive that code ever made it to the gnu version in the decade that functionnality has been available. The Net and Free supports this, I beleive. > > TIA, > > -Frank. -- Hugo Villeneuve <[EMAIL PROTECTED]> http://EINTR.net/