Gentoo Archives: gentoo-commits

From: "Miroslav Šulc" <fordfrog@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/tomcat/files/, www-servers/tomcat/
Date: Mon, 25 Nov 2019 12:26:34
Message-Id: 1574684782.620698485d771f41baf901f3e1a651103014cab3.fordfrog@gentoo
1 commit: 620698485d771f41baf901f3e1a651103014cab3
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Mon Nov 25 12:16:52 2019 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Mon Nov 25 12:26:22 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62069848
7
8 www-servers/tomcat-8.5.46: removed obsolete + patches
9
10 Package-Manager: Portage-2.3.79, Repoman-2.3.18
11 Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
12
13 www-servers/tomcat/Manifest | 1 -
14 .../tomcat/files/tomcat-8.5.40-build.xml.patch | 259 -------------------
15 .../tomcat/files/tomcat-9.0.19-build.xml.patch | 278 ---------------------
16 www-servers/tomcat/tomcat-8.5.46.ebuild | 158 ------------
17 4 files changed, 696 deletions(-)
18
19 diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest
20 index 08ee3206a9d..939f324b27c 100644
21 --- a/www-servers/tomcat/Manifest
22 +++ b/www-servers/tomcat/Manifest
23 @@ -1,5 +1,4 @@
24 DIST apache-tomcat-7.0.96-src.tar.gz 4983881 BLAKE2B d5b828b7a4e8a7a5ce793a15421fbd6b12b55918aa7c15bc8209b4c762d7f422a7315e4cbe9b4ae2da754b6d8493bc11ae6a5c99f11a1ac3b23473e05fa26c83 SHA512 5797e66fb9ce558340e08d3a4ccd372d912707aabd6177318781925dd35055902a0ecc3e50e677d76b0feea547cc8fc038bb83ae5de65d28680cb4c9582f60c0
25 -DIST apache-tomcat-8.5.46-src.tar.gz 5599021 BLAKE2B 3755f15612e63ac06cbfa097f1531dc36542ba559a6ef60230b133e45d14bb4c4c54d4dcc8b05b9996f54ac253fb1630f6a6e900ee00e4af0a9200f83455a952 SHA512 02e93cc6fb4226e81b03ae60f479e15b438b1c68c1a4104200db9cc473939b92d66eea12f0783727b06f643d11ebe3da2a81c80cbe486ed497a3280e8cdb2e62
26 DIST apache-tomcat-8.5.47-src.tar.gz 5607118 BLAKE2B 3c326056f674032424d298c7581243a24dd01fae39b1ce7069b60e1bcf3d825de954164f643e887618c43c87d691bc41f942e73bf86b254b4c7dca9c68ce7cce SHA512 1513fdaf7751ee263d878cdfc05329bc4ee50e2f3aeea68e1d173a5f4d555ec59a43050222f013758f704967730dd25a64337cf1ba4365ab53b8730af87b4051
27 DIST apache-tomcat-9.0.27-src.tar.gz 5761278 BLAKE2B 7d4a65dfa43e0956a5dbb1dad3bf1aa475e7c503d3192ac24921d7cee9bd85379cd820ce693e8c583a7cab23263b0abfa960968d04d766764e222ba8c5bd97d4 SHA512 3f63cbd49f93e6a9d44ea63b4f787cf498930b82d19eaf60603c126b8800d2894d306c27e42ab73b042f3bba9cfb75b6c939b91b8b9141e4903eb1b88c2a4ec8
28 DIST apache-tomcat-9.0.7-src.tar.gz 5106551 BLAKE2B b4552146a40c2e7cbb2e454fb5ec9169425db5c08cf269c391ec3144425ad388a2b6f003a7c05f59a9fd724fb5c848102890a24fcfd43d5fea3d881141aa7798 SHA512 cb7dc5547671d94f7c7fb0b58eeb94d05128349cdabf576fc8ad837a4bf3ea655a8eab3342245dfa84a9db23f1cbee2918846eedd48e3ca372eecebfef13c5b2
29
30 diff --git a/www-servers/tomcat/files/tomcat-8.5.40-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.40-build.xml.patch
31 deleted file mode 100644
32 index e049d77141e..00000000000
33 --- a/www-servers/tomcat/files/tomcat-8.5.40-build.xml.patch
34 +++ /dev/null
35 @@ -1,259 +0,0 @@
36 -diff --git a/build.xml b/build.xml
37 -index 179802b..49ac8c0 100644
38 ---- a/build.xml
39 -+++ b/build.xml
40 -@@ -727,24 +727,29 @@
41 - manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
42 -
43 - <!-- Servlet 3.1 Implementation JAR File -->
44 -+<!--
45 - <jarIt jarfile="${servlet-api.jar}"
46 - filesDir="${tomcat.classes}"
47 - filesId="files.servlet-api"
48 - manifest="${tomcat.manifests}/servlet-api.jar.manifest"
49 - notice="${tomcat.manifests}/servlet-api.jar.notice"
50 - license="${tomcat.manifests}/servlet-api.jar.license" />
51 --
52 -+-->
53 - <!-- JSP 2.3 Implementation JAR File -->
54 -+<!--
55 - <jarIt jarfile="${jsp-api.jar}"
56 - filesDir="${tomcat.classes}"
57 - filesId="files.jsp-api"
58 - manifest="${tomcat.manifests}/jsp-api.jar.manifest" />
59 -+-->
60 -
61 - <!-- EL 3.0 Implementation JAR File -->
62 -+<!--
63 - <jarIt jarfile="${el-api.jar}"
64 - filesDir="${tomcat.classes}"
65 - filesId="files.el-api"
66 - manifest="${tomcat.manifests}/el-api.jar.manifest" />
67 -+-->
68 -
69 - <!-- WebSocket 1.1 API JAR File -->
70 - <jarIt jarfile="${websocket-api.jar}"
71 -@@ -836,9 +841,9 @@
72 - filesId="files.jasper-el" />
73 -
74 - <!-- Re-packaged Apache Commons DBCP 2-->
75 -- <jarIt jarfile="${tomcat-dbcp.jar}"
76 -+<!-- <jarIt jarfile="${tomcat-dbcp.jar}"
77 - filesDir="${tomcat.classes}"
78 -- filesId="files.tomcat-dbcp" />
79 -+ filesId="files.tomcat-dbcp" /> -->
80 -
81 - <!-- i18n JARs -->
82 - <jar jarfile="${tomcat.build}/lib/tomcat-i18n-es.jar"
83 -@@ -1030,9 +1035,9 @@
84 -
85 - <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
86 - description="Default. Builds a working Tomcat instance">
87 --
88 -+<!--
89 - <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
90 --
91 -+-->
92 - <!-- Copy scripts -->
93 - <copy todir="${tomcat.build}/bin">
94 - <fileset dir="bin">
95 -@@ -1092,7 +1097,7 @@
96 - <exclude name="${jdt.jar.filename}"/>
97 - </fileset>
98 - </delete>
99 -- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
100 -+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
101 -
102 - <!-- Add sources for examples -->
103 - <antcall target="examples-sources" />
104 -@@ -1128,7 +1133,7 @@
105 - </javac>
106 - </target>
107 -
108 -- <target name="build-tomcat-jdbc" depends="package">
109 -+ <target name="build-tomcat-jdbc" depends="package" unless="noget">
110 - <!-- build the jdbc-pool jar and source jar-->
111 - <echo message="Building Tomcat JDBC pool libraries"/>
112 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
113 -@@ -1143,7 +1148,7 @@
114 - <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
115 - </target>
116 -
117 -- <target name="build-tomcat-jdbc-src">
118 -+ <target name="build-tomcat-jdbc-src" unless="noget">
119 - <!-- build the jdbc-pool source jar-->
120 - <echo message="Building Tomcat JDBC pool src JAR"/>
121 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
122 -@@ -1246,9 +1251,11 @@
123 -
124 - <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" />
125 - <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" />
126 -+<!--
127 - <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}"
128 - failonerror="false"/>
129 - <copy file="${jdt.jar}" todir="${tomcat.embed}" />
130 -+-->
131 - <copy file="${annotations-api.jar}" todir="${tomcat.embed}" />
132 -
133 - <!-- Note the meta-inf below will work as long as there is only one JAR
134 -@@ -1629,7 +1636,7 @@
135 -
136 - <target name="extras-webservices-prepare"
137 - depends="extras-prepare"
138 -- description="Prepare to build web services extras package">
139 -+ description="Prepare to build web services extras package" unless="noget">
140 -
141 - <antcall target="downloadfile">
142 - <param name="sourcefile" value="${jaxrpc-lib.loc}"/>
143 -@@ -1793,6 +1800,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
144 -
145 - <target name="javadoc" depends="dist-source,extras-webservices-prepare"
146 - description="Create the Tomcat javadoc" >
147 -+<!--
148 - <javadoc packagenames="javax.servlet.*"
149 - excludepackagenames="javax.servlet.jsp.*"
150 - sourcepath="${tomcat.dist}/src/java"
151 -@@ -1857,6 +1865,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
152 - <path location="${ant.core.lib}"/>
153 - </classpath>
154 - </javadoc>
155 -+-->
156 - <javadoc packagenames="javax.websocket.*"
157 - sourcepath="${tomcat.dist}/src/java"
158 - destdir="${tomcat.dist}/webapps/docs/websocketapi"
159 -@@ -1897,9 +1906,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
160 - <path refid="tomcat.webservices.classpath"/>
161 - <path location="${ant.core.lib}"/>
162 - </classpath>
163 -+<!--
164 - <link href="../servletapi"/>
165 - <link href="../jspapi"/>
166 - <link href="../elapi"/>
167 -+-->
168 - <link href="../websocketapi"/>
169 - <link href="http://docs.oracle.com/javase/7/docs/api/"/>
170 - <link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
171 -@@ -2629,7 +2640,7 @@ skip.installer property in build.properties" />
172 - </target>
173 -
174 - <target name="download-compile"
175 -- description="Download components necessary to compile" >
176 -+ description="Download components necessary to compile" unless="noget" >
177 -
178 - <!-- Download Commons Daemon -->
179 - <antcall target="downloadgz-2">
180 -@@ -2655,7 +2666,7 @@ skip.installer property in build.properties" />
181 - </target>
182 -
183 - <target name="download-test-compile"
184 -- description="Download additional components for the tests" >
185 -+ description="Download additional components for the tests" unless="noget">
186 -
187 - <antcall target="downloadfile">
188 - <param name="sourcefile" value="${junit.loc}"/>
189 -@@ -2733,7 +2744,7 @@ skip.installer property in build.properties" />
190 - </target>
191 -
192 - <target name="download-dist"
193 -- description="Download additional components for a distribution" >
194 -+ description="Download additional components for a distribution" unless="noget">
195 -
196 - <antcall target="downloadfile-2">
197 - <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
198 -@@ -2788,13 +2799,13 @@ skip.installer property in build.properties" />
199 -
200 - <!-- =============== Utility Targets to support downloads ================ -->
201 -
202 -- <target name="setproxy" if="${proxy.use}">
203 -+ <target name="setproxy" if="${proxy.use}" unless="noget">
204 - <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
205 - proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
206 - <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>
207 - </target>
208 -
209 -- <target name="testexist">
210 -+ <target name="testexist" unless="noget">
211 - <echo message="Testing for ${destfile}"/>
212 - <available file="${destfile}" property="exist"/>
213 - </target>
214 -@@ -2916,7 +2927,7 @@ skip.installer property in build.properties" />
215 - </sequential>
216 - </macrodef>
217 -
218 -- <target name="downloadgz" unless="exist" depends="testexist,setproxy">
219 -+ <target name="downloadgz" unless="noget" depends="testexist,setproxy">
220 - <!-- Download and extract the package -->
221 - <local name="temp.file"/>
222 - <mkdir dir="${base.path}"/>
223 -@@ -2933,7 +2944,7 @@ skip.installer property in build.properties" />
224 - <delete file="${temp.file}.tar.gz"/>
225 - </target>
226 -
227 -- <target name="downloadgz-2" unless="exist" depends="testexist">
228 -+ <target name="downloadgz-2" unless="noget" depends="testexist">
229 - <!-- Download and extract the package from the two alternative locations -->
230 - <local name="temp.file"/>
231 - <mkdir dir="${base.path}"/>
232 -@@ -2958,7 +2969,7 @@ skip.installer property in build.properties" />
233 - <delete file="${temp.file}.tar.gz"/>
234 - </target>
235 -
236 -- <target name="downloadzip" unless="exist" depends="testexist,setproxy">
237 -+ <target name="downloadzip" unless="noget" depends="testexist,setproxy">
238 - <!-- Download and extract the package -->
239 - <local name="temp.file"/>
240 - <mkdir dir="${base.path}"/>
241 -@@ -2974,7 +2985,7 @@ skip.installer property in build.properties" />
242 - <delete file="${temp.file}"/>
243 - </target>
244 -
245 -- <target name="downloadzip-2" unless="exist" depends="testexist">
246 -+ <target name="downloadzip-2" unless="noget" depends="testexist">
247 - <!-- Download and extract the package from the two alternative locations -->
248 - <local name="temp.file"/>
249 - <mkdir dir="${base.path}"/>
250 -@@ -2998,7 +3009,7 @@ skip.installer property in build.properties" />
251 - <delete file="${temp.file}"/>
252 - </target>
253 -
254 -- <target name="downloadfile" unless="exist" depends="testexist,setproxy">
255 -+ <target name="downloadfile" unless="noget" depends="testexist,setproxy">
256 - <!-- Download the file -->
257 - <local name="temp.file"/>
258 - <mkdir dir="${base.path}"/>
259 -@@ -3013,7 +3024,7 @@ skip.installer property in build.properties" />
260 - <move file="${temp.file}" tofile="${destfile}"/>
261 - </target>
262 -
263 -- <target name="downloadfile-2" unless="exist" depends="testexist">
264 -+ <target name="downloadfile-2" unless="noget" depends="testexist">
265 - <!-- Download the file from the two alternative locations -->
266 - <local name="temp.file"/>
267 - <mkdir dir="${base.path}"/>
268 -@@ -3041,7 +3052,7 @@ skip.installer property in build.properties" />
269 - <move file="${temp.file}" tofile="${destfile}"/>
270 - </target>
271 -
272 -- <target name="trydownload.check" depends="setproxy">
273 -+ <target name="trydownload.check" depends="setproxy" unless="noget">
274 - <condition property="trydownload.run">
275 - <and>
276 - <not>
277 -@@ -3052,7 +3063,7 @@ skip.installer property in build.properties" />
278 - </condition>
279 - </target>
280 -
281 -- <target name="trydownload" if="trydownload.run" depends="trydownload.check">
282 -+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget">
283 - <!-- Downloads a file if not yet downloaded and the source URL is available -->
284 - <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
285 - </target>
286 -@@ -3063,7 +3074,7 @@ skip.installer property in build.properties" />
287 -
288 - <target name="ide-eclipse"
289 - depends="download-compile, extras-webservices-prepare, download-test-compile"
290 -- description="Prepares the source tree to be built in Eclipse">
291 -+ description="Prepares the source tree to be built in Eclipse" unless="noget">
292 -
293 - <!-- Copy the sample project files into the root directory -->
294 - <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
295
296 diff --git a/www-servers/tomcat/files/tomcat-9.0.19-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.19-build.xml.patch
297 deleted file mode 100644
298 index a4bcbeb949b..00000000000
299 --- a/www-servers/tomcat/files/tomcat-9.0.19-build.xml.patch
300 +++ /dev/null
301 @@ -1,278 +0,0 @@
302 -diff --git a/build.xml b/build.xml
303 -index b3b299f..40bf4f8 100644
304 ---- a/build.xml
305 -+++ b/build.xml
306 -@@ -752,6 +752,7 @@
307 - addOSGi="true" />
308 -
309 - <!-- Servlet 4.0 Implementation JAR File -->
310 -+<!--
311 - <jarIt jarfile="${servlet-api.jar}"
312 - filesDir="${tomcat.classes}"
313 - filesId="files.servlet-api"
314 -@@ -759,21 +760,23 @@
315 - notice="${tomcat.manifests}/servlet-api.jar.notice"
316 - license="${tomcat.manifests}/servlet-api.jar.license"
317 - addOSGi="true" />
318 --
319 -+-->
320 - <!-- JSP 2.3 Implementation JAR File -->
321 -+<!--
322 - <jarIt jarfile="${jsp-api.jar}"
323 - filesDir="${tomcat.classes}"
324 - filesId="files.jsp-api"
325 - manifest="${tomcat.manifests}/jsp-api.jar.manifest"
326 - addOSGi="true" />
327 --
328 -+-->
329 - <!-- EL 3.0 Implementation JAR File -->
330 -+<!--
331 - <jarIt jarfile="${el-api.jar}"
332 - filesDir="${tomcat.classes}"
333 - filesId="files.el-api"
334 - manifest="${tomcat.manifests}/el-api.jar.manifest"
335 - addOSGi="true" />
336 --
337 -+-->
338 - <!-- WebSocket 1.1 API JAR File -->
339 - <jarIt jarfile="${websocket-api.jar}"
340 - filesDir="${tomcat.classes}"
341 -@@ -879,10 +882,10 @@
342 - addOSGi="true" />
343 -
344 - <!-- Re-packaged Apache Commons DBCP 2-->
345 -- <jarIt jarfile="${tomcat-dbcp.jar}"
346 -+<!-- <jarIt jarfile="${tomcat-dbcp.jar}"
347 - filesDir="${tomcat.classes}"
348 - filesId="files.tomcat-dbcp"
349 -- addOSGi="true" />
350 -+ addOSGi="true" /> -->
351 -
352 - <!-- i18n JARs -->
353 - <jar jarfile="${tomcat.build}/lib/tomcat-i18n-cs.jar"
354 -@@ -1124,9 +1127,9 @@
355 -
356 - <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
357 - description="Default. Builds a working Tomcat instance">
358 --
359 -+<!--
360 - <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
361 --
362 -+-->
363 - <!-- Copy scripts -->
364 - <copy todir="${tomcat.build}/bin">
365 - <fileset dir="bin">
366 -@@ -1186,7 +1189,7 @@
367 - <exclude name="${jdt.jar.filename}"/>
368 - </fileset>
369 - </delete>
370 -- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
371 -+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
372 -
373 - <!-- Add sources for examples -->
374 - <antcall target="examples-sources" />
375 -@@ -1222,7 +1225,7 @@
376 - </javac>
377 - </target>
378 -
379 -- <target name="build-tomcat-jdbc" depends="package">
380 -+ <target name="build-tomcat-jdbc" depends="package" unless="noget">
381 - <!-- build the jdbc-pool jar and source jar-->
382 - <echo message="Building Tomcat JDBC pool libraries"/>
383 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
384 -@@ -1237,7 +1240,7 @@
385 - <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
386 - </target>
387 -
388 -- <target name="build-tomcat-jdbc-src">
389 -+ <target name="build-tomcat-jdbc-src" unless="noget">
390 - <!-- build the jdbc-pool source jar-->
391 - <echo message="Building Tomcat JDBC pool src JAR"/>
392 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
393 -@@ -1340,9 +1343,11 @@
394 -
395 - <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" />
396 - <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" />
397 -+<!--
398 - <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}"
399 - failonerror="false"/>
400 - <copy file="${jdt.jar}" todir="${tomcat.embed}" />
401 -+-->
402 - <copy file="${annotations-api.jar}" todir="${tomcat.embed}" />
403 -
404 - <!-- Note the meta-inf below will work as long as there is only one JAR
405 -@@ -1849,11 +1854,12 @@
406 - </copy>
407 -
408 - <!-- Source bundles for native components -->
409 -+<!--
410 - <copy tofile="${tomcat.dist}/bin/tomcat-native.tar.gz"
411 - file="${tomcat-native.tar.gz}" />
412 - <copy tofile="${tomcat.dist}/bin/commons-daemon-native.tar.gz"
413 - file="${commons-daemon.native.src.tgz}" />
414 --
415 -+-->
416 - <!-- platform README files -->
417 - <echo append="false" file="${tomcat.dist}/bin/x64/README">
418 - Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
419 -@@ -1863,6 +1869,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
420 -
421 - <target name="javadoc" depends="dist-source"
422 - description="Create the Tomcat javadoc" >
423 -+<!--
424 - <javadoc packagenames="javax.servlet.*"
425 - excludepackagenames="javax.servlet.jsp.*"
426 - sourcepath="${tomcat.dist}/src/java"
427 -@@ -1924,6 +1931,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
428 - <path location="${ant.core.lib}"/>
429 - </classpath>
430 - </javadoc>
431 -+-->
432 - <javadoc packagenames="javax.websocket.*"
433 - sourcepath="${tomcat.dist}/src/java"
434 - destdir="${tomcat.dist}/webapps/docs/websocketapi"
435 -@@ -1962,9 +1970,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
436 - <path refid="compile.classpath"/>
437 - <path location="${ant.core.lib}"/>
438 - </classpath>
439 -+<!--
440 - <link href="../servletapi"/>
441 - <link href="../jspapi"/>
442 - <link href="../elapi"/>
443 -+-->
444 - <link href="../websocketapi"/>
445 - <link href="http://docs.oracle.com/javase/8/docs/api/"/>
446 - <link href="https://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
447 -@@ -2686,7 +2696,7 @@ skip.installer property in build.properties" />
448 - </target>
449 -
450 - <target name="download-compile"
451 -- description="Download components necessary to compile" >
452 -+ description="Download components necessary to compile" unless="noget" >
453 -
454 - <!-- Download Commons Daemon -->
455 - <antcall target="downloadgz-2">
456 -@@ -2741,7 +2751,7 @@ skip.installer property in build.properties" />
457 - </target>
458 -
459 - <target name="download-test-compile"
460 -- description="Download additional components for the tests" >
461 -+ description="Download additional components for the tests" unless="noget">
462 -
463 - <antcall target="downloadfile">
464 - <param name="sourcefile" value="${junit.loc}"/>
465 -@@ -2819,7 +2829,7 @@ skip.installer property in build.properties" />
466 - </target>
467 -
468 - <target name="download-dist"
469 -- description="Download additional components for a distribution" >
470 -+ description="Download additional components for a distribution" unless="noget">
471 -
472 - <antcall target="downloadfile-2">
473 - <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
474 -@@ -2874,13 +2884,13 @@ skip.installer property in build.properties" />
475 -
476 - <!-- =============== Utility Targets to support downloads ================ -->
477 -
478 -- <target name="setproxy" if="${proxy.use}">
479 -+ <target name="setproxy" if="${proxy.use}" unless="noget">
480 - <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
481 - proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
482 - <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>
483 - </target>
484 -
485 -- <target name="testexist">
486 -+ <target name="testexist" unless="noget">
487 - <echo message="Testing for ${destfile}"/>
488 - <available file="${destfile}" property="exist"/>
489 - </target>
490 -@@ -3002,7 +3012,7 @@ skip.installer property in build.properties" />
491 - </sequential>
492 - </macrodef>
493 -
494 -- <target name="downloadgz" unless="exist" depends="testexist,setproxy">
495 -+ <target name="downloadgz" unless="noget" depends="testexist,setproxy">
496 - <!-- Download and extract the package -->
497 - <local name="temp.file"/>
498 - <mkdir dir="${base.path}"/>
499 -@@ -3019,7 +3029,7 @@ skip.installer property in build.properties" />
500 - <delete file="${temp.file}.tar.gz"/>
501 - </target>
502 -
503 -- <target name="downloadgz-2" unless="exist" depends="testexist">
504 -+ <target name="downloadgz-2" unless="noget" depends="testexist">
505 - <!-- Download and extract the package from the two alternative locations -->
506 - <local name="temp.file"/>
507 - <mkdir dir="${base.path}"/>
508 -@@ -3044,7 +3054,7 @@ skip.installer property in build.properties" />
509 - <delete file="${temp.file}.tar.gz"/>
510 - </target>
511 -
512 -- <target name="downloadzip" unless="exist" depends="testexist,setproxy">
513 -+ <target name="downloadzip" unless="noget" depends="testexist,setproxy">
514 - <!-- Download and extract the package -->
515 - <local name="temp.file"/>
516 - <mkdir dir="${base.path}"/>
517 -@@ -3060,7 +3070,7 @@ skip.installer property in build.properties" />
518 - <delete file="${temp.file}"/>
519 - </target>
520 -
521 -- <target name="downloadzip-2" unless="exist" depends="testexist">
522 -+ <target name="downloadzip-2" unless="noget" depends="testexist">
523 - <!-- Download and extract the package from the two alternative locations -->
524 - <local name="temp.file"/>
525 - <mkdir dir="${base.path}"/>
526 -@@ -3084,7 +3094,7 @@ skip.installer property in build.properties" />
527 - <delete file="${temp.file}"/>
528 - </target>
529 -
530 -- <target name="downloadfile" unless="exist" depends="testexist,setproxy">
531 -+ <target name="downloadfile" unless="noget" depends="testexist,setproxy">
532 - <!-- Download the file -->
533 - <local name="temp.file"/>
534 - <mkdir dir="${base.path}"/>
535 -@@ -3099,7 +3109,7 @@ skip.installer property in build.properties" />
536 - <move file="${temp.file}" tofile="${destfile}"/>
537 - </target>
538 -
539 -- <target name="downloadfile-2" unless="exist" depends="testexist">
540 -+ <target name="downloadfile-2" unless="noget" depends="testexist">
541 - <!-- Download the file from the two alternative locations -->
542 - <local name="temp.file"/>
543 - <mkdir dir="${base.path}"/>
544 -@@ -3127,7 +3137,7 @@ skip.installer property in build.properties" />
545 - <move file="${temp.file}" tofile="${destfile}"/>
546 - </target>
547 -
548 -- <target name="trydownload.check" depends="setproxy">
549 -+ <target name="trydownload.check" depends="setproxy" unless="noget">
550 - <condition property="trydownload.run">
551 - <and>
552 - <not>
553 -@@ -3138,7 +3148,7 @@ skip.installer property in build.properties" />
554 - </condition>
555 - </target>
556 -
557 -- <target name="trydownload" if="trydownload.run" depends="trydownload.check">
558 -+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget">
559 - <!-- Downloads a file if not yet downloaded and the source URL is available -->
560 - <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
561 - </target>
562 -@@ -3149,7 +3159,7 @@ skip.installer property in build.properties" />
563 -
564 - <target name="ide-eclipse"
565 - depends="download-compile, download-test-compile"
566 -- description="Prepares the source tree to be built in Eclipse">
567 -+ description="Prepares the source tree to be built in Eclipse" unless="noget">
568 -
569 - <!-- Copy the sample project files into the root directory -->
570 - <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
571 -@@ -3167,7 +3177,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho
572 -
573 - <target name="ide-intellij"
574 - depends="download-compile, download-test-compile"
575 -- description="Creates project directory .idea for IntelliJ IDEA">
576 -+ description="Creates project directory .idea for IntelliJ IDEA" unless="noget">
577 -
578 - <copy todir="${tomcat.home}/.idea">
579 - <fileset dir="${tomcat.home}/res/ide-support/idea"/>
580
581 diff --git a/www-servers/tomcat/tomcat-8.5.46.ebuild b/www-servers/tomcat/tomcat-8.5.46.ebuild
582 deleted file mode 100644
583 index 0437014fa01..00000000000
584 --- a/www-servers/tomcat/tomcat-8.5.46.ebuild
585 +++ /dev/null
586 @@ -1,158 +0,0 @@
587 -# Copyright 1999-2019 Gentoo Authors
588 -# Distributed under the terms of the GNU General Public License v2
589 -
590 -EAPI=6
591 -
592 -JAVA_PKG_IUSE="doc source test"
593 -
594 -inherit eutils java-pkg-2 java-ant-2 prefix user
595 -
596 -MY_P="apache-${P}-src"
597 -
598 -DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container"
599 -HOMEPAGE="https://tomcat.apache.org/"
600 -SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
601 -
602 -LICENSE="Apache-2.0"
603 -SLOT="8.5"
604 -KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux ~x86-solaris"
605 -IUSE="extra-webapps"
606 -
607 -RESTRICT="test" # can we run them on a production system?
608 -
609 -ECJ_SLOT="4.5"
610 -SAPI_SLOT="3.1"
611 -
612 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
613 - >=dev-java/tomcat-servlet-api-${SLOT}:${SAPI_SLOT}"
614 -RDEPEND="${COMMON_DEP}
615 - >=virtual/jre-1.7"
616 -DEPEND="${COMMON_DEP}
617 - app-admin/pwgen
618 - >=dev-java/ant-core-1.9.13
619 - >=virtual/jdk-1.7
620 - test? (
621 - >=dev-java/ant-junit-1.9:0
622 - dev-java/easymock:3.2
623 - )"
624 -
625 -S=${WORKDIR}/${MY_P}
626 -
627 -pkg_setup() {
628 - java-pkg-2_pkg_setup
629 - enewgroup tomcat 265
630 - enewuser tomcat 265 -1 /dev/null tomcat
631 -}
632 -
633 -src_prepare() {
634 - default
635 -
636 - find -name '*.jar' -type f -delete -print || die
637 -
638 - # Remove bundled servlet-api
639 - rm -rv java/javax/{el,servlet} || die
640 -
641 - eapply "${FILESDIR}/${PN}-8.5.40-build.xml.patch"
642 -
643 - # For use of catalina.sh in netbeans
644 - sed -i -e "/^# ----- Execute The Requested Command/ a\
645 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
646 - bin/catalina.sh || die
647 -
648 - java-pkg-2_src_prepare
649 -}
650 -
651 -JAVA_ANT_REWRITE_CLASSPATH="true"
652 -
653 -EANT_BUILD_TARGET="deploy"
654 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT}"
655 -EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
656 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
657 -EANT_NEEDS_TOOLS="true"
658 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false -Dexecute.validate=false"
659 -
660 -# revisions of the scripts
661 -IM_REV="-r2"
662 -INIT_REV="-r1"
663 -
664 -src_compile() {
665 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
666 - java-pkg-2_src_compile
667 -}
668 -
669 -src_test() {
670 - java-pkg-2_src_test
671 -}
672 -
673 -src_install() {
674 - local dest="/usr/share/${PN}-${SLOT}"
675 -
676 - java-pkg_jarinto "${dest}"/bin
677 - java-pkg_dojar output/build/bin/*.jar
678 - exeinto "${dest}"/bin
679 - doexe output/build/bin/*.sh
680 -
681 - java-pkg_jarinto "${dest}"/lib
682 - java-pkg_dojar output/build/lib/*.jar
683 -
684 - dodoc RELEASE-NOTES RUNNING.txt
685 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
686 - use source && java-pkg_dosrc java/*
687 -
688 - ### Webapps ###
689 -
690 - # add missing docBase
691 - local apps="host-manager manager"
692 - for app in ${apps}; do
693 - sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
694 - output/build/webapps/${app}/META-INF/context.xml || die
695 - done
696 -
697 - insinto "${dest}"/webapps
698 - doins -r output/build/webapps/{host-manager,manager,ROOT}
699 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
700 -
701 - ### Config ###
702 -
703 - # create "logs" directory in $CATALINA_BASE
704 - # and set correct perms, see #458890
705 - dodir "${dest}"/logs
706 - fperms 0750 "${dest}"/logs
707 -
708 - # replace the default pw with a random one, see #92281
709 - local randpw="$(pwgen -s -B 15 1)"
710 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
711 -
712 - # prepend gentoo.classpath to common.loader, see #453212
713 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
714 -
715 - insinto "${dest}"
716 - doins -r output/build/conf
717 -
718 - ### rc ###
719 -
720 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
721 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
722 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
723 -
724 - insinto "${dest}"/gentoo
725 - doins "${T}"/tomcat.conf
726 - exeinto "${dest}"/gentoo
727 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
728 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
729 -}
730 -
731 -pkg_postinst() {
732 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
733 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
734 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
735 -
736 - elog "To manage Tomcat instances, run:"
737 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
738 -
739 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
740 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
741 -
742 - einfo "Please read https://wiki.gentoo.org/wiki/Apache_Tomcat and"
743 - einfo "https://wiki.gentoo.org/wiki/Project:Java/Tomcat_6_Guide for more information."
744 -}