diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-03-21 09:34:56 +0100 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2023-03-22 06:34:55 +0100 |
commit | fa91c3cce75c19720a3cac85be82d5fabdd163c2 (patch) | |
tree | 9a8bb010cf85dd9faf534b4c0486bbe7d9b2f62f /dev-java/javax-servlet-api | |
parent | sys-apps/util-linux: Stabilize 2.38.1-r2 ppc64, #902599 (diff) | |
download | gentoo-fa91c3cce75c19720a3cac85be82d5fabdd163c2.tar.gz gentoo-fa91c3cce75c19720a3cac85be82d5fabdd163c2.tar.bz2 gentoo-fa91c3cce75c19720a3cac85be82d5fabdd163c2.zip |
dev-java/javax-servlet-api: add 3.0.1, 3.1.0
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/javax-servlet-api')
-rw-r--r-- | dev-java/javax-servlet-api/Manifest | 2 | ||||
-rw-r--r-- | dev-java/javax-servlet-api/javax-servlet-api-3.0.1.ebuild | 30 | ||||
-rw-r--r-- | dev-java/javax-servlet-api/javax-servlet-api-3.1.0.ebuild | 30 | ||||
-rw-r--r-- | dev-java/javax-servlet-api/metadata.xml | 4 |
4 files changed, 66 insertions, 0 deletions
diff --git a/dev-java/javax-servlet-api/Manifest b/dev-java/javax-servlet-api/Manifest index 1dff3cf160fc..414df790328e 100644 --- a/dev-java/javax-servlet-api/Manifest +++ b/dev-java/javax-servlet-api/Manifest @@ -1 +1,3 @@ +DIST javax.servlet-api-3.0.1-sources.jar 212871 BLAKE2B aea63157c3c0af5a40b7245ed0cab312b6d21419087d269374446e1c5f13200fb726a4533bf8d843a7e30d26266e4d9ae6c5e0b05004165ffcef14a7d179cf7b SHA512 9a955e4c8973af31f421f5651b0ae0c00fe4966318ef1849af97aa525736e262fa88b312c0acad093f25d7fa2c0903549d3e53b0cbc45afa7a2436b2c2282e7d +DIST javax.servlet-api-3.1.0-sources.jar 223386 BLAKE2B ca472d1312e3ebb86ac1f0d1971dbaa607143f856e56a5544cf30daa3c23745e0b338ca10f518300627a53adccf284da91c6f70a25001c5a030b3308b23cb89d SHA512 15c9e497a67c1702ff9f987713553ade10ddfc722ea69377e721b8b094491184efc5801aad420fdbbdffd1d23691328c6eb768d5ad580fc00f3a7eaa6411749c DIST servlet-api-2.5-sources.jar 158114 BLAKE2B 84997b9cc2122f49a850ac32089eb484bc4f68c4e73c7541cf70f453f0a0eaa0c037d6f2b8c8270d4122502f224a6943011f6a964da406093d0ad4bb173dc71e SHA512 6590adea214ba7f59e033b8f450ca8fd3a0764ac6aaf2789d5824ddeecc4c520d004242e42e3a058517d5f556a41a970f782dfde35b2cf184874a77063dc0fef diff --git a/dev-java/javax-servlet-api/javax-servlet-api-3.0.1.ebuild b/dev-java/javax-servlet-api/javax-servlet-api-3.0.1.ebuild new file mode 100644 index 000000000000..6361a7a227f3 --- /dev/null +++ b/dev-java/javax-servlet-api/javax-servlet-api-3.0.1.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="javax.servlet:javax.servlet-api:3.0.1" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JavaServlet(TM) Specification JSR-000315" +HOMEPAGE="https://javaee.github.io/servlet-spec/" +SRC_URI="https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/${PV}/javax.servlet-api-${PV}-sources.jar" + +LICENSE="CDDL GPL-2" +SLOT="3.0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=">=virtual/jdk-1.8:*" + +JAVA_RESOURCE_DIRS="resources" + +src_prepare() { + java-pkg-2_src_prepare + mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die + find . -type f ! -name '*.java' | xargs cp --parent -t resources || die + echo "Implementation-Version: 3.0.1" > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" + echo "Specification-Version: 3.0" >> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" +} diff --git a/dev-java/javax-servlet-api/javax-servlet-api-3.1.0.ebuild b/dev-java/javax-servlet-api/javax-servlet-api-3.1.0.ebuild new file mode 100644 index 000000000000..c9698cd87f04 --- /dev/null +++ b/dev-java/javax-servlet-api/javax-servlet-api-3.1.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +JAVA_PKG_IUSE="doc source" +MAVEN_ID="javax.servlet:javax.servlet-api:3.1.0" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="JavaServlet(TM) Specification JSR-000340" +HOMEPAGE="https://javaee.github.io/servlet-spec/" +SRC_URI="https://repo1.maven.org/maven2/javax/servlet/javax.servlet-api/${PV}/javax.servlet-api-${PV}-sources.jar" + +LICENSE="CDDL GPL-2" +SLOT="3.1" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86" + +RDEPEND=">=virtual/jre-1.8:*" +DEPEND=">=virtual/jdk-1.8:*" + +JAVA_RESOURCE_DIRS="resources" + +src_prepare() { + java-pkg-2_src_prepare + mkdir -p "${JAVA_RESOURCE_DIRS}/META-INF" || die + echo "Implementation-Version: 3.1.0" > "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" + echo "Specification-Version: 3.1" >> "${JAVA_RESOURCE_DIRS}/META-INF/MANIFEST.MF" + find . -type f -name '*.properties' | xargs cp --parent -t resources || die +} diff --git a/dev-java/javax-servlet-api/metadata.xml b/dev-java/javax-servlet-api/metadata.xml index 8295711f93e1..d59a3050ff33 100644 --- a/dev-java/javax-servlet-api/metadata.xml +++ b/dev-java/javax-servlet-api/metadata.xml @@ -7,6 +7,10 @@ <longdescription> Java Servlet is the foundation web specification in the Java Enterprise Platform. Developers can build web applications using the Servlet API to interact with the request/response workflow. </longdescription> + <slots> + <slot name="3.1">https://jcp.org/aboutJava/communityprocess/final/jsr340/</slot> + <slot name="3.0">https://jcp.org/aboutJava/communityprocess/final/jsr315/</slot> + </slots> <upstream> <doc>https://jcp.org/aboutJava/communityprocess/mrel/jsr154/</doc> </upstream> |