$OpenBSD: patch-cvsweb_conf,v 1.10 2006/02/04 17:01:36 naddy Exp $ --- cvsweb.conf.orig Mon Sep 23 07:30:17 2002 +++ cvsweb.conf Sat Feb 4 17:51:39 2006 @@ -82,7 +82,7 @@ $cvstreedefault = $CVSrepositories[2 * 0 # Manual gateway ############## $mancgi = - "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html"; + "http://www.OpenBSD.org/cgi-bin/man.cgi?apropos=0&sektion=%s&query=%s&manpath=OpenBSD+Current&arch=i386&format=html"; ############## # Defaults for UserSettings @@ -115,7 +115,6 @@ $mancgi = # h Human readable # u Unified diff # c Context diff - # s Side by side "f" => "u", # hidecvsroot: Don't show the CVSROOT directory @@ -200,7 +199,7 @@ EOT # These default icons are coming with apache. # 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"; +my $iconsdir = "/icons/cvsweb"; # format: TEXT ICON-URL width height %ICONS = ( @@ -290,19 +289,6 @@ $use_descriptions = 0; # exceed the width of the browser $hr_breakable = 1; -# 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) -$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\\) ", -); - # ignore whitespaces for human readable diffs # (indendation and stuff ..) # ( '-w' option to diff) @@ -335,7 +321,7 @@ $inputTextSize = 12; # cvsweb to guess the correct mime-type on # checkout; you can use the mime.types from # apache here: -$mime_types = '/usr/local/etc/apache/mime.types'; +$mime_types = '/var/www/conf/mime.types'; # quick mime-type lookup; maps file-suffices to # mime-types for displaying checkouts in the browser.