version 3.17, 2001/01/02 23:34:46 |
version 3.22, 2001/01/13 07:48:09 |
|
|
# |
# |
# (c) 1998-1999 H. Zeller <zeller@think.de> |
# (c) 1998-1999 H. Zeller <zeller@think.de> |
# 1999 H. Nordstrom <hno@hem.passagen.se> |
# 1999 H. Nordstrom <hno@hem.passagen.se> |
# 2000 A. MUSHA <knu@FreeBSD.org> |
# 2000-2001 A. MUSHA <knu@FreeBSD.org> |
# based on work by Bill Fenner <fenner@FreeBSD.org> |
# based on work by Bill Fenner <fenner@FreeBSD.org> |
# $zId: cvsweb.conf,v 3.27 2000/07/27 10:16:39 kcoar Exp $ |
|
# $Id$ |
# $Id$ |
|
# $Idaemons$ |
# |
# |
### |
### |
|
|
|
# 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 |
|
chomp($uname = `$CMD{uname}`); |
|
|
############## |
############## |
# CVS Root |
# CVS Root |
############## |
############## |
Line 146 a form at the bottom of the page that allows you to |
|
Line 160 a form at the bottom of the page that allows you to |
|
display diffs between arbitrary revisions. |
display diffs between arbitrary revisions. |
</p> |
</p> |
<p> |
<p> |
This script has been written by Bill Fenner |
This script has been written by Bill Fenner <<a |
<<a href="mailto:fenner\@FreeBSD.org">fenner\@FreeBSD.org</a>> |
href="mailto:fenner\@FreeBSD.org">fenner\@FreeBSD.org</a>> and |
and improved by Henner Zeller |
improved by Henner Zeller <<a |
<<a href="mailto:zeller\@think.de">zeller\@think.de</a>>, |
href="mailto:zeller\@think.de">zeller\@think.de</a>>, Henrik |
Henrik Nordström |
Nordström <<a |
<<a href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>>, and |
href="mailto:hno\@hem.passagen.se">hno\@hem.passagen.se</a>>, and |
Ken Coar |
Ken Coar <<a |
<<a href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>>, then |
href="mailto:Ken.Coar\@Golux.Com">Ken.Coar\@Golux.Com</a>>, then |
Akinori MUSHA <<a href="mailto:knu\@FreeBSD.org">knu\@FreeBSD.org</a>> |
Akinori MUSHA <<a |
brought it back to FreeBSD community and added more facilities; |
href="mailto:knu\@FreeBSD.org">knu\@FreeBSD.org</a>> brought it |
it is covered by the |
back to FreeBSD community and made further improvements; it is covered |
<a href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>. |
by the <a |
|
href="http://www.opensource.org/licenses/bsd-license.html">BSD-Licence</a>. |
</p> |
</p> |
<p> |
<p> |
If you would like to use this CGI script on your own web server and |
If you would like to use this CGI script on your own web server and |
CVS tree, see Zeller's |
CVS tree, download the latest version at <a |
<a href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi" |
href="ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/knu/">here</a>, |
>CVSweb distribution site</a>. Bill's original script can be found |
and also check out Zeller's <a |
<a href="http://www.FreeBSD.org/~fenner/cvsweb/">here</a>. |
href="http://linux.fh-heilbronn.de/~zeller/cgi/cvsweb.cgi" >CVSweb |
|
distribution site</a>. Bill's original script can be found <a |
|
href="http://www.FreeBSD.org/~fenner/cvsweb/">here</a>. |
</p> |
</p> |
<p> |
<p> |
Please send any suggestions, comments, etc. to |
Please send any suggestions, comments, etc. to |
Line 380 $open_extern_window = 1; |
|
Line 397 $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); |
|
|
# Set the path for the following commands: |
|
# cvs, rlog, rcsdiff |
|
# gzip (if you enable $allow_compress) |
|
# tar,rm (if you enable $allow_tar) |
|
$ENV{'PATH'} = '/bin:/usr/bin:/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 442 $allow_tar = ''; |
|
Line 453 $allow_tar = ''; |
|
# 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 higher, for better 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 |