From d7d50312b5751c68cc7f18df3c8c50443d63374e Mon Sep 17 00:00:00 2001 From: Akinori MUSHA Date: Thu, 11 Jan 2001 03:41:57 +0000 Subject: 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 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. --- devel/cvsweb/files/patch-cvsweb.cgi | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'devel/cvsweb/files/patch-cvsweb.cgi') 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' + ) { -- cgit v1.2.3