FreeBSD web build failed on freefall.freebsd.org

Hiroki Sato hrs at eos.ocn.ne.jp
Mon Oct 20 14:35:10 UTC 2003


Ceri Davies <ceri at freebsd.org> wrote
  in <20031020135933.GC3708 at submonkey.net>:

ceri> Wow, this is ugly, but it fixes the build.

 No, the cause is that index.xsl still uses security/advisories.xml.
 The attached patch should fix the build.

 BTW, I think I will move advisories.xml to www/share, a language
 independent place.  Sorry for confusing, but please check carefully
 if www/ tree can be built.

-- 
| Hiroki SATO
-------------- next part --------------
Index: index.xsl
===================================================================
RCS file: /home/ncvs/www/ru/index.xsl,v
retrieving revision 1.7
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.7 index.xsl
--- index.xsl	14 Oct 2003 08:48:06 -0000	1.7
+++ index.xsl	20 Oct 2003 14:19:13 -0000
@@ -483,16 +483,16 @@
                            <font size="-1">
                              ????????? ??????????:
                              <xsl:value-of
-                               select="document('security/advisories.xml')/descendant::month[position() = 1]/name"/>
+                               select="document('../en/security/advisories.xml')/descendant::month[position() = 1]/name"/>
                              <xsl:text> </xsl:text>
                              <xsl:value-of
-                               select="document('security/advisories.xml')/descendant::day[position() = 1]/name"/>
+                               select="document('../en/security/advisories.xml')/descendant::day[position() = 1]/name"/>
                              <xsl:text>, </xsl:text>
                              <xsl:value-of
-                               select="document('security/advisories.xml')/descendant::year[position() = 1]/name"/>
+                               select="document('../en/security/advisories.xml')/descendant::year[position() = 1]/name"/>
                              <br/>
                              <!-- Pull in the 10 most recent security advisories -->
-                             <xsl:for-each select="document('security/advisories.xml')/descendant::advisory[position() < 10]">
+                             <xsl:for-each select="document('../en/security/advisories.xml')/descendant::advisory[position() < 10]">
                                · <a>
                                  <xsl:attribute name="href">ftp://ftp.freebsd.org/pub/FreeBSD/CERT/advisories/<xsl:value-of select="name"/>.asc</xsl:attribute>
                                  <xsl:value-of select="name"/>
Index: Makefile
===================================================================
RCS file: /home/ncvs/www/ru/Makefile,v
retrieving revision 1.25
diff -d -u -I\$FreeBSD:.*\$ -I\$NetBSD:.*\$ -I\$OpenBSD:.*\$ -I\$Id:.*\$ -I\$hrs:.*\$ -r1.25 Makefile
--- Makefile	16 Oct 2003 17:57:44 -0000	1.25
+++ Makefile	20 Oct 2003 14:19:37 -0000
@@ -87,7 +87,7 @@
 DATA+=		index.html
 CLEANFILES+=	index.html
 
-index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl security/advisories.xml
+index.html: index.xsl news/news.xml news/press.xml includes.xsl news/includes.xsl ../en/security/advisories.xml
 	${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
 		${.CURDIR}/index.xsl ${.CURDIR}/news/news.xml
 .if !defined(NO_TIDY)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20031020/5e8199b4/attachment.sig>


More information about the freebsd-doc mailing list