From faf7e6f1513d2582f4a6eed04aaf8ec97028e27b Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Sat, 2 May 2009 20:31:43 +0000 Subject: sync, OpenCVS --- README | 33 ++++++++++++++++++++++++++++++++- 1 file changed, 32 insertions(+), 1 deletion(-) (limited to 'README') diff --git a/README b/README index cb729c1..74c51d9 100644 --- a/README +++ b/README @@ -34,10 +34,12 @@ 8) Once you get the distribution in, set up a cron job to run sup periodically to keep your server up to date. +9) Enabling OpenCVS anoncvs. + ********************************************************************** STEP 1) find enough disk space. You need roughly 2GB. - Mount it on /open. + Mount it on /open, make sure it doesn't have nosuid and nodev flags. If you are not able to mount it as /open, substitute it's location throughout the rest of this description. @@ -230,6 +232,35 @@ weekly 'sup -vo supfile' .. because sup is not reliable .. anoncvs5.usa.openbsd.org uses this particular set of entries. A `sup -o' is done every few days because sup is not very robust. +********************************************************************** +STEP 9): Enabling OpenCVS anoncvs. + +The next step is to enable OpenCVS, which will run on your system next +to the normal GNU cvs server. This will become the default in the +future. + +First off, create a new user account "opencvs" like you did for your +normal anoncvs user: + +opencvs::32766:32766::0:0:Anonymous OpenCVS User:/open/anoncvs:/open/anoncvssh + +Be sure that the uid and gid are unique for your system, if the ones +above aren't, pick different values. + +#define OPENCVS_USER "opencvs" + +Recompile anoncvssh.c and install the binary setuid-root in /open/anoncvssh. + +Compile and install a current /usr/bin/opencvs. + +Copy /usr/bin/opencvs to /open/anoncvs/usr/bin/opencvs + +You can now use OpenCVS anoncvs by using the correct CVSROOT: + + opencvs@anoncvs.openbsd.org:/cvs + +If you encounter bugs, send them to joris@openbsd.org + ********************************************************************** EXAMPLE LAYOUT -- cgit v1.2.3