=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf-openbsd,v retrieving revision 3.2 retrieving revision 4.1 diff -u -p -r3.2 -r4.1 --- cvsweb/Attic/cvsweb.conf-openbsd 2001/01/11 01:52:56 3.2 +++ cvsweb/Attic/cvsweb.conf-openbsd 2019/11/08 21:08:27 4.1 @@ -1,39 +1,43 @@ # -*-perl-*- +# $Id: cvsweb.conf-openbsd,v 4.1 2019/11/08 21:08:27 schwarze Exp $ +# $knu cvsweb.conf-openbsd,v 1.8 2002/12/23 15:05:10 scop # # 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'; +if ($^O eq 'freebsd') { + $ENV{'RCSLOCALID'} = 'OpenBSD=Id'; + $ENV{'RCSINCEXC'} = 'iOpenBSD'; } else { - $ENV{'RCSLOCALID'} = 'OpenBSD'; + $ENV{'RCSLOCALID'} = 'OpenBSD'; } @prcategories = qw( - alpha - arm - documentation - i386 - kernel - library - m68k - mips - ns32k - pending - ports - ppc - sparc - system - user - vax - ); + 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"; +$mancgi = + "http://www.openbsd.org/cgi-bin/man.cgi?apropos=0&sektion=%s&query=%s&manpath=OpenBSD+Current&arch=i386&format=html"; + +# Allow downloading a tarball of a port +$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,); 1;