===================================================================
RCS file: /cvs/cvsweb/Attic/cvsweb.conf,v
retrieving revision 3.21
retrieving revision 3.26
diff -u -p -r3.21 -r3.26
--- cvsweb/Attic/cvsweb.conf 2001/01/11 18:17:58 3.21
+++ cvsweb/Attic/cvsweb.conf 2001/08/01 09:32:22 3.26
@@ -4,22 +4,22 @@
#
# (c) 1998-1999 H. Zeller
-This script has been written by Bill Fenner -<fenner\@FreeBSD.org> -and improved by Henner Zeller -<zeller\@think.de>, -Henrik Nordström -<hno\@hem.passagen.se>, and -Ken Coar -<Ken.Coar\@Golux.Com>, then -Akinori MUSHA <knu\@FreeBSD.org> -brought it back to FreeBSD community and added more facilities; -it is covered by the -BSD-Licence. +This script has been written by Bill Fenner <fenner\@FreeBSD.org> and +improved by Henner Zeller <zeller\@think.de>, Henrik +Nordström <hno\@hem.passagen.se>, and +Ken Coar <Ken.Coar\@Golux.Com>, then +Akinori MUSHA <knu\@FreeBSD.org> brought it +back to FreeBSD community and made further improvements; it is covered +by the BSD-Licence.
If you would like to use this CGI script on your own web server and -CVS tree, see Zeller's -CVSweb distribution site. Bill's original script can be found -here. +CVS tree, download the latest version here, and also check +out Zeller's CVSweb +distribution site. Bill's original script can be found here.
Please send any suggestions, comments, etc. to @@ -207,12 +213,13 @@ EOT # If these icons are too large, check out the miniicons in the # icons/ directory; they have a width/height of 16/16 my $iconsdir = "/icons"; + # format: TEXT ICON-URL width height -%ICONS = ( - back => [ ("[BACK]", "$iconsdir/back.gif", 20, 22) ], - dir => [ ("[DIR]", "$iconsdir/dir.gif", 20, 22) ], - file => [ ("[TXT]", "$iconsdir/text.gif", 20, 22) ], - ); +%ICONS = ( + back => [("[BACK]", "$iconsdir/back.gif", 20, 22)], + dir => [("[DIR]", "$iconsdir/dir.gif", 20, 22)], + file => [("[TXT]", "$iconsdir/text.gif", 20, 22)], +); undef $iconsdir; # the length to which the last logentry should @@ -251,8 +258,7 @@ $tableBorderColor = '#cccccc'; # Modules in the repository that should not be displayed, either by default # nor by explicit path specification. # -@HideModules = ( - ); +@HideModules = (); # # Use CVSROOT/CVSROOT/descriptions for describing the directories/modules @@ -290,9 +296,9 @@ $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. %funcline_regexp = ( - "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ", - "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ", - ); + "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ", + "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ", +); # ignore whitespaces for human readable diffs # (indendation and stuff ..) @@ -305,14 +311,14 @@ $hr_ignwhite = 0; $hr_ignkeysubst = 1; # Colors and font to show the diff type of code changes -$diffcolorHeading = '#99cccc'; # color of 'Line'-head of each diffed file -$diffcolorEmpty = '#cccccc'; # color of 'empty' lines -$diffcolorRemove = '#ff9999'; # Removed line(s) (left) ( - ) -$diffcolorChange = '#99ff99'; # Changed line(s) ( both ) -$diffcolorAdd = '#ccccff'; # Added line(s) ( - ) (right) -$diffcolorDarkChange = '#99cc99'; # lines, which are empty in change -$difffontface = "Helvetica,Arial"; -$difffontsize = "-1"; +$diffcolorHeading = '#99cccc'; # color of 'Line'-head of each diffed file +$diffcolorEmpty = '#cccccc'; # color of 'empty' lines +$diffcolorRemove = '#ff9999'; # Removed line(s) (left) ( - ) +$diffcolorChange = '#99ff99'; # Changed line(s) ( both ) +$diffcolorAdd = '#ccccff'; # Added line(s) ( - ) (right) +$diffcolorDarkChange = '#99cc99'; # lines, which are empty in change +$difffontface = "Helvetica,Arial"; +$difffontsize = "-1"; # the width of the textinput of the # request-diff-form @@ -334,18 +340,19 @@ $mime_types = '/usr/local/etc/apache/mime.types'; # file $mime_types (apache style mime.types - file) # - add common mappings here for faster lookup %MTYPES = ( - "html" => "text/html", - "shtml" => "text/html", - "gif" => "image/gif", - "jpeg" => "image/jpeg", - "jpg" => "image/jpeg", - "png" => "image/png", - "xpm" => "image/xpm", - "*" => "text/plain", - ); + "html" => "text/html", + "shtml" => "text/html", + "gif" => "image/gif", + "jpeg" => "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' @@ -447,21 +454,32 @@ $allow_tar = ''; # Options to pass to tar(1). @tar_options = qw(); + # e.g. @tar_options = qw(--ignore-failed-read); # GNU tar has some useful options against unexpected errors. # Options to pass to gzip(1) when compressing a tarball to download. @gzip_options = qw(); + # e.g. @gzip_options = qw(-3); # Try lower compression level than 6 (default) if you want faster # compression, or higher, for better compression. +# Options to pass to zip(1) when compressing a zip archive to download. +@zip_options = qw(); + +# e.g. @zip_options = qw(-3); +# Try lower compression level than 6 (default) if you want faster +# compression, or higher, for better compression. + # Options to pass to cvs(1). @cvs_options = qw(-l); push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD'); + # Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access # mode) option, which considerably speeds up checkouts over NFS. 1; + #EOF