]> git.pld-linux.org Git - packages/tomcat.git/blob - tomcat-build.xml.patch
- up to 7.0.100; fixes CVE-2019-17563, CVE-2019-12418, CVE-2019-17569, CVE-2020-1935...
[packages/tomcat.git] / tomcat-build.xml.patch
1 --- apache-tomcat-7.0.100-src/build.xml.org     2020-02-11 09:39:54.000000000 +0100
2 +++ apache-tomcat-7.0.100-src/build.xml 2020-02-29 19:19:42.236875428 +0100
3 @@ -683,7 +683,7 @@
4    <target name="compile" depends="compile-java6, check-java7, compile-java7" />
5  
6    <target name="compile-java6"
7 -          depends="build-prepare, download-compile, compile-prepare, validate">
8 +          depends="build-prepare">
9      <!-- Compile internal server components -->
10      <javac srcdir="java" destdir="${tomcat.classes}"
11             debug="${compile.debug}"
12 @@ -1409,7 +1409,7 @@
13  
14    </target>
15  
16 -  <target name="test-compile" depends="compile,download-test-compile,compile-webapp-examples" >
17 +  <target name="test-compile" depends="compile,compile-webapp-examples" >
18      <mkdir dir="${test.classes}"/>
19      <!-- Compile -->
20      <javac srcdir="test" destdir="${test.classes}"
21 @@ -1621,7 +1621,7 @@
22    </target>
23  
24    <target name="cobertura-instrument"
25 -          depends="compile,download-cobertura,cobertura-disabled,cobertura-disabled-log"
26 +          depends="compile,cobertura-disabled,cobertura-disabled-log"
27            if="${cobertura.enabled}"
28            description="Adds Cobertura instrumentation to the compiled bytecode">
29  
30 @@ -1681,67 +1681,10 @@
31      <mkdir dir="${tomcat.extras}/webservices"/>
32    </target>
33  
34 -  <target name="extras-commons-logging-prepare"
35 -          depends="extras-prepare"
36 -          description="Prepare to build web services extras package">
37 -
38 -    <antcall target="downloadfile-2">
39 -      <param name="sourcefile.1" value="${commons-logging-src.loc.1}"/>
40 -      <param name="sourcefile.2" value="${commons-logging-src.loc.2}"/>
41 -      <param name="destfile" value="${commons-logging-src.tar.gz}"/>
42 -      <param name="destdir" value="${commons-logging.home}"/>
43 -      <param name="checksum.enabled" value="${commons-logging-src.checksum.enabled}"/>
44 -      <param name="checksum.algorithm" value="${commons-logging-src.checksum.algorithm}"/>
45 -      <param name="checksum.value" value="${commons-logging-src.checksum.value}"/>
46 -    </antcall>
47 -
48 -    <antcall target="downloadfile">
49 -      <param name="sourcefile" value="${avalon-framework.loc}"/>
50 -      <param name="destfile" value="${avalon-framework.jar}"/>
51 -      <param name="destdir" value="${avalon-framework.home}"/>
52 -      <param name="checksum.enabled" value="${avalon-framework.checksum.enabled}"/>
53 -      <param name="checksum.algorithm" value="${avalon-framework.checksum.algorithm}"/>
54 -      <param name="checksum.value" value="${avalon-framework.checksum.value}"/>
55 -    </antcall>
56 -
57 -    <antcall target="downloadfile">
58 -      <param name="sourcefile" value="${log4j.loc}"/>
59 -      <param name="destfile" value="${log4j.jar}"/>
60 -      <param name="destdir" value="${log4j.home}"/>
61 -      <param name="checksum.enabled" value="${log4j.checksum.enabled}"/>
62 -      <param name="checksum.algorithm" value="${log4j.checksum.algorithm}"/>
63 -      <param name="checksum.value" value="${log4j.checksum.value}"/>
64 -    </antcall>
65 -
66 -    <antcall target="downloadfile">
67 -      <param name="sourcefile" value="${logkit.loc}"/>
68 -      <param name="destfile" value="${logkit.jar}"/>
69 -      <param name="destdir" value="${logkit.home}"/>
70 -      <param name="checksum.enabled" value="${logkit.checksum.enabled}"/>
71 -      <param name="checksum.algorithm" value="${logkit.checksum.algorithm}"/>
72 -      <param name="checksum.value" value="${logkit.checksum.value}"/>
73 -    </antcall>
74 -
75 -    <antcall target="downloadfile">
76 -      <param name="sourcefile" value="${servletapi.loc}"/>
77 -      <param name="destfile" value="${servletapi.jar}"/>
78 -      <param name="destdir" value="${servletapi.home}"/>
79 -      <param name="checksum.enabled" value="${servletapi.checksum.enabled}"/>
80 -      <param name="checksum.algorithm" value="${servletapi.checksum.algorithm}"/>
81 -      <param name="checksum.value" value="${servletapi.checksum.value}"/>
82 -    </antcall>
83 -
84 -  </target>
85 -
86    <target name="extras-commons-logging"
87 -          depends="extras-commons-logging-prepare,compile,build-manifests"
88 +          depends="compile,build-manifests"
89            description="Build JULI for log4j extras package">
90  
91 -    <gunzip src="${commons-logging-src.tar.gz}"
92 -      dest="${tomcat.extras}/logging/commons-logging-src.tar"/>
93 -    <untar src="${tomcat.extras}/logging/commons-logging-src.tar"
94 -      dest="${tomcat.extras}/logging/"/>
95 -
96      <replace dir="${tomcat.extras}/logging/commons-logging-${commons-logging.version}-src/src/main/java/org/apache/commons"
97          encoding="ISO-8859-1">
98        <replacefilter token="org.apache.commons"
99 @@ -1763,7 +1706,8 @@
100        file="${tomcat.extras}/logging/commons-logging-${commons-logging.version}-src/build.xml" />
101  
102      <copy todir="${tomcat.extras}/logging/commons-logging-${commons-logging.version}-src">
103 -      <fileset file="${avalon-framework.jar}" />
104 +      <fileset file="${avalon-framework-api.jar}" />
105 +      <fileset file="${avalon-framework-impl.jar}" />
106        <fileset file="${log4j.jar}" />
107        <fileset file="${logkit.jar}" />
108        <fileset file="${servletapi.jar}" />
109 @@ -1842,24 +1786,6 @@
110            depends="extras-prepare"
111            description="Prepare to build web services extras package">
112  
113 -    <antcall target="downloadfile">
114 -      <param name="sourcefile" value="${jaxrpc-lib.loc}"/>
115 -      <param name="destfile" value="${jaxrpc-lib.jar}"/>
116 -      <param name="destdir" value="${jaxrpc-lib.home}"/>
117 -      <param name="checksum.enabled" value="${jaxrpc-lib.checksum.enabled}"/>
118 -      <param name="checksum.algorithm" value="${jaxrpc-lib.checksum.algorithm}"/>
119 -      <param name="checksum.value" value="${jaxrpc-lib.checksum.value}"/>
120 -    </antcall>
121 -
122 -    <antcall target="downloadfile">
123 -      <param name="sourcefile" value="${wsdl4j-lib.loc}"/>
124 -      <param name="destfile" value="${wsdl4j-lib.jar}"/>
125 -      <param name="destdir" value="${wsdl4j-lib.home}"/>
126 -      <param name="checksum.enabled" value="${wsdl4j-lib.checksum.enabled}"/>
127 -      <param name="checksum.algorithm" value="${wsdl4j-lib.checksum.algorithm}"/>
128 -      <param name="checksum.value" value="${wsdl4j-lib.checksum.value}"/>
129 -    </antcall>
130 -
131      <copy file="${jaxrpc-lib.jar}"
132            tofile="${tomcat.extras}/webservices/jaxrpc.jar" />
133      <copy file="${wsdl4j-lib.jar}"
134 @@ -1961,7 +1887,7 @@
135  
136    </target>
137  
138 -  <target name="dist-prepare" depends="download-dist">
139 +  <target name="dist-prepare">
140      <mkdir dir="${tomcat.dist}"/>
141      <mkdir dir="${tomcat.dist}/bin"/>
142      <mkdir dir="${tomcat.dist}/conf"/>
143 @@ -2034,13 +1960,6 @@
144        </fileset>
145      </copy>
146  
147 -    <!-- Source bundles for native components -->
148 -    <copy tofile="${tomcat.dist}/bin/tomcat-native.tar.gz"
149 -            file="${tomcat-native.tar.gz}" />
150 -    <copy tofile="${tomcat.dist}/bin/commons-daemon-native.tar.gz"
151 -            file="${commons-daemon.native.src.tgz}" />
152 -
153 -    <!-- platform README files -->
154      <echo append="false" file="${tomcat.dist}/bin/x64/README">
155  Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
156      </echo>
157 @@ -2791,7 +2791,7 @@ skip.installer property in build.propert
158  
159    <target name="download-deps"
160            description="Download the dependencies required to build and test"
161 -          depends="download-compile, download-dist, download-test-compile, download-validate, download-cobertura, extras-commons-logging-prepare, extras-webservices-prepare" />
162 +          depends="download-compile, download-dist, download-test-compile, download-validate, download-cobertura, extras-webservices-prepare" />
163  
164    <target name="download-validate"
165            description="Download components necessary to validate source"
This page took 0.075467 seconds and 4 git commands to generate.