doc/en/cgi/cvsweb.conf-netbsd
Akinori MUSHA 500c71f667 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>]
2001-08-01 10:41:47 +00:00

73 lines
1.3 KiB
Perl

# -*-perl-*-
#
# Set up for NetBSD repo options.
#
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-netbsd,v 1.5 2001/08/01 09:32:22 knu Exp $
# $FreeBSD: www/en/cgi/cvsweb.conf-netbsd,v 1.8 2001/01/14 08:59:59 knu Exp $
if ($uname eq 'FreeBSD') {
$ENV{'RCSLOCALID'} = 'NetBSD=CVSHeader';
$ENV{'RCSINCEXC'} = 'iNetBSD';
} else {
$ENV{'RCSLOCALID'} = 'NetBSD';
}
@prcategories = qw(
admin
bin
install
kern
lib
misc
pending
pkg
port-alpha
port-amiga
port-arc
port-arm26
port-arm32
port-atari
port-bebox
port-cobalt
port-dreamcast
port-hp300
port-hpcmips
port-i386
port-luna68k
port-m68k
port-mac68k
port-macppc
port-mips
port-mvme68k
port-newsmips
port-news68k
port-next68k
port-ofppc
port-pc532
port-pmax
port-powerpc
port-prep
port-sgimips
port-sh3
port-sparc
port-sparc64
port-sun3
port-vax
port-x68k
security
standards
test
xsrc
y2k
);
$prcgi = "http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=%s";
$prkeyword = "PR";
$mancgi = "http://www.flame.org/cgi-bin/uncgi/hman?sect=%s&page=%s&arch=i386";
# Allow downloading a tarball of a pkgsrc
$allow_tar = ($where =~ m,^pkgsrc/[^/]+/[^/]+/,);
1;