Wcarchive is not currently supporting on-the-fly compression, so chop

the .gz from the URLs.  Update the size estimate of the whole collection
to reflect the uncompressed size.
This commit is contained in:
John Fieber 1997-10-24 03:51:37 +00:00
parent 544eaecb26
commit d1c0aaba65
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=2114
2 changed files with 6 additions and 6 deletions

View file

@ -74,7 +74,7 @@ sub main {
$ldesc =~ s/\/usr/$baseHTTP/;
# The name description and maintainer
$data{$i} .= "<DT><B><A NAME=\"$name\"></A><A HREF=\"$loc.tar.gz\">$name</A></B> ";
$data{$i} .= "<DT><B><A NAME=\"$name\"></A><A HREF=\"$loc.tar\">$name</A></B> ";
$data{$i} .= "<DD>$desc<BR><I><A HREF=\"$ldesc\">Long description</A></I>";
$ownerurl = $owner;
$ownerurl =~ s/&lt;/</g;
@ -126,8 +126,8 @@ sub main {
# print MOUTF "<!--#include virtual=\"./ports.inc\" -->\n";
print MOUTF "&blurb;";
print MOUTF "<hr><P>There are currently $portnumber ports in the
FreeBSD Ports Collection.<br> <A HREF=\"$base/ports.tar.gz\">Download
a gzip'd tar file of all $portnumber ports</A> (about 4 megabytes) or
FreeBSD Ports Collection.<br> <A HREF=\"$base/ports.tar\">Download
a tar file of all $portnumber ports</A> (about 22 megabytes) or
browse the following categories:\n";
print MOUTF "<UL>\n";

View file

@ -74,7 +74,7 @@ sub main {
$ldesc =~ s/\/usr/$baseHTTP/;
# The name description and maintainer
$data{$i} .= "<DT><B><A NAME=\"$name\"></A><A HREF=\"$loc.tar.gz\">$name</A></B> ";
$data{$i} .= "<DT><B><A NAME=\"$name\"></A><A HREF=\"$loc.tar\">$name</A></B> ";
$data{$i} .= "<DD>$desc<BR><I><A HREF=\"$ldesc\">Long description</A></I>";
$ownerurl = $owner;
$ownerurl =~ s/&lt;/</g;
@ -126,8 +126,8 @@ sub main {
# print MOUTF "<!--#include virtual=\"./ports.inc\" -->\n";
print MOUTF "&blurb;";
print MOUTF "<hr><P>There are currently $portnumber ports in the
FreeBSD Ports Collection.<br> <A HREF=\"$base/ports.tar.gz\">Download
a gzip'd tar file of all $portnumber ports</A> (about 4 megabytes) or
FreeBSD Ports Collection.<br> <A HREF=\"$base/ports.tar\">Download
a tar file of all $portnumber ports</A> (about 22 megabytes) or
browse the following categories:\n";
print MOUTF "<UL>\n";