summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-02 12:39:00 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-02 12:39:00 +0000
commitf46dcf77e6c698533727df1686780b3247fa32f4 (patch)
tree7c696430c55b68ab88ae4b08b25fd8acdd42e149 /devel
parentActivate isync (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.
Notes
Notes: svn path=/head/; revision=36598
Diffstat (limited to 'devel')
-rw-r--r--devel/cvsweb/Makefile2
-rw-r--r--devel/cvsweb/distinfo2
-rw-r--r--devel/cvsweb/files/patch-cvsweb.cgi14
-rw-r--r--devel/cvsweb/files/patch-cvsweb.conf14
-rw-r--r--devel/cvsweb3/Makefile2
-rw-r--r--devel/cvsweb3/distinfo2
-rw-r--r--devel/cvsweb3/files/patch-cvsweb.cgi14
-rw-r--r--devel/cvsweb3/files/patch-cvsweb.conf14
8 files changed, 32 insertions, 32 deletions
diff --git a/devel/cvsweb/Makefile b/devel/cvsweb/Makefile
index 2b933e186dbd..f096207a2ced 100644
--- a/devel/cvsweb/Makefile
+++ b/devel/cvsweb/Makefile
@@ -19,7 +19,7 @@ USE_PERL5= yes
# This version of cvsweb is Zeller's version + knu's enhancements.
REV_ZELLER= 1.104
-REV_KNU= 1.54
+REV_KNU= 1.55
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
diff --git a/devel/cvsweb/distinfo b/devel/cvsweb/distinfo
index 6e4e655d3649..43dc9096d8ac 100644
--- a/devel/cvsweb/distinfo
+++ b/devel/cvsweb/distinfo
@@ -1 +1 @@
-MD5 (cvsweb-1.104.1.54.tar.gz) = 3a36c30e77161a7f63ccd6649f415120
+MD5 (cvsweb-1.104.1.55.tar.gz) = 673b28f85d9c69803124331017b91c6a
diff --git a/devel/cvsweb/files/patch-cvsweb.cgi b/devel/cvsweb/files/patch-cvsweb.cgi
index d498c7b4e126..9735a321977d 100644
--- a/devel/cvsweb/files/patch-cvsweb.cgi
+++ b/devel/cvsweb/files/patch-cvsweb.cgi
@@ -1,8 +1,8 @@
---- cvsweb.cgi.orig Tue Jan 2 08:15:02 2001
-+++ cvsweb.cgi Tue Jan 2 08:33:52 2001
+--- cvsweb.cgi.orig Tue Jan 2 21:23:20 2001
++++ cvsweb.cgi Tue Jan 2 21:29:32 2001
@@ -1 +1 @@
--#!/usr/bin/perl5 -ws
-+#!!!PERL!! -ws
-@@ -139 +139 @@
-- '/usr/local/etc/cvsweb.conf',
-+ '!!PREFIX!!/etc/cvsweb/cvsweb.conf',
+-#!/usr/bin/perl -wT
++#!!!PERL!! -wT
+@@ -141 +141 @@
+- '/usr/local/etc/cvsweb.conf'
++ '!!PREFIX!!/etc/cvsweb/cvsweb.conf'
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);
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index 2b933e186dbd..f096207a2ced 100644
--- a/devel/cvsweb3/Makefile
+++ b/devel/cvsweb3/Makefile
@@ -19,7 +19,7 @@ USE_PERL5= yes
# This version of cvsweb is Zeller's version + knu's enhancements.
REV_ZELLER= 1.104
-REV_KNU= 1.54
+REV_KNU= 1.55
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
diff --git a/devel/cvsweb3/distinfo b/devel/cvsweb3/distinfo
index 6e4e655d3649..43dc9096d8ac 100644
--- a/devel/cvsweb3/distinfo
+++ b/devel/cvsweb3/distinfo
@@ -1 +1 @@
-MD5 (cvsweb-1.104.1.54.tar.gz) = 3a36c30e77161a7f63ccd6649f415120
+MD5 (cvsweb-1.104.1.55.tar.gz) = 673b28f85d9c69803124331017b91c6a
diff --git a/devel/cvsweb3/files/patch-cvsweb.cgi b/devel/cvsweb3/files/patch-cvsweb.cgi
index d498c7b4e126..9735a321977d 100644
--- a/devel/cvsweb3/files/patch-cvsweb.cgi
+++ b/devel/cvsweb3/files/patch-cvsweb.cgi
@@ -1,8 +1,8 @@
---- cvsweb.cgi.orig Tue Jan 2 08:15:02 2001
-+++ cvsweb.cgi Tue Jan 2 08:33:52 2001
+--- cvsweb.cgi.orig Tue Jan 2 21:23:20 2001
++++ cvsweb.cgi Tue Jan 2 21:29:32 2001
@@ -1 +1 @@
--#!/usr/bin/perl5 -ws
-+#!!!PERL!! -ws
-@@ -139 +139 @@
-- '/usr/local/etc/cvsweb.conf',
-+ '!!PREFIX!!/etc/cvsweb/cvsweb.conf',
+-#!/usr/bin/perl -wT
++#!!!PERL!! -wT
+@@ -141 +141 @@
+- '/usr/local/etc/cvsweb.conf'
++ '!!PREFIX!!/etc/cvsweb/cvsweb.conf'
diff --git a/devel/cvsweb3/files/patch-cvsweb.conf b/devel/cvsweb3/files/patch-cvsweb.conf
index ea7c77bc254b..1e3fdf1fd1db 100644
--- a/devel/cvsweb3/files/patch-cvsweb.conf
+++ b/devel/cvsweb3/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);