summaryrefslogtreecommitdiff
path: root/devel/cvsweb/files/patch-cvsweb.conf
blob: 33786297f39e3cfd50acfe2ad3e74cfd30250713 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
--- cvsweb.conf.orig	Mon Sep 23 14:30:17 2002
+++ cvsweb.conf	Thu Aug 12 22:15:20 2004
@@ -18,7 +18,7 @@
 #   uname, cvs, rlog, rcsdiff
 #   gzip (if you enable $allow_compress)
 #   tar, rm, zip (if you enable $allow_tar)
-$command_path = '/bin:/usr/bin:/usr/local/bin';
+$command_path = '/bin:/usr/bin:!!PREFIX!!/bin';
 
 # Search the above directories for each command
 for (qw(uname cvs rlog rcsdiff gzip tar rm zip)) {
@@ -43,7 +43,7 @@
 # 'symbolic_name' => ['name_to_display', 'path_to_the_actual_repository']
 # Listed in the order specified:
 @CVSrepositories = (
-	'local'   => ['Local Repository', '/home/cvs'],
+	'local'   => ['!!TITLE!!', '!!CVSROOT!!'],
 #	'freebsd' => ['FreeBSD',          '/home/ncvs'],
 #	'openbsd' => ['OpenBSD',          '/home/ncvs'],
 #	'netbsd'  => ['NetBSD',           '/home/ncvs'],
@@ -200,7 +200,7 @@
 # These default icons are coming with apache.
 # If these icons are too large, check out the miniicons 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 = (
@@ -335,7 +335,7 @@
 # cvsweb to guess the correct mime-type on
 # checkout; you can use the mime.types from
 # apache here:
-$mime_types = '/usr/local/etc/apache/mime.types';
+$mime_types = '!!PREFIX!!/etc/apache/mime.types';
 
 # quick mime-type lookup; maps file-suffices to
 # mime-types for displaying checkouts in the browser.
@@ -368,7 +368,7 @@
 
 # e.g.
 ## unify/convert Japanese code into EUC-JP
-#$output_filter= '/usr/local/bin/nkf -e';
+#$output_filter= '!!PREFIX!!/bin/nkf -e';
 
 ##############
 # Misc
@@ -472,7 +472,7 @@
 $allow_tar = '';
 
 # Options to pass to tar(1).
-@tar_options = qw();
+@tar_options = qw(--ignore-failed-read);
 
 # e.g. @tar_options = qw(--ignore-failed-read);
 #      GNU tar has some useful options against unexpected errors.
@@ -495,7 +495,7 @@
 # For cvs versions prior to 1.11, the '-l' option doesn't work; If you want
 # working checkouts with an older cvs version, you'll have to make sure that
 # the cvsweb user can read and write to CVSROOT/history.
-@cvs_options = qw(-lf);
+@cvs_options = qw(-f);
 
 push @cvs_options, '-R' if ($uname eq 'FreeBSD' || $uname eq 'OpenBSD');
 push @cvs_options, '-u' if ($uname eq 'NetBSD');