From: "Miroslav Šulc" <fordfrog@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-servers/tomcat/, www-servers/tomcat/files/
Date: Mon, 20 Jul 2020 08:45:59 +0000 (UTC) [thread overview]
Message-ID: <1595234735.05c4d8c2c1e0ecb46c767d177642fede37eefde1.fordfrog@gentoo> (raw)
commit: 05c4d8c2c1e0ecb46c767d177642fede37eefde1
Author: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 20 08:45:35 2020 +0000
Commit: Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Mon Jul 20 08:45:35 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05c4d8c2
www-servers/tomcat: fixed building of javadoc for 8.5.57 and 9.0.37
Package-Manager: Portage-3.0.0, Repoman-2.3.23
Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>
.../tomcat/files/tomcat-8.5.57-build.xml.patch | 48 ++++++++++++---------
.../tomcat/files/tomcat-9.0.37-build.xml.patch | 50 ++++++++++++----------
www-servers/tomcat/tomcat-8.5.57.ebuild | 7 ++-
3 files changed, 61 insertions(+), 44 deletions(-)
diff --git a/www-servers/tomcat/files/tomcat-8.5.57-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.57-build.xml.patch
index 2eb3329b3ce..c01699945e0 100644
--- a/www-servers/tomcat/files/tomcat-8.5.57-build.xml.patch
+++ b/www-servers/tomcat/files/tomcat-8.5.57-build.xml.patch
@@ -1,5 +1,5 @@
diff --git a/build.xml b/build.xml
-index 348487c..04e40fa 100644
+index 348487c..d0b8b81 100644
--- a/build.xml
+++ b/build.xml
@@ -762,25 +762,28 @@
@@ -106,14 +106,14 @@ index 348487c..04e40fa 100644
<antcall target="downloadfile">
<param name="sourcefile" value="${jaxrpc-lib.loc}"/>
-@@ -1874,6 +1879,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
-
- <target name="javadoc" depends="dist-source,extras-webservices-prepare"
- description="Create the Tomcat javadoc" >
+@@ -1895,6 +1900,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+ <path location="${ant.core.lib}"/>
+ </classpath>
+ </javadoc>
+<!--
- <javadoc packagenames="javax.annotation.*"
+ <javadoc packagenames="javax.servlet.*"
+ excludepackagenames="javax.servlet.jsp.*"
sourcepath="${tomcat.dist}/src/java"
- destdir="${tomcat.dist}/webapps/docs/annotationapi"
@@ -1962,6 +1968,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
<path location="${ant.core.lib}"/>
</classpath>
@@ -122,7 +122,7 @@ index 348487c..04e40fa 100644
<javadoc packagenames="javax.websocket.*"
sourcepath="${tomcat.dist}/src/java"
destdir="${tomcat.dist}/webapps/docs/websocketapi"
-@@ -2025,9 +2032,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+@@ -2025,13 +2032,17 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
<path location="${ant.core.lib}"/>
</classpath>
<link href="../annotationapi"/>
@@ -133,8 +133,14 @@ index 348487c..04e40fa 100644
+-->
<link href="../websocketapi"/>
<link href="../jaspicapi"/>
++<!--
<link href="https://docs.oracle.com/javase/7/docs/api/"/>
-@@ -2759,7 +2768,7 @@ skip.installer property in build.properties" />
+ <link href="https://docs.oracle.com/javaee/7/api/"/>
++-->
+ <packageset dir="${tomcat.dist}/src/java/">
+ <include name="org/**"/>
+ <exclude name="org/apache/el/parser/**"/>
+@@ -2759,7 +2770,7 @@ skip.installer property in build.properties" />
</target>
<target name="download-compile"
@@ -143,7 +149,7 @@ index 348487c..04e40fa 100644
<!-- Download Commons Daemon -->
<antcall target="downloadgz-2">
-@@ -2795,7 +2804,7 @@ skip.installer property in build.properties" />
+@@ -2795,7 +2806,7 @@ skip.installer property in build.properties" />
</target>
<target name="download-test-compile"
@@ -152,7 +158,7 @@ index 348487c..04e40fa 100644
<antcall target="downloadfile">
<param name="sourcefile" value="${junit.loc}"/>
-@@ -2873,7 +2882,7 @@ skip.installer property in build.properties" />
+@@ -2873,7 +2884,7 @@ skip.installer property in build.properties" />
</target>
<target name="download-dist"
@@ -161,7 +167,7 @@ index 348487c..04e40fa 100644
<antcall target="downloadfile-2">
<param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
-@@ -2928,13 +2937,13 @@ skip.installer property in build.properties" />
+@@ -2928,13 +2939,13 @@ skip.installer property in build.properties" />
<!-- =============== Utility Targets to support downloads ================ -->
@@ -177,7 +183,7 @@ index 348487c..04e40fa 100644
<echo message="Testing for ${destfile}"/>
<available file="${destfile}" property="exist"/>
</target>
-@@ -3056,7 +3065,7 @@ skip.installer property in build.properties" />
+@@ -3056,7 +3067,7 @@ skip.installer property in build.properties" />
</sequential>
</macrodef>
@@ -186,7 +192,7 @@ index 348487c..04e40fa 100644
<!-- Download and extract the package -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3073,7 +3082,7 @@ skip.installer property in build.properties" />
+@@ -3073,7 +3084,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}.tar.gz"/>
</target>
@@ -195,7 +201,7 @@ index 348487c..04e40fa 100644
<!-- Download and extract the package from the two alternative locations -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3098,7 +3107,7 @@ skip.installer property in build.properties" />
+@@ -3098,7 +3109,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}.tar.gz"/>
</target>
@@ -204,7 +210,7 @@ index 348487c..04e40fa 100644
<!-- Download and extract the package -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3114,7 +3123,7 @@ skip.installer property in build.properties" />
+@@ -3114,7 +3125,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}"/>
</target>
@@ -213,7 +219,7 @@ index 348487c..04e40fa 100644
<!-- Download and extract the package from the two alternative locations -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3138,7 +3147,7 @@ skip.installer property in build.properties" />
+@@ -3138,7 +3149,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}"/>
</target>
@@ -222,7 +228,7 @@ index 348487c..04e40fa 100644
<!-- Download the file -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3153,7 +3162,7 @@ skip.installer property in build.properties" />
+@@ -3153,7 +3164,7 @@ skip.installer property in build.properties" />
<move file="${temp.file}" tofile="${destfile}"/>
</target>
@@ -231,7 +237,7 @@ index 348487c..04e40fa 100644
<!-- Download the file from the two alternative locations -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3181,7 +3190,7 @@ skip.installer property in build.properties" />
+@@ -3181,7 +3192,7 @@ skip.installer property in build.properties" />
<move file="${temp.file}" tofile="${destfile}"/>
</target>
@@ -240,7 +246,7 @@ index 348487c..04e40fa 100644
<condition property="trydownload.run">
<and>
<not>
-@@ -3192,7 +3201,7 @@ skip.installer property in build.properties" />
+@@ -3192,7 +3203,7 @@ skip.installer property in build.properties" />
</condition>
</target>
@@ -249,7 +255,7 @@ index 348487c..04e40fa 100644
<!-- Downloads a file if not yet downloaded and the source URL is available -->
<get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
</target>
-@@ -3203,7 +3212,7 @@ skip.installer property in build.properties" />
+@@ -3203,7 +3214,7 @@ skip.installer property in build.properties" />
<target name="ide-eclipse"
depends="download-compile, extras-webservices-prepare, download-test-compile"
diff --git a/www-servers/tomcat/files/tomcat-9.0.37-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.37-build.xml.patch
index 92540986e9c..ea902b4b922 100644
--- a/www-servers/tomcat/files/tomcat-9.0.37-build.xml.patch
+++ b/www-servers/tomcat/files/tomcat-9.0.37-build.xml.patch
@@ -1,5 +1,5 @@
diff --git a/build.xml b/build.xml
-index 8e02cb5..e07b2d7 100644
+index 8e02cb5..9007e8b 100644
--- a/build.xml
+++ b/build.xml
@@ -760,6 +760,7 @@
@@ -115,14 +115,14 @@ index 8e02cb5..e07b2d7 100644
<!-- platform README files -->
<echo append="false" file="${tomcat.dist}/bin/x64/README">
Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
-@@ -1877,6 +1883,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
-
- <target name="javadoc" depends="dist-source"
- description="Create the Tomcat javadoc" >
+@@ -1898,6 +1904,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+ <path location="${ant.core.lib}"/>
+ </classpath>
+ </javadoc>
+<!--
- <javadoc packagenames="javax.annotation.*"
+ <javadoc packagenames="javax.servlet.*"
+ excludepackagenames="javax.servlet.jsp.*"
sourcepath="${tomcat.dist}/src/java"
- destdir="${tomcat.dist}/webapps/docs/annotationapi"
@@ -1962,6 +1969,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
<path location="${ant.core.lib}"/>
</classpath>
@@ -131,7 +131,7 @@ index 8e02cb5..e07b2d7 100644
<javadoc packagenames="javax.websocket.*"
sourcepath="${tomcat.dist}/src/java"
destdir="${tomcat.dist}/webapps/docs/websocketapi"
-@@ -2023,9 +2031,11 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
+@@ -2023,13 +2031,17 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform.
<path location="${ant.core.lib}"/>
</classpath>
<link href="../annotationapi"/>
@@ -142,8 +142,14 @@ index 8e02cb5..e07b2d7 100644
+-->
<link href="../websocketapi"/>
<link href="../jaspicapi"/>
++<!--
<link href="https://docs.oracle.com/javase/8/docs/api/"/>
-@@ -2756,7 +2766,7 @@ skip.installer property in build.properties" />
+ <link href="https://javaee.github.io/javaee-spec/javadocs/"/>
++-->
+ <packageset dir="${tomcat.dist}/src/java/">
+ <include name="org/**"/>
+ <exclude name="org/apache/el/parser/**"/>
+@@ -2756,7 +2768,7 @@ skip.installer property in build.properties" />
</target>
<target name="download-compile"
@@ -152,7 +158,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download Commons Daemon -->
<antcall target="downloadgz-2">
-@@ -2811,7 +2821,7 @@ skip.installer property in build.properties" />
+@@ -2811,7 +2823,7 @@ skip.installer property in build.properties" />
</target>
<target name="download-test-compile"
@@ -161,7 +167,7 @@ index 8e02cb5..e07b2d7 100644
<antcall target="downloadfile">
<param name="sourcefile" value="${junit.loc}"/>
-@@ -2889,7 +2899,7 @@ skip.installer property in build.properties" />
+@@ -2889,7 +2901,7 @@ skip.installer property in build.properties" />
</target>
<target name="download-dist"
@@ -170,7 +176,7 @@ index 8e02cb5..e07b2d7 100644
<antcall target="downloadfile-2">
<param name="sourcefile.1" value="${tomcat-native.loc.1}"/>
-@@ -2944,13 +2954,13 @@ skip.installer property in build.properties" />
+@@ -2944,13 +2956,13 @@ skip.installer property in build.properties" />
<!-- =============== Utility Targets to support downloads ================ -->
@@ -186,7 +192,7 @@ index 8e02cb5..e07b2d7 100644
<echo message="Testing for ${destfile}"/>
<available file="${destfile}" property="exist"/>
</target>
-@@ -3072,7 +3082,7 @@ skip.installer property in build.properties" />
+@@ -3072,7 +3084,7 @@ skip.installer property in build.properties" />
</sequential>
</macrodef>
@@ -195,7 +201,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download and extract the package -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3089,7 +3099,7 @@ skip.installer property in build.properties" />
+@@ -3089,7 +3101,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}.tar.gz"/>
</target>
@@ -204,7 +210,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download and extract the package from the two alternative locations -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3114,7 +3124,7 @@ skip.installer property in build.properties" />
+@@ -3114,7 +3126,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}.tar.gz"/>
</target>
@@ -213,7 +219,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download and extract the package -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3130,7 +3140,7 @@ skip.installer property in build.properties" />
+@@ -3130,7 +3142,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}"/>
</target>
@@ -222,7 +228,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download and extract the package from the two alternative locations -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3154,7 +3164,7 @@ skip.installer property in build.properties" />
+@@ -3154,7 +3166,7 @@ skip.installer property in build.properties" />
<delete file="${temp.file}"/>
</target>
@@ -231,7 +237,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download the file -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3169,7 +3179,7 @@ skip.installer property in build.properties" />
+@@ -3169,7 +3181,7 @@ skip.installer property in build.properties" />
<move file="${temp.file}" tofile="${destfile}"/>
</target>
@@ -240,7 +246,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Download the file from the two alternative locations -->
<local name="temp.file"/>
<mkdir dir="${base.path}"/>
-@@ -3197,7 +3207,7 @@ skip.installer property in build.properties" />
+@@ -3197,7 +3209,7 @@ skip.installer property in build.properties" />
<move file="${temp.file}" tofile="${destfile}"/>
</target>
@@ -249,7 +255,7 @@ index 8e02cb5..e07b2d7 100644
<condition property="trydownload.run">
<and>
<not>
-@@ -3208,7 +3218,7 @@ skip.installer property in build.properties" />
+@@ -3208,7 +3220,7 @@ skip.installer property in build.properties" />
</condition>
</target>
@@ -258,7 +264,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Downloads a file if not yet downloaded and the source URL is available -->
<get src="${sourcefile}" httpusecaches="${trydownload.httpusecaches}" dest="${destfile}" />
</target>
-@@ -3219,7 +3229,7 @@ skip.installer property in build.properties" />
+@@ -3219,7 +3231,7 @@ skip.installer property in build.properties" />
<target name="ide-eclipse"
depends="download-compile, download-test-compile"
@@ -267,7 +273,7 @@ index 8e02cb5..e07b2d7 100644
<!-- Copy the sample project files into the root directory -->
<copy file="${tomcat.home}/res/ide-support/eclipse/eclipse.project" tofile="${tomcat.home}/.project"/>
-@@ -3237,7 +3247,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho
+@@ -3237,7 +3249,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho
<target name="ide-intellij"
depends="download-compile, download-test-compile"
diff --git a/www-servers/tomcat/tomcat-8.5.57.ebuild b/www-servers/tomcat/tomcat-8.5.57.ebuild
index 35dcf422344..1895d41a8f0 100644
--- a/www-servers/tomcat/tomcat-8.5.57.ebuild
+++ b/www-servers/tomcat/tomcat-8.5.57.ebuild
@@ -31,6 +31,10 @@ DEPEND="${COMMON_DEP}
app-admin/pwgen
>=dev-java/ant-core-1.9.13
virtual/jdk:1.8
+ doc? (
+ dev-java/glassfish-xmlrpc-api:0
+ dev-java/wsdl4j:0
+ )
test? (
>=dev-java/ant-junit-1.9:0
dev-java/easymock:3.2
@@ -76,7 +80,8 @@ IM_REV="-r2"
INIT_REV="-r1"
src_compile() {
- EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar)"
+ EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only ant-core ant.jar):$(java-pkg_getjar --build-only glassfish-xmlrpc-api glassfish-xmlrpc-api.jar)"
+ use doc && EANT_GENTOO_CLASSPATH_EXTRA+=":$(java-pkg_getjar --build-only glassfish-xmlrpc-api glassfish-xmlrpc-api.jar):$(java-pkg_getjar --build-only wsdl4j wsdl4j.jar)"
java-pkg-2_src_compile
}
next reply other threads:[~2020-07-20 8:46 UTC|newest]
Thread overview: 63+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-20 8:45 Miroslav Šulc [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-06-07 6:38 [gentoo-commits] repo/gentoo:master commit in: www-servers/tomcat/, www-servers/tomcat/files/ Miroslav Šulc
2024-04-04 7:51 Miroslav Šulc
2023-03-23 5:48 Miroslav Šulc
2023-02-26 8:02 Miroslav Šulc
2023-02-26 7:40 Miroslav Šulc
2023-02-26 7:24 Miroslav Šulc
2022-09-28 4:33 Miroslav Šulc
2021-06-17 7:06 Miroslav Šulc
2021-05-13 11:22 Miroslav Šulc
2021-05-07 14:35 Miroslav Šulc
2021-02-04 10:08 Miroslav Šulc
2020-07-14 16:41 Miroslav Šulc
2020-07-07 10:22 Miroslav Šulc
2020-04-30 9:16 Miroslav Šulc
2020-02-09 23:38 Miroslav Šulc
2019-10-16 10:51 Miroslav Šulc
2019-10-16 9:38 Miroslav Šulc
2019-10-16 8:38 Miroslav Šulc
2019-06-12 9:48 Miroslav Šulc
2019-04-19 15:45 Miroslav Šulc
2019-04-19 15:45 Miroslav Šulc
2019-04-19 15:20 Miroslav Šulc
2019-04-19 14:51 Miroslav Šulc
2019-03-20 16:49 Miroslav Šulc
2019-03-20 16:49 Miroslav Šulc
2019-03-19 19:05 Miroslav Šulc
2019-02-10 14:11 Miroslav Šulc
2019-01-23 12:49 Miroslav Šulc
2018-02-13 17:23 Miroslav Šulc
2018-02-13 17:23 Miroslav Šulc
2018-02-04 9:32 Miroslav Šulc
2017-12-04 15:02 Miroslav Šulc
2017-10-11 17:05 Miroslav Šulc
2017-10-11 15:13 Miroslav Šulc
2017-10-11 15:04 Miroslav Šulc
2017-09-10 6:46 Miroslav Šulc
2017-09-10 6:26 Miroslav Šulc
2017-08-20 13:54 Miroslav Šulc
2017-08-17 14:03 Miroslav Šulc
2017-08-10 10:35 Miroslav Šulc
2017-07-15 7:50 Miroslav Šulc
2017-05-16 8:56 Miroslav Šulc
2017-04-25 10:53 Miroslav Šulc
2017-03-14 15:15 Miroslav Šulc
2016-12-09 14:53 Miroslav Šulc
2016-11-15 15:07 Miroslav Šulc
2016-06-21 9:43 Miroslav Šulc
2016-06-14 11:51 Miroslav Šulc
2016-05-19 19:58 Miroslav Šulc
2016-05-17 9:06 Miroslav Šulc
2016-04-18 16:16 Miroslav Šulc
2016-03-26 10:28 Miroslav Šulc
2016-03-22 21:16 James Le Cuirot
2016-03-17 12:53 Miroslav Šulc
2016-03-17 12:46 Miroslav Šulc
2016-02-10 14:48 Miroslav Šulc
2016-02-08 11:54 Miroslav Šulc
2015-12-07 14:02 Miroslav Šulc
2015-10-25 22:53 James Le Cuirot
2015-10-25 22:53 James Le Cuirot
2015-10-21 9:46 Miroslav Šulc
2015-09-03 16:55 Miroslav Šulc
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1595234735.05c4d8c2c1e0ecb46c767d177642fede37eefde1.fordfrog@gentoo \
--to=fordfrog@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox