diff options
author | knu <knu@FreeBSD.org> | 2001-01-02 20:39:00 +0800 |
---|---|---|
committer | knu <knu@FreeBSD.org> | 2001-01-02 20:39:00 +0800 |
commit | 2f877632cd9535ebf49e551207529f83155f22f3 (patch) | |
tree | 655383b7e4a778bbe14f84d3a50037ac02b72a1c /devel/cvsweb3 | |
parent | b4c85cbd1ad20965aa72246811318b4101acf5fe (diff) | |
download | freebsd-ports-gnome-2f877632cd9535ebf49e551207529f83155f22f3.tar.gz freebsd-ports-gnome-2f877632cd9535ebf49e551207529f83155f22f3.tar.zst freebsd-ports-gnome-2f877632cd9535ebf49e551207529f83155f22f3.zip |
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/cvsweb3')
-rw-r--r-- | devel/cvsweb3/Makefile | 2 | ||||
-rw-r--r-- | devel/cvsweb3/distinfo | 2 | ||||
-rw-r--r-- | devel/cvsweb3/files/patch-cvsweb.cgi | 14 | ||||
-rw-r--r-- | devel/cvsweb3/files/patch-cvsweb.conf | 14 |
4 files changed, 16 insertions, 16 deletions
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); |