=================================================================== RCS file: /cvs/cvsweb/Attic/cvsweb.conf-freebsd,v retrieving revision 3.3 retrieving revision 4.1 diff -u -p -r3.3 -r4.1 --- cvsweb/Attic/cvsweb.conf-freebsd 2001/01/11 23:42:01 3.3 +++ cvsweb/Attic/cvsweb.conf-freebsd 2019/11/08 21:08:27 4.1 @@ -1,38 +1,49 @@ # -*-perl-*- +# $Id: cvsweb.conf-freebsd,v 4.1 2019/11/08 21:08:27 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.3 2001/01/11 23:42:01 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 - ); + advocacy + alpha + amd64 + arm + bin + conf + docs + gnu + i386 + ia64 + java + kern + misc + pending + ports + powerpc + sparc64 + standards + threads + usb + www +); $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"; +$mancgi = + "http://www.FreeBSD.org/cgi/man.cgi?apropos=0&sektion=%s&query=%s&manpath=FreeBSD+7.0-current&format=html"; -# Allow downloading a tarball of a port -$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,); +# Allow downloading a tarball of a port or a project directory +$allow_tar = ($where =~ m,^(ports/[^/]+/[^/]+/|projects/[^/]+/),); 1;