Search:  
Gentoo Wiki

HOWTO_setup_cvs_server

This article is still a Stub. You can help Gentoo-Wiki by expanding it.

See this article
  1. emerge cvsd
  2. mkdir /var/lib/cvsd
  3. cvs -d /var/lib/cvsd/root init
  4. cvsd-buildroot /var/lib/cvsd
  5. cd /var/lib/cvsd
  6. mkdir -p var/lock
  7. nano -w /etc/cvsd/cvsd.conf
File: /etc/cvsd/cvsd.conf
Uid cvsd
Gid cvsd
RootJail /var/lib/cvsd
Listen * 2401 # or whatever port you'd like it to listen on, up to you
Repos /root
  1. cvsd-passwd /var/lib/cvsd/root YOUR_USER_HERE
  2. touch /var/lib/cvsd/root/CVSROOT/readers
  3. chown cvsd:cvsd /var/lib/cvsd/root/CVSROOT/readers
  4. nano /var/lib/cvsd/root/CVSROOT/readers

//add some read users

  1. cd /var/lib
  2. chown -R cvsd:cvsd cvsd
  3. chmod -R 775 /var/lib/cvsd/var
  4. /etc/init.d/cvsd restart
  5. rc-update add cvsd default

local test as follows:

  1. CVSROOT=:pserver:YOUR_USER_HERE@localhost:/root; export CVSROOT
  2. cvs login
Retrieved from "http://www.gentoo-wiki.info/HOWTO_setup_cvs_server"

Last modified: Mon, 08 Sep 2008 06:44:00 +0000 Hits: 6,473