[BACK]Return to cvsweb.conf-freebsd CVS log [TXT][DIR] Up to [cvsweb.bsd.lv] / cvsweb

File: [cvsweb.bsd.lv] / cvsweb / Attic / cvsweb.conf-freebsd (download)

Revision 3.3, Thu Jan 11 23:42:01 2001 UTC (19 years, 9 months ago) by knu
Changes since 3.2: +4 -1 lines

Clean up URI parser.

Workaround thttpd's buggy SCRIPT_NAME / PATH_INFO parser.

Requested by:	Makoto MATSUSHITA <matusita@jp.FreeBSD.org>

Allow downloading a single port/pkgsrc in tarball by default.

# -*-perl-*-
#
# Set up for FreeBSD repo options.
#
# $Id: cvsweb.conf-freebsd,v 3.3 2001/01/11 23:42:01 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
$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,);

1;