aboutsummaryrefslogtreecommitdiffstats
path: root/pkg_config.xsl
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2013-05-28 13:47:34 -0400
committerjim-p <jimp@pfsense.org>2013-05-28 13:48:38 -0400
commit1718fc1140d6145ec89cc5868dbceebd0f0c0823 (patch)
tree93901a43fc1af331eb426cdba74fb1f17c907465 /pkg_config.xsl
parentedd5a31d27cfdb2023024b93bbb0038b2f124dcc (diff)
downloadpfsense-packages-1718fc1140d6145ec89cc5868dbceebd0f0c0823.tar.gz
pfsense-packages-1718fc1140d6145ec89cc5868dbceebd0f0c0823.tar.bz2
pfsense-packages-1718fc1140d6145ec89cc5868dbceebd0f0c0823.zip
Fix/relocate a bunch of missing files/dependencies for binaries that were removed from git but lingered on www rather than files.
Diffstat (limited to 'pkg_config.xsl')
-rw-r--r--pkg_config.xsl40
1 files changed, 40 insertions, 0 deletions
diff --git a/pkg_config.xsl b/pkg_config.xsl
new file mode 100644
index 00000000..d5df5626
--- /dev/null
+++ b/pkg_config.xsl
@@ -0,0 +1,40 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
+ <xsl:output method="html" encoding="UTF-8" indent="yes"/>
+ <xsl:template match="pfsensepkgs">
+ <html>
+ <head>
+ <title>pfSense Open Source Firewall Distribution - Packages</title>
+ <link rel="shortcut icon" href="http://www.pfsense.org/images/favicon.ico"/>
+
+ <link rel="stylesheet" href="templates/modular_plazza/css/template_css.css" type="text/css"/>
+ <link rel="stylesheet" href="templates/modular_plazza/css/sfish.css" type="text/css"/>
+ </head>
+ <body class="bodies">
+ <h2>pfSense Package list</h2>
+ <xsl:apply-templates/>
+ </body>
+ </html>
+ </xsl:template>
+
+ <xsl:template match="packages">
+ <xsl:for-each-group select="package" group-by="category">
+ <h3>
+ Category: <xsl:value-of select="current-grouping-key()"/>
+ </h3>
+ <xsl:for-each select="current-group()">
+ <h4>
+ <xsl:value-of select="name"/>
+ </h4>
+ <span class="version">Version <xsl:value-of select="version"/> </span>
+ <xsl:choose>
+ <xsl:when test="status = 'ALPHA'"><span style="color:red">alpha</span></xsl:when>
+ <xsl:when test="status = 'BETA'"><span style="color:blue">beta</span></xsl:when>
+ <xsl:otherwise><span style="color:green"><xsl:value-of select="status"/></span></xsl:otherwise>
+ </xsl:choose>
+ <br/>
+ <xsl:value-of select="descr" disable-output-escaping="yes"/>
+ </xsl:for-each>
+ </xsl:for-each-group>
+ </xsl:template>
+</xsl:stylesheet>