[BACK]Return to cvsweb.conf CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / cvsweb

Diff for /cvsweb/Attic/cvsweb.conf between version 3.13 and 3.19

version 3.13, 2000/12/29 23:35:09 version 3.19, 2001/01/11 01:52:56
Line 11 
Line 11 
 #  #
 ###  ###
   
   # Set the path for the following commands:
   #   uname, cvs, rlog, rcsdiff
   #   gzip (if you enable $allow_compress)
   #   tar,rm (if you enable $allow_tar)
   $command_path = '/bin:/usr/bin:/usr/local/bin';
   
   # Search the above directories for each command
   for (qw(uname cvs rlog rcsdiff gzip tar rm)) {
       $CMD{$_} = search_path($_);
   }
   
   # The name of the operating system implementation
   $uname = `$CMD{$_}`;
   
 ##############  ##############
 # CVS Root  # CVS Root
 ##############  ##############
Line 23 
Line 37 
 # to the CVS repository so :pserver:someone@xyz.com:/data/cvsroot  # to the CVS repository so :pserver:someone@xyz.com:/data/cvsroot
 # won't work!  # won't work!
   
 # 'symbolic_name' 'path_to_the_actual_repository'  # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
 %CVSROOT = (  # Listed in the order specified:
             'local'     => '/home/cvs',  @CVSrepositories = (
             'freebsd'   => '/home/ncvs',                      'local'     => ['Local Repository', '/home/cvs'],
            );  #                   'freebsd'   => ['FreeBSD',          '/home/ncvs'],
   #                   'openbsd'   => ['OpenBSD',          '/home/ncvs'],
   #                   'netbsd'    => ['NetBSD',           '/home/ncvs'],
   #                   'ruby'      => ['Ruby',             '/var/anoncvs/ruby'],
                      );
   
 %CVSROOTdescr = (  
                  'local'     => 'Local Repository',  
                  'freebsd'   => 'FreeBSD',  
                 );  
   
 # This tree is enabled by default when  # This tree is enabled by default when
 # you enter the page  # you enter the page
 $cvstreedefault = 'local';  $cvstreedefault = $CVSrepositories[2 * 0];      # The first one
   
 ##############  ##############
 # PR categoties  # Bug tracking system options
   # ("PR" means Problem Report, as in GNATS)
 ##############  ##############
 @prcategories = qw(  #@prcategories = qw(
                    advocacy  #                  advocacy
                    alpha  #                  alpha
                    bin  #                  bin
                    conf  #                  conf
                    docs  #                  docs
                    gnu  #                  gnu
                    i386  #                  i386
                    kern  #                  kern
                    misc  #                  misc
                    ports  #                  pending
                    sparc  #                  ports
                   );  #                  sparc
   #                 );
   #
   #$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";
   #
   #$prkeyword = "PR";
   
 ##############  ##############
 # query-pr.cgi  # Manual gateway
 ##############  ##############
 $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";  $mancgi = "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+5.0-current&format=html";
   
 ##############  ##############
Line 192  EOT
Line 206  EOT
 # These default icons are coming with apache.  # These default icons are coming with apache.
 # If these icons are too large, check out the miniicons in the  # If these icons are too large, check out the miniicons in the
 # icons/ directory; they have a width/height of 16/16  # icons/ directory; they have a width/height of 16/16
 # format:               TEXT      ICON-URL          width height  my $iconsdir = "/icons";
   # format:             TEXT      ICON-URL              width height
 %ICONS  = (  %ICONS  = (
            back => [ ("[BACK]", "/icons/cvsweb/back.gif", 20,   22) ],             back => [ ("[BACK]", "$iconsdir/back.gif", 20,   22) ],
            dir  => [ ("[DIR]",  "/icons/cvsweb/dir.gif",  20,   22) ],             dir  => [ ("[DIR]",  "$iconsdir/dir.gif",  20,   22) ],
            file => [ ("[TXT]",  "/icons/cvsweb/text.gif", 20,   22) ],             file => [ ("[TXT]",  "$iconsdir/text.gif", 20,   22) ],
            );            );
   undef $iconsdir;
   
 # the length to which the last logentry should  # the length to which the last logentry should
 # be truncated when shown in the directory view  # be truncated when shown in the directory view
Line 274  $showfunc = 1;
Line 290  $showfunc = 1;
 # For each pair of regexps, files that match the first regexp will be diff'ed  # For each pair of regexps, files that match the first regexp will be diff'ed
 # with an '-F' option with the second regexp.  # with an '-F' option with the second regexp.
 %funcline_regexp = (  %funcline_regexp = (
                     "\\.(4th|fr)\$" => "\\(^\\| \\|\t\\): ",                      "\\.(4th|fr)\$" => "\\(^\\|[ \t]\\): ",
                       "\\.rb\$" => "^[\t ]*\\(class\\|module\\|def\\) ",
                    );                     );
   
 # ignore whitespaces for human readable diffs  # ignore whitespaces for human readable diffs
Line 353  $allow_markup = 1;
Line 370  $allow_markup = 1;
 # of output if the Browser accepts  # of output if the Browser accepts
 # it (HTTP_ACCEPT_ENCODING=gzip)  # it (HTTP_ACCEPT_ENCODING=gzip)
 # [make sure to have gzip in the path]  # [make sure to have gzip in the path]
 $allow_compress = 1;  $allow_compress = 0;
   
 # Make use of javascript functions.  # Make use of javascript functions.
 # This way you can select one of your CVSroot  # This way you can select one of your CVSroot
Line 377  $open_extern_window = 1;
Line 394  $open_extern_window = 1;
 # this allows editing of all your options more intuitive  # this allows editing of all your options more intuitive
 $edit_option_form = (not $dirtable);  $edit_option_form = (not $dirtable);
   
 # remember to set the path to your  
 # rcsutils: rlog, rcsdiff (gzip if you use compression)  
 #$ENV{'PATH'} = '/usr/local/bin';  
   
 # If you have files which automatically refers to other files  # If you have files which automatically refers to other files
 # (such as HTML) then this allows you to browse the checked  # (such as HTML) then this allows you to browse the checked
 # out files as if outside CVS.  # out files as if outside CVS.
Line 433  $use_moddate = 1;
Line 446  $use_moddate = 1;
 $allow_tar = '';  $allow_tar = '';
   
 # Options to pass to tar(1).  # Options to pass to tar(1).
 @tar_options = ();  @tar_options = qw();
 # e.g. @tar_options = qw(--ignore-failed-read);  # e.g. @tar_options = qw(--ignore-failed-read);
 #      GNU tar has some useful options against unexpected errors.  #      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 upper, for higher compression.
   
 # Options to pass to cvs(1).  # Options to pass to cvs(1).
 @cvs_options = qw(-l);  @cvs_options = qw(-l);
 # e.g. @cvs_options = qw(-R -l);  
 #      -R (read only access mode) is implemented only in FreeBSD's and  push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');
 #      OpenBSD's cvs(1).  #      Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access
   #      mode) option, which considerably speeds up checkouts over NFS.
   
 1;  1;
 #EOF  #EOF

Legend:
Removed from v.3.13  
changed lines
  Added in v.3.19

CVSweb