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: Thu, 10 Aug 2017 10:35:51
Message-Id: 1502361332.a11f536a28d001e90184e40d2907153ed3fad797.fordfrog@gentoo
1 commit: a11f536a28d001e90184e40d2907153ed3fad797
2 Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
3 AuthorDate: Thu Aug 10 10:28:20 2017 +0000
4 Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 10 10:35:32 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a11f536a
7
8 www-servers/tomcat: removed obsolete ebuilds for slot 8.5
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 www-servers/tomcat/Manifest | 3 -
13 .../tomcat/files/tomcat-8.5.13-build.xml.patch | 250 ---------------------
14 .../tomcat/files/tomcat-8.5.14-build.xml.patch | 250 ---------------------
15 .../tomcat/files/tomcat-8.5.15-build.xml.patch | 250 ---------------------
16 www-servers/tomcat/tomcat-8.5.13.ebuild | 157 -------------
17 www-servers/tomcat/tomcat-8.5.14.ebuild | 157 -------------
18 www-servers/tomcat/tomcat-8.5.15.ebuild | 157 -------------
19 7 files changed, 1224 deletions(-)
20
21 diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest
22 index e520ba148f3..2a07679026c 100644
23 --- a/www-servers/tomcat/Manifest
24 +++ b/www-servers/tomcat/Manifest
25 @@ -2,8 +2,5 @@ DIST apache-tomcat-7.0.77-src.tar.gz 4664884 SHA256 7db04b3bf8898d9f9facee9c53ae
26 DIST apache-tomcat-7.0.79-src.tar.gz 4682119 SHA256 b5373951afe41ffd27348bb57cff80bc7d86a5669bdedb0b4bbe1d567009dc32 SHA512 75c29fd7de8c245502cae4db845a508f320739625d726fe892924b639e7333b76b3446f36cb67b9ad9500e95823b5eadaf056c4cb6bea962a59eb5491696e0b2 WHIRLPOOL 5db799cfbd061a199270b0ebb971c4fe43632522a23f590b7a46e021af5c8b0bce4a711e16bd0416b5baa6f2556cf8178bf14abadf4d493ece44c9eb2c4cdae2
27 DIST apache-tomcat-8.0.43-src.tar.gz 4962788 SHA256 5ca1feb8ae5bd637a379ed409300fac0d463a8ec878d60f1ca54d3e7f2013f43 SHA512 aa15046ba3404c206b7983f42837d30debca69b18b85345d1376a853ad6e9fb5c0cbf42732f835779b10d39e2eae77f6d1688dadc5280b50236bf3432e251e9b WHIRLPOOL d1517c25b56a2ef4dd41977daf4ab5639b991ce38b6f5279a4e09f9232d73625be623beb678de8b3ec4e718cb50284cbebae67726622699738ad28be6d735414
28 DIST apache-tomcat-8.0.45-src.tar.gz 4978313 SHA256 450fd2890b12e56692cb203f95651f9a873dce056b7b4362e142bc817032b291 SHA512 80e4281f5b6e4d6bf607179840bc6cb923ea9f57ec8231a451c3b5a1f8938f72ec1097290059afba0ef7b56edeb56d63636849517b69b91c7093cb15ff0eaa04 WHIRLPOOL c893cd5c26637f8881c19353e269145e33fa11e02eb10ef93a41590ad2e1e6c6ffa1b3f6c3c7c318630765f666be07447fd3a21c70c2c381e75c458b60383ea0
29 -DIST apache-tomcat-8.5.13-src.tar.gz 5021333 SHA256 70db8d68f3a702e0997220a91d0c1ed59de4bbdc32d8482532412c1e31666a0b SHA512 4855e0b686dcdc10224e3bba804c7c944a8b2f48761dd0e4fca12a59cfc308fd5f26db6a02b3b7c39b595506c920fdf8f19eedb26a8acb7f1580f4e4b597fb5b WHIRLPOOL 6ad3150416e17396c81e6b638e035f55e695388fb2cdfd65a6803195894dee3391aac56243879faa850b2765d29f3ae13c74cefd66c349bd53bf14900e59dea6
30 -DIST apache-tomcat-8.5.14-src.tar.gz 5024579 SHA256 f52ce43e74b9a8b1930971dc0f7ca6f2fd06f517b02541b71f6b54148dff0955 SHA512 f51172f2bd079b18c2aa87a4513e128ab729cb9c80ecfe7ba3e817cc944ab310f2ea934655405c7241aa09e551b63ffe4c663b57ed7d38c756dc193e2acb2cea WHIRLPOOL 8cd9f2100a882619455a4eb914e7a1bc7ecae21f7aaf612ba901ac7c60a0920cd2bf9f7aa3b71eef459d6a981193b763b71e3a4f5489dcd2c87382040afe1dbd
31 -DIST apache-tomcat-8.5.15-src.tar.gz 5028654 SHA256 941e1e936af46dbe233e41f770e68b09e2ac0d88b6ee01f7b2116a67220cb323 SHA512 222d53ed53b1b3e18ff42dc0a987627e75de93048d9a36ce08448272f167ed7ab91ac6d44158a2de9f2f960e53c36497841649e941305e583e6b70e13f55c970 WHIRLPOOL c5f63ca2ac4b7f48041bbbbdb93c15dbd224e09998abaa89c79c22537615935b6ce87a1b4667ddd92ec28bfad9d84c723aed8dc20780d966bdf4b094a87fdfa9
32 DIST apache-tomcat-8.5.16-src.tar.gz 5054513 SHA256 0dd3589779bd43624a6027ec5e26262d10128dd46dcd08ed4107b8f453416c23 SHA512 187f32ebeeca9099f2bf679613dd89198268d361d352550e09db23ef8df483543ec67604c58ddebb8259c46ab510519e8fa75a803d2e86ab815b231ae327222e WHIRLPOOL d241aed38921a76f75451f7d3c676e97548b843bec724c8c80a6534638cd27095f4ba790cbef56c8913cd6d96e63536855359c5a271aa41c7d3b97e25de26253
33 DIST apache-tomcat-9.0.0.M26-src.tar.gz 5011957 SHA256 02ba2c9a3a2d78994fc14f2b304c3b3f46615538a48a9193e475b08565cb9b7e SHA512 8c25932aa244edb46eee26aa837636e78c8104ca6617cb5ba924e0e45c2f9dbcd7d196ddf69ee2f1c1b6053dda818a3b92f8f46c156f3048c46cee919fc22c13 WHIRLPOOL 11e00a6e6a5822bd4e357e375b026dd732bf33319e30dde25f11bc1b99994617be3ce6d4976870f725e56646e5ffee92acb6fc23f46b53a46ebbf6c53707ea07
34
35 diff --git a/www-servers/tomcat/files/tomcat-8.5.13-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.13-build.xml.patch
36 deleted file mode 100644
37 index 611c99d7a0e..00000000000
38 --- a/www-servers/tomcat/files/tomcat-8.5.13-build.xml.patch
39 +++ /dev/null
40 @@ -1,250 +0,0 @@
41 -diff --git a/apache-tomcat-8.5.4-src/build.xml b/apache-tomcat-8.5.4-src/build.xml
42 -index 655e379..b973b7f 100644
43 ---- a/apache-tomcat-8.5.4-src/build.xml
44 -+++ b/apache-tomcat-8.5.4-src/build.xml
45 -@@ -691,24 +691,29 @@
46 - manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
47 -
48 - <!-- Servlet 3.1 Implementation JAR File -->
49 -+<!--
50 - <jarIt jarfile="${servlet-api.jar}"
51 - filesDir="${tomcat.classes}"
52 - filesId="files.servlet-api"
53 - manifest="${tomcat.manifests}/servlet-api.jar.manifest"
54 - notice="${tomcat.manifests}/servlet-api.jar.notice"
55 - license="${tomcat.manifests}/servlet-api.jar.license" />
56 --
57 -+-->
58 - <!-- JSP 2.3 Implementation JAR File -->
59 -+<!--
60 - <jarIt jarfile="${jsp-api.jar}"
61 - filesDir="${tomcat.classes}"
62 - filesId="files.jsp-api"
63 - manifest="${tomcat.manifests}/jsp-api.jar.manifest" />
64 -+-->
65 -
66 - <!-- EL 3.0 Implementation JAR File -->
67 -+<!--
68 - <jarIt jarfile="${el-api.jar}"
69 - filesDir="${tomcat.classes}"
70 - filesId="files.el-api"
71 - manifest="${tomcat.manifests}/el-api.jar.manifest" />
72 -+-->
73 -
74 - <!-- WebSocket 1.1 API JAR File -->
75 - <jarIt jarfile="${websocket-api.jar}"
76 -@@ -982,14 +987,14 @@
77 -
78 - <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
79 - description="Default. Builds a working Tomcat instance">
80 --
81 -+<!--
82 - <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
83 - file="${tomcat-native.tar.gz}" />
84 - <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
85 - file="${commons-daemon.native.src.tgz}" />
86 -
87 - <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
88 --
89 -+-->
90 - <!-- Copy scripts -->
91 - <copy todir="${tomcat.build}/bin">
92 - <fileset dir="bin">
93 -@@ -1049,7 +1054,7 @@
94 - <exclude name="${jdt.jar.filename}"/>
95 - </fileset>
96 - </delete>
97 -- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
98 -+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
99 -
100 - <!-- Add sources for examples -->
101 - <antcall target="examples-sources" />
102 -@@ -1083,7 +1088,7 @@
103 - </javac>
104 - </target>
105 -
106 -- <target name="build-tomcat-jdbc" depends="package">
107 -+ <target name="build-tomcat-jdbc" depends="package" unless="noget">
108 - <!-- build the jdbc-pool jar and source jar-->
109 - <echo message="Building Tomcat JDBC pool libraries"/>
110 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
111 -@@ -1098,7 +1103,7 @@
112 - <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
113 - </target>
114 -
115 -- <target name="build-tomcat-jdbc-src">
116 -+ <target name="build-tomcat-jdbc-src" unless="noget">
117 - <!-- build the jdbc-pool source jar-->
118 - <echo message="Building Tomcat JDBC pool src JAR"/>
119 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
120 -@@ -1202,10 +1207,11 @@
121 -
122 - <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" />
123 - <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" />
124 -+<!--
125 - <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}"
126 - failonerror="false"/>
127 - <copy file="${jdt.jar}" todir="${tomcat.embed}" />
128 --
129 -+-->
130 - <!-- Note the meta-inf below will work as long as there is only one JAR
131 - that needs to add entries. If there is more than one a more complex
132 - solution will be required. -->
133 -@@ -1579,7 +1585,7 @@
134 -
135 - <target name="extras-webservices-prepare"
136 - depends="extras-prepare"
137 -- description="Prepare to build web services extras package">
138 -+ description="Prepare to build web services extras package" unless="noget">
139 -
140 - <antcall target="downloadfile">
141 - <param name="sourcefile" value="${jaxrpc-lib.loc}"/>
142 -@@ -1727,6 +1733,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
143 -
144 - <target name="javadoc" depends="dist-source,extras-webservices-prepare"
145 - description="Create the Tomcat javadoc" >
146 -+<!--
147 - <javadoc packagenames="javax.servlet.*"
148 - excludepackagenames="javax.servlet.jsp.*"
149 - sourcepath="${tomcat.dist}/src/java"
150 -@@ -1791,6 +1798,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
151 - <path location="${ant.core.lib}"/>
152 - </classpath>
153 - </javadoc>
154 -+-->
155 - <javadoc packagenames="javax.websocket.*"
156 - sourcepath="${tomcat.dist}/src/java"
157 - destdir="${tomcat.dist}/webapps/docs/websocketapi"
158 -@@ -1831,9 +1839,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
159 - <path refid="tomcat.webservices.classpath"/>
160 - <path location="${ant.core.lib}"/>
161 - </classpath>
162 -+<!--
163 - <link href="../servletapi"/>
164 - <link href="../jspapi"/>
165 - <link href="../elapi"/>
166 -+-->
167 - <link href="../websocketapi"/>
168 - <link href="http://docs.oracle.com/javase/7/docs/api/"/>
169 - <link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
170 -@@ -2574,7 +2584,7 @@ skip.installer property in build.properties" />
171 - </target>
172 -
173 - <target name="download-compile"
174 -- description="Download (and build) components necessary to compile" >
175 -+ description="Download (and build) components necessary to compile" unless="noget">
176 -
177 - <antcall target="downloadfile-2">
178 - <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
179 -@@ -2608,7 +2618,7 @@ skip.installer property in build.properties" />
180 - </target>
181 -
182 - <target name="download-test-compile"
183 -- description="Download additional components for the tests" >
184 -+ description="Download additional components for the tests" unless="noget">
185 -
186 - <antcall target="downloadfile">
187 - <param name="sourcefile" value="${junit.loc}"/>
188 -@@ -2665,7 +2675,7 @@ skip.installer property in build.properties" />
189 - </target>
190 -
191 - <target name="download-dist"
192 -- description="Download additional components for a distribution" >
193 -+ description="Download additional components for a distribution" unless="noget">
194 -
195 - <antcall target="downloadzip-2">
196 - <param name="sourcefile.1" value="${tomcat-native.win.1}"/>
197 -@@ -2691,18 +2701,18 @@ skip.installer property in build.properties" />
198 -
199 - <!-- =============== Utility Targets to support downloads ================ -->
200 -
201 -- <target name="setproxy" if="${proxy.use}">
202 -+ <target name="setproxy" if="${proxy.use}" unless="noget">
203 - <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
204 - proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
205 - <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>
206 - </target>
207 -
208 -- <target name="testexist">
209 -+ <target name="testexist" unless="noget">
210 - <echo message="Testing for ${destfile}"/>
211 - <available file="${destfile}" property="exist"/>
212 - </target>
213 -
214 -- <target name="downloadgz" unless="exist" depends="testexist,setproxy">
215 -+ <target name="downloadgz" unless="noget" depends="testexist,setproxy">
216 - <!-- Download and extract the package -->
217 - <local name="temp.file"/>
218 - <mkdir dir="${base.path}"/>
219 -@@ -2714,7 +2724,7 @@ skip.installer property in build.properties" />
220 - <delete file="${temp.file}.tar.gz"/>
221 - </target>
222 -
223 -- <target name="downloadgz-2" unless="exist" depends="testexist">
224 -+ <target name="downloadgz-2" unless="noget" depends="testexist">
225 - <!-- Download and extract the package from the two alternative locations -->
226 - <local name="temp.file"/>
227 - <mkdir dir="${base.path}"/>
228 -@@ -2733,7 +2743,7 @@ skip.installer property in build.properties" />
229 - <delete file="${temp.file}.tar.gz"/>
230 - </target>
231 -
232 -- <target name="downloadzip" unless="exist" depends="testexist,setproxy">
233 -+ <target name="downloadzip" unless="noget" depends="testexist,setproxy">
234 - <!-- Download and extract the package -->
235 - <local name="temp.file"/>
236 - <mkdir dir="${base.path}"/>
237 -@@ -2744,7 +2754,7 @@ skip.installer property in build.properties" />
238 - <delete file="${temp.file}"/>
239 - </target>
240 -
241 -- <target name="downloadzip-2" unless="exist" depends="testexist">
242 -+ <target name="downloadzip-2" unless="noget" depends="testexist">
243 - <!-- Download and extract the package from the two alternative locations -->
244 - <local name="temp.file"/>
245 - <mkdir dir="${base.path}"/>
246 -@@ -2762,7 +2772,7 @@ skip.installer property in build.properties" />
247 - <delete file="${temp.file}"/>
248 - </target>
249 -
250 -- <target name="downloadfile" unless="exist" depends="testexist,setproxy">
251 -+ <target name="downloadfile" unless="noget" depends="testexist,setproxy">
252 - <!-- Download the file -->
253 - <local name="temp.file"/>
254 - <mkdir dir="${base.path}"/>
255 -@@ -2772,7 +2782,7 @@ skip.installer property in build.properties" />
256 - <move file="${temp.file}" tofile="${destfile}"/>
257 - </target>
258 -
259 -- <target name="downloadfile-2" unless="exist" depends="testexist">
260 -+ <target name="downloadfile-2" unless="noget" depends="testexist">
261 - <!-- Download the file from the two alternative locations -->
262 - <local name="temp.file"/>
263 - <mkdir dir="${base.path}"/>
264 -@@ -2795,7 +2805,7 @@ skip.installer property in build.properties" />
265 - <move file="${temp.file}" tofile="${destfile}"/>
266 - </target>
267 -
268 -- <target name="trydownload.check" depends="setproxy">
269 -+ <target name="trydownload.check" depends="setproxy" unless="noget">
270 - <condition property="trydownload.run">
271 - <and>
272 - <not>
273 -@@ -2806,7 +2816,7 @@ skip.installer property in build.properties" />
274 - </condition>
275 - </target>
276 -
277 -- <target name="trydownload" if="trydownload.run" depends="trydownload.check">
278 -+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget">
279 - <!-- Downloads a file if not yet downloaded and the source URL is available -->
280 - <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
281 - </target>
282 -@@ -2817,7 +2827,7 @@ skip.installer property in build.properties" />
283 -
284 - <target name="ide-eclipse"
285 - depends="download-compile, extras-webservices-prepare, download-test-compile"
286 -- description="Prepares the source tree to be built in Eclipse">
287 -+ description="Prepares the source tree to be built in Eclipse" unless="noget">
288 -
289 - <!-- Copy the sample project files into the root directory -->
290 - <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
291
292 diff --git a/www-servers/tomcat/files/tomcat-8.5.14-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.14-build.xml.patch
293 deleted file mode 100644
294 index 611c99d7a0e..00000000000
295 --- a/www-servers/tomcat/files/tomcat-8.5.14-build.xml.patch
296 +++ /dev/null
297 @@ -1,250 +0,0 @@
298 -diff --git a/apache-tomcat-8.5.4-src/build.xml b/apache-tomcat-8.5.4-src/build.xml
299 -index 655e379..b973b7f 100644
300 ---- a/apache-tomcat-8.5.4-src/build.xml
301 -+++ b/apache-tomcat-8.5.4-src/build.xml
302 -@@ -691,24 +691,29 @@
303 - manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
304 -
305 - <!-- Servlet 3.1 Implementation JAR File -->
306 -+<!--
307 - <jarIt jarfile="${servlet-api.jar}"
308 - filesDir="${tomcat.classes}"
309 - filesId="files.servlet-api"
310 - manifest="${tomcat.manifests}/servlet-api.jar.manifest"
311 - notice="${tomcat.manifests}/servlet-api.jar.notice"
312 - license="${tomcat.manifests}/servlet-api.jar.license" />
313 --
314 -+-->
315 - <!-- JSP 2.3 Implementation JAR File -->
316 -+<!--
317 - <jarIt jarfile="${jsp-api.jar}"
318 - filesDir="${tomcat.classes}"
319 - filesId="files.jsp-api"
320 - manifest="${tomcat.manifests}/jsp-api.jar.manifest" />
321 -+-->
322 -
323 - <!-- EL 3.0 Implementation JAR File -->
324 -+<!--
325 - <jarIt jarfile="${el-api.jar}"
326 - filesDir="${tomcat.classes}"
327 - filesId="files.el-api"
328 - manifest="${tomcat.manifests}/el-api.jar.manifest" />
329 -+-->
330 -
331 - <!-- WebSocket 1.1 API JAR File -->
332 - <jarIt jarfile="${websocket-api.jar}"
333 -@@ -982,14 +987,14 @@
334 -
335 - <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
336 - description="Default. Builds a working Tomcat instance">
337 --
338 -+<!--
339 - <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
340 - file="${tomcat-native.tar.gz}" />
341 - <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
342 - file="${commons-daemon.native.src.tgz}" />
343 -
344 - <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
345 --
346 -+-->
347 - <!-- Copy scripts -->
348 - <copy todir="${tomcat.build}/bin">
349 - <fileset dir="bin">
350 -@@ -1049,7 +1054,7 @@
351 - <exclude name="${jdt.jar.filename}"/>
352 - </fileset>
353 - </delete>
354 -- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
355 -+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
356 -
357 - <!-- Add sources for examples -->
358 - <antcall target="examples-sources" />
359 -@@ -1083,7 +1088,7 @@
360 - </javac>
361 - </target>
362 -
363 -- <target name="build-tomcat-jdbc" depends="package">
364 -+ <target name="build-tomcat-jdbc" depends="package" unless="noget">
365 - <!-- build the jdbc-pool jar and source jar-->
366 - <echo message="Building Tomcat JDBC pool libraries"/>
367 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
368 -@@ -1098,7 +1103,7 @@
369 - <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
370 - </target>
371 -
372 -- <target name="build-tomcat-jdbc-src">
373 -+ <target name="build-tomcat-jdbc-src" unless="noget">
374 - <!-- build the jdbc-pool source jar-->
375 - <echo message="Building Tomcat JDBC pool src JAR"/>
376 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
377 -@@ -1202,10 +1207,11 @@
378 -
379 - <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" />
380 - <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" />
381 -+<!--
382 - <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}"
383 - failonerror="false"/>
384 - <copy file="${jdt.jar}" todir="${tomcat.embed}" />
385 --
386 -+-->
387 - <!-- Note the meta-inf below will work as long as there is only one JAR
388 - that needs to add entries. If there is more than one a more complex
389 - solution will be required. -->
390 -@@ -1579,7 +1585,7 @@
391 -
392 - <target name="extras-webservices-prepare"
393 - depends="extras-prepare"
394 -- description="Prepare to build web services extras package">
395 -+ description="Prepare to build web services extras package" unless="noget">
396 -
397 - <antcall target="downloadfile">
398 - <param name="sourcefile" value="${jaxrpc-lib.loc}"/>
399 -@@ -1727,6 +1733,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
400 -
401 - <target name="javadoc" depends="dist-source,extras-webservices-prepare"
402 - description="Create the Tomcat javadoc" >
403 -+<!--
404 - <javadoc packagenames="javax.servlet.*"
405 - excludepackagenames="javax.servlet.jsp.*"
406 - sourcepath="${tomcat.dist}/src/java"
407 -@@ -1791,6 +1798,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
408 - <path location="${ant.core.lib}"/>
409 - </classpath>
410 - </javadoc>
411 -+-->
412 - <javadoc packagenames="javax.websocket.*"
413 - sourcepath="${tomcat.dist}/src/java"
414 - destdir="${tomcat.dist}/webapps/docs/websocketapi"
415 -@@ -1831,9 +1839,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
416 - <path refid="tomcat.webservices.classpath"/>
417 - <path location="${ant.core.lib}"/>
418 - </classpath>
419 -+<!--
420 - <link href="../servletapi"/>
421 - <link href="../jspapi"/>
422 - <link href="../elapi"/>
423 -+-->
424 - <link href="../websocketapi"/>
425 - <link href="http://docs.oracle.com/javase/7/docs/api/"/>
426 - <link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
427 -@@ -2574,7 +2584,7 @@ skip.installer property in build.properties" />
428 - </target>
429 -
430 - <target name="download-compile"
431 -- description="Download (and build) components necessary to compile" >
432 -+ description="Download (and build) components necessary to compile" unless="noget">
433 -
434 - <antcall target="downloadfile-2">
435 - <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
436 -@@ -2608,7 +2618,7 @@ skip.installer property in build.properties" />
437 - </target>
438 -
439 - <target name="download-test-compile"
440 -- description="Download additional components for the tests" >
441 -+ description="Download additional components for the tests" unless="noget">
442 -
443 - <antcall target="downloadfile">
444 - <param name="sourcefile" value="${junit.loc}"/>
445 -@@ -2665,7 +2675,7 @@ skip.installer property in build.properties" />
446 - </target>
447 -
448 - <target name="download-dist"
449 -- description="Download additional components for a distribution" >
450 -+ description="Download additional components for a distribution" unless="noget">
451 -
452 - <antcall target="downloadzip-2">
453 - <param name="sourcefile.1" value="${tomcat-native.win.1}"/>
454 -@@ -2691,18 +2701,18 @@ skip.installer property in build.properties" />
455 -
456 - <!-- =============== Utility Targets to support downloads ================ -->
457 -
458 -- <target name="setproxy" if="${proxy.use}">
459 -+ <target name="setproxy" if="${proxy.use}" unless="noget">
460 - <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
461 - proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
462 - <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>
463 - </target>
464 -
465 -- <target name="testexist">
466 -+ <target name="testexist" unless="noget">
467 - <echo message="Testing for ${destfile}"/>
468 - <available file="${destfile}" property="exist"/>
469 - </target>
470 -
471 -- <target name="downloadgz" unless="exist" depends="testexist,setproxy">
472 -+ <target name="downloadgz" unless="noget" depends="testexist,setproxy">
473 - <!-- Download and extract the package -->
474 - <local name="temp.file"/>
475 - <mkdir dir="${base.path}"/>
476 -@@ -2714,7 +2724,7 @@ skip.installer property in build.properties" />
477 - <delete file="${temp.file}.tar.gz"/>
478 - </target>
479 -
480 -- <target name="downloadgz-2" unless="exist" depends="testexist">
481 -+ <target name="downloadgz-2" unless="noget" depends="testexist">
482 - <!-- Download and extract the package from the two alternative locations -->
483 - <local name="temp.file"/>
484 - <mkdir dir="${base.path}"/>
485 -@@ -2733,7 +2743,7 @@ skip.installer property in build.properties" />
486 - <delete file="${temp.file}.tar.gz"/>
487 - </target>
488 -
489 -- <target name="downloadzip" unless="exist" depends="testexist,setproxy">
490 -+ <target name="downloadzip" unless="noget" depends="testexist,setproxy">
491 - <!-- Download and extract the package -->
492 - <local name="temp.file"/>
493 - <mkdir dir="${base.path}"/>
494 -@@ -2744,7 +2754,7 @@ skip.installer property in build.properties" />
495 - <delete file="${temp.file}"/>
496 - </target>
497 -
498 -- <target name="downloadzip-2" unless="exist" depends="testexist">
499 -+ <target name="downloadzip-2" unless="noget" depends="testexist">
500 - <!-- Download and extract the package from the two alternative locations -->
501 - <local name="temp.file"/>
502 - <mkdir dir="${base.path}"/>
503 -@@ -2762,7 +2772,7 @@ skip.installer property in build.properties" />
504 - <delete file="${temp.file}"/>
505 - </target>
506 -
507 -- <target name="downloadfile" unless="exist" depends="testexist,setproxy">
508 -+ <target name="downloadfile" unless="noget" depends="testexist,setproxy">
509 - <!-- Download the file -->
510 - <local name="temp.file"/>
511 - <mkdir dir="${base.path}"/>
512 -@@ -2772,7 +2782,7 @@ skip.installer property in build.properties" />
513 - <move file="${temp.file}" tofile="${destfile}"/>
514 - </target>
515 -
516 -- <target name="downloadfile-2" unless="exist" depends="testexist">
517 -+ <target name="downloadfile-2" unless="noget" depends="testexist">
518 - <!-- Download the file from the two alternative locations -->
519 - <local name="temp.file"/>
520 - <mkdir dir="${base.path}"/>
521 -@@ -2795,7 +2805,7 @@ skip.installer property in build.properties" />
522 - <move file="${temp.file}" tofile="${destfile}"/>
523 - </target>
524 -
525 -- <target name="trydownload.check" depends="setproxy">
526 -+ <target name="trydownload.check" depends="setproxy" unless="noget">
527 - <condition property="trydownload.run">
528 - <and>
529 - <not>
530 -@@ -2806,7 +2816,7 @@ skip.installer property in build.properties" />
531 - </condition>
532 - </target>
533 -
534 -- <target name="trydownload" if="trydownload.run" depends="trydownload.check">
535 -+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget">
536 - <!-- Downloads a file if not yet downloaded and the source URL is available -->
537 - <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
538 - </target>
539 -@@ -2817,7 +2827,7 @@ skip.installer property in build.properties" />
540 -
541 - <target name="ide-eclipse"
542 - depends="download-compile, extras-webservices-prepare, download-test-compile"
543 -- description="Prepares the source tree to be built in Eclipse">
544 -+ description="Prepares the source tree to be built in Eclipse" unless="noget">
545 -
546 - <!-- Copy the sample project files into the root directory -->
547 - <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
548
549 diff --git a/www-servers/tomcat/files/tomcat-8.5.15-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.15-build.xml.patch
550 deleted file mode 100644
551 index 611c99d7a0e..00000000000
552 --- a/www-servers/tomcat/files/tomcat-8.5.15-build.xml.patch
553 +++ /dev/null
554 @@ -1,250 +0,0 @@
555 -diff --git a/apache-tomcat-8.5.4-src/build.xml b/apache-tomcat-8.5.4-src/build.xml
556 -index 655e379..b973b7f 100644
557 ---- a/apache-tomcat-8.5.4-src/build.xml
558 -+++ b/apache-tomcat-8.5.4-src/build.xml
559 -@@ -691,24 +691,29 @@
560 - manifest="${tomcat.manifests}/annotations-api.jar.manifest" />
561 -
562 - <!-- Servlet 3.1 Implementation JAR File -->
563 -+<!--
564 - <jarIt jarfile="${servlet-api.jar}"
565 - filesDir="${tomcat.classes}"
566 - filesId="files.servlet-api"
567 - manifest="${tomcat.manifests}/servlet-api.jar.manifest"
568 - notice="${tomcat.manifests}/servlet-api.jar.notice"
569 - license="${tomcat.manifests}/servlet-api.jar.license" />
570 --
571 -+-->
572 - <!-- JSP 2.3 Implementation JAR File -->
573 -+<!--
574 - <jarIt jarfile="${jsp-api.jar}"
575 - filesDir="${tomcat.classes}"
576 - filesId="files.jsp-api"
577 - manifest="${tomcat.manifests}/jsp-api.jar.manifest" />
578 -+-->
579 -
580 - <!-- EL 3.0 Implementation JAR File -->
581 -+<!--
582 - <jarIt jarfile="${el-api.jar}"
583 - filesDir="${tomcat.classes}"
584 - filesId="files.el-api"
585 - manifest="${tomcat.manifests}/el-api.jar.manifest" />
586 -+-->
587 -
588 - <!-- WebSocket 1.1 API JAR File -->
589 - <jarIt jarfile="${websocket-api.jar}"
590 -@@ -982,14 +987,14 @@
591 -
592 - <target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples"
593 - description="Default. Builds a working Tomcat instance">
594 --
595 -+<!--
596 - <copy tofile="${tomcat.build}/bin/tomcat-native.tar.gz"
597 - file="${tomcat-native.tar.gz}" />
598 - <copy tofile="${tomcat.build}/bin/commons-daemon-native.tar.gz"
599 - file="${commons-daemon.native.src.tgz}" />
600 -
601 - <copy tofile="${tomcat.build}/bin/commons-daemon.jar" file="${commons-daemon.jar}" />
602 --
603 -+-->
604 - <!-- Copy scripts -->
605 - <copy todir="${tomcat.build}/bin">
606 - <fileset dir="bin">
607 -@@ -1049,7 +1054,7 @@
608 - <exclude name="${jdt.jar.filename}"/>
609 - </fileset>
610 - </delete>
611 -- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/>
612 -+<!-- <copy file="${jdt.jar}" todir="${tomcat.build}/lib"/> -->
613 -
614 - <!-- Add sources for examples -->
615 - <antcall target="examples-sources" />
616 -@@ -1083,7 +1088,7 @@
617 - </javac>
618 - </target>
619 -
620 -- <target name="build-tomcat-jdbc" depends="package">
621 -+ <target name="build-tomcat-jdbc" depends="package" unless="noget">
622 - <!-- build the jdbc-pool jar and source jar-->
623 - <echo message="Building Tomcat JDBC pool libraries"/>
624 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
625 -@@ -1098,7 +1103,7 @@
626 - <copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/>
627 - </target>
628 -
629 -- <target name="build-tomcat-jdbc-src">
630 -+ <target name="build-tomcat-jdbc-src" unless="noget">
631 - <!-- build the jdbc-pool source jar-->
632 - <echo message="Building Tomcat JDBC pool src JAR"/>
633 - <ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}"
634 -@@ -1202,10 +1207,11 @@
635 -
636 - <copy file="${basedir}/LICENSE" todir="${tomcat.embed}" />
637 - <copy file="${basedir}/NOTICE" todir="${tomcat.embed}" />
638 -+<!--
639 - <copy file="${tomcat-dbcp.jar}" todir="${tomcat.embed}"
640 - failonerror="false"/>
641 - <copy file="${jdt.jar}" todir="${tomcat.embed}" />
642 --
643 -+-->
644 - <!-- Note the meta-inf below will work as long as there is only one JAR
645 - that needs to add entries. If there is more than one a more complex
646 - solution will be required. -->
647 -@@ -1579,7 +1585,7 @@
648 -
649 - <target name="extras-webservices-prepare"
650 - depends="extras-prepare"
651 -- description="Prepare to build web services extras package">
652 -+ description="Prepare to build web services extras package" unless="noget">
653 -
654 - <antcall target="downloadfile">
655 - <param name="sourcefile" value="${jaxrpc-lib.loc}"/>
656 -@@ -1727,6 +1733,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
657 -
658 - <target name="javadoc" depends="dist-source,extras-webservices-prepare"
659 - description="Create the Tomcat javadoc" >
660 -+<!--
661 - <javadoc packagenames="javax.servlet.*"
662 - excludepackagenames="javax.servlet.jsp.*"
663 - sourcepath="${tomcat.dist}/src/java"
664 -@@ -1791,6 +1798,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
665 - <path location="${ant.core.lib}"/>
666 - </classpath>
667 - </javadoc>
668 -+-->
669 - <javadoc packagenames="javax.websocket.*"
670 - sourcepath="${tomcat.dist}/src/java"
671 - destdir="${tomcat.dist}/webapps/docs/websocketapi"
672 -@@ -1831,9 +1839,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
673 - <path refid="tomcat.webservices.classpath"/>
674 - <path location="${ant.core.lib}"/>
675 - </classpath>
676 -+<!--
677 - <link href="../servletapi"/>
678 - <link href="../jspapi"/>
679 - <link href="../elapi"/>
680 -+-->
681 - <link href="../websocketapi"/>
682 - <link href="http://docs.oracle.com/javase/7/docs/api/"/>
683 - <link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/>
684 -@@ -2574,7 +2584,7 @@ skip.installer property in build.properties" />
685 - </target>
686 -
687 - <target name="download-compile"
688 -- description="Download (and build) components necessary to compile" >
689 -+ description="Download (and build) components necessary to compile" unless="noget">
690 -
691 - <antcall target="downloadfile-2">
692 - <param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
693 -@@ -2608,7 +2618,7 @@ skip.installer property in build.properties" />
694 - </target>
695 -
696 - <target name="download-test-compile"
697 -- description="Download additional components for the tests" >
698 -+ description="Download additional components for the tests" unless="noget">
699 -
700 - <antcall target="downloadfile">
701 - <param name="sourcefile" value="${junit.loc}"/>
702 -@@ -2665,7 +2675,7 @@ skip.installer property in build.properties" />
703 - </target>
704 -
705 - <target name="download-dist"
706 -- description="Download additional components for a distribution" >
707 -+ description="Download additional components for a distribution" unless="noget">
708 -
709 - <antcall target="downloadzip-2">
710 - <param name="sourcefile.1" value="${tomcat-native.win.1}"/>
711 -@@ -2691,18 +2701,18 @@ skip.installer property in build.properties" />
712 -
713 - <!-- =============== Utility Targets to support downloads ================ -->
714 -
715 -- <target name="setproxy" if="${proxy.use}">
716 -+ <target name="setproxy" if="${proxy.use}" unless="noget">
717 - <setproxy proxyhost="${proxy.host}" proxyport="${proxy.port}"
718 - proxyuser="${proxy.user}" proxypassword="${proxy.password}" />
719 - <echo message="Using ${proxy.host}:${proxy.port} to download ${sourcefile}"/>
720 - </target>
721 -
722 -- <target name="testexist">
723 -+ <target name="testexist" unless="noget">
724 - <echo message="Testing for ${destfile}"/>
725 - <available file="${destfile}" property="exist"/>
726 - </target>
727 -
728 -- <target name="downloadgz" unless="exist" depends="testexist,setproxy">
729 -+ <target name="downloadgz" unless="noget" depends="testexist,setproxy">
730 - <!-- Download and extract the package -->
731 - <local name="temp.file"/>
732 - <mkdir dir="${base.path}"/>
733 -@@ -2714,7 +2724,7 @@ skip.installer property in build.properties" />
734 - <delete file="${temp.file}.tar.gz"/>
735 - </target>
736 -
737 -- <target name="downloadgz-2" unless="exist" depends="testexist">
738 -+ <target name="downloadgz-2" unless="noget" depends="testexist">
739 - <!-- Download and extract the package from the two alternative locations -->
740 - <local name="temp.file"/>
741 - <mkdir dir="${base.path}"/>
742 -@@ -2733,7 +2743,7 @@ skip.installer property in build.properties" />
743 - <delete file="${temp.file}.tar.gz"/>
744 - </target>
745 -
746 -- <target name="downloadzip" unless="exist" depends="testexist,setproxy">
747 -+ <target name="downloadzip" unless="noget" depends="testexist,setproxy">
748 - <!-- Download and extract the package -->
749 - <local name="temp.file"/>
750 - <mkdir dir="${base.path}"/>
751 -@@ -2744,7 +2754,7 @@ skip.installer property in build.properties" />
752 - <delete file="${temp.file}"/>
753 - </target>
754 -
755 -- <target name="downloadzip-2" unless="exist" depends="testexist">
756 -+ <target name="downloadzip-2" unless="noget" depends="testexist">
757 - <!-- Download and extract the package from the two alternative locations -->
758 - <local name="temp.file"/>
759 - <mkdir dir="${base.path}"/>
760 -@@ -2762,7 +2772,7 @@ skip.installer property in build.properties" />
761 - <delete file="${temp.file}"/>
762 - </target>
763 -
764 -- <target name="downloadfile" unless="exist" depends="testexist,setproxy">
765 -+ <target name="downloadfile" unless="noget" depends="testexist,setproxy">
766 - <!-- Download the file -->
767 - <local name="temp.file"/>
768 - <mkdir dir="${base.path}"/>
769 -@@ -2772,7 +2782,7 @@ skip.installer property in build.properties" />
770 - <move file="${temp.file}" tofile="${destfile}"/>
771 - </target>
772 -
773 -- <target name="downloadfile-2" unless="exist" depends="testexist">
774 -+ <target name="downloadfile-2" unless="noget" depends="testexist">
775 - <!-- Download the file from the two alternative locations -->
776 - <local name="temp.file"/>
777 - <mkdir dir="${base.path}"/>
778 -@@ -2795,7 +2805,7 @@ skip.installer property in build.properties" />
779 - <move file="${temp.file}" tofile="${destfile}"/>
780 - </target>
781 -
782 -- <target name="trydownload.check" depends="setproxy">
783 -+ <target name="trydownload.check" depends="setproxy" unless="noget">
784 - <condition property="trydownload.run">
785 - <and>
786 - <not>
787 -@@ -2806,7 +2816,7 @@ skip.installer property in build.properties" />
788 - </condition>
789 - </target>
790 -
791 -- <target name="trydownload" if="trydownload.run" depends="trydownload.check">
792 -+ <target name="trydownload" if="trydownload.run" depends="trydownload.check" unless="noget">
793 - <!-- Downloads a file if not yet downloaded and the source URL is available -->
794 - <get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
795 - </target>
796 -@@ -2817,7 +2827,7 @@ skip.installer property in build.properties" />
797 -
798 - <target name="ide-eclipse"
799 - depends="download-compile, extras-webservices-prepare, download-test-compile"
800 -- description="Prepares the source tree to be built in Eclipse">
801 -+ description="Prepares the source tree to be built in Eclipse" unless="noget">
802 -
803 - <!-- Copy the sample project files into the root directory -->
804 - <copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
805
806 diff --git a/www-servers/tomcat/tomcat-8.5.13.ebuild b/www-servers/tomcat/tomcat-8.5.13.ebuild
807 deleted file mode 100644
808 index f76cec3287c..00000000000
809 --- a/www-servers/tomcat/tomcat-8.5.13.ebuild
810 +++ /dev/null
811 @@ -1,157 +0,0 @@
812 -# Copyright 1999-2017 Gentoo Foundation
813 -# Distributed under the terms of the GNU General Public License v2
814 -
815 -EAPI=6
816 -
817 -JAVA_PKG_IUSE="doc source test"
818 -
819 -inherit eutils java-pkg-2 java-ant-2 prefix user
820 -
821 -MY_P="apache-${P}-src"
822 -
823 -DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container"
824 -HOMEPAGE="http://tomcat.apache.org/"
825 -SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
826 -
827 -LICENSE="Apache-2.0"
828 -SLOT="8.5"
829 -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
830 -IUSE="extra-webapps"
831 -
832 -RESTRICT="test" # can we run them on a production system?
833 -
834 -ECJ_SLOT="4.5"
835 -SAPI_SLOT="3.1"
836 -
837 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
838 - >=dev-java/tomcat-servlet-api-${SLOT}:${SAPI_SLOT}"
839 -RDEPEND="${COMMON_DEP}
840 - !<dev-java/tomcat-native-1.1.24
841 - >=virtual/jre-1.7"
842 -DEPEND="${COMMON_DEP}
843 - app-admin/pwgen
844 - >=virtual/jdk-1.7
845 - test? (
846 - >=dev-java/ant-junit-1.9:0
847 - dev-java/easymock:3.2
848 - )"
849 -
850 -S=${WORKDIR}/${MY_P}
851 -
852 -pkg_setup() {
853 - java-pkg-2_pkg_setup
854 - enewgroup tomcat 265
855 - enewuser tomcat 265 -1 /dev/null tomcat
856 -}
857 -
858 -src_prepare() {
859 - default
860 -
861 - find -name '*.jar' -type f -delete -print || die
862 -
863 - # Remove bundled servlet-api
864 - rm -rv java/javax/{el,servlet} || die
865 -
866 - epatch "${FILESDIR}/${P}-build.xml.patch"
867 -
868 - # For use of catalina.sh in netbeans
869 - sed -i -e "/^# ----- Execute The Requested Command/ a\
870 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
871 - bin/catalina.sh || die
872 -
873 - java-pkg-2_src_prepare
874 -}
875 -
876 -JAVA_ANT_REWRITE_CLASSPATH="true"
877 -
878 -EANT_BUILD_TARGET="deploy"
879 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT}"
880 -EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
881 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
882 -EANT_NEEDS_TOOLS="true"
883 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
884 -
885 -# revisions of the scripts
886 -IM_REV="-r2"
887 -INIT_REV="-r1"
888 -
889 -src_compile() {
890 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
891 - java-pkg-2_src_compile
892 -}
893 -
894 -src_test() {
895 - java-pkg-2_src_test
896 -}
897 -
898 -src_install() {
899 - local dest="/usr/share/${PN}-${SLOT}"
900 -
901 - java-pkg_jarinto "${dest}"/bin
902 - java-pkg_dojar output/build/bin/*.jar
903 - exeinto "${dest}"/bin
904 - doexe output/build/bin/*.sh
905 -
906 - java-pkg_jarinto "${dest}"/lib
907 - java-pkg_dojar output/build/lib/*.jar
908 -
909 - dodoc RELEASE-NOTES RUNNING.txt
910 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
911 - use source && java-pkg_dosrc java/*
912 -
913 - ### Webapps ###
914 -
915 - # add missing docBase
916 - local apps="host-manager manager"
917 - for app in ${apps}; do
918 - sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
919 - output/build/webapps/${app}/META-INF/context.xml || die
920 - done
921 -
922 - insinto "${dest}"/webapps
923 - doins -r output/build/webapps/{host-manager,manager,ROOT}
924 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
925 -
926 - ### Config ###
927 -
928 - # create "logs" directory in $CATALINA_BASE
929 - # and set correct perms, see #458890
930 - dodir "${dest}"/logs
931 - fperms 0750 "${dest}"/logs
932 -
933 - # replace the default pw with a random one, see #92281
934 - local randpw="$(pwgen -s -B 15 1)"
935 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
936 -
937 - # prepend gentoo.classpath to common.loader, see #453212
938 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
939 -
940 - insinto "${dest}"
941 - doins -r output/build/conf
942 -
943 - ### rc ###
944 -
945 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
946 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
947 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
948 -
949 - insinto "${dest}"/gentoo
950 - doins "${T}"/tomcat.conf
951 - exeinto "${dest}"/gentoo
952 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
953 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
954 -}
955 -
956 -pkg_postinst() {
957 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
958 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
959 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
960 -
961 - elog "To manage Tomcat instances, run:"
962 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
963 -
964 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
965 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
966 -
967 -# einfo "Please read https://www.gentoo.org/proj/en/java/tomcat6-guide.xml for more information."
968 -}
969
970 diff --git a/www-servers/tomcat/tomcat-8.5.14.ebuild b/www-servers/tomcat/tomcat-8.5.14.ebuild
971 deleted file mode 100644
972 index f76cec3287c..00000000000
973 --- a/www-servers/tomcat/tomcat-8.5.14.ebuild
974 +++ /dev/null
975 @@ -1,157 +0,0 @@
976 -# Copyright 1999-2017 Gentoo Foundation
977 -# Distributed under the terms of the GNU General Public License v2
978 -
979 -EAPI=6
980 -
981 -JAVA_PKG_IUSE="doc source test"
982 -
983 -inherit eutils java-pkg-2 java-ant-2 prefix user
984 -
985 -MY_P="apache-${P}-src"
986 -
987 -DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container"
988 -HOMEPAGE="http://tomcat.apache.org/"
989 -SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
990 -
991 -LICENSE="Apache-2.0"
992 -SLOT="8.5"
993 -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
994 -IUSE="extra-webapps"
995 -
996 -RESTRICT="test" # can we run them on a production system?
997 -
998 -ECJ_SLOT="4.5"
999 -SAPI_SLOT="3.1"
1000 -
1001 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
1002 - >=dev-java/tomcat-servlet-api-${SLOT}:${SAPI_SLOT}"
1003 -RDEPEND="${COMMON_DEP}
1004 - !<dev-java/tomcat-native-1.1.24
1005 - >=virtual/jre-1.7"
1006 -DEPEND="${COMMON_DEP}
1007 - app-admin/pwgen
1008 - >=virtual/jdk-1.7
1009 - test? (
1010 - >=dev-java/ant-junit-1.9:0
1011 - dev-java/easymock:3.2
1012 - )"
1013 -
1014 -S=${WORKDIR}/${MY_P}
1015 -
1016 -pkg_setup() {
1017 - java-pkg-2_pkg_setup
1018 - enewgroup tomcat 265
1019 - enewuser tomcat 265 -1 /dev/null tomcat
1020 -}
1021 -
1022 -src_prepare() {
1023 - default
1024 -
1025 - find -name '*.jar' -type f -delete -print || die
1026 -
1027 - # Remove bundled servlet-api
1028 - rm -rv java/javax/{el,servlet} || die
1029 -
1030 - epatch "${FILESDIR}/${P}-build.xml.patch"
1031 -
1032 - # For use of catalina.sh in netbeans
1033 - sed -i -e "/^# ----- Execute The Requested Command/ a\
1034 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
1035 - bin/catalina.sh || die
1036 -
1037 - java-pkg-2_src_prepare
1038 -}
1039 -
1040 -JAVA_ANT_REWRITE_CLASSPATH="true"
1041 -
1042 -EANT_BUILD_TARGET="deploy"
1043 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT}"
1044 -EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
1045 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
1046 -EANT_NEEDS_TOOLS="true"
1047 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
1048 -
1049 -# revisions of the scripts
1050 -IM_REV="-r2"
1051 -INIT_REV="-r1"
1052 -
1053 -src_compile() {
1054 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
1055 - java-pkg-2_src_compile
1056 -}
1057 -
1058 -src_test() {
1059 - java-pkg-2_src_test
1060 -}
1061 -
1062 -src_install() {
1063 - local dest="/usr/share/${PN}-${SLOT}"
1064 -
1065 - java-pkg_jarinto "${dest}"/bin
1066 - java-pkg_dojar output/build/bin/*.jar
1067 - exeinto "${dest}"/bin
1068 - doexe output/build/bin/*.sh
1069 -
1070 - java-pkg_jarinto "${dest}"/lib
1071 - java-pkg_dojar output/build/lib/*.jar
1072 -
1073 - dodoc RELEASE-NOTES RUNNING.txt
1074 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
1075 - use source && java-pkg_dosrc java/*
1076 -
1077 - ### Webapps ###
1078 -
1079 - # add missing docBase
1080 - local apps="host-manager manager"
1081 - for app in ${apps}; do
1082 - sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
1083 - output/build/webapps/${app}/META-INF/context.xml || die
1084 - done
1085 -
1086 - insinto "${dest}"/webapps
1087 - doins -r output/build/webapps/{host-manager,manager,ROOT}
1088 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
1089 -
1090 - ### Config ###
1091 -
1092 - # create "logs" directory in $CATALINA_BASE
1093 - # and set correct perms, see #458890
1094 - dodir "${dest}"/logs
1095 - fperms 0750 "${dest}"/logs
1096 -
1097 - # replace the default pw with a random one, see #92281
1098 - local randpw="$(pwgen -s -B 15 1)"
1099 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
1100 -
1101 - # prepend gentoo.classpath to common.loader, see #453212
1102 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
1103 -
1104 - insinto "${dest}"
1105 - doins -r output/build/conf
1106 -
1107 - ### rc ###
1108 -
1109 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
1110 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
1111 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
1112 -
1113 - insinto "${dest}"/gentoo
1114 - doins "${T}"/tomcat.conf
1115 - exeinto "${dest}"/gentoo
1116 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
1117 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
1118 -}
1119 -
1120 -pkg_postinst() {
1121 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
1122 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
1123 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
1124 -
1125 - elog "To manage Tomcat instances, run:"
1126 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
1127 -
1128 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
1129 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
1130 -
1131 -# einfo "Please read https://www.gentoo.org/proj/en/java/tomcat6-guide.xml for more information."
1132 -}
1133
1134 diff --git a/www-servers/tomcat/tomcat-8.5.15.ebuild b/www-servers/tomcat/tomcat-8.5.15.ebuild
1135 deleted file mode 100644
1136 index f76cec3287c..00000000000
1137 --- a/www-servers/tomcat/tomcat-8.5.15.ebuild
1138 +++ /dev/null
1139 @@ -1,157 +0,0 @@
1140 -# Copyright 1999-2017 Gentoo Foundation
1141 -# Distributed under the terms of the GNU General Public License v2
1142 -
1143 -EAPI=6
1144 -
1145 -JAVA_PKG_IUSE="doc source test"
1146 -
1147 -inherit eutils java-pkg-2 java-ant-2 prefix user
1148 -
1149 -MY_P="apache-${P}-src"
1150 -
1151 -DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container"
1152 -HOMEPAGE="http://tomcat.apache.org/"
1153 -SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
1154 -
1155 -LICENSE="Apache-2.0"
1156 -SLOT="8.5"
1157 -KEYWORDS="~amd64 ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
1158 -IUSE="extra-webapps"
1159 -
1160 -RESTRICT="test" # can we run them on a production system?
1161 -
1162 -ECJ_SLOT="4.5"
1163 -SAPI_SLOT="3.1"
1164 -
1165 -COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT}
1166 - >=dev-java/tomcat-servlet-api-${SLOT}:${SAPI_SLOT}"
1167 -RDEPEND="${COMMON_DEP}
1168 - !<dev-java/tomcat-native-1.1.24
1169 - >=virtual/jre-1.7"
1170 -DEPEND="${COMMON_DEP}
1171 - app-admin/pwgen
1172 - >=virtual/jdk-1.7
1173 - test? (
1174 - >=dev-java/ant-junit-1.9:0
1175 - dev-java/easymock:3.2
1176 - )"
1177 -
1178 -S=${WORKDIR}/${MY_P}
1179 -
1180 -pkg_setup() {
1181 - java-pkg-2_pkg_setup
1182 - enewgroup tomcat 265
1183 - enewuser tomcat 265 -1 /dev/null tomcat
1184 -}
1185 -
1186 -src_prepare() {
1187 - default
1188 -
1189 - find -name '*.jar' -type f -delete -print || die
1190 -
1191 - # Remove bundled servlet-api
1192 - rm -rv java/javax/{el,servlet} || die
1193 -
1194 - epatch "${FILESDIR}/${P}-build.xml.patch"
1195 -
1196 - # For use of catalina.sh in netbeans
1197 - sed -i -e "/^# ----- Execute The Requested Command/ a\
1198 - CLASSPATH=\`java-config --classpath ${PN}-${SLOT}\`" \
1199 - bin/catalina.sh || die
1200 -
1201 - java-pkg-2_src_prepare
1202 -}
1203 -
1204 -JAVA_ANT_REWRITE_CLASSPATH="true"
1205 -
1206 -EANT_BUILD_TARGET="deploy"
1207 -EANT_GENTOO_CLASSPATH="eclipse-ecj-${ECJ_SLOT},tomcat-servlet-api-${SAPI_SLOT}"
1208 -EANT_TEST_GENTOO_CLASSPATH="easymock-3.2"
1209 -EANT_GENTOO_CLASSPATH_EXTRA="${S}/output/classes"
1210 -EANT_NEEDS_TOOLS="true"
1211 -EANT_EXTRA_ARGS="-Dversion=${PV}-gentoo -Dversion.number=${PV} -Dcompile.debug=false"
1212 -
1213 -# revisions of the scripts
1214 -IM_REV="-r2"
1215 -INIT_REV="-r1"
1216 -
1217 -src_compile() {
1218 - EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
1219 - java-pkg-2_src_compile
1220 -}
1221 -
1222 -src_test() {
1223 - java-pkg-2_src_test
1224 -}
1225 -
1226 -src_install() {
1227 - local dest="/usr/share/${PN}-${SLOT}"
1228 -
1229 - java-pkg_jarinto "${dest}"/bin
1230 - java-pkg_dojar output/build/bin/*.jar
1231 - exeinto "${dest}"/bin
1232 - doexe output/build/bin/*.sh
1233 -
1234 - java-pkg_jarinto "${dest}"/lib
1235 - java-pkg_dojar output/build/lib/*.jar
1236 -
1237 - dodoc RELEASE-NOTES RUNNING.txt
1238 - use doc && java-pkg_dojavadoc output/dist/webapps/docs/api
1239 - use source && java-pkg_dosrc java/*
1240 -
1241 - ### Webapps ###
1242 -
1243 - # add missing docBase
1244 - local apps="host-manager manager"
1245 - for app in ${apps}; do
1246 - sed -i -e "s|=\"true\" >|=\"true\" docBase=\"\$\{catalina.home\}/webapps/${app}\" >|" \
1247 - output/build/webapps/${app}/META-INF/context.xml || die
1248 - done
1249 -
1250 - insinto "${dest}"/webapps
1251 - doins -r output/build/webapps/{host-manager,manager,ROOT}
1252 - use extra-webapps && doins -r output/build/webapps/{docs,examples}
1253 -
1254 - ### Config ###
1255 -
1256 - # create "logs" directory in $CATALINA_BASE
1257 - # and set correct perms, see #458890
1258 - dodir "${dest}"/logs
1259 - fperms 0750 "${dest}"/logs
1260 -
1261 - # replace the default pw with a random one, see #92281
1262 - local randpw="$(pwgen -s -B 15 1)"
1263 - sed -i -e "s|SHUTDOWN|${randpw}|" output/build/conf/server.xml || die
1264 -
1265 - # prepend gentoo.classpath to common.loader, see #453212
1266 - sed -i -e 's/^common\.loader=/\0${gentoo.classpath},/' output/build/conf/catalina.properties || die
1267 -
1268 - insinto "${dest}"
1269 - doins -r output/build/conf
1270 -
1271 - ### rc ###
1272 -
1273 - cp "${FILESDIR}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} "${T}" || die
1274 - eprefixify "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash}
1275 - sed -i -e "s|@SLOT@|${SLOT}|g" "${T}"/tomcat{.conf,${INIT_REV}.init,-instance-manager${IM_REV}.bash} || die
1276 -
1277 - insinto "${dest}"/gentoo
1278 - doins "${T}"/tomcat.conf
1279 - exeinto "${dest}"/gentoo
1280 - newexe "${T}"/tomcat${INIT_REV}.init tomcat.init
1281 - newexe "${T}"/tomcat-instance-manager${IM_REV}.bash tomcat-instance-manager.bash
1282 -}
1283 -
1284 -pkg_postinst() {
1285 - elog "New ebuilds of Tomcat support running multiple instances. If you used prior version"
1286 - elog "of Tomcat (<7.0.32), you have to migrate your existing instance to work with new Tomcat."
1287 - elog "You can find more information at https://wiki.gentoo.org/wiki/Apache_Tomcat"
1288 -
1289 - elog "To manage Tomcat instances, run:"
1290 - elog " ${EPREFIX}/usr/share/${PN}-${SLOT}/gentoo/tomcat-instance-manager.bash --help"
1291 -
1292 - ewarn "tomcat-dbcp.jar is not built at this time. Please fetch jar"
1293 - ewarn "from upstream binary if you need it. Gentoo Bug # 144276"
1294 -
1295 -# einfo "Please read https://www.gentoo.org/proj/en/java/tomcat6-guide.xml for more information."
1296 -}