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

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

Revision 3.3, Thu Jan 11 23:42:01 2001 UTC (19 years, 8 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 OpenBSD repo options.
#
# $Id: cvsweb.conf-openbsd,v 3.3 2001/01/11 23:42:01 knu Exp $

if ($uname eq 'FreeBSD') {
    $ENV{'RCSLOCALID'} = 'OpenBSD=CVSHeader';
    $ENV{'RCSINCEXC'}  = 'iOpenBSD';
} else {
    $ENV{'RCSLOCALID'} = 'OpenBSD';
}

@prcategories = qw(
		   alpha
		   arm
		   documentation
		   i386
		   kernel
		   library
		   m68k
		   mips
		   ns32k
		   pending
		   ports
		   ppc
		   sparc
		   system
		   user
		   vax
		  );

$prcgi = "http://cvs.openbsd.org/cgi-bin/wwwgnats.pl/full?pr=%s";

$prkeyword = "PR";

$mancgi = "http://www.openbsd.org/cgi-bin/man.cgi?apropos=0&sektion=%s&query=%s&manpath=OpenBSD+Current&arch=i386&format=html";

# Allow downloading a tarball of a port
$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,);

1;