[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.7.2.2, Thu Mar 21 19:32:07 2019 UTC (19 months, 1 week ago) by schwarze
Branch: FreeBSD-cvsweb-2_0-branch
Changes since 3.7.2.1: +1 -1 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 FreeBSD repo options.
#
# $FreeBSD$
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-freebsd,v 3.5 2001/08/01 09:32:22 knu Exp $

if ($uname 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
    www
);

$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s";

$prkeyword = "PR";

$mancgi =
    "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&query=%s&sektion=%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;