Discussion:
One simple fix/workaround is to have inetd run a
short perl or shell script which runs CVS, for
example:
#!/bin/sh exec cvs --allow-root=a
--allow-root=b pserver
A possibly better solution would be to provide a
way to get the list of repositories from a config
file probably a new global config file whose
location would be specified with a new
--global-config option). Someone has proposed the
ability to specify a file containing only allowed
roots, but seems to me that the global config idea
accomplishes the same things and is much more
expandable for the future
|