Date: Wed, 6 Feb 2002 14:08:43 -0500 From: The Anarcat <anarcat@anarcat.dyndns.org> To: Akinori MUSHA <knu@FreeBSD.org> Cc: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: projects/cvsweb cvsweb.cgi Message-ID: <20020206190843.GC47033@shall.anarcat.dyndns.org> In-Reply-To: <200202061801.g16I1J384343@freefall.freebsd.org> References: <200202061801.g16I1J384343@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
[-- Attachment #1 --] On Wed Feb 06, 2002 at 10:01:19AM -0800, Akinori MUSHA wrote: > Fix a minor bug in tarball creation. Now that's interesting. I forgot cvsweb could do that. How about fixing the http://www.freebsd.org/ports/ download links? They point to ftp.freebsd.org which, half the time, is unavailable. The ftp mirrors are often not capabable of on-the-fly tarball generation so the mirror argument doesn't hold. Anyways, even ftp.freebsd.org doesn't seem to do this either. A non-tested patch follows. A. Index: ports.cgi =================================================================== RCS file: /home/ncvs/www/en/cgi/ports.cgi,v retrieving revision 1.59 diff -u -r1.59 ports.cgi --- ports.cgi 7 Nov 2001 16:32:12 -0000 1.59 +++ ports.cgi 6 Feb 2002 19:07:33 -0000 @@ -49,7 +49,7 @@ # URL of ports tree for download $remotePrefixFtpDownload = - 'ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports'; + 'http://www.FreeBSD.org/cgi/cvsweb.cgi/ports'; # where to get -current packages local($p) = 'ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/i386'; @@ -313,6 +313,7 @@ $path =~ s/^$localPrefix/$remotePrefixFtp/o; $pathDownload =~ s/^$localPrefix/$remotePrefixFtpDownload/o; + $pathDownload .= "?tarball=1"; $descfile =~ s/^$localPrefix/$remotePrefixFtp/o; print qq{<DT><B><A NAME="$version">$version</A></B>\n}; [-- Attachment #2 --] -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (FreeBSD) Comment: For info see http://www.gnupg.org iEYEARECAAYFAjxhfzoACgkQttcWHAnWiGcPBQCgipw+yle1YIRfzcxFGaOkvKhJ 5HcAn0wZPzynZ4hyFB+7YK6O28/T/mKV =CAmB -----END PGP SIGNATURE-----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020206190843.GC47033>
