aboutsummaryrefslogtreecommitdiff
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README33
1 files changed, 32 insertions, 1 deletions
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.
@@ -231,6 +233,35 @@ 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
Example layout for OpenBSD. In this example "deraadt" is the $SUPUSER.