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

41 lines
925 B
Perl

# -*-perl-*-
#
# Set up for FreeBSD repo options.
#
# FreeBSD: projects/cvsweb/cvsweb.conf-freebsd,v 1.7 2001/11/07 20:37:56 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.8 2001/08/01 10:41:47 knu Exp $
if ($uname eq 'FreeBSD') {
$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader';
$ENV{'RCSINCEXC'} = 'iFreeBSD';
} else {
$ENV{'RCSLOCALID'} = 'FreeBSD';
}
@prcategories = qw(
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";
# Allow downloading a tarball of a port or a project directory
$allow_tar = ($where =~ m,^(ports/[^/]+/[^/]+/|projects/[^/]+/),);
1;