[BACK]Return to anoncvs.shar CVS log [TXT][DIR] Up to [local] / www

Diff for /www/anoncvs.shar between version 1.22 and 1.23

version 1.22, 2009/08/10 09:16:52 version 1.23, 2010/06/26 17:27:15
Line 5 
Line 5 
 #  #
 # This archive contains:  # This archive contains:
 #  #
 #       anoncvs.shar  
 #       Makefile  #       Makefile
 #       README  #       README
 #       anoncvssh.c  #       anoncvssh.c
Line 59 
Line 58 
 X8) Once you get the distribution in, set up a cron job to run cvsync  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   periodically to keep your server up to date.
 X  X
 X9) Enabling OpenCVS anoncvs.  
 X  
 X**********************************************************************  X**********************************************************************
 XSTEP 1) find enough disk space.  XSTEP 1) find enough disk space.
 X    You need roughly 2GB.  X    You need roughly 2GB.
Line 253 
Line 250 
 X15 */2 * * * /usr/local/bin/cvsync > /dev/null  X15 */2 * * * /usr/local/bin/cvsync > /dev/null
 X  X
 X**********************************************************************  X**********************************************************************
 XSTEP 9): Enabling OpenCVS anoncvs.  
 X  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  XEXAMPLE LAYOUT
 X  X
 XExample layout for OpenBSD. In this example "deraadt" is the $CVSYNCUSER.  XExample layout for OpenBSD. In this example "deraadt" is the $CVSYNCUSER.
Line 353 
Line 322 
 Xdrwxr-xr-x  2 root  wheel     512 Jun  3 01:57 ./  Xdrwxr-xr-x  2 root  wheel     512 Jun  3 01:57 ./
 Xdrwxr-xr-x  5 root  wheel     512 Jun  3 01:54 ../  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  643728 Jun  3 01:54 cvs*
 X-r-xr-xr-x  1 root  wheel  841240 Jun  3 01:57 opencvs*  
 X  X
 Xusr/lib:  Xusr/lib:
 Xtotal 42344  Xtotal 42344

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.23