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

File: [cvsweb.bsd.lv] / cvsweb / Attic / cvsweb.conf-netbsd (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 NetBSD repo options.
#
# $Id: cvsweb.conf-netbsd,v 3.2 2001/01/11 01:52:56 knu Exp $

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

@prcategories = qw(
		   admin
		   bin
		   install
		   kern
		   lib
		   misc
		   pending
		   pkg
		   port-alpha
		   port-amiga
		   port-arc
		   port-arm26
		   port-arm32
		   port-atari
		   port-bebox
		   port-cobalt
		   port-dreamcast
		   port-hp300
		   port-hpcmips
		   port-i386
		   port-luna68k
		   port-m68k
		   port-mac68k
		   port-macppc
		   port-mips
		   port-mvme68k
		   port-newsmips
		   port-news68k
		   port-next68k
		   port-ofppc
		   port-pc532
		   port-pmax
		   port-powerpc
		   port-prep
		   port-sgimips
		   port-sh3
		   port-sparc
		   port-sparc64
		   port-sun3
		   port-vax
		   port-x68k
		   security
		   standards
		   test
		   xsrc
		   y2k
		  );

$prcgi = "http://www.NetBSD.org/cgi-bin/query-pr-single.pl?number=%s";

$prkeyword = "PR";

$mancgi = "http://www.flame.org/cgi-bin/uncgi/hman?sect=%s&page=%s&arch=i386";

1;