1 |
commit: daf2c8f780a651ffa6a346393bf49cc82de32315 |
2 |
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
3 |
AuthorDate: Thu Oct 13 17:10:16 2016 +0000 |
4 |
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org> |
5 |
CommitDate: Thu Oct 13 17:10:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=daf2c8f7 |
7 |
|
8 |
www-servers/tomcat: version bump in slot 8, 8.5 and 9 |
9 |
|
10 |
Package-Manager: portage-2.3.2 |
11 |
|
12 |
www-servers/tomcat/Manifest | 4 +- |
13 |
...ild.xml.patch => tomcat-8.0.38-build.xml.patch} | 65 ++++++++++++---------- |
14 |
...uild.xml.patch => tomcat-8.5.6-build.xml.patch} | 56 +++++++++---------- |
15 |
....patch => tomcat-9.0.0_alpha11-build.xml.patch} | 0 |
16 |
...t-9.0.0_alpha10.ebuild => tomcat-8.0.38.ebuild} | 17 +++--- |
17 |
...at-9.0.0_alpha10.ebuild => tomcat-8.5.6.ebuild} | 17 +++--- |
18 |
..._alpha10.ebuild => tomcat-9.0.0_alpha11.ebuild} | 0 |
19 |
7 files changed, 84 insertions(+), 75 deletions(-) |
20 |
|
21 |
diff --git a/www-servers/tomcat/Manifest b/www-servers/tomcat/Manifest |
22 |
index 05e8497..539b526 100644 |
23 |
--- a/www-servers/tomcat/Manifest |
24 |
+++ b/www-servers/tomcat/Manifest |
25 |
@@ -7,7 +7,9 @@ DIST apache-tomcat-8.0.33-src.tar.gz 4969308 SHA256 1a141b90111347640df57fe506d9 |
26 |
DIST apache-tomcat-8.0.35-src.tar.gz 4980657 SHA256 420036fde5e1bfe0a3d27299e355ee153b7c547d17c7b52fe4b15a1315d9c4e9 SHA512 c56ba4339fc114cda9a784c7f37be99c82238bbe043f69a3bed2ec86a0bf60325af9105d74cfcffa144636fecc7f4730cee08eca3a22ed035dd5e3e483fa1742 WHIRLPOOL 38d2382eabe19be8b008eb8975ddf95e086b482eb58cb56f566cf4ec7c7628663260a550b611f4db57803e503ab6746aedaac279bff24868c5997eaee3514966 |
27 |
DIST apache-tomcat-8.0.36-src.tar.gz 4988679 SHA256 36db67592adda575fc08dd5f0cd3532934d2edb117028e29bdd9f702bf31ab10 SHA512 192a31eb42afdc345fa5ea5f05b03766e70a67841fca9bd9c76bcd47ae1d505fd3cd1fde6bc64e145add2b6a9e88ecc50ab1a0954942704c139ec3c7a6bf7286 WHIRLPOOL da1bb6570d62caedfe83948f2e850ec7e8bdba36925d1f000067864c98b1bd780aabf2f1cbcb66cb544db292156a98819e9cc6dfa42a345064f09dcc4471a7c3 |
28 |
DIST apache-tomcat-8.0.37-src.tar.gz 5003508 SHA256 72bfdfeed09f535990d234429ed7b3f1856ee3d0b89168472a40256cc8efcf1d SHA512 cb4da5cf8a056a2a5549914fb405ec66867021da90877415f399b2f4aeb62b776d6d4b1ed176ab53070f7de2525bcde549919f7cbddb2e89945092ae95f914f6 WHIRLPOOL 90218e0b7ab01973ed321ea6bd25f28bfde0534cbe9537d3e931a8ed9ad5eba9592245ff018ddfe241c7ddcc7bd9370b111c3082048f800a5653bb1270fc4ec7 |
29 |
+DIST apache-tomcat-8.0.38-src.tar.gz 5011165 SHA256 9577c174a686364b5206dc4ae622dddb09c23ceb3d4c252ecf5db7fb38626eea SHA512 53a4eaaadf3054b0801137a99679947e017f75a8a66924c0476b60e5a6866097dcecde329bdc14f53bbcddaeea48d683b8d4c72982c44354212bdd0278651f2b WHIRLPOOL 400a056d45989aefb7a81e5cd719508a40ea5981834aec03dddcf12bf5e3eb932db841b8c6c7ae4630ad2e8976532aaa8fbc6a854d0023281d5528ebc4b87c5f |
30 |
DIST apache-tomcat-8.5.3-src.tar.gz 5001008 SHA256 d0d1ecfd88d733cf3666cc39483ea092627840cd2cfab8fae09f93b7bf05d21d SHA512 7c4da46725c6e34669f538f406e699c235b99b4ec47a289f4fcbf93b49a35082cea3e041bee8a2772a29c240521d8720b2b50b5cda7afe0ec0f2b4f5cb29bda5 WHIRLPOOL 2ad999e8ee068d66164e2a256ee58f47799251fab60cf9af3a67128b131a07116a2faf2da6eef132e13f5df6ed78f1c44ac69bf5615178b63452fbffc62a4852 |
31 |
DIST apache-tomcat-8.5.4-src.tar.gz 5000058 SHA256 bb35d2b37e2ff237e09e389dbfb0a99fa8a71f11c947c20f5bbea375f6f3449d SHA512 65d4d72eb46d75d6985f07c6d630d0b27cafb08f3cf125710b78d29d5737798341d484b1f12ae5cfc7347f9984563213b00a5aaab64f920f65f13a3d6009083d WHIRLPOOL bef3192957e91e4964d84f969961c32a61e4a4b5c8acdfcf56c6f6a87c6f3f4dd4350d099fd9904e07e9e1ba8369fa4e86c54a8e25c26a7c0b6a3518aacd9582 |
32 |
DIST apache-tomcat-8.5.5-src.tar.gz 5017061 SHA256 28c50366e0b8f16086ab792fbe4c3dba5a716185d0c8c143661b7fed870147c0 SHA512 37b390fe12a356e9621b047d7838027bc33d3c32cb1489957589399f5557e9cf0c788a8a623821e69969983321f233518604629233337355ef7c918ae364f586 WHIRLPOOL b6f79e2acf88aa0980e3726131805b8f5098d887a978ba7d8fb028e261f8ba0fea4da6fafc2f1f4129ff5313011519f7a6cfa827da7bd6778e4ed666ba21a716 |
33 |
-DIST apache-tomcat-9.0.0.M10-src.tar.gz 5046851 SHA256 d1cd106ed13facdc34b7b9416d381df9cd59b49a574585d1afd44ed779a3fe4e SHA512 925ea178448c2d26ec22a70b08ac3e9c55f02a6989759a77eace46abcb4c41ed006253d85253f744ac3b9ac4763babc6ed3f06d53a34e27dd901fef3f5445843 WHIRLPOOL 2f19c21d27767cdcfcfbd2705356d3f6a40918ebe8016bfe6ed268ee36816cbe016f8643d3c55f0d22531754e92a8e1fd17112e2d378f1c17b31b8175442cf2d |
34 |
+DIST apache-tomcat-8.5.6-src.tar.gz 5028904 SHA256 7690e985544f30bd9cfdec2d0b1088f9cd2f2fbd1575116cb92c79cfed863fc6 SHA512 3b9d3b6edf4f3832891207d38d9f4a5aed9aa53fad895fccce2f6311d197aa1e0877052ad5fc8239b53cc671e373c8ae3c6d284a8b17bb15bf427bda7111a508 WHIRLPOOL a74bfc20efa0a44433205c514124496d17289f109e7b2cd2ad90f7556c8e4dc235531137f7dfc22085f46f9ed7d026d4e5d8ebd42101c4815acb631008849eb6 |
35 |
+DIST apache-tomcat-9.0.0.M11-src.tar.gz 5053865 SHA256 5f82b3cddf5736c6f1854732d508b8ea675a4ce837bfcf5f62dafcfdde3b59b1 SHA512 af9a5b361f129d9cd65aebb26d4eecb46770e50e46698c168e1c8c2b48fafcd45ce6a4ee49d81704be5b02eb076216342ebd843645e79acf9d15444bd81c193d WHIRLPOOL 289190b55bad7bdbe3277ab8cb8a92175c8195ad0a49bbc981bd23dfb3c98a2b4de857294d5d90afe1e40b65a826144b7437f68b9b188f168b7d8ec74994b31a |
36 |
|
37 |
diff --git a/www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch b/www-servers/tomcat/files/tomcat-8.0.38-build.xml.patch |
38 |
similarity index 83% |
39 |
copy from www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch |
40 |
copy to www-servers/tomcat/files/tomcat-8.0.38-build.xml.patch |
41 |
index 3c4e5c2..cefd59f 100644 |
42 |
--- a/www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch |
43 |
+++ b/www-servers/tomcat/files/tomcat-8.0.38-build.xml.patch |
44 |
@@ -1,11 +1,11 @@ |
45 |
-diff --git a/apache-tomcat-9.0.0.M8-src/build.xml b/apache-tomcat-9.0.0.M8-src/build.xml |
46 |
-index dfec1f7..4dfc5d8 100644 |
47 |
---- a/apache-tomcat-9.0.0.M8-src/build.xml |
48 |
-+++ b/apache-tomcat-9.0.0.M8-src/build.xml |
49 |
-@@ -695,24 +695,30 @@ |
50 |
+diff --git a/apache-tomcat-8.0.36-src/build.xml b/apache-tomcat-8.0.36-src/build.xml |
51 |
+index 1ba0dae..81a0a2c 100644 |
52 |
+--- a/apache-tomcat-8.0.36-src/build.xml |
53 |
++++ b/apache-tomcat-8.0.36-src/build.xml |
54 |
+@@ -701,24 +701,29 @@ |
55 |
manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> |
56 |
|
57 |
- <!-- Servlet 4.0 Implementation JAR File --> |
58 |
+ <!-- Servlet 3.1 Implementation JAR File --> |
59 |
+<!-- |
60 |
<jarIt jarfile="${servlet-api.jar}" |
61 |
filesDir="${tomcat.classes}" |
62 |
@@ -13,8 +13,8 @@ index dfec1f7..4dfc5d8 100644 |
63 |
manifest="${tomcat.manifests}/servlet-api.jar.manifest" |
64 |
notice="${tomcat.manifests}/servlet-api.jar.notice" |
65 |
license="${tomcat.manifests}/servlet-api.jar.license" /> |
66 |
+- |
67 |
+--> |
68 |
- |
69 |
<!-- JSP 2.3 Implementation JAR File --> |
70 |
+<!-- |
71 |
<jarIt jarfile="${jsp-api.jar}" |
72 |
@@ -33,7 +33,7 @@ index dfec1f7..4dfc5d8 100644 |
73 |
|
74 |
<!-- WebSocket 1.1 API JAR File --> |
75 |
<jarIt jarfile="${websocket-api.jar}" |
76 |
-@@ -986,14 +992,14 @@ |
77 |
+@@ -986,14 +991,14 @@ |
78 |
|
79 |
<target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples" |
80 |
description="Default. Builds a working Tomcat instance"> |
81 |
@@ -50,7 +50,7 @@ index dfec1f7..4dfc5d8 100644 |
82 |
<!-- Copy scripts --> |
83 |
<copy todir="${tomcat.build}/bin"> |
84 |
<fileset dir="bin"> |
85 |
-@@ -1053,7 +1059,7 @@ |
86 |
+@@ -1053,7 +1058,7 @@ |
87 |
<exclude name="${jdt.jar.filename}"/> |
88 |
</fileset> |
89 |
</delete> |
90 |
@@ -59,7 +59,7 @@ index dfec1f7..4dfc5d8 100644 |
91 |
|
92 |
<!-- Add sources for examples --> |
93 |
<antcall target="examples-sources" /> |
94 |
-@@ -1087,7 +1093,7 @@ |
95 |
+@@ -1087,7 +1092,7 @@ |
96 |
</javac> |
97 |
</target> |
98 |
|
99 |
@@ -68,7 +68,7 @@ index dfec1f7..4dfc5d8 100644 |
100 |
<!-- build the jdbc-pool jar and source jar--> |
101 |
<echo message="Building Tomcat JDBC pool libraries"/> |
102 |
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
103 |
-@@ -1102,7 +1108,7 @@ |
104 |
+@@ -1102,7 +1107,7 @@ |
105 |
<copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/> |
106 |
</target> |
107 |
|
108 |
@@ -77,7 +77,7 @@ index dfec1f7..4dfc5d8 100644 |
109 |
<!-- build the jdbc-pool source jar--> |
110 |
<echo message="Building Tomcat JDBC pool src JAR"/> |
111 |
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
112 |
-@@ -1206,10 +1212,11 @@ |
113 |
+@@ -1206,10 +1211,11 @@ |
114 |
|
115 |
<copy file="${basedir}/LICENSE" todir="${tomcat.embed}" /> |
116 |
<copy file="${basedir}/NOTICE" todir="${tomcat.embed}" /> |
117 |
@@ -90,7 +90,16 @@ index dfec1f7..4dfc5d8 100644 |
118 |
<!-- Note the meta-inf below will work as long as there is only one JAR |
119 |
that needs to add entries. If there is more than one a more complex |
120 |
solution will be required. --> |
121 |
-@@ -1583,7 +1590,7 @@ |
122 |
+@@ -1594,7 +1600,7 @@ |
123 |
+ |
124 |
+ <target name="extras-commons-logging-prepare" |
125 |
+ depends="extras-prepare" |
126 |
+- description="Prepare to build web services extras package"> |
127 |
++ description="Prepare to build web services extras package" unless="noget"> |
128 |
+ |
129 |
+ <antcall target="downloadfile-2"> |
130 |
+ <param name="sourcefile.1" value="${commons-logging-src.loc.1}"/> |
131 |
+@@ -1733,7 +1739,7 @@ |
132 |
|
133 |
<target name="extras-webservices-prepare" |
134 |
depends="extras-prepare" |
135 |
@@ -99,7 +108,7 @@ index dfec1f7..4dfc5d8 100644 |
136 |
|
137 |
<antcall target="downloadfile"> |
138 |
<param name="sourcefile" value="${jaxrpc-lib.loc}"/> |
139 |
-@@ -1731,6 +1738,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
140 |
+@@ -1928,6 +1934,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
141 |
|
142 |
<target name="javadoc" depends="dist-source,extras-webservices-prepare" |
143 |
description="Create the Tomcat javadoc" > |
144 |
@@ -107,7 +116,7 @@ index dfec1f7..4dfc5d8 100644 |
145 |
<javadoc packagenames="javax.servlet.*" |
146 |
excludepackagenames="javax.servlet.jsp.*" |
147 |
sourcepath="${tomcat.dist}/src/java" |
148 |
-@@ -1795,6 +1803,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
149 |
+@@ -1989,6 +1996,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
150 |
<path location="${ant.core.lib}"/> |
151 |
</classpath> |
152 |
</javadoc> |
153 |
@@ -115,7 +124,7 @@ index dfec1f7..4dfc5d8 100644 |
154 |
<javadoc packagenames="javax.websocket.*" |
155 |
sourcepath="${tomcat.dist}/src/java" |
156 |
destdir="${tomcat.dist}/webapps/docs/websocketapi" |
157 |
-@@ -1835,9 +1844,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
158 |
+@@ -2027,9 +2035,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 |
@@ -127,7 +136,7 @@ index dfec1f7..4dfc5d8 100644 |
163 |
<link href="../websocketapi"/> |
164 |
<link href="http://docs.oracle.com/javase/7/docs/api/"/> |
165 |
<link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/> |
166 |
-@@ -2578,7 +2589,7 @@ skip.installer property in build.properties" /> |
167 |
+@@ -2757,7 +2767,7 @@ skip.installer property in build.properties" /> |
168 |
</target> |
169 |
|
170 |
<target name="download-compile" |
171 |
@@ -136,7 +145,7 @@ index dfec1f7..4dfc5d8 100644 |
172 |
|
173 |
<antcall target="downloadfile-2"> |
174 |
<param name="sourcefile.1" value="${tomcat-native.loc.1}"/> |
175 |
-@@ -2612,7 +2623,7 @@ skip.installer property in build.properties" /> |
176 |
+@@ -2791,7 +2801,7 @@ skip.installer property in build.properties" /> |
177 |
</target> |
178 |
|
179 |
<target name="download-test-compile" |
180 |
@@ -145,7 +154,7 @@ index dfec1f7..4dfc5d8 100644 |
181 |
|
182 |
<antcall target="downloadfile"> |
183 |
<param name="sourcefile" value="${junit.loc}"/> |
184 |
-@@ -2669,7 +2680,7 @@ skip.installer property in build.properties" /> |
185 |
+@@ -2848,7 +2858,7 @@ skip.installer property in build.properties" /> |
186 |
</target> |
187 |
|
188 |
<target name="download-dist" |
189 |
@@ -154,7 +163,7 @@ index dfec1f7..4dfc5d8 100644 |
190 |
|
191 |
<antcall target="downloadzip-2"> |
192 |
<param name="sourcefile.1" value="${tomcat-native.win.1}"/> |
193 |
-@@ -2695,18 +2706,18 @@ skip.installer property in build.properties" /> |
194 |
+@@ -2874,18 +2884,18 @@ skip.installer property in build.properties" /> |
195 |
|
196 |
<!-- =============== Utility Targets to support downloads ================ --> |
197 |
|
198 |
@@ -176,7 +185,7 @@ index dfec1f7..4dfc5d8 100644 |
199 |
<!-- Download and extract the package --> |
200 |
<local name="temp.file"/> |
201 |
<mkdir dir="${base.path}"/> |
202 |
-@@ -2718,7 +2729,7 @@ skip.installer property in build.properties" /> |
203 |
+@@ -2897,7 +2907,7 @@ skip.installer property in build.properties" /> |
204 |
<delete file="${temp.file}.tar.gz"/> |
205 |
</target> |
206 |
|
207 |
@@ -185,7 +194,7 @@ index dfec1f7..4dfc5d8 100644 |
208 |
<!-- Download and extract the package from the two alternative locations --> |
209 |
<local name="temp.file"/> |
210 |
<mkdir dir="${base.path}"/> |
211 |
-@@ -2737,7 +2748,7 @@ skip.installer property in build.properties" /> |
212 |
+@@ -2916,7 +2926,7 @@ skip.installer property in build.properties" /> |
213 |
<delete file="${temp.file}.tar.gz"/> |
214 |
</target> |
215 |
|
216 |
@@ -194,7 +203,7 @@ index dfec1f7..4dfc5d8 100644 |
217 |
<!-- Download and extract the package --> |
218 |
<local name="temp.file"/> |
219 |
<mkdir dir="${base.path}"/> |
220 |
-@@ -2748,7 +2759,7 @@ skip.installer property in build.properties" /> |
221 |
+@@ -2927,7 +2937,7 @@ skip.installer property in build.properties" /> |
222 |
<delete file="${temp.file}"/> |
223 |
</target> |
224 |
|
225 |
@@ -203,7 +212,7 @@ index dfec1f7..4dfc5d8 100644 |
226 |
<!-- Download and extract the package from the two alternative locations --> |
227 |
<local name="temp.file"/> |
228 |
<mkdir dir="${base.path}"/> |
229 |
-@@ -2766,7 +2777,7 @@ skip.installer property in build.properties" /> |
230 |
+@@ -2945,7 +2955,7 @@ skip.installer property in build.properties" /> |
231 |
<delete file="${temp.file}"/> |
232 |
</target> |
233 |
|
234 |
@@ -212,7 +221,7 @@ index dfec1f7..4dfc5d8 100644 |
235 |
<!-- Download the file --> |
236 |
<local name="temp.file"/> |
237 |
<mkdir dir="${base.path}"/> |
238 |
-@@ -2776,7 +2787,7 @@ skip.installer property in build.properties" /> |
239 |
+@@ -2955,7 +2965,7 @@ skip.installer property in build.properties" /> |
240 |
<move file="${temp.file}" tofile="${destfile}"/> |
241 |
</target> |
242 |
|
243 |
@@ -221,7 +230,7 @@ index dfec1f7..4dfc5d8 100644 |
244 |
<!-- Download the file from the two alternative locations --> |
245 |
<local name="temp.file"/> |
246 |
<mkdir dir="${base.path}"/> |
247 |
-@@ -2799,7 +2810,7 @@ skip.installer property in build.properties" /> |
248 |
+@@ -2978,7 +2988,7 @@ skip.installer property in build.properties" /> |
249 |
<move file="${temp.file}" tofile="${destfile}"/> |
250 |
</target> |
251 |
|
252 |
@@ -230,7 +239,7 @@ index dfec1f7..4dfc5d8 100644 |
253 |
<condition property="trydownload.run"> |
254 |
<and> |
255 |
<not> |
256 |
-@@ -2810,7 +2821,7 @@ skip.installer property in build.properties" /> |
257 |
+@@ -2989,7 +2999,7 @@ skip.installer property in build.properties" /> |
258 |
</condition> |
259 |
</target> |
260 |
|
261 |
@@ -239,7 +248,7 @@ index dfec1f7..4dfc5d8 100644 |
262 |
<!-- Downloads a file if not yet downloaded and the source URL is available --> |
263 |
<get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" /> |
264 |
</target> |
265 |
-@@ -2821,7 +2832,7 @@ skip.installer property in build.properties" /> |
266 |
+@@ -3000,7 +3010,7 @@ skip.installer property in build.properties" /> |
267 |
|
268 |
<target name="ide-eclipse" |
269 |
depends="download-compile, extras-webservices-prepare, download-test-compile" |
270 |
|
271 |
diff --git a/www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.6-build.xml.patch |
272 |
similarity index 86% |
273 |
copy from www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch |
274 |
copy to www-servers/tomcat/files/tomcat-8.5.6-build.xml.patch |
275 |
index 3c4e5c2..611c99d 100644 |
276 |
--- a/www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch |
277 |
+++ b/www-servers/tomcat/files/tomcat-8.5.6-build.xml.patch |
278 |
@@ -1,11 +1,11 @@ |
279 |
-diff --git a/apache-tomcat-9.0.0.M8-src/build.xml b/apache-tomcat-9.0.0.M8-src/build.xml |
280 |
-index dfec1f7..4dfc5d8 100644 |
281 |
---- a/apache-tomcat-9.0.0.M8-src/build.xml |
282 |
-+++ b/apache-tomcat-9.0.0.M8-src/build.xml |
283 |
-@@ -695,24 +695,30 @@ |
284 |
+diff --git a/apache-tomcat-8.5.4-src/build.xml b/apache-tomcat-8.5.4-src/build.xml |
285 |
+index 655e379..b973b7f 100644 |
286 |
+--- a/apache-tomcat-8.5.4-src/build.xml |
287 |
++++ b/apache-tomcat-8.5.4-src/build.xml |
288 |
+@@ -691,24 +691,29 @@ |
289 |
manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> |
290 |
|
291 |
- <!-- Servlet 4.0 Implementation JAR File --> |
292 |
+ <!-- Servlet 3.1 Implementation JAR File --> |
293 |
+<!-- |
294 |
<jarIt jarfile="${servlet-api.jar}" |
295 |
filesDir="${tomcat.classes}" |
296 |
@@ -13,8 +13,8 @@ index dfec1f7..4dfc5d8 100644 |
297 |
manifest="${tomcat.manifests}/servlet-api.jar.manifest" |
298 |
notice="${tomcat.manifests}/servlet-api.jar.notice" |
299 |
license="${tomcat.manifests}/servlet-api.jar.license" /> |
300 |
+- |
301 |
+--> |
302 |
- |
303 |
<!-- JSP 2.3 Implementation JAR File --> |
304 |
+<!-- |
305 |
<jarIt jarfile="${jsp-api.jar}" |
306 |
@@ -33,7 +33,7 @@ index dfec1f7..4dfc5d8 100644 |
307 |
|
308 |
<!-- WebSocket 1.1 API JAR File --> |
309 |
<jarIt jarfile="${websocket-api.jar}" |
310 |
-@@ -986,14 +992,14 @@ |
311 |
+@@ -982,14 +987,14 @@ |
312 |
|
313 |
<target name="deploy" depends="package,build-docs,build-tomcat-jdbc,compile-webapp-examples" |
314 |
description="Default. Builds a working Tomcat instance"> |
315 |
@@ -50,7 +50,7 @@ index dfec1f7..4dfc5d8 100644 |
316 |
<!-- Copy scripts --> |
317 |
<copy todir="${tomcat.build}/bin"> |
318 |
<fileset dir="bin"> |
319 |
-@@ -1053,7 +1059,7 @@ |
320 |
+@@ -1049,7 +1054,7 @@ |
321 |
<exclude name="${jdt.jar.filename}"/> |
322 |
</fileset> |
323 |
</delete> |
324 |
@@ -59,7 +59,7 @@ index dfec1f7..4dfc5d8 100644 |
325 |
|
326 |
<!-- Add sources for examples --> |
327 |
<antcall target="examples-sources" /> |
328 |
-@@ -1087,7 +1093,7 @@ |
329 |
+@@ -1083,7 +1088,7 @@ |
330 |
</javac> |
331 |
</target> |
332 |
|
333 |
@@ -68,7 +68,7 @@ index dfec1f7..4dfc5d8 100644 |
334 |
<!-- build the jdbc-pool jar and source jar--> |
335 |
<echo message="Building Tomcat JDBC pool libraries"/> |
336 |
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
337 |
-@@ -1102,7 +1108,7 @@ |
338 |
+@@ -1098,7 +1103,7 @@ |
339 |
<copy file="${tomcat-jdbc.jar}" todir="${tomcat.build}/lib"/> |
340 |
</target> |
341 |
|
342 |
@@ -77,7 +77,7 @@ index dfec1f7..4dfc5d8 100644 |
343 |
<!-- build the jdbc-pool source jar--> |
344 |
<echo message="Building Tomcat JDBC pool src JAR"/> |
345 |
<ant antfile="${tomcat.jdbc.dir}/build.xml" dir="${tomcat.jdbc.dir}" |
346 |
-@@ -1206,10 +1212,11 @@ |
347 |
+@@ -1202,10 +1207,11 @@ |
348 |
|
349 |
<copy file="${basedir}/LICENSE" todir="${tomcat.embed}" /> |
350 |
<copy file="${basedir}/NOTICE" todir="${tomcat.embed}" /> |
351 |
@@ -90,7 +90,7 @@ index dfec1f7..4dfc5d8 100644 |
352 |
<!-- Note the meta-inf below will work as long as there is only one JAR |
353 |
that needs to add entries. If there is more than one a more complex |
354 |
solution will be required. --> |
355 |
-@@ -1583,7 +1590,7 @@ |
356 |
+@@ -1579,7 +1585,7 @@ |
357 |
|
358 |
<target name="extras-webservices-prepare" |
359 |
depends="extras-prepare" |
360 |
@@ -99,7 +99,7 @@ index dfec1f7..4dfc5d8 100644 |
361 |
|
362 |
<antcall target="downloadfile"> |
363 |
<param name="sourcefile" value="${jaxrpc-lib.loc}"/> |
364 |
-@@ -1731,6 +1738,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
365 |
+@@ -1727,6 +1733,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
366 |
|
367 |
<target name="javadoc" depends="dist-source,extras-webservices-prepare" |
368 |
description="Create the Tomcat javadoc" > |
369 |
@@ -107,7 +107,7 @@ index dfec1f7..4dfc5d8 100644 |
370 |
<javadoc packagenames="javax.servlet.*" |
371 |
excludepackagenames="javax.servlet.jsp.*" |
372 |
sourcepath="${tomcat.dist}/src/java" |
373 |
-@@ -1795,6 +1803,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
374 |
+@@ -1791,6 +1798,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
375 |
<path location="${ant.core.lib}"/> |
376 |
</classpath> |
377 |
</javadoc> |
378 |
@@ -115,7 +115,7 @@ index dfec1f7..4dfc5d8 100644 |
379 |
<javadoc packagenames="javax.websocket.*" |
380 |
sourcepath="${tomcat.dist}/src/java" |
381 |
destdir="${tomcat.dist}/webapps/docs/websocketapi" |
382 |
-@@ -1835,9 +1844,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
383 |
+@@ -1831,9 +1839,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. |
384 |
<path refid="tomcat.webservices.classpath"/> |
385 |
<path location="${ant.core.lib}"/> |
386 |
</classpath> |
387 |
@@ -127,7 +127,7 @@ index dfec1f7..4dfc5d8 100644 |
388 |
<link href="../websocketapi"/> |
389 |
<link href="http://docs.oracle.com/javase/7/docs/api/"/> |
390 |
<link href="http://commons.apache.org/proper/commons-io/javadocs/api-release/"/> |
391 |
-@@ -2578,7 +2589,7 @@ skip.installer property in build.properties" /> |
392 |
+@@ -2574,7 +2584,7 @@ skip.installer property in build.properties" /> |
393 |
</target> |
394 |
|
395 |
<target name="download-compile" |
396 |
@@ -136,7 +136,7 @@ index dfec1f7..4dfc5d8 100644 |
397 |
|
398 |
<antcall target="downloadfile-2"> |
399 |
<param name="sourcefile.1" value="${tomcat-native.loc.1}"/> |
400 |
-@@ -2612,7 +2623,7 @@ skip.installer property in build.properties" /> |
401 |
+@@ -2608,7 +2618,7 @@ skip.installer property in build.properties" /> |
402 |
</target> |
403 |
|
404 |
<target name="download-test-compile" |
405 |
@@ -145,7 +145,7 @@ index dfec1f7..4dfc5d8 100644 |
406 |
|
407 |
<antcall target="downloadfile"> |
408 |
<param name="sourcefile" value="${junit.loc}"/> |
409 |
-@@ -2669,7 +2680,7 @@ skip.installer property in build.properties" /> |
410 |
+@@ -2665,7 +2675,7 @@ skip.installer property in build.properties" /> |
411 |
</target> |
412 |
|
413 |
<target name="download-dist" |
414 |
@@ -154,7 +154,7 @@ index dfec1f7..4dfc5d8 100644 |
415 |
|
416 |
<antcall target="downloadzip-2"> |
417 |
<param name="sourcefile.1" value="${tomcat-native.win.1}"/> |
418 |
-@@ -2695,18 +2706,18 @@ skip.installer property in build.properties" /> |
419 |
+@@ -2691,18 +2701,18 @@ skip.installer property in build.properties" /> |
420 |
|
421 |
<!-- =============== Utility Targets to support downloads ================ --> |
422 |
|
423 |
@@ -176,7 +176,7 @@ index dfec1f7..4dfc5d8 100644 |
424 |
<!-- Download and extract the package --> |
425 |
<local name="temp.file"/> |
426 |
<mkdir dir="${base.path}"/> |
427 |
-@@ -2718,7 +2729,7 @@ skip.installer property in build.properties" /> |
428 |
+@@ -2714,7 +2724,7 @@ skip.installer property in build.properties" /> |
429 |
<delete file="${temp.file}.tar.gz"/> |
430 |
</target> |
431 |
|
432 |
@@ -185,7 +185,7 @@ index dfec1f7..4dfc5d8 100644 |
433 |
<!-- Download and extract the package from the two alternative locations --> |
434 |
<local name="temp.file"/> |
435 |
<mkdir dir="${base.path}"/> |
436 |
-@@ -2737,7 +2748,7 @@ skip.installer property in build.properties" /> |
437 |
+@@ -2733,7 +2743,7 @@ skip.installer property in build.properties" /> |
438 |
<delete file="${temp.file}.tar.gz"/> |
439 |
</target> |
440 |
|
441 |
@@ -194,7 +194,7 @@ index dfec1f7..4dfc5d8 100644 |
442 |
<!-- Download and extract the package --> |
443 |
<local name="temp.file"/> |
444 |
<mkdir dir="${base.path}"/> |
445 |
-@@ -2748,7 +2759,7 @@ skip.installer property in build.properties" /> |
446 |
+@@ -2744,7 +2754,7 @@ skip.installer property in build.properties" /> |
447 |
<delete file="${temp.file}"/> |
448 |
</target> |
449 |
|
450 |
@@ -203,7 +203,7 @@ index dfec1f7..4dfc5d8 100644 |
451 |
<!-- Download and extract the package from the two alternative locations --> |
452 |
<local name="temp.file"/> |
453 |
<mkdir dir="${base.path}"/> |
454 |
-@@ -2766,7 +2777,7 @@ skip.installer property in build.properties" /> |
455 |
+@@ -2762,7 +2772,7 @@ skip.installer property in build.properties" /> |
456 |
<delete file="${temp.file}"/> |
457 |
</target> |
458 |
|
459 |
@@ -212,7 +212,7 @@ index dfec1f7..4dfc5d8 100644 |
460 |
<!-- Download the file --> |
461 |
<local name="temp.file"/> |
462 |
<mkdir dir="${base.path}"/> |
463 |
-@@ -2776,7 +2787,7 @@ skip.installer property in build.properties" /> |
464 |
+@@ -2772,7 +2782,7 @@ skip.installer property in build.properties" /> |
465 |
<move file="${temp.file}" tofile="${destfile}"/> |
466 |
</target> |
467 |
|
468 |
@@ -221,7 +221,7 @@ index dfec1f7..4dfc5d8 100644 |
469 |
<!-- Download the file from the two alternative locations --> |
470 |
<local name="temp.file"/> |
471 |
<mkdir dir="${base.path}"/> |
472 |
-@@ -2799,7 +2810,7 @@ skip.installer property in build.properties" /> |
473 |
+@@ -2795,7 +2805,7 @@ skip.installer property in build.properties" /> |
474 |
<move file="${temp.file}" tofile="${destfile}"/> |
475 |
</target> |
476 |
|
477 |
@@ -230,7 +230,7 @@ index dfec1f7..4dfc5d8 100644 |
478 |
<condition property="trydownload.run"> |
479 |
<and> |
480 |
<not> |
481 |
-@@ -2810,7 +2821,7 @@ skip.installer property in build.properties" /> |
482 |
+@@ -2806,7 +2816,7 @@ skip.installer property in build.properties" /> |
483 |
</condition> |
484 |
</target> |
485 |
|
486 |
@@ -239,7 +239,7 @@ index dfec1f7..4dfc5d8 100644 |
487 |
<!-- Downloads a file if not yet downloaded and the source URL is available --> |
488 |
<get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" /> |
489 |
</target> |
490 |
-@@ -2821,7 +2832,7 @@ skip.installer property in build.properties" /> |
491 |
+@@ -2817,7 +2827,7 @@ skip.installer property in build.properties" /> |
492 |
|
493 |
<target name="ide-eclipse" |
494 |
depends="download-compile, extras-webservices-prepare, download-test-compile" |
495 |
|
496 |
diff --git a/www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.0_alpha11-build.xml.patch |
497 |
similarity index 100% |
498 |
rename from www-servers/tomcat/files/tomcat-9.0.0_alpha10-build.xml.patch |
499 |
rename to www-servers/tomcat/files/tomcat-9.0.0_alpha11-build.xml.patch |
500 |
|
501 |
diff --git a/www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild b/www-servers/tomcat/tomcat-8.0.38.ebuild |
502 |
similarity index 92% |
503 |
copy from www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild |
504 |
copy to www-servers/tomcat/tomcat-8.0.38.ebuild |
505 |
index 76dbdc9..d990243 100644 |
506 |
--- a/www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild |
507 |
+++ b/www-servers/tomcat/tomcat-8.0.38.ebuild |
508 |
@@ -8,31 +8,30 @@ JAVA_PKG_IUSE="doc source test" |
509 |
|
510 |
inherit eutils java-pkg-2 java-ant-2 prefix user |
511 |
|
512 |
-MY_PV="${PV/_alpha/.M}" |
513 |
-MY_P="apache-${PN}-${MY_PV}-src" |
514 |
+MY_P="apache-${P}-src" |
515 |
|
516 |
-DESCRIPTION="Tomcat Servlet-4.0/JSP-2.4?/EL-3.1?/WebSocket-1.2?/JASPIC-1.1 Container" |
517 |
+DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1 Container" |
518 |
HOMEPAGE="http://tomcat.apache.org/" |
519 |
-SRC_URI="mirror://apache/${PN}/tomcat-9/v${MY_PV}/src/${MY_P}.tar.gz" |
520 |
+SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz" |
521 |
|
522 |
LICENSE="Apache-2.0" |
523 |
-SLOT="9" |
524 |
+SLOT="8" |
525 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" |
526 |
IUSE="extra-webapps" |
527 |
|
528 |
RESTRICT="test" # can we run them on a production system? |
529 |
|
530 |
ECJ_SLOT="4.5" |
531 |
-SAPI_SLOT="4.0" |
532 |
+SAPI_SLOT="3.1" |
533 |
|
534 |
COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT} |
535 |
- =dev-java/tomcat-servlet-api-${PV}:${SAPI_SLOT}" |
536 |
+ dev-java/tomcat-servlet-api:${SAPI_SLOT}" |
537 |
RDEPEND="${COMMON_DEP} |
538 |
!<dev-java/tomcat-native-1.1.24 |
539 |
- >=virtual/jre-1.8" |
540 |
+ >=virtual/jre-1.7" |
541 |
DEPEND="${COMMON_DEP} |
542 |
app-admin/pwgen |
543 |
- >=virtual/jdk-1.8 |
544 |
+ >=virtual/jdk-1.7 |
545 |
test? ( |
546 |
>=dev-java/ant-junit-1.9:0 |
547 |
dev-java/easymock:3.2 |
548 |
|
549 |
diff --git a/www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild b/www-servers/tomcat/tomcat-8.5.6.ebuild |
550 |
similarity index 92% |
551 |
copy from www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild |
552 |
copy to www-servers/tomcat/tomcat-8.5.6.ebuild |
553 |
index 76dbdc9..b0508e4 100644 |
554 |
--- a/www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild |
555 |
+++ b/www-servers/tomcat/tomcat-8.5.6.ebuild |
556 |
@@ -8,31 +8,30 @@ JAVA_PKG_IUSE="doc source test" |
557 |
|
558 |
inherit eutils java-pkg-2 java-ant-2 prefix user |
559 |
|
560 |
-MY_PV="${PV/_alpha/.M}" |
561 |
-MY_P="apache-${PN}-${MY_PV}-src" |
562 |
+MY_P="apache-${P}-src" |
563 |
|
564 |
-DESCRIPTION="Tomcat Servlet-4.0/JSP-2.4?/EL-3.1?/WebSocket-1.2?/JASPIC-1.1 Container" |
565 |
+DESCRIPTION="Tomcat Servlet-3.1/JSP-2.3/EL-3.0/WebSocket-1.1/JASPIC-1.1 Container" |
566 |
HOMEPAGE="http://tomcat.apache.org/" |
567 |
-SRC_URI="mirror://apache/${PN}/tomcat-9/v${MY_PV}/src/${MY_P}.tar.gz" |
568 |
+SRC_URI="mirror://apache/${PN}/tomcat-8/v${PV}/src/${MY_P}.tar.gz" |
569 |
|
570 |
LICENSE="Apache-2.0" |
571 |
-SLOT="9" |
572 |
+SLOT="8.5" |
573 |
KEYWORDS="~amd64 ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~x86-solaris" |
574 |
IUSE="extra-webapps" |
575 |
|
576 |
RESTRICT="test" # can we run them on a production system? |
577 |
|
578 |
ECJ_SLOT="4.5" |
579 |
-SAPI_SLOT="4.0" |
580 |
+SAPI_SLOT="3.1" |
581 |
|
582 |
COMMON_DEP="dev-java/eclipse-ecj:${ECJ_SLOT} |
583 |
- =dev-java/tomcat-servlet-api-${PV}:${SAPI_SLOT}" |
584 |
+ >=dev-java/tomcat-servlet-api-${SLOT}:${SAPI_SLOT}" |
585 |
RDEPEND="${COMMON_DEP} |
586 |
!<dev-java/tomcat-native-1.1.24 |
587 |
- >=virtual/jre-1.8" |
588 |
+ >=virtual/jre-1.7" |
589 |
DEPEND="${COMMON_DEP} |
590 |
app-admin/pwgen |
591 |
- >=virtual/jdk-1.8 |
592 |
+ >=virtual/jdk-1.7 |
593 |
test? ( |
594 |
>=dev-java/ant-junit-1.9:0 |
595 |
dev-java/easymock:3.2 |
596 |
|
597 |
diff --git a/www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild b/www-servers/tomcat/tomcat-9.0.0_alpha11.ebuild |
598 |
similarity index 100% |
599 |
rename from www-servers/tomcat/tomcat-9.0.0_alpha10.ebuild |
600 |
rename to www-servers/tomcat/tomcat-9.0.0_alpha11.ebuild |