| version 1.3, 2002/10/08 22:40:37 |
version 1.4, 2002/11/22 15:51:58 |
|
|
| # |
# |
| # $FreeBSD: projects/cvsweb/cvsweb.conf-openbsd,v 1.7 2002/05/07 08:51:22 knu Exp $ |
# $FreeBSD: projects/cvsweb/cvsweb.conf-openbsd,v 1.7 2002/05/07 08:51:22 knu Exp $ |
| # $Idaemons: /home/cvs/cvsweb/cvsweb.conf-openbsd,v 1.5 2001/08/01 09:32:22 knu Exp $ |
# $Idaemons: /home/cvs/cvsweb/cvsweb.conf-openbsd,v 1.5 2001/08/01 09:32:22 knu Exp $ |
| # $Platon $ |
|
| |
|
| if ($uname eq 'FreeBSD') { |
if ($uname eq 'FreeBSD') { |
| $ENV{'RCSLOCALID'} = 'OpenBSD=Id'; |
$ENV{'RCSLOCALID'} = 'OpenBSD=Id'; |
|
|
| # Allow downloading a tarball of a port |
# Allow downloading a tarball of a port |
| $allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,); |
$allow_tar = ($where =~ m,^ports/[^/]+/[^/]+/,); |
| |
|
| $HTML_DOCTYPE = |
|
| '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">'; |
|
| |
|
| $HTML_META = <<EOM; |
|
| <meta name="robots" content="nofollow"> |
|
| <meta name="generator" content="FreeBSD-CVSweb $cvsweb_revision"> |
|
| <meta http-equiv="Content-Script-Type" content="text/javascript"> |
|
| <meta http-equiv="Content-Style-Type" content="text/css"> |
|
| EOM |
|
| |
|
| ############## |
|
| # Error messages |
|
| ############## {{{ |
|
| |
|
| %errorMessages = ( |
|
| 'forbidden files' => 'Access forbidden. This file is mentioned in @ForbiddenFiles', |
|
| 'forbidden modules' => 'Access to %s forbidden.', |
|
| 'no such file' => '%s: no such file or directory', |
|
| 'tarball prohibited' => 'Downloading tarballs is prohibited.', |
|
| 'malformed query' => 'Malformed query "%s"', |
|
| 'malformed query2' => 'Malformed query (%s=%s)', |
|
| 'bad diff' => 'Diff format %s not understood', |
|
| 'RCS output' => 'Error parsing RCS output: %s', |
|
| 'tag not found' => 'Tag %s not defined', |
|
| 'server down' => '$CVSROOT not found!<p>The server on which the CVS tree lives is probably down. Please try again in a few minutes.', |
|
| 'download topdir' => 'You cannot download the top level directory.', |
|
| 'make temp' => 'Unable to make temporary directory: %s', |
|
| 'cvs co failure' => 'cvs co failure: %s: %s', |
|
| 'tar zc failure' => 'tar zc failure: %s: %s', |
|
| 'zip failure' => 'zip failure: %s: %s', |
|
| 'unsupported file type' => 'unsupported file type', |
|
| 'annotate' => 'Error occured during annotate: <b>%s</b>', |
|
| 'pertinent' => '%s is not (any longer) pertinent', |
|
| 'unexpected output' => 'Unexpected output from cvs co: %s', |
|
| 'failed spawn' => 'Failed to spawn GNU rlog on <em>"%s"</em>. <p>Did you set the <b>$command_path</b> in your configuration file correctly ? (Currently "%s"', |
|
| |
|
| ); |
|
| |
|
| # }}} |
|
| |
|
| 1; |
1; |
| |
|
| # vim600: fdm=marker fdl=0 fdc=3 ft=perl |
|
| #EOF |
|