summaryrefslogtreecommitdiff
path: root/devel/cvsweb/files/patch-cvsweb.cgi
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/cvsweb/files/patch-cvsweb.cgi
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/cvsweb/files/patch-cvsweb.cgi')
-rw-r--r--devel/cvsweb/files/patch-cvsweb.cgi11
1 files changed, 7 insertions, 4 deletions
diff --git a/devel/cvsweb/files/patch-cvsweb.cgi b/devel/cvsweb/files/patch-cvsweb.cgi
index e713aa0900f7..5fa808aea4c7 100644
--- a/devel/cvsweb/files/patch-cvsweb.cgi
+++ b/devel/cvsweb/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'
+ ) {