diff options
Diffstat (limited to 'dev-java/tomcat-jsp-api')
-rw-r--r-- | dev-java/tomcat-jsp-api/Manifest | 5 | ||||
-rw-r--r-- | dev-java/tomcat-jsp-api/metadata.xml | 7 | ||||
-rw-r--r-- | dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.0.ebuild | 43 | ||||
-rw-r--r-- | dev-java/tomcat-jsp-api/tomcat-jsp-api-9.0.68.ebuild | 43 |
4 files changed, 98 insertions, 0 deletions
diff --git a/dev-java/tomcat-jsp-api/Manifest b/dev-java/tomcat-jsp-api/Manifest new file mode 100644 index 000000000000..d878e46e5e1a --- /dev/null +++ b/dev-java/tomcat-jsp-api/Manifest @@ -0,0 +1,5 @@ +DIST apache-tomcat-10.1.0-src.tar.gz 6060833 BLAKE2B 49f36131c1e809b298ac915e671b9f4df55b55c2ba34d21ee3fdeb8759ddaf53a6780b177e8049446079d91186c52669969f30762ddf776d9f8615e527d5a975 SHA512 08323eec0403473fa97f419d7911980c3dfe7b1607a64741bbe972a737dfa70ea04ea80ca9ab28bf72bdde9d24cf8f7161eeb8b194204c777d1628d00c78611c +DIST apache-tomcat-9.0.68-src.tar.gz 6212265 BLAKE2B 21a7772c0473c016486b4b90c005b65613e79739cf68eaa0c0a0e83c30016f49921816893f8babe42b462538c47bc776630812526c330e7c6360f02a719574cd SHA512 63bb2c42f683c4c5e362b19bda046de172382714e80298106c61cc728feea9681b568450f04cb95d6cae08e5a71933c7755b9b81b706c46d63f4683c2a3a96be +EBUILD tomcat-jsp-api-10.1.0.ebuild 1125 BLAKE2B 5c59fe6a146a1540ee6bacdb34d80b3d171f97a7c902b5cbb0e7a49fb04f2d6baaec3561dabb3a7c95d9411629bf5b0ed654535d09bd59553b2653a3456695a7 SHA512 3162b038a1dcce3557941f850e430f55d95acdbaa9916c4b5c59cb12f9afebb9bad2fbdedfb59e3cbdfb43f409dea9baaa5051ce5f94a48d889a54d091b9595b +EBUILD tomcat-jsp-api-9.0.68.ebuild 1119 BLAKE2B 1273b3f1f9c82d68e2f4cf035f009342921c02175f4f1431ac36920cbb48975688e26b3ee5b556280e680a6005398168c32611717c71175ae774f19370069752 SHA512 eb9c5994b8459e4c2baf9a0bf843e953d841165998499600afef7d591d12b1dddb1733810763ea7c19ba65f61b23940b78c2e680e20ed9cb426f4f70886bde31 +MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/tomcat-jsp-api/metadata.xml b/dev-java/tomcat-jsp-api/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/tomcat-jsp-api/metadata.xml @@ -0,0 +1,7 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>java@gentoo.org</email> + </maintainer> +</pkgmetadata> diff --git a/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.0.ebuild b/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.0.ebuild new file mode 100644 index 000000000000..f488e2afebd2 --- /dev/null +++ b/dev-java/tomcat-jsp-api/tomcat-jsp-api-10.1.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.tomcat:tomcat-jsp-api:10.1.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Tomcat's JSP API 3.1 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="3.1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +CP_DEPEND=" + ~dev-java/tomcat-el-api-${PV}:5.0 + ~dev-java/tomcat-servlet-api-${PV}:6.0 +" + +DEPEND=" + >=virtual/jdk-11:* + ${CP_DEPEND}" + +RDEPEND=" + >=virtual/jre-11:* + ${CP_DEPEND}" + +S="${WORKDIR}/apache-tomcat-${PV}-src" + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="java/jakarta/servlet/jsp" + +src_prepare() { + default + mkdir -p resources/jakarta/servlet || "creating \"resources\" failed" + cp -r {java,resources}/jakarta/servlet/jsp || "cannot copy to \"resources\" dir" + find resources \( -name '*.java' -o -name 'tagext' \) \ + -exec rm -rf {} + || die "removing *.java files failed" +} diff --git a/dev-java/tomcat-jsp-api/tomcat-jsp-api-9.0.68.ebuild b/dev-java/tomcat-jsp-api/tomcat-jsp-api-9.0.68.ebuild new file mode 100644 index 000000000000..9bc55855a97f --- /dev/null +++ b/dev-java/tomcat-jsp-api/tomcat-jsp-api-9.0.68.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="org.apache.tomcat:tomcat-jsp-api:9.0.68" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Tomcat's JSP API 3.1 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz" + +LICENSE="Apache-2.0" +SLOT="2.3" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +CP_DEPEND=" + ~dev-java/tomcat-el-api-${PV}:3.0 + ~dev-java/tomcat-servlet-api-${PV}:4.0 +" + +DEPEND=" + >=virtual/jdk-11:* + ${CP_DEPEND}" + +RDEPEND=" + >=virtual/jre-11:* + ${CP_DEPEND}" + +S="${WORKDIR}/apache-tomcat-${PV}-src" + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="java/javax/servlet/jsp" + +src_prepare() { + default + mkdir -p resources/javax/servlet || "creating \"resources\" failed" + cp -r {java,resources}/javax/servlet/jsp || "cannot copy to \"resources\" dir" + find resources \( -name '*.java' -o -name 'tagext' \) \ + -exec rm -rf {} + || die "removing *.java files failed" +} |