fr/security/Makefile		  1.9 --> 1.14
fr/security/mkindex.xsl		  1.2 --> 1.4
fr/security/security-rdf.xsl	  1.1
fr/security/security.sgml	  1.72 --> 1.182

Remove dead file:	fr/security/advisories.xml

Submitted by:	Antoine Brodin <antoine.brodin@laposte.net>
This commit is contained in:
Marc Fonvieille 2006-04-03 19:58:44 +00:00
parent 9a3f796c94
commit 43172b6faa
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/www/; revision=27468
5 changed files with 450 additions and 2852 deletions

View file

@ -1,7 +1,7 @@
# $FreeBSD$
# $FreeBSD: www/fr/security/Makefile,v 1.1 2003/12/15 16:04:58 stephane Exp $
# The FreeBSD French Documentation Project
# Original revision: 1.9
# Original revision: 1.14
.if exists(../Makefile.conf)
.include "../Makefile.conf"
@ -10,17 +10,20 @@
.include "../Makefile.inc"
.endif
DOCS=
DOCS=
DOCS+= security.sgml
INDEXLINK= security.html
INDEXLINK= security.html
security.html: advisories.html.inc advisories.rdf
DEPENDSET.DEFAULT= advisories
XML.DEFAULT= ${XML_ADVISORIES}
XMLDOCS= advisories:mkindex.xsl::advisories.html.inc
NO_DATA.advisories= yes
NO_TIDY.advisories= yes
XMLDOCS+= advisories-rdf:security-rdf.xsl::advisories.rdf
.include "${WEB_PREFIX}/share/mk/web.site.mk"
CLEANFILES+= advisories.html.inc
security.html: advisories.html.inc
advisories.html.inc: mkindex.xsl ${XML_ADVISORIES}
${XSLTPROC} ${XSLTPROCOPTS} -o ${.TARGET} \
${.CURDIR}/mkindex.xsl ${XML_ADVISORIES}

File diff suppressed because it is too large Load diff

View file

@ -1,53 +1,34 @@
<?xml version="1.0"?>
<!-- $FreeBSD$ -->
<!-- $FreeBSD: www/fr/security/mkindex.xsl,v 1.1 2003/12/15 15:41:15 stephane Exp $ -->
<!--
The FreeBSD French Documentation Project
Original revision: 1.2
Original revision: 1.4
Version francaise : Stephane Legrand <stephane@freebsd-fr.org>
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../includes.xsl"/>
<xsl:variable name="base" select="'.'"/>
<xsl:variable name="date" select="'$FreeBSD$'"/>
<xsl:variable name="date" select="'$FreeBSD: www/fr/security/mkindex.xsl,v 1.1 2003/12/15 15:41:15 stephane Exp $'"/>
<xsl:variable name="title" select="'untitled'"/>
<xsl:variable name="ftpbase" select="'ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/'" />
<xsl:variable name="ftpbaseold" select="'ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/old/'" />
<xsl:variable name="ulopen" select="'&lt;ul&gt;'" />
<xsl:variable name="ulclose" select="'&lt;/ul&gt;'" />
<xsl:output type="xml" encoding="iso-8859-1"
omit-xml-declaration="yes" />
<xsl:template match="/">
<xsl:value-of select="$ulopen" disable-output-escaping="yes" />
<xsl:for-each select="descendant::advisory|descendant::release">
<xsl:choose>
<xsl:when test="self::release">
<xsl:value-of select="$ulclose" disable-output-escaping="yes" />
<p>Sortie de <xsl:value-of select="name"/>.</p>
<xsl:value-of select="$ulopen" disable-output-escaping="yes" />
</xsl:when>
<xsl:when test="self::advisory">
<li>
<xsl:choose>
<xsl:when test="./name/@role='old'">
<a><xsl:attribute name="href"><xsl:value-of select="concat($ftpbaseold, name, '.asc')" /></xsl:attribute><xsl:value-of select="concat(name, '.asc')" /></a>
</xsl:when>
<xsl:otherwise>
<a><xsl:attribute name="href"><xsl:value-of select="concat($ftpbase, name, '.asc')" /></xsl:attribute><xsl:value-of select="concat(name, '.asc')" /></a> </xsl:otherwise>
</xsl:choose>
</li>
</xsl:when>
</xsl:choose>
</xsl:for-each>
<xsl:value-of select="$ulclose" disable-output-escaping="yes" />
<xsl:call-template name="html-list-advisories">
<xsl:with-param name="advisories.xml" select="$advisories.xml" />
</xsl:call-template>
</xsl:template>
<xsl:template name="html-list-advisories-release-label">
<xsl:param name="relname" select="'none'" />
<p>Sortie de <xsl:value-of select="$relname" />.</p>
</xsl:template>
</xsl:stylesheet>

View file

@ -0,0 +1,24 @@
<?xml version="1.0" encoding="ISO-8859-1" ?>
<!-- $FreeBSD$ -->
<!--
The FreeBSD French Documentation Project
Original revision: 1.1
-->
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:import href="../includes.xsl"/>
<xsl:output method="xml" indent="yes"/>
<xsl:variable name="base" select="'..'"/>
<xsl:variable name="date" select="'$FreeBSD$'"/>
<xsl:variable name="title" select="'untitled'"/>
<xsl:template match="/">
<xsl:call-template name="rdf-security-advisories">
<xsl:with-param name="advisories.xml" select="$advisories.xml" />
</xsl:call-template>
</xsl:template>
</xsl:stylesheet>

File diff suppressed because it is too large Load diff