summaryrefslogtreecommitdiff
path: root/dev-java/servletapi
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
committerV3n3RiX <venerix@redcorelinux.org>2018-07-14 21:03:06 +0100
commit8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 (patch)
tree7681bbd4e8b05407772df40a4bf04cbbc8afc3fa /dev-java/servletapi
parent30a9caf154332f12ca60756e1b75d2f0e3e1822d (diff)
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-java/servletapi')
-rw-r--r--dev-java/servletapi/Manifest10
-rw-r--r--dev-java/servletapi/metadata.xml11
-rw-r--r--dev-java/servletapi/servletapi-2.2-r3.ebuild37
-rw-r--r--dev-java/servletapi/servletapi-2.2-r4.ebuild41
-rw-r--r--dev-java/servletapi/servletapi-2.3-r3.ebuild33
-rw-r--r--dev-java/servletapi/servletapi-2.3-r4.ebuild37
-rw-r--r--dev-java/servletapi/servletapi-2.4-r5.ebuild49
-rw-r--r--dev-java/servletapi/servletapi-2.4-r6.ebuild52
8 files changed, 270 insertions, 0 deletions
diff --git a/dev-java/servletapi/Manifest b/dev-java/servletapi/Manifest
new file mode 100644
index 000000000000..0d4eb744d889
--- /dev/null
+++ b/dev-java/servletapi/Manifest
@@ -0,0 +1,10 @@
+DIST apache-tomcat-5.5.20-src.tar.gz 4796377 BLAKE2B 34950d25c969006510dcff96deded7d0f05c7fa99cde0a8e59b22a93261dd6dca56c82aa281d1476324a4c3b608d2d31ffa6c4a03506d46ba187051ea5addf1c SHA512 1efab4625067ee423cd517b565b2d368bf3e19fd5fddedcb87644bdc5fc213cc7617e62438fd8da19d9dff99e13c5d6d9185f12849f7ce42efad52ff2d4df5f5
+DIST servletapi-2.2-20021101.tar.gz 65342 BLAKE2B 03674ca65e0cc509b04a6255d5dd20d26aa5053ed54588e9ba655330c56c9c523c5b382804aee9816cb9aa2ac19cccc1ad288ed06b2af85ba535854bc72bed73 SHA512 7dad5a52ab6bfca4b052d60a48fc89ce22a5eb790584671f24d8d22b163f2dffe93bea58caebc6b4ecb0bd8434a074c88f640aa57daa1cefbf47d74df758c084
+DIST servletapi-2.3-20021101.tar.gz 127874 BLAKE2B f78f8d0724e73ef4a21bbbef6a1b855c0a55c158dba2e3ed3ee7b6d48a60ce87881bbe6b38bf5098f48f1c3064bc73c072a485e550c1caf920710ecd6e27519f SHA512 a09a5e0cd7b8c557fca983646dc49284350ff9cac7a288013c6c4c7582923d1b16d6e6b68c73e74bc06fad628ab81da95e201106643b8f6564f984a9587bd03d
+EBUILD servletapi-2.2-r3.ebuild 872 BLAKE2B c77b6d7a1af5592371760d51f7e95240e933d9fa05cfdd8e7019fc1a8b9c38c32b63f08e4e7219e2456d93da407b25b0d26cb9bbc383a56b46cc1a57389aa3fd SHA512 4d856b7055049e5f9fbe98fb67c61989a309821da63e12c0a57530c068310860fce00fbecebd710c6e9b104a98143cf1432f423c858e53096dabac816f1a0516
+EBUILD servletapi-2.2-r4.ebuild 882 BLAKE2B ce5fc1d8d623da6e9758bf2c4c19deca4a5e7a626f3fa3f8cb0c09ff50439917ced8565451d822646aaadbb5ed92b2a6ec824095b2c76436a1e875d87ec5ac92 SHA512 ee9c52f8a21c6b0d293e6b9cba879b33ca9922fe921ece415a58299de5bcb5640aefb3fdd1dd43d5a8f9e6459eb6c3ced9ecc4c4db19601f1c5e448c53d373f9
+EBUILD servletapi-2.3-r3.ebuild 753 BLAKE2B 531bc8ee4a9530aae1cdd19a519073c71ec66e1393fe730d19420f921983d11a90a255c6a72cc417a9e159ad941a474e4b70f659f5ba7fd483bcdbdadcb0d530 SHA512 8b5259bf18610c8b38e2a71ac29566d71728cd22c1719203b8557fd5969f8562810b24aa86d187d79b257cb71e977832596ea6de31ff0deeee0ed74a2b15aa87
+EBUILD servletapi-2.3-r4.ebuild 763 BLAKE2B a27783abbcbbd66c59dcfc110769ca283f306fdf7496257ed372ffedd360f1dec2d7474ab2270796b8c2d3851e39bfc2484fac3a2aa621aa537a57bfe81c5b09 SHA512 4dbf71fa13fa765c2ca23e2cb937ad73135ee7cedf1cf5700bc1bc7f2417a2da6b88ca9257f5994c87d4567266df4d0ae20d5776e0bf8ed2d17f0846d1982030
+EBUILD servletapi-2.4-r5.ebuild 1259 BLAKE2B b31995bb2fceb65a435b808ba2cab5c04047520ad0de6b12185071f5f075d95661e3699f7d8219955a9a1aae1c15d869900c4934f9935ca2ca906bf223b73e9a SHA512 bbe7cab6ea34a4500bcd9aea94115bcc3023edc87a774f8e90e1b0f4f9728de476df6c0f3db5db0e14a3ae2c7b47f3033d9807d48bb9bd743357ac89dc0cd6ba
+EBUILD servletapi-2.4-r6.ebuild 1327 BLAKE2B 36594a4bede2001aaa886bdf6ede6376ecb84c3eaf38665b0dba3e3c2ca3c005f04d1fb46d104f5a311a65bb489bdab45a026a9220d386a6821bfb268860c0a5 SHA512 4fdafcd5392d748bb9331cfdc0c9139849682a0ed246a1f5e4cf5083270f135f88e8a257fe649d86b874e4732065cc00935192c57f82492081e5446e916b60dc
+MISC metadata.xml 343 BLAKE2B a80748e0afc76957694f9e0c5d086c538d4c88de015f5e66d7f1e0e21d38a2449f6986e708714610bc0ea3054b1330db2754f930c4500f213d8d6ca57f0b6c42 SHA512 62a67a69fdb781c32b070fa227e21223324678d315a5fa95687597744dd2d4afc26412ef0656d2e5cebc13d9ee2a0edf7f8e8f94b416a3996bb16b59bf2a83f3
diff --git a/dev-java/servletapi/metadata.xml b/dev-java/servletapi/metadata.xml
new file mode 100644
index 000000000000..61b379cee8a1
--- /dev/null
+++ b/dev-java/servletapi/metadata.xml
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="project">
+ <email>java@gentoo.org</email>
+ <name>Java</name>
+ </maintainer>
+ <longdescription>
+ The Apache Tomcat implementation of the Servlet API specification.
+ </longdescription>
+</pkgmetadata>
diff --git a/dev-java/servletapi/servletapi-2.2-r3.ebuild b/dev-java/servletapi/servletapi-2.2-r3.ebuild
new file mode 100644
index 000000000000..c2be8d3bd274
--- /dev/null
+++ b/dev-java/servletapi/servletapi-2.2-r3.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Servlet API 2.2 from jakarta.apache.org"
+HOMEPAGE="http://jakarta.apache.org/"
+SRC_URI="mirror://gentoo/${P}-20021101.tar.gz"
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.4"
+RDEPEND=">=virtual/jre-1.3"
+LICENSE="Apache-1.1"
+SLOT="2.2"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x64-solaris"
+IUSE="doc"
+S="${WORKDIR}/jakarta-servletapi-src"
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ sed -i 's/compile,javadoc/compile/' build.xml || die "sed failed"
+}
+
+EANT_BUILD_TARGET="all"
+
+src_install() {
+ java-pkg_dojar ../dist/servletapi/lib/servlet.jar
+
+ dodoc README || die
+ use doc && java-pkg_dojavadoc ../build/servletapi/docs/api
+ use source && java-pkg_dosrc src/share/javax
+}
diff --git a/dev-java/servletapi/servletapi-2.2-r4.ebuild b/dev-java/servletapi/servletapi-2.2-r4.ebuild
new file mode 100644
index 000000000000..e1a24d421468
--- /dev/null
+++ b/dev-java/servletapi/servletapi-2.2-r4.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Servlet API 2.2 from jakarta.apache.org"
+HOMEPAGE="http://jakarta.apache.org/"
+SRC_URI="mirror://gentoo/${P}-20021101.tar.gz"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ dev-java/ant-core:0
+ source? ( app-arch/zip )"
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris"
+LICENSE="Apache-1.1"
+SLOT="2.2"
+IUSE="doc"
+
+S="${WORKDIR}/jakarta-servletapi-src"
+
+EANT_BUILD_TARGET="all"
+
+src_prepare() {
+ default
+ sed -i 's/compile,javadoc/compile/' build.xml || die "sed failed"
+}
+
+src_install() {
+ einstalldocs
+ java-pkg_dojar ../dist/servletapi/lib/servlet.jar
+ use doc && java-pkg_dojavadoc ../build/servletapi/docs/api
+ use source && java-pkg_dosrc src/share/javax
+}
diff --git a/dev-java/servletapi/servletapi-2.3-r3.ebuild b/dev-java/servletapi/servletapi-2.3-r3.ebuild
new file mode 100644
index 000000000000..5fc18936fa10
--- /dev/null
+++ b/dev-java/servletapi/servletapi-2.3-r3.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Servlet API 2.3 from jakarta.apache.org"
+HOMEPAGE="http://jakarta.apache.org/"
+SRC_URI="mirror://gentoo/${P}-20021101.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="2.3"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~x86-macos ~x64-solaris"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.4
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jre-1.3"
+S="${WORKDIR}/jakarta-servletapi-4"
+
+src_compile() {
+ eant all
+}
+
+src_install() {
+ java-pkg_dojar dist/lib/servlet.jar
+
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/share/javax
+ dodoc dist/README.txt
+}
diff --git a/dev-java/servletapi/servletapi-2.3-r4.ebuild b/dev-java/servletapi/servletapi-2.3-r4.ebuild
new file mode 100644
index 000000000000..2c264a869899
--- /dev/null
+++ b/dev-java/servletapi/servletapi-2.3-r4.ebuild
@@ -0,0 +1,37 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit java-pkg-2 java-ant-2
+
+DESCRIPTION="Servlet API 2.3 from jakarta.apache.org"
+HOMEPAGE="https://jakarta.apache.org/"
+SRC_URI="mirror://gentoo/${P}-20021101.tar.gz"
+
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x86-macos ~x64-solaris"
+LICENSE="Apache-1.1"
+SLOT="2.3"
+IUSE="doc source"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ >=dev-java/ant-core-1.4
+ source? ( app-arch/zip )"
+
+RDEPEND="
+ >=virtual/jre-1.6"
+
+S="${WORKDIR}/jakarta-servletapi-4"
+
+src_compile() {
+ eant all
+}
+
+src_install() {
+ java-pkg_dojar dist/lib/servlet.jar
+
+ use doc && java-pkg_dohtml -r dist/docs/*
+ use source && java-pkg_dosrc src/share/javax
+ dodoc dist/README.txt
+}
diff --git a/dev-java/servletapi/servletapi-2.4-r5.ebuild b/dev-java/servletapi/servletapi-2.4-r5.ebuild
new file mode 100644
index 000000000000..6c22f6744b7c
--- /dev/null
+++ b/dev-java/servletapi/servletapi-2.4-r5.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=0
+
+inherit eutils java-pkg-2 java-ant-2
+
+TC_VERSION="5.5.20"
+DESCRIPTION="Servlet API 2.4 from jakarta.apache.org"
+HOMEPAGE="http://jakarta.apache.org/"
+SRC_URI="http://archive.apache.org/dist/tomcat/tomcat-5/v${TC_VERSION}/src/apache-tomcat-${TC_VERSION}-src.tar.gz"
+
+LICENSE="Apache-1.1"
+SLOT="2.4"
+KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+IUSE="doc source"
+
+DEPEND=">=virtual/jdk-1.4
+ >=dev-java/ant-core-1.5
+ source? ( app-arch/zip )"
+RDEPEND=">=virtual/jdk-1.4"
+
+S="${WORKDIR}/apache-tomcat-${TC_VERSION}-src/servletapi"
+
+src_compile() {
+ local antflags="jar $(use_doc javadoc examples)"
+ eant ${antflags} -f jsr154/build.xml
+ eant ${antflags} -f jsr152/build.xml
+}
+
+src_install() {
+ mv jsr{154,152}/dist/lib/*.jar "${S}"
+
+ if use doc ; then
+ mkdir docs
+ cd "${S}"/jsr154/build
+ mv docs "${S}"/docs/servlet
+ mv examples "${S}"/docs/servlet/examples
+
+ cd "${S}"/jsr152/build
+ mv docs "${S}"/docs/jsp
+ mv examples "${S}"/docs/jsp/examples
+ fi
+
+ cd "${S}"
+ java-pkg_dojar *.jar
+ use doc && java-pkg_dohtml -r docs/*
+ use source && java-pkg_dosrc jsr{152,154}/src/share/javax
+}
diff --git a/dev-java/servletapi/servletapi-2.4-r6.ebuild b/dev-java/servletapi/servletapi-2.4-r6.ebuild
new file mode 100644
index 000000000000..13f902f52c07
--- /dev/null
+++ b/dev-java/servletapi/servletapi-2.4-r6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils java-pkg-2 java-ant-2
+
+TC_VERSION="5.5.20"
+DESCRIPTION="Servlet API 2.4 from jakarta.apache.org"
+HOMEPAGE="https://jakarta.apache.org/"
+SRC_URI="https://archive.apache.org/dist/tomcat/tomcat-5/v${TC_VERSION}/src/apache-tomcat-${TC_VERSION}-src.tar.gz"
+
+SLOT="2.4"
+KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~x86-solaris"
+LICENSE="Apache-1.1"
+IUSE="doc source"
+
+DEPEND="
+ >=virtual/jdk-1.6
+ dev-java/ant-core:0
+ source? ( app-arch/zip )"
+
+RDEPEND="
+ >=virtual/jdk-1.4"
+
+S="${WORKDIR}/apache-tomcat-${TC_VERSION}-src/servletapi"
+
+src_compile() {
+ local antflags="jar $(use_doc javadoc examples)"
+ eant ${antflags} -f jsr154/build.xml
+ eant ${antflags} -f jsr152/build.xml
+}
+
+src_install() {
+ mv jsr{154,152}/dist/lib/*.jar "${S}" || die
+
+ if use doc; then
+ mkdir docs || die
+ cd "${S}"/jsr154/build || die
+ mv docs "${S}"/docs/servlet || die
+ mv examples "${S}"/docs/servlet/examples || die
+
+ cd "${S}"/jsr152/build || die
+ mv docs "${S}"/docs/jsp || die
+ mv examples "${S}"/docs/jsp/examples || die
+ fi
+
+ cd "${S}" || die
+ java-pkg_dojar *.jar
+ use doc && java-pkg_dohtml -r docs/*
+ use source && java-pkg_dosrc jsr{152,154}/src/share/javax
+}