=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf-freebsd,v retrieving revision 3.2 retrieving revision 4.2 diff -u -p -r3.2 -r4.2 --- cvsweb/Attic/cvsweb.conf-freebsd 2001/01/11 01:52:56 3.2 +++ cvsweb/Attic/cvsweb.conf-freebsd 2019/11/11 15:46:39 4.2 @@ -1,35 +1,21 @@ # -*-perl-*- +# $Id: cvsweb.conf-freebsd,v 4.2 2019/11/11 15:46:39 schwarze Exp $ +# $doc: cvsweb.conf-freebsd,v 1.18 2008/04/23 04:27:59 linimon +# $knu: cvsweb.conf-freebsd,v 1.10 2004/06/07 19:33:11 knu # # 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'; +if ($^O eq 'freebsd') { + $ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader'; + $ENV{'RCSINCEXC'} = 'iFreeBSD'; } else { - $ENV{'RCSLOCALID'} = 'FreeBSD'; + $ENV{'RCSLOCALID'} = 'FreeBSD'; } -@prcategories = qw( - advocacy - alpha - bin - conf - docs - gnu - i386 - kern - misc - pending - ports - sparc - ); +$mancgi = + "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+7.0-current&format=html"; -$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"; +# Allow downloading a tarball of a port or a project directory +$allow_tar = ($where =~ m,^(ports/[^/]+/[^/]+/|projects/[^/]+/),); 1;