Index: head/security/vuxml/Makefile =================================================================== --- head/security/vuxml/Makefile (revision 391835) +++ head/security/vuxml/Makefile (revision 391836) @@ -1,99 +1,111 @@ # Created by: nectar@FreeBSD.org # $FreeBSD$ PORTNAME= vuxml PORTVERSION= 1.1 PORTREVISION= 2 CATEGORIES= security textproc MASTER_SITES= http://www.vuxml.org/dtd/vuxml-1/ DISTFILES= vuxml-10.dtd vuxml-model-10.mod \ vuxml-11.dtd vuxml-model-11.mod \ xml1.dcl catalog catalog.xml DIST_SUBDIR= vuxml MAINTAINER= ports-secteam@FreeBSD.org COMMENT= Vulnerability and eXposure Markup Language DTD LICENSE= BSD2CLAUSE RUN_DEPENDS= ${XMLCATMGR}:${PORTSDIR}/textproc/xmlcatmgr \ ${LOCALBASE}/share/xml/dtd/xhtml-modularization/VERSION:${PORTSDIR}/textproc/xhtml-modularization \ ${LOCALBASE}/share/xml/dtd/xhtml-basic/xhtml-basic10.dtd:${PORTSDIR}/textproc/xhtml-basic USES= python:run NO_MTREE= YES NO_BUILD= YES WRKSRC= ${WRKDIR} PLIST_SUB= XMLCAT_RM="${XMLCAT_RM}" XMLCAT_ADD="${XMLCAT_ADD}" \ SGMLCAT_RM="${SGMLCAT_RM}" SGMLCAT_ADD="${SGMLCAT_ADD}" \ dir_DTD="${dir_DTD}" dir_DTD= share/xml/dtd/vuxml XMLCATMGR= ${LOCALBASE}/bin/xmlcatmgr SGMLCAT= ${PREFIX}/share/sgml/catalog.ports XMLCAT= ${PREFIX}/share/xml/catalog.ports XMLCAT_ADD= ${XMLCATMGR} -c ${XMLCAT} add nextCatalog \ ${PREFIX}/${dir_DTD}/catalog.xml XMLCAT_RM= ${XMLCATMGR} -c ${XMLCAT} remove nextCatalog \ ${PREFIX}/${dir_DTD}/catalog.xml SGMLCAT_ADD= ${XMLCATMGR} -sc ${SGMLCAT} add CATALOG \ ${PREFIX}/${dir_DTD}/catalog SGMLCAT_RM= ${XMLCATMGR} -sc ${SGMLCAT} remove CATALOG \ ${PREFIX}/${dir_DTD}/catalog CATALOG_PORTS_SGML= ${PREFIX}/share/sgml/catalog.ports CATALOG_PORTS_XML= ${PREFIX}/share/xml/catalog.ports VUXML_FILE?= ${PKGDIR}/vuln.xml do-extract: @${RM} -rf ${WRKDIR} @${MKDIR} ${WRKDIR} .for f in ${DISTFILES} ${CP} ${_DISTDIR}/${f} ${WRKDIR}/${f} .endfor do-install: @${MKDIR} ${STAGEDIR}${PREFIX}/${dir_DTD} .for f in ${DISTFILES} ${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/${dir_DTD}/${f} .endfor validate: tidy @${SH} ${FILESDIR}/validate.sh "${VUXML_FILE}" @${ECHO_MSG} Checking if tidy differs... @if ${DIFF} -u "${VUXML_FILE}" "${VUXML_FILE}.tidy"; \ then \ ${ECHO_MSG} ... seems okay; \ ${RM} "${VUXML_FILE}.tidy"; \ else \ return 1; \ fi @${ECHO_MSG} Checking for space/tab... @unexpand "${VUXML_FILE}" | ${SED} -E 's,[[:space:]]*$$,,g' > "${VUXML_FILE}.unexpanded" @if ${DIFF} -u "${VUXML_FILE}" "${VUXML_FILE}.unexpanded"; \ then \ ${ECHO_MSG} ... seems okay; \ ${RM} "${VUXML_FILE}.unexpanded"; \ else \ ${ECHO_MSG} ... see above; \ ${ECHO_CMD} Consider using ${VUXML_FILE}.unexpanded for final commit; \ return 1; \ fi ${PYTHON_CMD} ${FILESDIR}/extra-validation.py ${VUXML_FILE} tidy: vuln.xml @if [ ! -e ${LOCALBASE}/share/xml/dtd/vuxml/catalog.xml ]; \ then \ echo "Please install the VuXML port prior to running make validate/tidy."; \ exit 1; \ fi ${SH} ${FILESDIR}/tidy.sh "${FILESDIR}/tidy.xsl" "${VUXML_FILE}" > "${VUXML_FILE}.tidy" newentry: @${SH} ${FILESDIR}/newentry.sh "${VUXML_FILE}" -.include +.include + +.if defined(VID) && !empty(VID) +html: work/${VID}.html +work/${VID}.html: ${FILESDIR}/html.xsl ${FILESDIR}/common.css ${VUXML_FILE} + ${MKDIR} work + xsltproc --stringparam vid "${VID}" \ + --output ${.TARGET} \ + ${FILESDIR}/html.xsl ${VUXML_FILE} + ${INSTALL_DATA} ${FILESDIR}/common.css work +.endif + +.include Index: head/security/vuxml/files/common.css =================================================================== --- head/security/vuxml/files/common.css (nonexistent) +++ head/security/vuxml/files/common.css (revision 391836) @@ -0,0 +1,225 @@ +/* + * Copyright 2003-2009 Jacques Vidrine and contributors. All rights reserved. + * + * Redistribution and use in source and binary forms, with or without + * modification, are permitted provided that the following conditions are + * met: + * + * 1. Redistributions of source code must retain the above copyright + * notice, this list of conditions and the following disclaimer. + * + * 2. Redistributions in binary form must reproduce the above copyright + * notice, this list of conditions and the following disclaimer in the + * documentation and/or other materials provided with the distribution. + * + * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR + * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED + * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE + * DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE FOR + * ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL + * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE + * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS + * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER + * IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR + * OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF + * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + */ +body { + background: #ffffff; + font-family: verdana, "bitstream vera sans", arial, helvetica, sans-serif; +} +h1.title { + color: #208020; +} +h2.section { + color: #208020; +} + +h1.title0 { + margin-bottom: 0em; + color: #208020; +} +p.subtitle { + margin-top: 0em; + color: #208020; + font-size: small; + font-style: italic; + font-weight: bold; +} + +/* The blurb in the upper-right corner. */ +.blurb { + color: #40A040; + font-size: small; + font-style: italic; + border: thin solid #40A040; + text-align: center; + width: 9em; + float: right; + padding: 2px; +} +div.blurb A:link, div.blurb A:visited, div.blurb A:hover { + text-decoration: none; + color: #40A040; +} + +/* The link from the package page to FreshPorts.org. */ +div.freshportslink { + color: #AD0040; + font-size: small; + font-style: italic; + text-align: left; + padding: 0px 2px 2px 2px; +} +div.freshportslink a:link, div.freshportslink a:visited, +div.freshportslink a:hover { + border: thin solid #AD0040; + text-decoration: none; + color: #AD0040; + padding: 2px; +} + +/* The link from the CVE page to cve.mitre.org. */ +div.cvelink { + color: #AD0040; + font-size: small; + font-style: italic; + text-align: left; + padding: 0px 2px 2px 2px; +} +div.cvelink a:link, div.cvelink a:visited, div.cvelink a:hover { + border: thin solid #AD0040; + text-decoration: none; + color: #AD0040; + padding: 2px; +} + +/* Most links are black unless the mouse is over them. */ +A:link, A:visited { + text-decoration: none; + color: #000000; +} +A:hover { + text-decoration: underline; + color: #802020; +} + +/* Some links should be more visible. */ +A:link.vis, A:visited.vis { + text-decoration: none; + color: #0000ef; +} + +/* Links in the ``embedded'' HTML look a bit different. */ +div.embed A:link { + text-decoration: underline; + color: #6b69ff; +} +div.embed A:visited { + text-decoration: underline; + color: #840084; +} +div.embed A:hover { + text-decoration: underline; + color: #ff0000; +} +div.citation A:link { + text-decoration: none; + color: #6b69ff; +} +div.citation A:visited { + text-decoration: none; + color: #840084; +} +div.citation A:hover { + text-decoration: none; + color: #ff0000; +} + +/* Simple list tables */ +table.list { + border: thin solid #000000; +} +table.list thead td { + text-align: center; + background: #000000; + color: #ffffff; +} + +/* Label/content tables */ +td.label { + font-weight: bold; + padding-right: 0.75em; + padding-left: 0.75em; + background-color: #c6d3de; + white-space: nowrap; +} +td.content { + padding-right: 0.75em; + padding-left: 0.75em; + background: #e5ffe5; +} + +/* The navigation bar */ +tbody.nav td { + border: thin solid black; + padding: 3pt; +} + +/* Our common table style */ +table.common thead th { + padding-right: 0.75em; + padding-left: 0.75em; + background-color: #c6d3de; + white-space: nowrap; +} +table.common tbody td { + padding-right: 0.75em; + padding-left: 0.75em; + background: #e5ffe5; +} +table.common tbody td.group { + background: #c5ffc5; + white-space: nowrap; +} + +/* Blockquotes */ +blockquote { + background: #F0F0F0; + border-left: #CCCCCC 0.5em solid; + border-right: #CCCCCC 1px dashed; + border-top: #CCCCCC 1px dashed; + border-bottom: #CCCCCC 1px dashed; +} +div.citation { + font-size: small; + font-style: italic; + text-align: right; +} + +/* Various attributes */ +.package { + font-family: "monaco", "andale mono", "courier new", monospace; +} +.vid { + font-family: "monaco", "andale mono", "courier new", monospace; +} +.copyright { + font-size: small; + font-style: italic; +} +.email { + font-family: "monaco", "andale mono", "courier new", monospace; +} +.hide { + display: none; +} +.note { + font-size: small; + font-style: italic; + color: #801010; +} +.date, .cvename { + white-space: nowrap; +} + Property changes on: head/security/vuxml/files/common.css ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/security/vuxml/files/html.xsl =================================================================== --- head/security/vuxml/files/html.xsl (nonexistent) +++ head/security/vuxml/files/html.xsl (revision 391836) @@ -0,0 +1,179 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + < + <= + = + + + + + + + + + + < + <= + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + <xsl:value-of select="vuxml:topic" /> + + + + + +

+ + + + +
+ + + + + + + + + + + +
Affected packages
+ +

Details

+ + + + + + + + + + + + + + + +
+ +
+ + + +
+ +

References

+ + + + + + + + + + + + + +
CVE Name + + +
URL + + + +
+ + +
+
Property changes on: head/security/vuxml/files/html.xsl ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property