/usr/share/fwbuilder-5.3.7/migration/FWObjectDatabase_0.9.1.xslt is in fwbuilder-common 5.3.7-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 | <!--
Filename: 0.9.1/FWObjectDatabase.xslt
Author: Vadim Kurland
Build date: 05/29/2001
Last changed: 06/02/2001
Version: 1.0.0
Description: translates fwbuilder object database from v0.9.1 to v0.9.2
-->
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
>
<xsl:output method="xml" version="1.0"
doctype-system="fwbuilder.dtd" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="FirewallOptions" mode="fw">
<FirewallOptions>
<Option name="firewall_is_part_of_any_and_networks">True</Option>
<xsl:copy-of select="*"/>
</FirewallOptions>
</xsl:template>
<xsl:template match="Firewall" mode="fw">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates mode="fw"/>
</xsl:copy>
</xsl:template>
<xsl:template match="ObjectGroup[@name='Firewalls']">
<xsl:copy>
<xsl:copy-of select="@*"/>
<xsl:apply-templates mode="fw"/>
</xsl:copy>
</xsl:template>
<xsl:template match="*" mode="fw">
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="*">
<xsl:copy-of select="."/>
</xsl:template>
<xsl:template match="FWObjectDatabase">
<FWObjectDatabase version="0.9.2">
<xsl:apply-templates/>
</FWObjectDatabase>
</xsl:template>
</xsl:stylesheet>
|