version 4.5, 2019/11/11 13:15:09 |
version 4.8, 2019/11/11 15:46:39 |
|
|
# 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 77 $CMD{tar} ||= search_path('tar'); |
|
Line 76 $CMD{tar} ||= search_path('tar'); |
|
# 'Yet another one' => 'http://192.168.0.2/cgi-bin/cvsweb.cgi/', |
# 'Yet another one' => 'http://192.168.0.2/cgi-bin/cvsweb.cgi/', |
#); |
#); |
|
|
# Bug tracking system linking options ("PR" means Problem Report, as in GNATS) |
|
# This will be done only for views for which $allow_*_extra below is true. |
|
# |
|
#@prcategories = qw( |
|
# advocacy |
|
# alpha |
|
# bin |
|
# conf |
|
# docs |
|
# gnu |
|
# i386 |
|
# kern |
|
# misc |
|
# pending |
|
# ports |
|
# sparc |
|
#); |
|
#$prcgi = "http://www.FreeBSD.org/cgi/query-pr.cgi?pr=%s"; |
|
#$prkeyword = "PR"; |
|
|
|
# Manual gateway linking. This will be done only for views for which |
# Manual gateway linking. This will be done only for views for which |
# $allow_*_extra below is true. |
# $allow_*_extra below is true. |
# |
# |
Line 222 my $iconsdir = '/icons'; |
|
Line 201 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 388 $allow_markup = 1; |
|
Line 366 $allow_markup = 1; |
|
# |
# |
#$allow_mailtos = 0; |
#$allow_mailtos = 0; |
|
|
## Extra hyperlinking means hyperlinks to bug tracking systems and manual page |
## Extra hyperlinking means hyperlinks to manual page |
## gateways, see $prcgi and $mancgi and related options above. |
## gateways, see $mancgi above. |
|
|
# Allow extra hyperlinking (such as PR cross-references) in logs? |
# Allow extra hyperlinking (such as PR cross-references) in logs? |
# Default: yes. |
# Default: yes. |
Line 409 $allow_source_extra = 1; |
|
Line 387 $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 473 $use_moddate = 1; |
|
Line 447 $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 |