diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2022-12-06 07:49:24 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2022-12-06 09:41:46 +0100 |
commit | ac79554ffcfd3c80d785d08f4fd17d7e39d96dea (patch) | |
tree | 0997ea0a7ba056069193da06e85f4ab676f6c66c /dev-java | |
parent | sec-keys/openpgp-keys-apache-tomcat: add 9.0.70 (diff) | |
download | gentoo-ac79554ffcfd3c80d785d08f4fd17d7e39d96dea.tar.gz gentoo-ac79554ffcfd3c80d785d08f4fd17d7e39d96dea.tar.bz2 gentoo-ac79554ffcfd3c80d785d08f4fd17d7e39d96dea.zip |
dev-java/tomcat-el-api: add 9.0.70
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tomcat-el-api/Manifest | 2 | ||||
-rw-r--r-- | dev-java/tomcat-el-api/tomcat-el-api-9.0.70.ebuild | 40 |
2 files changed, 42 insertions, 0 deletions
diff --git a/dev-java/tomcat-el-api/Manifest b/dev-java/tomcat-el-api/Manifest index 7209a7ab6604..507739a9f477 100644 --- a/dev-java/tomcat-el-api/Manifest +++ b/dev-java/tomcat-el-api/Manifest @@ -8,3 +8,5 @@ DIST apache-tomcat-8.5.84-src.tar.gz.asc 849 BLAKE2B eeeb4c22190c9bb5c087db86807 DIST apache-tomcat-9.0.68-src.tar.gz 6212265 BLAKE2B 21a7772c0473c016486b4b90c005b65613e79739cf68eaa0c0a0e83c30016f49921816893f8babe42b462538c47bc776630812526c330e7c6360f02a719574cd SHA512 63bb2c42f683c4c5e362b19bda046de172382714e80298106c61cc728feea9681b568450f04cb95d6cae08e5a71933c7755b9b81b706c46d63f4683c2a3a96be DIST apache-tomcat-9.0.69-src.tar.gz 6214949 BLAKE2B 21387c7dbc830c5292d5ea315bf93c2faac2160dd21e8524184495e34cee0739ef57ce77ba46c99a64f7389047da431cffe000da9a5db2aabd481e84f149153f SHA512 8178ef757d8a8a04b87a08e0a5d45e2d244fe0c0fd11b8f6b50182da1811758b7e4b1ea52188e4b241278c32737c0f61ed93d53b5a95075ebabb9209fe57a3b1 DIST apache-tomcat-9.0.69-src.tar.gz.asc 833 BLAKE2B e4002185d7054ff963d0ecb1373afb2affb4795281bd344fa5b707e45dac4c6168cc2365853923a0cca1b5c21806554987513177ed64e01d7905f5d46ee9c581 SHA512 7d9ea8ac9986303bf649781524dd93db22c9ab1101a50be9aad7b4b65f902640b24462117047ddeba99b3652d63e980deaa232f6b93aff2266887a183059ff8f +DIST apache-tomcat-9.0.70-src.tar.gz 6219156 BLAKE2B c7cf415c11701edcd90bb35cd840036755876724394c48277236af1e169572f42599ffc2ec167363cd643dde608437cd06ee5c11289edec91a378f280f385259 SHA512 266ffbdfa57bd9778ea3485f5e2cabf9a2d389235afa74b154e684bcf2806a4fe7a54049f2bd8ea96414396d06695fe890b1eed9672278d9eb345ba3cd71032e +DIST apache-tomcat-9.0.70-src.tar.gz.asc 833 BLAKE2B 979ffa63dccfeb89209a8ee357b231400d762a4ea7e4143960f2dd9fbf83a129c383dd06676c5800f7fc003a1a0cf832c392294cd9da080796fea06742ad9eb7 SHA512 6547167bf808c760bd5833d8049a80c4a64dbb258a80d5cbf6fd2fa459c1231635d55d62e2d0e7e07d0449403b4bddd87a6e22ff29a0eb9486ea7b996bdb1d07 diff --git a/dev-java/tomcat-el-api/tomcat-el-api-9.0.70.ebuild b/dev-java/tomcat-el-api/tomcat-el-api-9.0.70.ebuild new file mode 100644 index 000000000000..272b49376dbe --- /dev/null +++ b/dev-java/tomcat-el-api/tomcat-el-api-9.0.70.ebuild @@ -0,0 +1,40 @@ +# 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.70" + +inherit java-pkg-2 java-pkg-simple verify-sig + +DESCRIPTION="Tomcat's EL API 3.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 + verify-sig? ( https://downloads.apache.org/tomcat/tomcat-$(ver_cut 1)/v${PV}/src/apache-tomcat-${PV}-src.tar.gz.asc )" + +LICENSE="Apache-2.0" +SLOT="3.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" + +DEPEND=">=virtual/jdk-1.8:*" +RDEPEND=">=virtual/jre-1.8:*" + +BDEPEND="verify-sig? ( ~sec-keys/openpgp-keys-apache-tomcat-${PV}:${PV} )" +VERIFY_SIG_OPENPGP_KEY_PATH="${BROOT}/usr/share/openpgp-keys/tomcat-${PV}.apache.org.asc" + +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" +} |