version 1.17, 1998/05/05 16:05:32 |
version 1.21, 1998/07/23 09:42:40 |
|
|
# cvsweb - a CGI interface to the CVS tree. |
# cvsweb - a CGI interface to the CVS tree. |
# |
# |
# Written by Bill Fenner <fenner@parc.xerox.com> on his own time. |
# Written by Bill Fenner <fenner@parc.xerox.com> on his own time. |
# Insert BSD copyright here. |
|
# |
# |
|
# Copyright (c) 1996-1998 Bill Fenner |
|
# All rights reserved. |
|
# |
|
# Redistribution and use in source and binary forms, with or without |
|
# modification, are permitted provided that the following conditions |
|
# are met: |
|
# 1. Redistributions of source code must retain the above copyright |
|
# notice, this list of conditions and the following disclaimer. |
|
# 2. Redistributions in binary form must reproduce the above copyright |
|
# notice, this list of conditions and the following disclaimer in the |
|
# documentation and/or other materials provided with the distribution. |
|
# |
|
# THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND |
|
# ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE |
|
# IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE |
|
# ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE |
|
# FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL |
|
# DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS |
|
# OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
|
# HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT |
|
# LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY |
|
# OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF |
|
# SUCH DAMAGE. |
|
# |
|
# $fId$ |
|
# |
|
|
|
|
#HTTP_USER_AGENT: Mozilla/1.1N (X11; I; SunOS 4.1.3_U1 sun4m) via proxy gateway CERN-HTTPD/3.0 libwww/2.17 |
#HTTP_USER_AGENT: Mozilla/1.1N (X11; I; SunOS 4.1.3_U1 sun4m) via proxy gateway CERN-HTTPD/3.0 libwww/2.17 |
#SERVER_NAME: www.freebsd.org |
#SERVER_NAME: www.freebsd.org |
#QUERY_STRING: baz |
#QUERY_STRING: baz |
Line 34 require 'cgi-style.pl'; |
|
Line 61 require 'cgi-style.pl'; |
|
|
|
%CVSROOT = ( |
%CVSROOT = ( |
'freebsd', '/home/ncvs', |
'freebsd', '/home/ncvs', |
'openbsd', '/home/OpenBSD/cvs', |
|
'learn', '/c/learncvs', |
'learn', '/c/learncvs', |
'mozilla', '/a/mozilla-cvs', |
'mozilla', '/a/mozilla-cvs', |
); |
); |
|
|
%CVSROOTdescr = ( |
%CVSROOTdescr = ( |
'freebsd', 'FreeBSD', |
'freebsd', 'FreeBSD', |
'openbsd', 'OpenBSD', |
|
'learn', 'Learn', |
'learn', 'Learn', |
'mozilla', 'Mozilla FreeBSD', |
'mozilla', 'Mozilla FreeBSD', |
); |
); |
Line 174 if (-d $fullname) { |
|
Line 199 if (-d $fullname) { |
|
if ($_ eq '.') { |
if ($_ eq '.') { |
next; |
next; |
} |
} |
|
# ignore CVS lock and stale NFS files |
|
next if /^#cvs\.|^,|^\.nfs/; |
|
|
if (s|^Attic/||) { |
if (s|^Attic/||) { |
$attic = " (in the Attic)"; |
$attic = " (in the Attic)"; |
} else { |
} else { |