[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Standalone CVS pserver

From: Robert Schiele
Subject: Re: Standalone CVS pserver
Date: Mon, 5 Mar 2001 20:22:35 +0100
User-agent: Mutt/1.3.12i

On Thu, Mar 01, 2001 at 04:22:26PM -0000, Darren Young wrote:
> I read a thread from last year that mentioned the same type of issue 
> I am looking to resolve, although I did not find any appropriate 
> answers. I am looking to set up a cvs pserver, however it will be 
> located on my hosting provider's machine. I have shell access and 
> have compiled/installed 1.11 with --prefix=$HOME. Now, what I would 
> like to do is something like this:
>    $HOME/bin/cvs --allow-root=$HOME/cvsroot -T$HOME/tmp -f pserver &
> It seems to start fine, although if I touch my keyboard it stops. In 
> a second shell session, netstat -na | grep 2401 doesn't show me 
> listening() either.?
> Also, I'd like to change the default port from 2401 to something 
> else, from what I have seen I need to modify CVS_AUTH_PORT in 
> client.h and recompile, correct? It seems as though there is no way 
> to set this at run-time.
> Has anyone successfully done this, if so, what details am I missing? 
> By the way, the machine that I am running this on is a RedHat 
> 6.2/2.2.16-3.

You might want to use inetd. You can run this as a normal user
too. You do not need root privileges to run inetd with a cvs pserver.

I am going to run a cvs pserver with about 40 repositories, which for
some reasons need to be completely distinct, I ran into the problem
that most inetd implementations limit the number of parameters.

For that reason I hacked a standalone cvs pserver, which currently is
a wrapper around normal cvs derived from a port of OpenBSD inetd to
Linux by Thorsten Kukuk.

If you want to test it, you can get it from

It currently supports Linux (tested on glibc 2.1 and 2.2), but might
as well work on other systems (with some changes).

There is some short description in the source file. If it is not
understandable, feel free to contact me.

Further plans are to make a patch against normal cvs to make it
support this functionality directly.

Feedback is welcome.


Robert Schiele                  mailto:address@hidden
Tel./Fax: +49-621-10059

Attachment: pgpOrQbLDWj7Q.pgp
Description: PGP signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]