1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-04 06:15:24 +00:00
freebsd-ports/devel/cvsweb3/files/patch-cvsweb.conf
Dmitry Marakasov 20185eaeac - Fix with perl 5.24
- While here, add LICENSE, NO_ARCH and regenerate patches

PR:		216465
Submitted by:	vinny.abello@nttdata.com
Approved by:	maintainer timeout (noackjr@alumni.rice.edu, 2 weeks)
2017-02-09 12:47:08 +00:00

48 lines
1.8 KiB
Plaintext

--- cvsweb.conf.orig 2005-06-19 09:13:50 UTC
+++ cvsweb.conf
@@ -57,7 +57,7 @@ $CMD{tar} ||= search_path('tar');
# 'symbolic_name' => ['Name to display', '/path/to/cvsroot']
#
@CVSrepositories = (
- 'local' => ['Local Repository', '/var/cvs'],
+ 'local' => ['My CVS Repository', '/home/cvs'],
# 'freebsd' => ['FreeBSD', '/var/ncvs'],
# 'openbsd' => ['OpenBSD', '/var/ncvs'],
# 'netbsd' => ['NetBSD', '/var/ncvs'],
@@ -226,7 +226,7 @@ EOT
# check out the "mini" versions in the icons/ directory; they have a
# width/height of 16/16.
#
-my $iconsdir = '/icons';
+my $iconsdir = '/icons/cvsweb';
# format: TEXT ICON-URL width height
%ICONS = (
@@ -240,7 +240,7 @@ undef $iconsdir;
# An URL where to find the CSS.
#
-$cssurl = '/css/cvsweb.css';
+$cssurl = '/css/cvsweb/cvsweb.css';
# The length to which the last log entry should be truncated when shown
# in the directory view.
@@ -505,7 +505,7 @@ $allow_cvsgraph = $CMD{cvsgraph} ? 1 : 0
# settings in the configuration file with command line options, see
# doGraph() and doGraphView() in cvsweb.cgi for details.
#
-#$cvsgraph_config = "/etc/cvsgraph.conf";
+$cvsgraph_config = "!!PREFIX!!/etc/cvsgraph.conf";
# 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
@@ -574,7 +574,7 @@ $ENV{CVSREADONLYFS} = 1 unless exists($E
# Enables syntax highlighting using GNU Enscript if set.
# You will need GNU Enscript version 1.6.3 or newer for this to work.
#
-#$allow_enscript = $CMD{enscript} ? 1 : 0;
+$allow_enscript = $CMD{enscript} ? 1 : 0;
# Options to pass to enscript(1).
# Do not set the -q, --language, -o or --highlight options here.