forked from pool/tomcat
2fb58ed407
- Update to Tomcat 9.0.10. See changelog at http://tomcat.apache.org/tomcat-9.0-doc/changelog.html#Tomcat_9.0.10_(markt) - Fixed CVEs: - CVE-2018-1336 (bsc#1102400) - CVE-2018-8014 (bsc#1093697) - CVE-2018-8034 (bsc#1102379) - CVE-2018-8037 (bsc#1102410) - Rebased patch tomcat-9.0-JDTCompiler-java.patch - Added patch tomcat-9.0-disable-osgi-build.patch to disable adding OSGi metadata to JAR files OBS-URL: https://build.opensuse.org/request/show/629579 OBS-URL: https://build.opensuse.org/package/show/Java:packages/tomcat?expand=0&rev=126
45 lines
1.6 KiB
Diff
45 lines
1.6 KiB
Diff
Index: build.xml
|
|
IDEA additional info:
|
|
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
|
|
<+>UTF-8
|
|
===================================================================
|
|
--- build.xml (date 1529515764000)
|
|
+++ build.xml (date 1534335916000)
|
|
@@ -15,7 +15,8 @@
|
|
See the License for the specific language governing permissions and
|
|
limitations under the License.
|
|
-->
|
|
-<project name="Tomcat 9.0" default="deploy" basedir=".">
|
|
+<project name="Tomcat 9.0" default="deploy" basedir="."
|
|
+ xmlns:if="ant:if" xmlns:unless="ant:unless">
|
|
|
|
<!-- ===================== Initialize Property Values ==================== -->
|
|
|
|
@@ -728,7 +729,7 @@
|
|
</target>
|
|
|
|
<target name="build-bnd" unless="bnd.uptodate"
|
|
- depends="setup-bnd,build-prepare">
|
|
+ depends="setup-bnd,build-prepare" if="add.osgi.jar.metadata">
|
|
|
|
<mkdir dir="${tomcat.bnd}" />
|
|
<copy todir="${tomcat.bnd}" overwrite="yes" filtering="yes"
|
|
@@ -2970,7 +2971,7 @@
|
|
|
|
<!-- ======================= Macros, Taskdefs etc ======================== -->
|
|
|
|
- <target name="setup-bnd" >
|
|
+ <target name="setup-bnd" if="add.osgi.jar.metadata">
|
|
<!-- Download bnd -->
|
|
<antcall target="downloadfile">
|
|
<param name="sourcefile" value="${bnd.loc}"/>
|
|
@@ -3025,7 +3026,7 @@
|
|
<zipfileset file="@{notice}" fullpath="META-INF/NOTICE" />
|
|
<zipfileset file="@{license}" fullpath="META-INF/LICENSE" />
|
|
</jar>
|
|
- <antcall target="add-osgi" >
|
|
+ <antcall target="add-osgi" if:set="add.osgi.jar.metadata">
|
|
<param name="jarfile" value="@{jarfile}" />
|
|
<param name="addOSGi" value="@{addOSGi}" />
|
|
</antcall>
|