2002-05-22 Akinori MUSHA <knu@iDaemons.org> * cvsweb.cgi: Read configuration files with `do' instead of `require' to unbreak mod_perl support. [Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>] * cvsweb.cgi: Cosmetic fixes. Use and/or rather than &&/|| to connect sentences. * cvsweb.cgi: Exit with -1 if exec() fails. * cvsweb.cgi: Do not print a redundant `Diff' for rev.1.1. [Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>] * cvsweb.cgi: Prevent cross-site scripting. [Submitted by: Motoyuki Konno <motoyuki@bsdclub.org> (modified)] * cvsweb.cgi: Skip a possible `locked by' clause and extract a revision number out of a log entry properly. [Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>] * cvsweb.cgi: Apply some HTML cleanups and use CSS instead of ancient HTML 3/4 tags and attributes. [Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>] * cvsweb.cgi: Pass `use' features to import to make it more memory efficient. [Submitted by: Ville Skytt,Ad(B <ville.skytta@iki.fi>] * cvsweb.cgi: Add new configuration variables: $allow_log_extra, $allow_dir_extra, and $allow_source_extra. [Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>] * cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.2. * cvsweb.cgi: Previous fixes against cross-site scripting vulnerabilities were insufficient and buggy (error messages were messed up). Revamp fatal() to HTML-quote automatically and fix error message output. * cvsweb.cgi: Release as FreeBSD-cvsweb 2.0.3. 2002-05-11 Akinori MUSHA <knu@iDaemons.org> * cvsweb.cgi: There are no spaces at EOL in modern rlog output. [Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>] 2002-05-08 Motoyuki Konno <motoyuki@FreeBSD.org> * cvsweb.cgi: Fix a cross-site scripting vulnerablity. 2002-05-07 Akinori MUSHA <knu@iDaemons.org> * cvsweb.conf-netbsd, cvsweb.conf-openbsd: NetBSD and OpenBSD don't use $CVSHeader$ but $Id$. [Submitted by: motoyuki@FreeBSD.org] * cvsweb.cgi: Work around a bug of cvs -p; expand symlinks in a cvsroot. [Submitted by: motoyuki@FreeBSD.org] * cvsweb.cgi: Fix parsing in 'tags' state. [Submitted by: "Khachaturov, Vassilii" <vassilii@tarunz.org>]
44 lines
861 B
Perl
44 lines
861 B
Perl
# -*-perl-*-
|
|
#
|
|
# Set up for OpenBSD repo options.
|
|
#
|
|
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-openbsd,v 1.5 2001/08/01 09:32:22 knu Exp $
|
|
# $FreeBSD: www/en/cgi/cvsweb.conf-openbsd,v 1.9 2002/04/10 20:13:19 knu Exp $
|
|
|
|
if ($uname eq 'FreeBSD') {
|
|
$ENV{'RCSLOCALID'} = 'OpenBSD=Id';
|
|
$ENV{'RCSINCEXC'} = 'iOpenBSD';
|
|
} else {
|
|
$ENV{'RCSLOCALID'} = 'OpenBSD';
|
|
}
|
|
|
|
@prcategories = qw(
|
|
alpha
|
|
arm
|
|
documentation
|
|
i386
|
|
kernel
|
|
library
|
|
m68k
|
|
mips
|
|
ns32k
|
|
pending
|
|
ports
|
|
ppc
|
|
sparc
|
|
system
|
|
user
|
|
vax
|
|
);
|
|
|
|
$prcgi = "http://cvs.openbsd.org/cgi-bin/wwwgnats.pl/full?pr=%s";
|
|
|
|
$prkeyword = "PR";
|
|
|
|
$mancgi =
|
|
"http://www.openbsd.org/cgi-bin/man.cgi?apropos=0&sektion=%s&query=%s&manpath=OpenBSD+Current&arch=i386&format=html";
|
|
|
|
# Allow downloading a tarball of a port
|
|
$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,);
|
|
|
|
1;
|