=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf-freebsd,v retrieving revision 3.1 retrieving revision 4.2 diff -u -p -r3.1 -r4.2 --- cvsweb/Attic/cvsweb.conf-freebsd 2001/01/01 23:15:03 3.1 +++ cvsweb/Attic/cvsweb.conf-freebsd 2019/11/11 15:46:39 4.2 @@ -1,31 +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.1 2001/01/01 23:15:03 knu Exp $ -$ENV{'RCSLOCALID'} = 'FreeBSD=CVSHeader'; -$ENV{'RCSINCEXC'} = 'iFreeBSD'; +if ($^O 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 - ); +$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;