diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-10-11 13:38:21 +0100 |
commit | 59970d0b9cd0a564851f255aebb29a9f76e39c19 (patch) | |
tree | 4ed6fa53e3016b6085c92a07d51765f4d8bfbe09 /dev-java/tomcat-el-api | |
parent | 81db58116c7a9c27f54243a4d8f364c7e94c6f36 (diff) |
gentoo auto-resync : 11:10:2022 - 13:38:21
Diffstat (limited to 'dev-java/tomcat-el-api')
-rw-r--r-- | dev-java/tomcat-el-api/Manifest | 5 | ||||
-rw-r--r-- | dev-java/tomcat-el-api/metadata.xml | 7 | ||||
-rw-r--r-- | dev-java/tomcat-el-api/tomcat-el-api-10.1.0.ebuild | 36 | ||||
-rw-r--r-- | dev-java/tomcat-el-api/tomcat-el-api-9.0.68.ebuild | 36 |
4 files changed, 84 insertions, 0 deletions
diff --git a/dev-java/tomcat-el-api/Manifest b/dev-java/tomcat-el-api/Manifest new file mode 100644 index 000000000000..24383a1c320d --- /dev/null +++ b/dev-java/tomcat-el-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-el-api-10.1.0.ebuild 1082 BLAKE2B adc315817fed7b3e6a1a45b27b25b0e957c429635afd31e49175c82cbaa47b5a4174bab46e41dd82d01e60a682fc81b42d96284a5a7512759f67afcd74343a52 SHA512 6d282345502bb66b6382b4fa3d8ccdb6ed76433a82a434affb05b455eead27c4665e5ee1481ea55317d2d9b5b887da63b298cdfc4536bb3e2508b1e76451cf3b +EBUILD tomcat-el-api-9.0.68.ebuild 1076 BLAKE2B 45700d1bc3ed251e678a22e6a1bff5a4b868adc0ec00041c19cf172dae7e2bcf6893295d47f574a1a19088d61fda870281259cf9def483dd5f950f3077ec4d24 SHA512 5066ba19d61dec2d1bc18f9843947f8f041b134d82a415b9ec7592a1df7cb4682e985dcf57e74c65bfb71decda5fda3cf16901990fc7838d629c93543248e94b +MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6 diff --git a/dev-java/tomcat-el-api/metadata.xml b/dev-java/tomcat-el-api/metadata.xml new file mode 100644 index 000000000000..75321cfb5598 --- /dev/null +++ b/dev-java/tomcat-el-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-el-api/tomcat-el-api-10.1.0.ebuild b/dev-java/tomcat-el-api/tomcat-el-api-10.1.0.ebuild new file mode 100644 index 000000000000..ad9a1a45f60b --- /dev/null +++ b/dev-java/tomcat-el-api/tomcat-el-api-10.1.0.ebuild @@ -0,0 +1,36 @@ +# 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-el-api:10.1.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Tomcat's EL API 5.0 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="5.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-11:*" +RDEPEND=">=virtual/jre-11:*" + +S="${WORKDIR}/apache-tomcat-${PV}-src" + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="java/jakarta/el" + +src_prepare() { + default + # remove anything related to "el" or "jsp" + find java/jakarta \( -name 'jsp' -o -name 'servlet' \) \ + -exec rm -rf {} + || die "removing jsp failed" + + mkdir resources || "creating \"resources\" failed" + cp -r java/jakarta resources || "cannot copy to \"resources\" dir" + find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed" +} diff --git a/dev-java/tomcat-el-api/tomcat-el-api-9.0.68.ebuild b/dev-java/tomcat-el-api/tomcat-el-api-9.0.68.ebuild new file mode 100644 index 000000000000..5aa4a644ef09 --- /dev/null +++ b/dev-java/tomcat-el-api/tomcat-el-api-9.0.68.ebuild @@ -0,0 +1,36 @@ +# 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-el-api:9.0.68" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Tomcat's EL API 5.0 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.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-11:*" +RDEPEND=">=virtual/jre-11:*" + +S="${WORKDIR}/apache-tomcat-${PV}-src" + +JAVA_RESOURCE_DIRS="resources" +JAVA_SRC_DIR="java/javax/el" + +src_prepare() { + default + # remove anything related to "el" or "jsp" + find java/javax \( -name 'jsp' -o -name 'servlet' \) \ + -exec rm -rf {} + || die "removing jsp failed" + + mkdir resources || "creating \"resources\" failed" + cp -r java/javax resources || "cannot copy to \"resources\" dir" + find resources -name '*.java' -exec rm -rf {} + || die "removing *.java files failed" +} |