# -*- perl -*- # Configuration of cvsweb.cgi, a web interface to CVS repositories. # # (c) 1998-1999 H. Zeller # 1999 H. Nordstrom # 2000-2002 A. MUSHA # 2002-2005 V. Skytt� # based on work by Bill Fenner # # $FreeBSD: projects/cvsweb/cvsweb.conf,v 1.97 2005/06/19 09:13:50 scop Exp $ # $Id: cvsweb.conf,v 1.29 2001/07/23 09:14:52 hzeller Exp $ # $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $ # # # Unless otherwise noted, all boolean parameters here default to off # when no value for them has been explicitly set. # # Set the path for the following commands: # cvs, rlog, rcsdiff # gzip (if you enable $allow_compress) # (g)tar, zip (if you enable $allow_tar) # cvsgraph (if you enable $allow_graph) # enscript (if you enable $allow_enscript) # @command_path = qw(/bin /usr/bin); # Search the above directories for each command (prefer gtar over tar). # for (qw(cvs rlog rcsdiff gzip gtar zip cvsgraph enscript)) { $CMD{$_} = search_path($_); } $CMD{tar} = delete($CMD{gtar}) if $CMD{gtar}; $CMD{tar} ||= search_path('tar'); # CVS roots # # CVSweb can handle several CVS repositories at once. Enter short (internal) # symbolic repository names, their names in the UI and the actual locations # here. The repositories will be listed in the order they're specified here. # # Obviously, CVSweb will need read access to these repository dirs. If you # receive an error that no valid CVS roots were found, double-check the file # permissions and any other attributes your system may have for the repository # directories, such as SELinux file contexts. # # CVSweb will also load per-cvsroot configuration files if they exist. # The symbolic_name (see below) of the CVS root will be concatenated into the # name of the main (this) configuration file along with a hyphen, and that # file will be loaded for that particular CVS root. For examples, see # cvsweb.conf-* in the CVSweb distribution. # # Note that only local repositories are currently supported. Things like # :pserver:someone@xyz.com:/data/cvsroot won't work. # # 'symbolic_name' => ['Name to display', '/path/to/cvsroot'] # @CVSrepositories = ( 'local' => ['Local Repository', '/var/cvs'], # 'freebsd' => ['FreeBSD', '/var/ncvs'], # 'openbsd' => ['OpenBSD', '/var/ncvs'], # 'netbsd' => ['NetBSD', '/var/ncvs'], # 'ruby' => ['Ruby', '/var/anoncvs/ruby'], );