version 4.3, 2019/11/10 14:05:18 |
version 4.7, 2019/11/11 14:37:54 |
|
|
# cvs, rlog, rcsdiff |
# cvs, rlog, rcsdiff |
# gzip (if you enable $allow_compress) |
# gzip (if you enable $allow_compress) |
# (g)tar, zip (if you enable $allow_tar) |
# (g)tar, zip (if you enable $allow_tar) |
# cvsgraph (if you enable $allow_graph) |
|
# enscript (if you enable $allow_enscript) |
# enscript (if you enable $allow_enscript) |
# |
# |
@command_path = qw(/bin /usr/bin /usr/local/bin); |
@command_path = qw(/bin /usr/bin /usr/local/bin); |
|
|
# Search the above directories for each command (prefer gtar over tar). |
# Search the above directories for each command (prefer gtar over tar). |
# |
# |
for (qw(cvs rlog rcsdiff gzip gtar zip cvsgraph enscript)) { |
for (qw(cvs rlog rcsdiff gzip gtar zip enscript)) { |
$CMD{$_} = search_path($_); |
$CMD{$_} = search_path($_); |
} |
} |
$CMD{tar} = delete($CMD{gtar}) if $CMD{gtar}; |
$CMD{tar} = delete($CMD{gtar}) if $CMD{gtar}; |
Line 56 $CMD{tar} ||= search_path('tar'); |
|
Line 55 $CMD{tar} ||= search_path('tar'); |
|
# 'symbolic_name' => ['Name to display', '/path/to/cvsroot'] |
# 'symbolic_name' => ['Name to display', '/path/to/cvsroot'] |
# |
# |
@CVSrepositories = ( |
@CVSrepositories = ( |
'local' => ['Local Repository', '/var/cvs'], |
'local' => ['Local Repository', '/cvs'], |
# 'freebsd' => ['FreeBSD', '/var/ncvs'], |
|
# 'openbsd' => ['OpenBSD', '/var/ncvs'], |
|
# 'netbsd' => ['NetBSD', '/var/ncvs'], |
|
# 'ruby' => ['Ruby', '/var/anoncvs/ruby'], |
|
); |
); |
|
|
# The default CVS root. Note that @CVSrepositories is list, not a hash, |
# The default CVS root. Note that @CVSrepositories is list, not a hash, |
Line 178 $defaulttitle = "CVS Repository"; |
|
Line 173 $defaulttitle = "CVS Repository"; |
|
|
|
# The address is shown on the footer. This will be put inside a <address> tag. |
# The address is shown on the footer. This will be put inside a <address> tag. |
# |
# |
$address = '<span style="font-size: smaller">FreeBSD-CVSweb</span>'; |
$address = '<span style="font-size: smaller">CVSweb</span>'; |
|
|
$long_intro = <<EOT; |
$long_intro = <<EOT; |
<p> |
<p> |
|
|
href="http://www.opensource.org/licenses/bsd-license.html">The BSD License</a>. |
href="http://www.opensource.org/licenses/bsd-license.html">The BSD License</a>. |
</p><p> |
</p><p> |
If you would like to use this CGI script on your own web server and |
If you would like to use this CGI script on your own web server and |
CVS tree, download the latest version from <<a |
CVS tree, download the latest version from |
href="http://www.FreeBSD.org/projects/cvsweb.html">http://www.FreeBSD.org/projects/cvsweb.html</a>>. |
<<a href="http://cvsweb.bsd.lv/">http://cvsweb.bsd.lv/</a>>. |
</p> |
</p> |
EOT |
EOT |
|
|
Line 226 my $iconsdir = '/icons'; |
|
Line 221 my $iconsdir = '/icons'; |
|
dir => [('[DIR]', "$iconsdir/dir.gif", 20, 22)], |
dir => [('[DIR]', "$iconsdir/dir.gif", 20, 22)], |
file => [('[TXT]', "$iconsdir/text.gif", 20, 22)], |
file => [('[TXT]', "$iconsdir/text.gif", 20, 22)], |
binfile => [('[BIN]', "$iconsdir/binary.gif", 20, 22)], |
binfile => [('[BIN]', "$iconsdir/binary.gif", 20, 22)], |
graph => [('[GRAPH]', "$iconsdir/minigraph.png", 16, 16)], |
|
); |
); |
undef $iconsdir; |
undef $iconsdir; |
|
|
Line 413 $allow_source_extra = 1; |
|
Line 407 $allow_source_extra = 1; |
|
# |
# |
#$allow_compress = 1; |
#$allow_compress = 1; |
|
|
# Use JavaScript in the UI? |
|
# |
|
$use_java_script = 1; |
|
|
|
# Show a form for setting options in the directory view? |
# Show a form for setting options in the directory view? |
# |
# |
$edit_option_form = 1; |
$edit_option_form = 1; |
Line 477 $use_moddate = 1; |
|
Line 467 $use_moddate = 1; |
|
# Just comment this out if you're not bitten by the problem. |
# Just comment this out if you're not bitten by the problem. |
# |
# |
#$file_list_len = 200; |
#$file_list_len = 200; |
|
|
# Allow graphical representations of file revisions and branches with CvsGraph? |
|
# |
|
$allow_cvsgraph = $CMD{cvsgraph} ? 1 : 0; |
|
|
|
# Path to the CvsGraph configuration file. Only used if $allow_cvsgraph |
|
# is true. Leave this empty or comment it out to make cvsgraph(1) use its |
|
# default configuration file. Note that CVSweb will override some of the |
|
# settings in the configuration file with command line options, see |
|
# doGraph() and doGraphView() in cvsweb.cgi for details. |
|
# |
|
#$cvsgraph_config = "/etc/cvsgraph.conf"; |
|
|
|
# URL to the CVSHistory script. This should be absolute (but does not need |
# URL to the CVSHistory script. This should be absolute (but does not need |
# to include the host and port if the script is on the same server as |
# to include the host and port if the script is on the same server as |