[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.2, Thu Jan 11 01:52:56 2001 UTC (19 years, 9 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 FreeBSD repo options.
#
# $Id: cvsweb.conf-freebsd,v 3.2 2001/01/11 01:52:56 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";

1;