doc/en/cgi/cvsweb.conf-netbsd
Akinori MUSHA 2dd49a11c2 Merge from FreeBSD-cvsweb 2.0.0.
* cvsweb.conf-freebsd: Allow downloading a tarball of a project
  directory as well as a port directory.

* cvsweb.cgi, cvsweb.conf: Introduce optional output filter.
  [Requested by: Shigeyuki Fukushima <shige@FreeBSD.org>]

* cvsweb.cgi: Fix a bug where it produces wrong download links when
  cvsweb.cgi is placed right under the document root.
  [Reported by: Arnaud on EFnet]
2001-11-07 21:25:16 +00:00

74 lines
1.3 KiB
Perl

# -*-perl-*-
#
# Set up for NetBSD repo options.
#
# FreeBSD: projects/cvsweb/cvsweb.conf-netbsd,v 1.6 2001/10/11 15:15:12 knu Exp
# $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.9 2001/08/01 10:41:47 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;