1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-30 21:49:25 +00:00
freebsd-ports/devel/cvsweb3/files/patch-cvsweb.cgi
Akinori MUSHA d7d50312b5 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.
2001-01-11 03:41:57 +00:00

12 lines
282 B
Perl

--- 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
#
@@ -148,3 +148,3 @@
"$mydir/cvsweb.conf",
- '/usr/local/etc/cvsweb/cvsweb.conf'
+ '!!PREFIX!!/etc/cvsweb/cvsweb.conf'
) {