Arash Khodabandeh writes:
>
> I would like to change the default ports for a pserver and a kserver.
> For a kserver, CVS uses the CVS_CLIENT_PORT, but the manual does not
> mention any variable for the pserver. Is the pserver port hard coded?
The current version allows you to specify a port number in CVSROOT:
http://www.cvshome.org/docs/manual/cvs_2.html#SEC26
If that's not set, it uses the value of the $CVS_CLIENT_PORT environment
variable. If that's not set, it uses the getservbyname() library
routine to look up the port assigned (typically in /etc/services) to
"cvspserver". Only if that's not set does it finally default to the
hard-coded value (CVS_AUTH_PORT). Older versions did not allow the port
in CVSROOT and may not have looked at $CVS_CLIENT_PORT.
-Larry Jones
Summer vacation started! I can't be sick! -- Calvin
_______________________________________________
Info-cvs mailing list
[EMAIL PROTECTED]
http://mail.gnu.org/mailman/listinfo/info-cvs