summaryrefslogtreecommitdiff
path: root/dev-java/javax-jsp-api
diff options
context:
space:
mode:
Diffstat (limited to 'dev-java/javax-jsp-api')
-rw-r--r--dev-java/javax-jsp-api/Manifest6
-rw-r--r--dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild37
-rw-r--r--dev-java/javax-jsp-api/javax-jsp-api-2.2.ebuild2
-rw-r--r--dev-java/javax-jsp-api/metadata.xml4
4 files changed, 46 insertions, 3 deletions
diff --git a/dev-java/javax-jsp-api/Manifest b/dev-java/javax-jsp-api/Manifest
index de84ef7ee128..5aa6a2f5ed4c 100644
--- a/dev-java/javax-jsp-api/Manifest
+++ b/dev-java/javax-jsp-api/Manifest
@@ -1,3 +1,5 @@
+DIST jsp-api-2.0-sources.jar 118348 BLAKE2B d9f615961a6ef2afb1447477d44e4f49eaf9137f62ba596c40d7437c8d4973a68f689189255bcc6bae5e5970b23c8e93fbabcad2fb230f54963dad55eef2a8f7 SHA512 4f38ed56e9e51a979488a26fde36905748674e225a10df82259891fa85f8493575a58babb7620b27a96ab7e83002433ae4ee60f700a866e330642c7dd0a0f7a8
DIST jsp-api-2.2-sources.jar 163137 BLAKE2B 8bac5428393518cb3edb8488eaaab772d37db51dfbc5b466eabcb5b8ccd90cfa4869ebe65d861c64a6c588c8ede3ab1f5ab0c2e9080dde16c0585a7f774abb05 SHA512 ff79c34904372b722501b4479cbf88796017839d636a31b9343ef9104d93e3554154b3124f366295d05a41dc8320ff8bc83e9f8ee971df35c791220065b70647
-EBUILD javax-jsp-api-2.2.ebuild 658 BLAKE2B 4a9e70c74d73808e85fb01f8902f5aab33ca44193207d9bf5860d37223f8d1ae44893f77f62e70d24ce405866daba6459a0afe24eff7b8c999272cc930a21fe9 SHA512 8b977653675d332f472c50fd1738fed4c35271117d0694fd4d3f21c1edd1b28463a74639cc7c8cc69ee61f9eea6af2f8fec32bab6f9d3c9d3ede864fe277be37
-MISC metadata.xml 217 BLAKE2B cb41a7bd7e5c55319465d67551eae75371cc72d58629c61f70a7f54c388645d5ab1427c66dfdd5954e36ca40f0d3209f871d476cacd61516dd57e3297aaa601f SHA512 4df8395dcf07c52adadee71ad7dfa9f611ade8485cc9869397d0037272ae9add9b40d90669da8b80e578b4ee14c512da01ba096abe39a5859ac71c5316e425b6
+EBUILD javax-jsp-api-2.0.ebuild 881 BLAKE2B 891baf449a9ddf2bc0bb08ed1e998b4ec4105aa0698d87e559d22e36cec297d67fd4cd0d9147aaf70bf53ce93ac98fad855b08ad424c7d8627661b0811d70aaa SHA512 4bed609acd8e2a80505ff3b0ab5af0a7bb03cb04e18a1fc9bea0e3541977afa9b5f5129b4daa192ff6873e3ac0b44153a86ac594bad19c16fc6bdac982386786
+EBUILD javax-jsp-api-2.2.ebuild 680 BLAKE2B 1514d4292c0773b0399278b4ef429daf6a8905a642cab40db51294615dc436b8d46cf5bce6e2a5ffc44427affc025b908f6f2d76ed25fa1a16f1a1a5c885cdb3 SHA512 f72a7e8abb70be349f07c250f07918e3b0d3d9424f244012785db10780860128760f454d3b65654a697673ef5b797c8f628cb0d47028ed1e462dab81894eee2b
+MISC metadata.xml 401 BLAKE2B 40264e86d6dff5d7213a7fc268e24ae9ac46766871898ddc6f1bf0ec071b6d15d3440f3b8d4670b9d04699d29c02bd31398b760b9c23ede325a30d2eb12d6c8a SHA512 9d2ed45cc0db1fb816a8efa0540beb092ef9598f044db6352c2b703085bf07c3d82f46fdef3f81bd5784f10db84e86e19821292cb638c0e000293f48def2b999
diff --git a/dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild b/dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild
new file mode 100644
index 000000000000..719f7a2a80d6
--- /dev/null
+++ b/dev-java/javax-jsp-api/javax-jsp-api-2.0.ebuild
@@ -0,0 +1,37 @@
+# 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.jsp:jsp-api:2.0"
+
+inherit java-pkg-2 java-pkg-simple
+
+DESCRIPTION="JavaServer Pages(TM) API JSR-000152 JSR-000245"
+HOMEPAGE="https://jcp.org/aboutJava/communityprocess/final/jsr152/"
+SRC_URI="https://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/${PV}/jsp-api-${PV}-sources.jar"
+
+LICENSE="CDDL GPL-2-with-classpath-exception"
+SLOT="2.0"
+KEYWORDS="~amd64 ~arm ~arm64"
+
+CP_DEPEND="dev-java/javax-servlet-api:2.5"
+
+RDEPEND="
+ ${CP_DEPEND}
+ >=virtual/jre-1.8:*
+"
+
+DEPEND="
+ ${CP_DEPEND}
+ >=virtual/jdk-1.8:*
+"
+
+JAVA_RESOURCE_DIRS="resources"
+
+src_prepare() {
+ java-pkg-2_src_prepare
+ mkdir -p "${JAVA_RESOURCE_DIRS}/javax/servlet/jsp/resources" || die
+ mv dtd/* "${JAVA_RESOURCE_DIRS}/javax/servlet/jsp/resources" || die
+}
diff --git a/dev-java/javax-jsp-api/javax-jsp-api-2.2.ebuild b/dev-java/javax-jsp-api/javax-jsp-api-2.2.ebuild
index 08ba0896f5f7..a4d45d389408 100644
--- a/dev-java/javax-jsp-api/javax-jsp-api-2.2.ebuild
+++ b/dev-java/javax-jsp-api/javax-jsp-api-2.2.ebuild
@@ -8,7 +8,7 @@ MAVEN_ID="javax.servlet.jsp:jsp-api:2.2"
inherit java-pkg-2 java-pkg-simple
-DESCRIPTION="JavaServer Pages(TM) API"
+DESCRIPTION="JavaServer Pages(TM) API JSR-000152 JSR-000245"
HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
SRC_URI="https://repo1.maven.org/maven2/javax/servlet/jsp/jsp-api/${PV}/jsp-api-${PV}-sources.jar"
diff --git a/dev-java/javax-jsp-api/metadata.xml b/dev-java/javax-jsp-api/metadata.xml
index 75321cfb5598..882410dd6f2e 100644
--- a/dev-java/javax-jsp-api/metadata.xml
+++ b/dev-java/javax-jsp-api/metadata.xml
@@ -4,4 +4,8 @@
<maintainer type="project">
<email>java@gentoo.org</email>
</maintainer>
+ <slots>
+ <slot name="2.0">https://jcp.org/aboutJava/communityprocess/final/jsr152/</slot>
+ <slot name="2.2">https://jcp.org/aboutJava/communityprocess/mrel/jsr245/</slot>
+ </slots>
</pkgmetadata>