version 1.2, 2004/08/03 14:47:30 |
version 1.3, 2004/12/02 22:38:30 |
|
|
It is a human-readable text file consisting of one-line directives that |
It is a human-readable text file consisting of one-line directives that |
the server handles to modify its configuration and Access Control List rules |
the server handles to modify its configuration and Access Control List rules |
to control operations on the repository. |
to control operations on the repository. |
Comments can be inserted anywhere in the file by putting a '#' character |
Comments can be inserted anywhere in the file by putting a |
before them and span to the end of the line. |
.Sq # |
.Pp |
character before them and span to the end of the line. |
.Sh MACROS |
.Sh MACROS |
To simplify maintenance of the configuration, the format allows for the |
To simplify maintenance of the configuration, the format allows for the |
definition of variables that can later be used for interpolation throughout |
definition of variables that can later be used for interpolation throughout |
the configuration file by preceding them with the '$' character. |
the configuration file by preceding them with the |
|
.Sq $ |
|
character. |
These variables are refered to as macros throughout the rest of the document. |
These variables are refered to as macros throughout the rest of the document. |
A macro name must start with a letter and can be composed of letters, digits |
A macro name must start with a letter and can be composed of letters, digits, |
and underscores. |
and underscores. |
.Pp |
.Pp |
Here is an example of macro usage: |
Here is an example of macro usage: |
|
|
connections. |
connections. |
This is currently parsed but ignored, as the CVS daemon doesn't support |
This is currently parsed but ignored, as the CVS daemon doesn't support |
direct TCP connections yet. |
direct TCP connections yet. |
.It Sy minchild Ar num |
|
Set the server's minimum number of child processes to |
|
.Ar num . |
|
.It Sy maxchild Ar num |
.It Sy maxchild Ar num |
Set the server's maximum number of child processes to |
Set the server's maximum number of child processes to |
.Ar num . |
.Ar num . |
|
.It Sy minchild Ar num |
|
Set the server's minimum number of child processes to |
|
.Ar num . |
.It Sy reqsock Ar path |
.It Sy reqsock Ar path |
Set the server's local socket path to |
Set the server's local socket path to |
.Ar path . |
.Ar path . |
|
|
.Nm |
.Nm |
rules: |
rules: |
.Bl -tag -width "this is a test" |
.Bl -tag -width "this is a test" |
|
.It Ic action |
|
::= allow | deny |
.It Ic line |
.It Ic line |
::= |
::= |
|
.It Ic op |
|
::= add | commit | tag | update |
|
.It Ic option |
|
::= quick | log |
|
.It Ic optlist |
|
::= |
|
.Ic option |
|
| |
|
.Ic optlist , |
|
.Ic option |
.It Ic rule |
.It Ic rule |
::= |
::= |
.Ic action |
.Ic action |
|
|
[ from |
[ from |
.Ic userlist |
.Ic userlist |
] |
] |
.It Ic action |
|
::= allow | deny |
|
.It Ic option |
|
::= quick | log |
|
.It Ic optlist |
|
::= |
|
.Ic option |
|
| |
|
.Ic optlist , |
|
.Ic option |
|
.It Ic op |
|
::= add | commit | tag | update |
|
.It Ic userlist |
.It Ic userlist |
::= |
::= |
.El |
.El |
.Pp |
|
.Sh EXAMPLES |
.Sh EXAMPLES |
The following rule denies all operations: |
The following rule denies all operations: |
.Bd -literal |
.Bd -literal -offset indent |
deny quick any |
deny quick any |
.Ed |
.Ed |
.Sh FILES |
.Sh FILES |
.Bl -tag -width /etc/cvsd.conf -compact |
.Bl -tag -width /etc/cvsd.conf -compact |