[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.7.2.1, Thu Mar 21 19:32:07 2019 UTC (18 months, 1 week ago) by schwarze
Branch: FreeBSD-cvsweb-2_0-branch
Changes since 3.7: +1 -2 lines

Switch the order of the name and the section
in the $mancgi configuration variable.
For the new man.openbsd.org URI syntax, the name must come first.
For the old query syntax, both orders work just fine.

Also switch the default man.cgi site to OpenBSD
because FreeBSD no longer uses CVSweb.

# -*-perl-*-
#
# Set up for OpenBSD repo options.
#
# $FreeBSD$
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-openbsd,v 3.5 2001/08/01 09:32:22 knu Exp $

if ($uname eq 'FreeBSD') {
	$ENV{'RCSLOCALID'} = 'OpenBSD=Id';
	$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 = "https://man.openbsd.org/%s.%s";

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

1;