CVS Repository installation

Packages

apt-get install cvs

Configuration

Edit /etc/vhffs/vhffs.conf

<cvs>
   # Use this module or not
   activate        =       yes

   # URL to the svnweb
   cvsweb_url      =       "http://cvsweb.domain.com"

   # URL to the documentation (optional)
   url_doc         =       http://help.domain.net/cvs
</cvs>

Then, activate the bots with a cron file, for example, /etc/cron.d/vhffs

#*/10   *       * * *   root    ionice -c3 nice -n 19 /usr/lib/vhffs/bots/cvs_create.pl
#*/10   *       * * *   root    ionice -c3 nice -n 19 /usr/lib/vhffs/bots/cvs_delete.pl
#*/10   *       * * *   root    ionice -c3 nice -n 19 /usr/lib/vhffs/bots/cvs_public.pl

Initiate a new repository

Create a repository through the panel.

CVS using SSH authentication needs full NSS support, please check the local NSS database is filled up with passwd and shadow data.

We recommends you to:

  • Create a chroot for CVS.
  • Not install VHFFS in this chroot.
  • Fill the NSS database from outside the chroot
  • Use a restricted shell service that allows only running the CVS binary, you will find in the VHFFS source tree a dummy shell called tuxshell in the /vhffs-shells directory.
  • Only mount bind, or nfs mount, or whatever mount, the /data/cvs directory in the chroot.

ViewVC

One cron is generating configuration files for ViewVC in /data/cvs/conf, we let you find how to use it.

#*/10   *       * * *   root    ionice -c3 nice -n 19 /usr/lib/vhffs/bots/cvs_viewvcconf.pl
doc/installationguide/cvs-service.txt · Last modified: 2011/04/12 22:41 by gradator
Recent changes RSS feed Creative Commons License Donate Minima Template by Wikidesign Driven by DokuWiki