Enable CVS pserver on 10.2

Sep 18, '02 08:51:24AM

Contributed by: kwiersma

Set up for cvspserver is even easiler in OS 10.2 using xinetd. Here is what I did:

  1. Create a new file called "cvspserver" in /ete/xinetd.d/

  2. Inside that file paste the following:
    service cvspserver
    {
    disable = no
    protocol = tcp
    socket_type = stream
    wait = no
    user = root
    server = /usr/bin/cvs
    server_args = -f --allow-root="Your CVSROOT here" pserver
    passenv =
    groups = yes
    }
    Replace the "Your CVSROOT here" with the location of your repository (example: /usr/local/cvsroot).

  3. Restart xinetd. Send a SIGHUP signal to the xinetd process.

  4. Change your firewall configuration to allow port 2401 if appropriate.
Now you are done and should be able to connect.

[Editor's note: This hint explains how to set it up in pre 10.2 systems.]

Comments (25)


Mac OS X Hints
http://hints.macworld.com/article.php?story=20020918055124794