[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.2, Thu Jan 11 01:52:56 2001 UTC (23 years, 3 months ago) by knu
Changes since 3.1: +7 -3 lines

Run "tar cf - ... | gzip -c" rather than "tar zcf - ..." to avoid
tar(1)'s automatic padding of nulls to align with the block size,
which is just garbage for a receiver.

Noted by:	Katsuyuki Komatsu <komatsu@sarion.co.jp>

Have $uname variable to hold the OS implementation name.

Move %CMD's initialization part to the beginning of cvsweb.conf
so it can use $uname and configure properly for the OS.

Wrap FreeBSD or OpenBSD specific features in conditional blocks
using $uname.

Fix some open() calls in good manners.

# -*-perl-*-
#
# Set up for OpenBSD repo options.
#
# $Id: cvsweb.conf-openbsd,v 3.2 2001/01/11 01:52:56 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";

1;