doc/en/cgi/cvsweb.conf-netbsd
Simon L. B. Nielsen 47d54316fb Merge CVSweb 3.0.6 into HEAD. This was basically done as a manual merge
the relevant parts onto CVSweb 3.0.6 stock files, so it is not entirely
impossible that some local changes were lost, though I don't think/hope
so.

The use of cgi-style.pl was merged by danger@.  He also, together with
Dan Langille, got CVSweb 3 tested against FreshPorts prior to commit, so
this update should not blow up FreshPorts.  Thanks to both for the help.

Note that this now means that the FreeBSD CGI scripts more or less
require perl 5.8 (or at least something newer than 5.0), to run without
local modifications - but people really shouldn't be running perl 5.0
these days anyway... (no comments on the fact that www.FreeBSD.org did
this until ~2 hours ago... ).
2007-03-17 22:28:31 +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.14 2002/09/30 20:14:06 scop Exp $
if ($^O eq 'freebsd') {
$ENV{'RCSLOCALID'} = 'NetBSD=Id';
$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;