=================================================================== RCS file: /cvsrepo/anoncvs/cvs/www/anoncvs.shar,v retrieving revision 1.22 retrieving revision 1.23 diff -u -r1.22 -r1.23 --- www/anoncvs.shar 2009/08/10 09:16:52 1.22 +++ www/anoncvs.shar 2010/06/26 17:27:15 1.23 @@ -5,7 +5,6 @@ # # This archive contains: # -# anoncvs.shar # Makefile # README # anoncvssh.c @@ -59,8 +58,6 @@ X8) Once you get the distribution in, set up a cron job to run cvsync X periodically to keep your server up to date. X -X9) Enabling OpenCVS anoncvs. -X X********************************************************************** XSTEP 1) find enough disk space. X You need roughly 2GB. @@ -253,35 +250,7 @@ X15 */2 * * * /usr/local/bin/cvsync > /dev/null X X********************************************************************** -XSTEP 9): Enabling OpenCVS anoncvs. X -XThe next step is to enable OpenCVS, which will run on your system next -Xto the normal GNU cvs server. This will become the default in the -Xfuture. -X -XFirst off, create a new user account "opencvs" like you did for your -Xnormal anoncvs user: -X -Xopencvs::32766:32766::0:0:Anonymous OpenCVS User:/open/anoncvs:/open/anoncvssh -X -XBe sure that the uid and gid are unique for your system, if the ones -Xabove aren't, pick different values. -X -X#define OPENCVS_USER "opencvs" -X -XRecompile anoncvssh.c and install the binary setuid-root in /open/anoncvssh. -X -XCompile and install a current /usr/bin/opencvs. -X -XCopy /usr/bin/opencvs to /open/anoncvs/usr/bin/opencvs -X -XYou can now use OpenCVS anoncvs by using the correct CVSROOT: -X -X opencvs@anoncvs.openbsd.org:/cvs -X -XIf you encounter bugs, send them to joris@openbsd.org -X -X********************************************************************** XEXAMPLE LAYOUT X XExample layout for OpenBSD. In this example "deraadt" is the $CVSYNCUSER. @@ -353,7 +322,6 @@ Xdrwxr-xr-x 2 root wheel 512 Jun 3 01:57 ./ Xdrwxr-xr-x 5 root wheel 512 Jun 3 01:54 ../ X-r-xr-xr-x 1 root wheel 643728 Jun 3 01:54 cvs* -X-r-xr-xr-x 1 root wheel 841240 Jun 3 01:57 opencvs* X Xusr/lib: Xtotal 42344