Merge from knu-cvsweb 1.112.1.82.
2001-08-01 Akinori MUSHA <knu@iDaemons.org> * cvsweb.cgi: perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce * cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd, cvsweb.conf-openbsd, cvsweb.conf-ruby: perltidy -i=8 -t -pt=2 -bt=2 -sbt=2 -ci=4 -noll -sfs -nasc -ce * cvsweb.cgi, cvsweb.conf: MFZ 1.111, but introduce @ForbiddenFiles instead of @DissallowRead to forbid user to cvs checkout/diff/annotate specified files. * cvsweb.cgi: MFZ 1.112: A couple of trivial fixes. 2001-07-26 Akinori MUSHA <knu@iDaemons.org> * cvsweb.cgi: Chdir to TMPDIR so it works even when the cgi-bin directory is unreadable. [Submitted by: Dmitry Morozovsky <marck@rinet.ru>] * cvsweb.cgi: Let the module/path box appear and work properly when there is only one repository. [Submitted by: Dmitry Morozovsky <marck@rinet.ru>]
This commit is contained in:
parent
4f95a0576a
commit
500c71f667
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/www/; revision=10118
5 changed files with 2654 additions and 2313 deletions
|
@ -2,36 +2,37 @@
|
|||
#
|
||||
# Set up for FreeBSD repo options.
|
||||
#
|
||||
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-freebsd,v 1.4 2001/01/13 07:48:09 knu Exp $
|
||||
# $FreeBSD: www/en/cgi/cvsweb.conf-freebsd,v 1.6 2001/01/12 04:26:10 knu Exp $
|
||||
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-freebsd,v 1.5 2001/08/01 09:32:22 knu Exp $
|
||||
# $FreeBSD: www/en/cgi/cvsweb.conf-freebsd,v 1.7 2001/01/14 08:59:59 knu Exp $
|
||||
|
||||
if ($uname eq 'FreeBSD') {
|
||||
$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
|
||||
$ENV{'RCSINCEXC'} = 'iFreeBSD';
|
||||
$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
|
||||
$ENV{'RCSINCEXC'} = 'iFreeBSD';
|
||||
} else {
|
||||
$ENV{'RCSLOCALID'} = 'FreeBSD';
|
||||
$ENV{'RCSLOCALID'} = 'FreeBSD';
|
||||
}
|
||||
|
||||
@prcategories = qw(
|
||||
advocacy
|
||||
alpha
|
||||
bin
|
||||
conf
|
||||
docs
|
||||
gnu
|
||||
i386
|
||||
kern
|
||||
misc
|
||||
pending
|
||||
ports
|
||||
sparc
|
||||
);
|
||||
advocacy
|
||||
alpha
|
||||
bin
|
||||
conf
|
||||
docs
|
||||
gnu
|
||||
i386
|
||||
kern
|
||||
misc
|
||||
pending
|
||||
ports
|
||||
sparc
|
||||
);
|
||||
|
||||
$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";
|
||||
|
||||
$prkeyword = "PR";
|
||||
|
||||
$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";
|
||||
|
||||
# Allow downloading a tarball of a port
|
||||
$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue