diff options
| author | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-02 12:39:00 +0000 |
|---|---|---|
| committer | Akinori MUSHA <knu@FreeBSD.org> | 2001-01-02 12:39:00 +0000 |
| commit | f46dcf77e6c698533727df1686780b3247fa32f4 (patch) | |
| tree | 7c696430c55b68ab88ae4b08b25fd8acdd42e149 /devel/cvsweb/files/patch-cvsweb.conf | |
| parent | cdaba9efbef841237e105835bb2a697585946cb1 (diff) | |
Update to knu-cvsweb 1.104.1.55.
2001-01-02 21:23 knu
* cvsweb.cgi, cvsweb.conf: Get cvsweb.cgi to run under perl -T.
Change perl command line:
Change perl5 to perl and just declare `require 5.000'.
Remove -s option that was intended for debug use.
Add -T option to perform security checks.
Change search paths for cvsweb.conf:
Don't adopt the value of $ENV{CVSWEB_CONFIG} that was intended
for
debug use.
Search the same directory that cvsweb.cgi is in instead of the
current directory.
Invoking `last' in `do { ... } while (0);' is wrong. Change the
loop to `while (1) { ... last; }'.
Don't do chdir. Instead, use tar(1)'s -C option and cvs(1)
export's -d option.
Explicitly define $ENV{PATH}.
Turn $allow_compress off by default so user can debug cvsweb.cgi
easily.
Diffstat (limited to 'devel/cvsweb/files/patch-cvsweb.conf')
| -rw-r--r-- | devel/cvsweb/files/patch-cvsweb.conf | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/devel/cvsweb/files/patch-cvsweb.conf b/devel/cvsweb/files/patch-cvsweb.conf index ea7c77bc254b..1e3fdf1fd1db 100644 --- a/devel/cvsweb/files/patch-cvsweb.conf +++ b/devel/cvsweb/files/patch-cvsweb.conf @@ -1,5 +1,5 @@ ---- cvsweb.conf.orig Tue Jan 2 08:15:03 2001 -+++ cvsweb.conf Tue Jan 2 08:32:37 2001 +--- cvsweb.conf.orig Tue Jan 2 21:23:20 2001 ++++ cvsweb.conf Tue Jan 2 21:31:51 2001 @@ -28 +28 @@ - 'local' => '/home/cvs', + 'local' => '!!CVSROOT!!', @@ -12,12 +12,12 @@ @@ -323 +323 @@ -$mime_types = '/usr/local/etc/apache/mime.types'; +$mime_types = '!!PREFIX!!/etc/apache/mime.types'; -@@ -393 +393 @@ --#$ENV{'PATH'} = '/usr/local/bin'; -+#$ENV{'PATH'} = '!!PREFIX!!/bin'; -@@ -447 +447 @@ +@@ -395 +395 @@ +-$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin'; ++$ENV{'PATH'} = '/bin:/usr/bin:!!PREFIX!!/bin'; +@@ -449 +449 @@ -@tar_options = qw(); +@tar_options = qw(--ignore-failed-read); -@@ -452 +452 @@ +@@ -454 +454 @@ -@cvs_options = qw(-l); +@cvs_options = qw(-R -l); |
