Merge from FreeBSD-CVSweb 2.0.6 (really).

This commit is contained in:
Ville Skyttä 2002-09-30 20:14:06 +00:00
parent 90a5b58b31
commit aab19e1844
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=14442
5 changed files with 65 additions and 49 deletions

View file

@ -8,10 +8,9 @@
# 2002 V. Skyttä <scop@FreeBSD.org>
# based on work by Bill Fenner <fenner@FreeBSD.org>
#
# FreeBSD: projects/cvsweb/cvsweb.conf,v 1.36 2002/07/10 15:30:56 scop Exp
# $Id: cvsweb.conf,v 1.32 2002-09-26 22:18:25 scop Exp $
# $Id: cvsweb.conf,v 1.33 2002-09-30 20:14:06 scop Exp $
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf,v 1.27 2001/08/01 09:48:39 knu Exp $
# $FreeBSD: www/en/cgi/cvsweb.conf,v 1.1.1.21 2002/09/26 22:09:02 scop Exp $
# $FreeBSD: www/en/cgi/cvsweb.conf,v 1.1.1.23 2002/09/30 19:48:52 scop Exp $
#
###
@ -507,12 +506,24 @@ $allow_tar = '';
# compression, or higher, for better compression.
# Options to pass to cvs(1).
# For cvs versions prior to 1.11, the '-l' option doesn't work; If you want
# working checkouts with an older cvs version, you'll have to make sure that
# the cvsweb user can read and write to CVSROOT/history.
@cvs_options = qw(-lf);
push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');
push @cvs_options, '-u' if ($uname eq 'NetBSD');
# Only FreeBSD's and OpenBSD's cvs(1) supports -R (read only access
# mode) option, which considerably speeds up checkouts over NFS.
# A similar effect is provided by -u on NetBSD.
# Options to pass to the 'cvs annotate' command, usually the normal
# @cvs_options are good enough here.
@annotate_options = @cvs_options;
# To make annotate work against a read only repository, add -n, e.g.:
# @annotate_options = (@cvs_options, '-n');
1;