www/54572: [patch] unbreak b0rked www/en/ports/index.sgml
Marc Fonvieille
blackend at FreeBSD.org
Thu Jul 17 03:40:04 PDT 2003
The following reply was made to PR www/54572; it has been noted by GNATS.
From: Marc Fonvieille <blackend at FreeBSD.org>
To: Josef El-Rayes <j.el-rayes at daemon.li>
Cc: FreeBSD-gnats-submit at FreeBSD.org
Subject: Re: www/54572: [patch] unbreak b0rked www/en/ports/index.sgml
Date: Thu, 17 Jul 2003 12:30:07 +0200
On Thu, Jul 17, 2003 at 12:09:49PM +0200, Josef El-Rayes wrote:
[...]
>
>
> --- index.sgml.diff begins here ---
> --- index.sgml.orig Thu Jul 17 11:39:21 2003
> +++ index.sgml Thu Jul 17 11:56:00 2003
> @@ -12,8 +12,6 @@
> FreeBSD Ports Collection.<br> <A HREF="ftp://ftp.FreeBSD.org/pub/FreeBSD/branches/-current/ports.tar.gz">Download
> a gzip'd tar file of all ports</A> (about 19 megabytes) or
> browse the following categories:
> -<UL>
> -</UL>
> <UL><LI><A HREF="master-index.html">Alphabetical list of all ports</A></LI></UL>
>
In fact, there is no index.sgml. This later is generated with
portindex; the following patch should fix the problem:
Index: portindex
===================================================================
RCS file: /home/dcvs/www/en/ports/portindex,v
retrieving revision 1.47
diff -u -r1.47 portindex
--- portindex 10 Jul 2003 21:41:29 -0000 1.47
+++ portindex 17 Jul 2003 10:29:24 -0000
@@ -226,7 +226,7 @@
a gzip'd tar file of all $portnumber ports</A> (about 19 megabytes) or
browse the following categories:\n";
- print MOUTF "<UL>\n";
+# print MOUTF "<UL>\n";
@foos = sort(keys %stats);
foreach $key (@foos) {
@@ -262,7 +262,7 @@
close(OUTF);
}
- print MOUTF "</UL>\n";
+# print MOUTF "</UL>\n";
print MOUTF
"<UL><LI><A HREF=\"master-index.html\">Alphabetical list of all $portnumber ports</A></LI></UL>\n";
&footer(MOUTF, "");
Marc
More information about the freebsd-www
mailing list