# -*- perl -*-
# `cvsweb' configuration:

# Set $cvsroot to the root of the CVS tree
$cvsroot = '/usr/local/cvsroot';

# Files matching these patterns are restricted and will not be
# displayed over the web.  If you run Apache, you may use web server
# auth, this feature, or both, your choice.
@restrict = ("CVSROOT/(?:passwd|readers|writers|avail)");

# Set $gzip_output to 1 or 0, for compress or don't compress the
# output stream to the browser.  It is possible to try and guess this
# value using various methods. (eg. match HTTP_USER_AGENT against a
# list of known gzip-lame browsers) As long as this var is set to
# either 1 or 0 by one method or another, things will just work.
$gzip_output = 1;

# Set $rcsbinaries to the location of the RCS binaries, if they're not
# in the web server's $PATH
# $rcsbinaries = '/import/gnu-2.0/sparc-sun-sunos4.1/bin';

# Your background color of choice.
$bgcolor = "white";

# Your background graphic of choice.
$background = "/doc/cvsweb/white-construction-paper.gif";

# The HTML title will be $title: /pathname
$title = "My CVS Tree";

# The HTML to go at the very top of the root page.
$h1 = "
<h1 align=right>My CVS Tree&nbsp;&nbsp;&nbsp;</h1><hr>
";

# $intro is the HTML that is displayed along with the top-level tree

$intro = "
<a href=\"http://www.debian.org/\">
 <img src=\"/doc/cvsweb/debianlogo-4t.gif\" align=\"left\" border=\"0\" width=\"91\" height=\"110\">
</a>
<a href=\"http://www.cyclic.com/\">
 <img src=\"/doc/cvsweb/fishcvs2.gif\" align=\"right\" border=\"0\" width=\"100\" height=\"100\">
</a>
<center><p>This is a WWW interface to my CVS tree.</p></center>
<p>
You can browse the file hierarchy by picking directories (which have
slashes after them, e.g.&nbsp;&nbsp;<b><code>src/</code></b>&nbsp;).
If you pick a file, you will see the revision history for that
file.</p>
<p>
Selecting a revision number will download that revision of the file.
There is a link at each revision to display diffs between that
revision and the previous one, and a form at the bottom of the page
that allows you to display diffs between arbitrary revisions.</p>

Please send any suggestions, comments, patches, etc. to:
<address>
<A HREF=\"mailto:karlheg\@debian.org\">Karl M. Hegbloom&nbsp;&nbsp;&lt;karlheg\@debian.org&gt;</A>
</address>
";

# $shortinstr is the HTML displayed at the top of non-top-level
# directory listings.
$shortinstr = "
<a href=\"http://www.debian.org/\">
 <img src=\"/doc/cvsweb/debianlogo-6t.gif\" align=\"left\" border=\"0\" width=\"46\" height=\"55\">
</a>
<a href=\"http://www.cyclic.com/\">
 <img src=\"/doc/cvsweb/fishcvs.gif\" align=\"right\" border=\"0\" width=\"64\" height=\"64\">
</a>
<p>
Click on a directory to enter that directory. Click on a file to
display its revision history and to get a chance to display diffs
between revisions.
";

# $backicon is the icon to be used for the previous directory, if any
$backicon = "/doc/cvsweb/back.gif";
# _w and _h are width and height of the icon.
$backicon_w = 20;
$backicon_h = 22;

# $diricon is the icon to be used for a directory, if any
$diricon = "/doc/cvsweb/dir.gif";
$diricon_w = 20;
$diricon_h = 22;

# $lambdaicon is the icon for Lisp and Scheme.
$lambdaicon = "/doc/cvsweb/lambda.gif";
$lambdaicon_w = 20;
$lambdaicon_h = 22;

# $cicon is for C
$cicon = "/doc/cvsweb/c.gif";
$cicon_w = 20;
$cicon_h = 22;

# $hicon is for headers.
$hicon = "/doc/cvsweb/layout.gif";
$hicon_w = 20;
$hicon_h = 22;

# $texticon is the icon to be used for a text file, if any
$texticon = "/doc/cvsweb/text.gif";
$texticon_w = 20;
$texticon_h = 22;

# $tailhtml is the html for the bottom of the page
$tailhtml ="
<ADDRESS>
  <A HREF=\"mailto:$ENV{SERVER_ADMIN}\">$ENV{SERVER_ADMIN}</A>
</ADDRESS>
";

##### End configuration section #####
# The last line must remain intact!
1;
