SHA256
1
0
forked from pool/tomcat10

Accepting request 1139107 from home:mbussolotto:branches:Java:packages

- Fix server.xml permission (bsc#1217768, bsc#1217402)
- remove serverxmltool and use xsltproc

OBS-URL: https://build.opensuse.org/request/show/1139107
OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat10?expand=0&rev=18
This commit is contained in:
2024-01-16 09:34:22 +00:00
committed by Git OBS Bridge
parent c89623affc
commit 940c0b2f6d
6 changed files with 79 additions and 86 deletions

16
valve.xslt Normal file
View File

@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" version="1.0" encoding="UTF-8" indent="yes"/>
<xsl:strip-space elements="*"/>
<xsl:template match="@*|node()">
<xsl:copy>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
<xsl:template match="Valve[@className='org.apache.catalina.valves.AccessLogValve']">
<xsl:copy>
<xsl:attribute name="rotatable">false</xsl:attribute>
<xsl:apply-templates select="@*|node()"/>
</xsl:copy>
</xsl:template>
</xsl:stylesheet>