svn commit: r48110 - in head: hu_HU.ISO8859-2/share/xml nl_NL.ISO8859-1/share/xml share/xml

Jason Helfman <[email protected]>
Newsgroups gmane.os.freebsd.devel.cvs.doc
Message-ID <[email protected]>
Author: jgh
Date: Thu Jan 28 22:33:37 2016
New Revision: 48110
URL: https://svnweb.freebsd.org/changeset/doc/48110

Log:
  - address old security links being generated prior to 2000
  
  PR:		206271
  Reported by:	[email protected]
  Approved by:	wblock (mentor, doceng), glebius (security)
  Differential Revision:	https://reviews.freebsd.org/D5073

Modified:
  head/hu_HU.ISO8859-2/share/xml/libcommon.xsl
  head/nl_NL.ISO8859-1/share/xml/libcommon.xsl
  head/share/xml/common.ent
  head/share/xml/libcommon.xsl

Modified: head/hu_HU.ISO8859-2/share/xml/libcommon.xsl
==============================================================================
--- head/hu_HU.ISO8859-2/share/xml/libcommon.xsl	Thu Jan 28 22:22:19 2016	(r48109)
+++ head/hu_HU.ISO8859-2/share/xml/libcommon.xsl	Thu Jan 28 22:33:37 2016	(r48110)
@@ -311,7 +311,6 @@
   <xsl:template name="html-list-advisories-putitems">
     <xsl:param name="items" select="''" />
     <xsl:param name="prefix" select="''" />
-    <xsl:param name="prefixold" select="''" />
 
     <xsl:if test="$items">
       <table>
@@ -335,12 +334,6 @@
 	      <xsl:when test="@omithref='yes'">
 		<xsl:value-of select="name" />
 	      </xsl:when>
-	      <xsl:when test="name/@role='old'">
-		<a><xsl:attribute name="href">
-		    <xsl:value-of select="concat($prefixold, 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($prefix, name, '.asc')" />

Modified: head/nl_NL.ISO8859-1/share/xml/libcommon.xsl
==============================================================================
--- head/nl_NL.ISO8859-1/share/xml/libcommon.xsl	Thu Jan 28 22:22:19 2016	(r48109)
+++ head/nl_NL.ISO8859-1/share/xml/libcommon.xsl	Thu Jan 28 22:33:37 2016	(r48110)
@@ -197,7 +197,6 @@
     <xsl:param name="itemtype" select="''" />
     <xsl:param name="itemtype" select="''" />
     <xsl:param name="prefix" select="''" />
-    <xsl:param name="prefixold" select="''" />
 
     <xsl:if test="$items">
       <table>
@@ -221,12 +220,6 @@
 	      <xsl:when test="@omithref='yes'">
 		<xsl:value-of select="name" />
 	      </xsl:when>
-	      <xsl:when test="name/@role='old'">
-		<a><xsl:attribute name="href">
-		    <xsl:value-of select="concat($prefixold, 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($prefix, name, '.asc')" />

Modified: head/share/xml/common.ent
==============================================================================
--- head/share/xml/common.ent	Thu Jan 28 22:22:19 2016	(r48109)
+++ head/share/xml/common.ent	Thu Jan 28 22:33:37 2016	(r48110)
@@ -36,7 +36,6 @@
 
 <!ENTITY cgibase "//www.FreeBSD.org/cgi">
 <!ENTITY ftpbase "//security.FreeBSD.org/advisories/">
-<!ENTITY ftpbaseold "ftp://ftp.FreeBSD.org/pub/FreeBSD/CERT/advisories/old/">
 <!ENTITY ftpbaseerrata "//security.FreeBSD.org/advisories/">
 
 <!ENTITY os 'FreeBSD'>

Modified: head/share/xml/libcommon.xsl
==============================================================================
--- head/share/xml/libcommon.xsl	Thu Jan 28 22:22:19 2016	(r48109)
+++ head/share/xml/libcommon.xsl	Thu Jan 28 22:33:37 2016	(r48110)
@@ -782,7 +782,6 @@
           <xsl:with-param name="items" select="document($advisories.xml)//advisory" />
           <xsl:with-param name="itemtype" select="'Advisory'" />
           <xsl:with-param name="prefix" select="'&ftpbase;'" />
-          <xsl:with-param name="prefixold" select="'&ftpbaseold;'" />
         </xsl:call-template>
       </xsl:when>
 
@@ -791,7 +790,6 @@
 	  <xsl:with-param name="items" select="document($advisories.xml)//notice" />
 	  <xsl:with-param name="itemtype" select="'Errata Notice'" />
 	  <xsl:with-param name="prefix" select="'&ftpbaseerrata;'" />
-	  <xsl:with-param name="prefixold" select="'&ftpbaseerrata;'" />
 	</xsl:call-template>
       </xsl:when>
     </xsl:choose>
@@ -828,12 +826,6 @@
 	      <xsl:when test="@omithref='yes'">
 		<xsl:value-of select="name" />
 	      </xsl:when>
-	      <xsl:when test="name/@role='old'">
-		<a><xsl:attribute name="href">
-		    <xsl:value-of select="concat($prefixold, 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($prefix, name, '.asc')" />
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-doc-all
To unsubscribe, send any mail to "[email protected]"
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.