doc/en/cgi/cvsweb.conf-freebsd
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

48 lines
926 B
Perl

# -*-perl-*-
#
# Set up for FreeBSD repo options.
#
# $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.16 2006/01/19 19:53:38 ceri Exp $
if ($^O eq 'freebsd') {
$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
$ENV{'RCSINCEXC'} = 'iFreeBSD';
} else {
$ENV{'RCSLOCALID'} = 'FreeBSD';
}
@prcategories = qw(
advocacy
alpha
amd64
bin
conf
docs
gnu
i386
ia64
java
kern
misc
pending
ports
powerpc
sparc64
standards
threads
usb
www
);
$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+7.0-current&format=html";
# Allow downloading a tarball of a port or a project directory
$allow_tar = ($where =~ m,^(ports/[^/]+/[^/]+/|projects/[^/]+/),);
1;