diff options
author | Miroslav Šulc <fordfrog@gentoo.org> | 2020-06-09 10:12:52 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2020-06-09 10:14:09 +0200 |
commit | 028a462d3734c0a5bfeeb1044541fbbaca184068 (patch) | |
tree | 7098301803c7a3069f10cbd8afa76d96451aac04 /dev-java | |
parent | www-servers/tomcat: removed obsolete 7.0.103 and 8.5.54 (diff) | |
download | gentoo-028a462d3734c0a5bfeeb1044541fbbaca184068.tar.gz gentoo-028a462d3734c0a5bfeeb1044541fbbaca184068.tar.bz2 gentoo-028a462d3734c0a5bfeeb1044541fbbaca184068.zip |
dev-java/tomcat-servlet-api: bump to 9.0.36
Package-Manager: Portage-2.3.100, Repoman-2.3.22
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/tomcat-servlet-api/Manifest | 1 | ||||
-rw-r--r-- | dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.36.ebuild | 39 |
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-java/tomcat-servlet-api/Manifest b/dev-java/tomcat-servlet-api/Manifest index 3c29d8f0f55e..07aacaa66364 100644 --- a/dev-java/tomcat-servlet-api/Manifest +++ b/dev-java/tomcat-servlet-api/Manifest @@ -8,3 +8,4 @@ DIST apache-tomcat-8.5.55-src.tar.gz 5719386 BLAKE2B 4d5d20cf81e0a9aba1fe2b0fc2e DIST apache-tomcat-8.5.56-src.tar.gz 5724546 BLAKE2B 623dc2d1f6808f012f19fdd0d914c4bb200e8328ab6b6855666c1db1704e198d069ff74d227bf51e8376c20daf0640002e5d6907edadfde294d8c62a64d55f83 SHA512 75529e567a7be48f2c1034f3eeada571478d0babb63fb2d368061573d7e64d5fc0a937304e2e2ffa956b5d8a403936c1543a93ee78b258b532939fb9ce80ef3d DIST apache-tomcat-9.0.34-src.tar.gz 5843244 BLAKE2B e4124c5986b0be26f17cf5e62443fa945ebea6dd713db6a7f96c8e4c7eed7d8e38610763adda928a7099c1574b00e072635576d9d29cc8ae1b98658f0e341acb SHA512 8ac8a916bfe2d3daf679dab9f299bc50f138f3cc9a6e8679a22862d122dea1e5ce3b9101472295398366f5b5d8477097a3cfb536f01136e72ff09d69b2f6c3df DIST apache-tomcat-9.0.35-src.tar.gz 5887816 BLAKE2B 8103a50a62aa527861fdc35ce8256d9ff0b7185bfa647e25c30c226f9850e88632e0c1e3575bac3a07513fe9c9777b4ef230275e685f48b0bbc733bc68ff7dad SHA512 8931c0f7c30f50d352879f8dfddc02fa59d7128813399e4eca3994be7cf2448e32e726a3cb8b387a5470ccbfa3fb74d0192c825b5f68bbb9fb6b43a9353cb24a +DIST apache-tomcat-9.0.36-src.tar.gz 5890912 BLAKE2B 18962c7d4dcd75a04476acd306002977bf039d832aa1ed5551ffcaa0612e612e6b11db6d80cea149b9fb5df9d0f76284d55a1745760df8f4fa7449999e095c61 SHA512 f8263594bc679f75cecf5bcf4ad8e8ccfea42ad8e90eaeb7004c63875c6b700b0f863d68f1cdd932ebc7b303bdfb86d70afe88686e576c8ea7ccd9574c74e25b diff --git a/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.36.ebuild b/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.36.ebuild new file mode 100644 index 000000000000..9ddac4eebd99 --- /dev/null +++ b/dev-java/tomcat-servlet-api/tomcat-servlet-api-9.0.36.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +JAVA_PKG_IUSE="source" + +inherit eutils java-pkg-2 java-ant-2 + +MY_A="apache-${PN}-${PV}-src" +MY_P="${MY_A/-servlet-api/}" +DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation" +HOMEPAGE="https://tomcat.apache.org/" +SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="4.0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris" +IUSE="" + +DEPEND=">=virtual/jdk-1.8" +RDEPEND=">=virtual/jre-1.8" + +S="${WORKDIR}/${MY_P}/" + +src_prepare() { + default + + cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml" + rm -fR */*/build.xml + einfo "Removing bundled jars and classes" + find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} + + + java-pkg-2_src_prepare +} + +src_install() { + java-pkg_dojar "${S}"/output/build/lib/*.jar + use source && java-pkg_dosrc java/javax/servlet/ +} |