version 4.1, 2019/03/20 20:52:07 |
version 4.5, 2019/11/11 14:37:54 |
|
|
$FreeBSD$ |
$Id$ |
|
$knu: INSTALL,v 1.36 2005/01/22 12:43:55 scop |
|
|
For notes on upgrading between FreeBSD-CVSweb releases, see the bottom |
For notes on upgrading between CVSweb releases, see the bottom |
of this document. |
of this document. |
|
|
1) To get cvsweb.cgi to work, make sure that you have Perl 5.6.0 or |
1) To get cvsweb.cgi to work, make sure that you have Perl 5.6.0 or |
Line 22 of this document. |
|
Line 23 of this document. |
|
File::Temp 5.8.0 required |
File::Temp 5.8.0 required |
IPC::Run N/A required |
IPC::Run N/A required |
MIME::Types N/A optional |
MIME::Types N/A optional |
String::Ediff N/A optional |
|
URI N/A required |
URI N/A required |
|
|
Surprisingly enough, you need to have cvs installed. The recommended |
Surprisingly enough, you need to have cvs installed. The recommended |
Line 39 of this document. |
|
Line 39 of this document. |
|
repository (or a copy of it) therefore; rsh, ssh or pserver access |
repository (or a copy of it) therefore; rsh, ssh or pserver access |
doesn't work yet. |
doesn't work yet. |
|
|
Install CvsGraph if you want to use it with CVSweb, and see (6) for |
|
configuration notes. CvsGraph 1.4.0 or newer is required. |
|
|
|
Install GNU Enscript if you want syntax highlighting, and see (7) for |
Install GNU Enscript if you want syntax highlighting, and see (7) for |
more info. You'll need version 1.6.3 or newer. |
more info. You'll need version 1.6.3 or newer. |
|
|
Line 78 of this document. |
|
Line 75 of this document. |
|
5) Copy cvsweb.css from the css/ directory to a web server directory, and |
5) Copy cvsweb.css from the css/ directory to a web server directory, and |
point the $cssurl variable in cvsweb.conf to it. |
point the $cssurl variable in cvsweb.conf to it. |
|
|
6) CvsGraph <http://www.akhphd.au.dk/~bertho/cvsgraph/> can be used with |
|
this version of CVSweb. See the $allow_cvsgraph and $cvsgraph_config |
|
configuration variables in cvsweb.conf. Note (and install) also the |
|
cvsgraph.png icon in the icons/ directory. |
|
|
|
7) GNU Enscript <http://www.iki.fi/~mtr/genscript/> can be used for syntax |
7) GNU Enscript <http://www.iki.fi/~mtr/genscript/> can be used for syntax |
highlighting. To enable it, copy lang_cvsweb.st and lang_cvsweb_diff.st |
highlighting. To enable it, copy lang_cvsweb.st and lang_cvsweb_diff.st |
from the enscript/ dir to your Enscript "hl" directory (often eg. |
from the enscript/ dir to your Enscript "hl" directory (often eg. |
Line 150 o View the entries in the web server's error.log. Se |
|
Line 142 o View the entries in the web server's error.log. Se |
|
Upgrade instructions |
Upgrade instructions |
-------------------- |
-------------------- |
|
|
List of things to pay attention to when upgrading FreeBSD-CVSweb from |
List of things to pay attention to when upgrading CVSweb from |
earlier versions follows. Lack of instructions for a particular |
earlier versions follows. Lack of instructions for a particular |
version means that there are no special things to pay attention to. |
version means that there are no special things to pay attention to. |
|
|
Line 212 The following configuration variables in cvsweb.conf h |
|
Line 204 The following configuration variables in cvsweb.conf h |
|
$allow_enscript, @enscript_options and %enscript_types control the use |
$allow_enscript, @enscript_options and %enscript_types control the use |
and behavior of enscript(1). |
and behavior of enscript(1). |
|
|
$allow_cvsgraph and $cvsgraph_config control the use and behavior of |
|
cvsgraph(1). |
|
|
|
$file_list_len can be set to work around problems with rlog(1) and dirs |
$file_list_len can be set to work around problems with rlog(1) and dirs |
with lots of files. |
with lots of files. |
|
|
$cssurl contains the absolute URI to the CSS file to use. |
$cssurl contains the absolute URI to the CSS file to use. |
|
|
%ICONS has two new entries: binfile for binary files (-kb keyword |
%ICONS has a new entry: binfile for binary files (-kb keyword |
substitution) and graph for the cvsgraph icon. |
substitution). |
|
|
%DIFF_COMMANDS is new, it is used to configure external per file type |
%DIFF_COMMANDS is new, it is used to configure external per file type |
diff commands. |
diff commands. |