=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf,v retrieving revision 3.1 retrieving revision 3.14 diff -u -p -r3.1 -r3.14 --- cvsweb/Attic/cvsweb.conf 2000/07/19 21:59:47 3.1 +++ cvsweb/Attic/cvsweb.conf 2001/01/01 21:24:03 3.14 @@ -6,7 +6,8 @@ # 1999 H. Nordstrom # 2000 A. MUSHA # based on work by Bill Fenner -# $Id: cvsweb.conf,v 3.1 2000/07/19 21:59:47 knu Exp $ +# $zId: cvsweb.conf,v 3.27 2000/07/27 10:16:39 kcoar Exp $ +# $Id: cvsweb.conf,v 3.14 2001/01/01 21:24:03 knu Exp $ # ### @@ -50,6 +51,7 @@ $cvstreedefault = 'local'; i386 kern misc + pending ports sparc ); @@ -57,9 +59,14 @@ $cvstreedefault = 'local'; ############## # query-pr.cgi ############## -$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi"; +$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; ############## +# man.cgi +############## +$mancgi = "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; + +############## # Defaults for UserSettings ############## %DEFAULTVALUE = ( @@ -90,7 +97,7 @@ $prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi"; # u Unified diff # c Context diff # s Side by side - "f" => "h", + "f" => "u", # hidecvsroot: Don't show the CVSROOT directory # 1 Hide CVSROOT directory @@ -99,7 +106,7 @@ $prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi"; # hidenonreadable: Don't show entries which cannot be read # 1 Hide non-readable entries - # 0 Show non-readble entries + # 0 Show non-readable entries "hidenonreadable" => "1", ); @@ -107,9 +114,12 @@ $prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi"; # some layout stuff ############## -# color settings in the body-tag +# The body-tag for directory views and logs $body_tag = ''; +# The body-tag for diffs and annotations +$body_tag_for_src = ''; + # Wanna have a logo on the page ? $logo = ''; @@ -117,12 +127,8 @@ $logo = ''; $defaulttitle = "CVS Repository"; # The address is shown on the footer -$address = "CVSweb by <zeller\@think.de>"; +$address = "CVSweb by <knu\@FreeBSD.org>"; -# Default page background color for the diffs -# and annotations -$backcolor = "#eeeeee"; - # color of navigation Header for # diffs and annotations $navigationHeaderColor = '#9999ee'; @@ -142,7 +148,7 @@ display diffs between arbitrary revisions.

This script has been written by Bill Fenner -<fenner\@freebsd.org> +<fenner\@FreeBSD.org> and improved by Henner Zeller <zeller\@think.de>, Henrik Nordström @@ -159,11 +165,11 @@ If you would like to use this CGI script on your own w CVS tree, see Zeller's CVSweb distribution site. Bill's original script can be found -here. +here.

Please send any suggestions, comments, etc. to -Bill Fenner or, regarding the +Bill Fenner or, regarding the modifications, to Akinori MUSHA, Henner Zeller, @@ -260,22 +266,22 @@ $use_descriptions = 0; # exceed the width of the browser $hr_breakable = 1; -# give out function names in human readable diffs +# give out function names in diffs # this just makes sense if we have C-files, otherwise # diff's heuristic doesn't work well .. # ( '-p' option to diff) -$hr_funout = 0; +$showfunc = 1; # For each pair of regexps, files that match the first regexp will be diff'ed # with an '-F' option with the second regexp. -%functionlineregexp = ( - "\\.(4th|fr)\$" => "\\(^\\| \\|\t\\): ", - ); +%funcline_regexp = ( + "\\.(4th|fr)\$" => "\\(^\\| \\|\t\\): ", + ); # ignore whitespaces for human readable diffs # (indendation and stuff ..) # ( '-w' option to diff) -$hr_ignwhite = 1; +$hr_ignwhite = 0; # ignore diffs which are caused by # keyword-substitution like $Id - Stuff @@ -316,18 +322,29 @@ $mime_types = '/usr/local/etc/apache/mime.types'; "shtml" => "text/html", "gif" => "image/gif", "jpeg" => "image/jpeg", - "jpg" => "image/jpeg", + "jpg" => "image/jpeg", + "png" => "image/png", + "xpm" => "image/xpm", "*" => "text/plain", ); +# Charset for HTML output +$charset = ''; +# e.g. +#$charset = $where =~ m,/ru[/_-], ? 'koi8-r' +# : $where =~ m,/zh[/_-], ? 'big5' +# : $where =~ m,/ja[/_-], ? 'x-euc-jp' +# : $where =~ m,/ko[/_-], ? 'x-euc-kr' +# : 'iso-8859-1'; + ############## # Misc ############## # allow annotation of files # this requires rw-access to the -# CVSROOT/history - file and rw-access -# to the subdirectory to place the lock -# so you maybe don't want it +# CVSROOT/history file (if you have one) +# and rw-access to the subdirectory to +# place the lock so you maybe don't want it $allow_annotate = 1; # allow pretty-printed version of files @@ -386,6 +403,13 @@ $markupLogColor = "#ffffff"; # Show CVS log when viewing file contents $show_log_in_markup = 1; +# Preformat when viewing file contents. This should be turned off +# when you have files in the repository that are in a multibyte +# encoding which uses HTML special characters ([<>&"]) as part of a +# multi-byte character. (such as iso-2022-jp, ShiftJIS, etc.) +# Otherwise those files will get screwed up in markup. +$preformat_in_markup = ''; + # Tabstop used to expand tabs in colored diffs. If undefined then # tabs are always expanded to 8 spaces. $tabstop = 8; @@ -402,4 +426,23 @@ $tabstop = 8; # server $use_moddate = 1; +# Allows downloading a tarball of the current directory if set. +# Bear in mind that this allows downloading a tarball of your entire +# repository, which can take a lot of time and disk space to create! +# If you enable this, you may need to make sure that cvsweb can write to +# CVSROOT/val-tags, due to a bug in cvs. +$allow_tar = ''; + +# Options to pass to tar(1). +@tar_options = (); +# e.g. @tar_options = qw(--ignore-failed-read); +# GNU tar has some useful options against unexpected errors. + +# Options to pass to cvs(1). +@cvs_options = qw(-l); +# e.g. @cvs_options = qw(-R -l); +# -R (read only access mode) is implemented only in FreeBSD's and +# OpenBSD's cvs(1). + +1; #EOF