| version 1.4, 2002/11/25 12:47:37 |
version 1.5, 2002/11/25 12:51:36 |
|
|
| # based on work by Bill Fenner <fenner@FreeBSD.org> |
# based on work by Bill Fenner <fenner@FreeBSD.org> |
| # |
# |
| # $FreeBSD: projects/cvsweb/cvsweb.conf,v 1.44 2002/11/24 18:03:21 scop Exp $ |
# $FreeBSD: projects/cvsweb/cvsweb.conf,v 1.44 2002/11/24 18:03:21 scop Exp $ |
| |
# $Id$ |
| # $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $ |
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $ |
| # $Platon: scripts/cgi/cvsweb/cvsweb.conf-default,v 1.3 2002/10/08 22:40:37 nepto Exp $ |
# $Platon$ |
| # |
# |
| ### |
### |
| |
|
| Line 31 chomp($uname = `$CMD{uname}`); |
|
| Line 32 chomp($uname = `$CMD{uname}`); |
|
| |
|
| ############## |
############## |
| # CVS Root |
# CVS Root |
| ############## {{{ |
############## |
| # CVSweb can handle several CVS-Repositories |
# CVSweb can handle several CVS-Repositories |
| # at once. Enter a short symbolic names and the |
# at once. Enter a short symbolic names and the |
| # full path of these repositories here. |
# full path of these repositories here. |
| Line 50 chomp($uname = `$CMD{uname}`); |
|
| Line 51 chomp($uname = `$CMD{uname}`); |
|
| # 'netbsd' => ['NetBSD', '/home/ncvs'], |
# 'netbsd' => ['NetBSD', '/home/ncvs'], |
| # 'ruby' => ['Ruby', '/var/anoncvs/ruby'], |
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'], |
| ); |
); |
| # }}} |
|
| |
|
| # This tree is enabled by default when |
# This tree is enabled by default when |
| # you enter the page |
# you enter the page |
| Line 59 $cvstreedefault = $CVSrepositories[2 * 0 |
|
| Line 59 $cvstreedefault = $CVSrepositories[2 * 0 |
|
| ############## |
############## |
| # Bug tracking system options |
# Bug tracking system options |
| # ("PR" means Problem Report, as in GNATS) |
# ("PR" means Problem Report, as in GNATS) |
| ############## {{{ |
############## |
| #@prcategories = qw( |
#@prcategories = qw( |
| # advocacy |
# advocacy |
| # alpha |
# alpha |
| Line 74 $cvstreedefault = $CVSrepositories[2 * 0 |
|
| Line 74 $cvstreedefault = $CVSrepositories[2 * 0 |
|
| # ports |
# ports |
| # sparc |
# sparc |
| #); |
#); |
| # }}} |
|
| |
|
| # |
# |
| #$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; |
#$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; |
| Line 83 $cvstreedefault = $CVSrepositories[2 * 0 |
|
| Line 82 $cvstreedefault = $CVSrepositories[2 * 0 |
|
| |
|
| ############## |
############## |
| # Manual gateway |
# Manual gateway |
| ############## {{{ |
############## |
| $mancgi = |
$mancgi = |
| "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; |
"http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; |
| # }}} |
|
| |
|
| ############## |
############## |
| # Defaults for UserSettings |
# Defaults for UserSettings |
| ############## {{{ |
############## |
| %DEFAULTVALUE = ( |
%DEFAULTVALUE = ( |
| |
|
| # sortby: File sort order |
# sortby: File sort order |
|
|
| # 0 Show non-readable entries |
# 0 Show non-readable entries |
| "hidenonreadable" => "1", |
"hidenonreadable" => "1", |
| ); |
); |
| # }}} |
|
| |
|
| ############## |
############## |
| # some layout stuff |
# some layout stuff |
| ############## {{{ |
############## |
| |
|
| # Wanna have a logo on the page ? |
# Wanna have a logo on the page ? |
| $logo = '<p><img src="/icons/apache_pb.gif" alt="Powered by Apache"></p>'; |
$logo = '<p><img src="/icons/apache_pb.gif" alt="Powered by Apache"></p>'; |
| Line 215 $shortLogLen = 80; |
|
| Line 212 $shortLogLen = 80; |
|
| # Show author of last change |
# Show author of last change |
| $show_author = 1; |
$show_author = 1; |
| |
|
| # }}} |
|
| |
|
| ############## |
############## |
| # table view for directories |
# table view for directories |
| ############## |
############## |
| Line 253 $use_descriptions = 0; |
|
| Line 248 $use_descriptions = 0; |
|
| |
|
| ############## |
############## |
| # Human Readable Diff |
# Human Readable Diff |
| ############## {{{ |
############## |
| |
|
| # (c) 1998 H. Zeller <zeller@think.de> |
# (c) 1998 H. Zeller <zeller@think.de> |
| # |
# |
| Line 299 $hr_ignkeysubst = 1; |
|
| Line 294 $hr_ignkeysubst = 1; |
|
| # request-diff-form |
# request-diff-form |
| $inputTextSize = 12; |
$inputTextSize = 12; |
| |
|
| # }}} |
|
| |
|
| ############## |
############## |
| # Mime Types |
# Mime Types |
| ############## {{{ |
############## |
| |
|
| # mapping to mimetypes to help |
# mapping to mimetypes to help |
| # cvsweb to guess the correct mime-type on |
# cvsweb to guess the correct mime-type on |
| Line 326 $mime_types = '/usr/local/etc/apache/mim |
|
| Line 319 $mime_types = '/usr/local/etc/apache/mim |
|
| "xpm" => "image/xpm", |
"xpm" => "image/xpm", |
| "*" => "text/plain", |
"*" => "text/plain", |
| ); |
); |
| # }}} |
|
| |
|
| # Charset for HTML output |
# Charset for HTML output |
| $charset = ''; |
$charset = ''; |
| |
|
| $HTML_DOCTYPE = |
|
| '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'; |
|
| |
|
| $HTML_META = <<EOM; |
|
| <meta name="robots" content="nofollow"> |
|
| <meta name="generator" content="FreeBSD-CVSweb $cvsweb_revision"> |
|
| <meta http-equiv="Content-Script-Type" content="text/javascript"> |
|
| <meta http-equiv="Content-Style-Type" content="text/css"> |
|
| EOM |
|
| |
|
| # e.g. |
# e.g. |
| #$charset = $where =~ m,/ru[/_-], ? 'koi8-r' |
#$charset = $where =~ m,/ru[/_-], ? 'koi8-r' |
| # : $where =~ m,/zh[/_-], ? 'big5' |
# : $where =~ m,/zh[/_-], ? 'big5' |
| Line 356 $output_filter = ''; |
|
| Line 338 $output_filter = ''; |
|
| #$output_filter= '/usr/local/bin/nkf -e'; |
#$output_filter= '/usr/local/bin/nkf -e'; |
| |
|
| ############## |
############## |
| # Error messages |
|
| ############## {{{ |
|
| |
|
| %errorMessages = ( |
|
| 'forbidden files' => 'Access forbidden. This file is mentioned in @ForbiddenFiles', |
|
| 'forbidden modules' => 'Access to %s forbidden.', |
|
| 'no such file' => '%s: no such file or directory', |
|
| 'tarball prohibited' => 'Downloading tarballs is prohibited.', |
|
| 'malformed query' => 'Malformed query "%s"', |
|
| 'malformed query2' => 'Malformed query (%s=%s)', |
|
| 'bad diff' => 'Diff format %s not understood', |
|
| 'RCS output' => 'Error parsing RCS output: %s', |
|
| 'tag not found' => 'Tag %s not defined', |
|
| 'server down' => '$CVSROOT not found!<p>The server on which the CVS tree lives is probably down. Please try again in a few minutes.', |
|
| 'download topdir' => 'You cannot download the top level directory.', |
|
| 'make temp' => 'Unable to make temporary directory: %s', |
|
| 'cvs co failure' => 'cvs co failure: %s: %s', |
|
| 'tar zc failure' => 'tar zc failure: %s: %s', |
|
| 'zip failure' => 'zip failure: %s: %s', |
|
| 'unsupported file type' => 'unsupported file type', |
|
| 'annotate' => 'Error occured during annotate: <b>%s</b>', |
|
| 'pertinent' => '%s is not (any longer) pertinent', |
|
| 'unexpected output' => 'Unexpected output from cvs co: %s', |
|
| 'failed spawn' => 'Failed to spawn GNU rlog on <em>"%s"</em>. <p>Did you set the <b>$command_path</b> in your configuration file correctly ? (Currently "%s"', |
|
| |
|
| ); |
|
| |
|
| # }}} |
|
| |
|
| ############## |
|
| # Misc |
# Misc |
| ############## {{{ |
############## |
| # allow annotation of files |
# allow annotation of files |
| # this requires rw-access to the |
# this requires rw-access to the |
| # CVSROOT/history file (if you have one) |
# CVSROOT/history file (if you have one) |
| Line 532 push @cvs_options, '-u' if ($uname eq 'N |
|
| Line 484 push @cvs_options, '-u' if ($uname eq 'N |
|
| # @annotate_options = (@cvs_options, '-n'); |
# @annotate_options = (@cvs_options, '-n'); |
| |
|
| 1; |
1; |
| # }}} |
|
| |
|
| # vim600: fdm=marker fdl=0 fdc=3 ft=perl |
|
| #EOF |
#EOF |