version 4.1, 2019/03/20 20:52:07 |
version 4.6, 2019/11/11 13:28:36 |
|
|
# -*- perl -*- |
# -*- perl -*- |
|
# $Id$ |
|
# $doc: cvsweb.conf,v 1.38 2006/01/19 19:53:38 ceri |
|
# $knu: cvsweb.conf,v 1.97 2005/06/19 09:13:50 scop |
|
# |
# Configuration of cvsweb.cgi, a web interface to CVS repositories. |
# Configuration of cvsweb.cgi, a web interface to CVS repositories. |
# |
# |
# (c) 1998-1999 H. Zeller <zeller@think.de> |
# (c) 1998-1999 H. Zeller <zeller@think.de> |
|
|
# 2000-2002 A. MUSHA <knu@FreeBSD.org> |
# 2000-2002 A. MUSHA <knu@FreeBSD.org> |
# 2002-2005 V. Skyttä <scop@FreeBSD.org> |
# 2002-2005 V. Skyttä <scop@FreeBSD.org> |
# based on work by Bill Fenner <fenner@FreeBSD.org> |
# based on work by Bill Fenner <fenner@FreeBSD.org> |
# |
|
# $FreeBSD$ |
|
# $Id$ |
|
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 3.27 2001/08/01 09:48:39 knu Exp $ |
|
# |
|
|
|
# |
# |
# Unless otherwise noted, all boolean parameters here default to off |
# Unless otherwise noted, all boolean parameters here default to off |
Line 57 $CMD{tar} ||= search_path('tar'); |
|
Line 56 $CMD{tar} ||= search_path('tar'); |
|
# 'symbolic_name' => ['Name to display', '/path/to/cvsroot'] |
# 'symbolic_name' => ['Name to display', '/path/to/cvsroot'] |
# |
# |
@CVSrepositories = ( |
@CVSrepositories = ( |
'local' => ['Local Repository', '/var/cvs'], |
'local' => ['Local Repository', '/cvs'], |
# 'freebsd' => ['FreeBSD', '/var/ncvs'], |
|
# 'openbsd' => ['OpenBSD', '/var/ncvs'], |
|
# 'netbsd' => ['NetBSD', '/var/ncvs'], |
|
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'], |
|
); |
); |
|
|
# The default CVS root. Note that @CVSrepositories is list, not a hash, |
# The default CVS root. Note that @CVSrepositories is list, not a hash, |
|
|
# h Human readable |
# h Human readable |
# u Unified diff |
# u Unified diff |
# c Context diff |
# c Context diff |
# s Side by side |
|
# uc Unified diff, enscript colored (falls back to "u" w/o enscript) |
# uc Unified diff, enscript colored (falls back to "u" w/o enscript) |
# cc Context diff, enscript colored (falls back to "c" w/o enscript) |
# cc Context diff, enscript colored (falls back to "c" w/o enscript) |
# sc Side by side, enscript colored (falls back to "s" w/o enscript) |
|
"f" => "u", |
"f" => "u", |
|
|
# hidecvsroot: Don't show the CVSROOT directory. Note that this is |
# hidecvsroot: Don't show the CVSROOT directory. Note that this is |
Line 181 $defaulttitle = "CVS Repository"; |
|
Line 174 $defaulttitle = "CVS Repository"; |
|
|
|
# The address is shown on the footer. This will be put inside a <address> tag. |
# The address is shown on the footer. This will be put inside a <address> tag. |
# |
# |
$address = '<span style="font-size: smaller">FreeBSD-CVSweb</span>'; |
$address = '<span style="font-size: smaller">CVSweb</span>'; |
|
|
$long_intro = <<EOT; |
$long_intro = <<EOT; |
<p> |
<p> |
|
|
href="http://www.opensource.org/licenses/bsd-license.html">The BSD License</a>. |
href="http://www.opensource.org/licenses/bsd-license.html">The BSD License</a>. |
</p><p> |
</p><p> |
If you would like to use this CGI script on your own web server and |
If you would like to use this CGI script on your own web server and |
CVS tree, download the latest version from <<a |
CVS tree, download the latest version from |
href="http://www.FreeBSD.org/projects/cvsweb.html">http://www.FreeBSD.org/projects/cvsweb.html</a>>. |
<<a href="http://cvsweb.bsd.lv/">http://cvsweb.bsd.lv/</a>>. |
</p> |
</p> |
EOT |
EOT |
|
|
Line 288 $hr_breakable = 1; |
|
Line 281 $hr_breakable = 1; |
|
# |
# |
$showfunc = 1; |
$showfunc = 1; |
|
|
# For each pair of regexps, files that match the first regexp will be diff'ed |
|
# with an -F option using the second regexp (unified and context only). |
|
# See the -F option in the diff(1) man page. |
|
# |
|
%funcline_regexp = ( |
|
qr/\.(?:4th|fr)$/o => "\\(^\\|[ \t]\\): ", |
|
qr/\.rb$/o => "^[\t ]*\\(class\\|module\\|def\\) ", |
|
); |
|
|
|
# Ignore whitespace in human readable diffs? ('-w' option to diff) |
# Ignore whitespace in human readable diffs? ('-w' option to diff) |
# |
# |
$hr_ignwhite = 0; |
$hr_ignwhite = 0; |
Line 363 $inputTextSize = 12; |
|
Line 347 $inputTextSize = 12; |
|
# The traditional mime.types file, eg. the one from Apache is fine. |
# The traditional mime.types file, eg. the one from Apache is fine. |
# See above where this gets used. |
# See above where this gets used. |
# |
# |
$mime_types = '/usr/local/etc/apache/mime.types'; |
$mime_types = '/conf/mime.types'; |
|
|
# Charset appended to the Content-Type HTTP header for text/* MIME types. |
# Charset appended to the Content-Type HTTP header for text/* MIME types. |
# Note that the web server may default to some charset which may take effect |
# Note that the web server may default to some charset which may take effect |
Line 424 $allow_source_extra = 1; |
|
Line 408 $allow_source_extra = 1; |
|
# that the browser supports it, and will be disabled on the fly when necessary. |
# that the browser supports it, and will be disabled on the fly when necessary. |
# |
# |
#$allow_compress = 1; |
#$allow_compress = 1; |
|
|
# Use JavaScript in the UI? |
|
# |
|
$use_java_script = 1; |
|
|
|
# Show a form for setting options in the directory view? |
# Show a form for setting options in the directory view? |
# |
# |