summaryrefslogtreecommitdiff
path: root/devel/cvsweb3
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2001-01-11 03:41:57 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2001-01-11 03:41:57 +0000
commitd7d50312b5751c68cc7f18df3c8c50443d63374e (patch)
tree4398dbe8854588ea2fde65e71e1f97336b515913 /devel/cvsweb3
parentAdd more dependencies (ghostview, DocBook 3.1) (diff)
Update to knu-cvsweb 1.104.1.61.
2001-01-11 11:00 knu * cvsweb.cgi, cvsweb.conf: Oops. 2001-01-11 10:52 knu * cvsweb.cgi, cvsweb.conf, cvsweb.conf-freebsd, cvsweb.conf-netbsd, cvsweb.conf-openbsd: Run "tar cf - ... | gzip -c" rather than "tar zcf - ..." to avoid tar(1)'s automatic padding of nulls to align with the block size, which is just garbage for a receiver. Noted by: Katsuyuki Komatsu <komatsu@sarion.co.jp> Have $uname variable to hold the OS implementation name. Move %CMD's initialization part to the beginning of cvsweb.conf so it can use $uname and configure properly for the OS. Wrap FreeBSD or OpenBSD specific features in conditional blocks using $uname. Fix some open() calls in good manners.
Notes
Notes: svn path=/head/; revision=37089
Diffstat (limited to 'devel/cvsweb3')
-rw-r--r--devel/cvsweb3/Makefile2
-rw-r--r--devel/cvsweb3/distinfo2
-rw-r--r--devel/cvsweb3/files/patch-cvsweb.cgi11
-rw-r--r--devel/cvsweb3/files/patch-cvsweb.conf33
4 files changed, 29 insertions, 19 deletions
diff --git a/devel/cvsweb3/Makefile b/devel/cvsweb3/Makefile
index 50d32ccc3382..581c46090478 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.59
+REV_KNU= 1.61
# Specify where your repository belongs.
# (You can reconfigure it after installation anyway)
diff --git a/devel/cvsweb3/distinfo b/devel/cvsweb3/distinfo
index 9fd8b46049ca..ce24b5ae5666 100644
--- a/devel/cvsweb3/distinfo
+++ b/devel/cvsweb3/distinfo
@@ -1 +1 @@
-MD5 (cvsweb-1.104.1.59.tar.gz) = 3323f28a68b3695587a6bfaa16663a35
+MD5 (cvsweb-1.104.1.61.tar.gz) = a87df49d4b0f804279de4cf8b24e1bdf
diff --git a/devel/cvsweb3/files/patch-cvsweb.cgi b/devel/cvsweb3/files/patch-cvsweb.cgi
index e713aa0900f7..5fa808aea4c7 100644
--- a/devel/cvsweb3/files/patch-cvsweb.cgi
+++ b/devel/cvsweb3/files/patch-cvsweb.cgi
@@ -1,8 +1,11 @@
---- cvsweb.cgi.orig Wed Jan 3 08:34:45 2001
-+++ cvsweb.cgi Wed Jan 3 08:43:48 2001
-@@ -1 +1 @@
+--- cvsweb.cgi.orig Thu Jan 11 11:00:55 2001
++++ cvsweb.cgi Thu Jan 11 12:35:36 2001
+@@ -1,2 +1,2 @@
-#!/usr/bin/perl -wT
+#!!!PERL!! -wT
-@@ -142 +142 @@
+ #
+@@ -148,3 +148,3 @@
+ "$mydir/cvsweb.conf",
- '/usr/local/etc/cvsweb/cvsweb.conf'
+ '!!PREFIX!!/etc/cvsweb/cvsweb.conf'
+ ) {
diff --git a/devel/cvsweb3/files/patch-cvsweb.conf b/devel/cvsweb3/files/patch-cvsweb.conf
index a73718c225d6..ff1c9a498630 100644
--- a/devel/cvsweb3/files/patch-cvsweb.conf
+++ b/devel/cvsweb3/files/patch-cvsweb.conf
@@ -1,20 +1,27 @@
---- cvsweb.conf.orig Wed Jan 3 08:38:37 2001
-+++ cvsweb.conf Wed Jan 3 08:41:11 2001
-@@ -29 +29 @@
+--- cvsweb.conf.orig Thu Jan 11 11:00:55 2001
++++ cvsweb.conf Thu Jan 11 12:37:50 2001
+@@ -17,3 +17,3 @@
+ # tar,rm (if you enable $allow_tar)
+-$command_path = '/bin:/usr/bin:/usr/local/bin';
++$command_path = '/bin:/usr/bin:!!PREFIX!!/bin';
+
+@@ -42,3 +42,3 @@
+ @CVSrepositories = (
- 'local' => ['Local Repository', '/home/cvs'],
-+ 'local' => ['!!TITLE!!', '!!CVSROOT!!'],
-@@ -195 +195 @@
++ 'local' => ['!!TITLE!!', '!!CVSROOT!!'],
+ # 'freebsd' => ['FreeBSD', '/home/ncvs'],
+@@ -208,3 +208,3 @@
+ # icons/ directory; they have a width/height of 16/16
-my $iconsdir = "/icons";
+my $iconsdir = "/icons/cvsweb";
-@@ -315 +315 @@
+ # format: TEXT ICON-URL width height
+@@ -328,3 +328,3 @@
+ # apache here:
-$mime_types = '/usr/local/etc/apache/mime.types';
+$mime_types = '!!PREFIX!!/etc/apache/mime.types';
-@@ -387 +387 @@
--$ENV{'PATH'} = '/bin:/usr/bin:/usr/local/bin';
-+$ENV{'PATH'} = '/bin:/usr/bin:!!PREFIX!!/bin';
-@@ -441 +441 @@
+
+@@ -448,3 +448,3 @@
+ # Options to pass to tar(1).
-@tar_options = qw();
+@tar_options = qw(--ignore-failed-read);
-@@ -446 +446 @@
--@cvs_options = qw(-l);
-+@cvs_options = qw(-R -l);
+ # e.g. @tar_options = qw(--ignore-failed-read);