diff options
Diffstat (limited to 'dev-java/servletapi')
-rw-r--r-- | dev-java/servletapi/Manifest | 9 | ||||
-rw-r--r-- | dev-java/servletapi/metadata.xml | 11 | ||||
-rw-r--r-- | dev-java/servletapi/servletapi-2.2-r3.ebuild | 35 | ||||
-rw-r--r-- | dev-java/servletapi/servletapi-2.3-r3.ebuild | 31 | ||||
-rw-r--r-- | dev-java/servletapi/servletapi-2.4-r5.ebuild | 47 |
5 files changed, 133 insertions, 0 deletions
diff --git a/dev-java/servletapi/Manifest b/dev-java/servletapi/Manifest new file mode 100644 index 000000000000..bd29a4be11ec --- /dev/null +++ b/dev-java/servletapi/Manifest @@ -0,0 +1,9 @@ +DIST apache-tomcat-5.5.20-src.tar.gz 4796377 SHA256 19f24717fb3e2db902c33e21650dfa88bbf98428c15b1ed68ecaf7a9150e4a77 SHA512 1efab4625067ee423cd517b565b2d368bf3e19fd5fddedcb87644bdc5fc213cc7617e62438fd8da19d9dff99e13c5d6d9185f12849f7ce42efad52ff2d4df5f5 WHIRLPOOL cc51ba272acd86b817caad22637bb8b48b40c114cf0a0f99fc6ef4e2b7723123468c117f32a92dff42b0234c4359eb583b8dccc61ee889dcc5232f30f4c8224d +DIST servletapi-2.2-20021101.tar.gz 65342 SHA256 404e2c55423c609122921a91e03f2b67d371fedc0af8996e005862d83d626697 SHA512 7dad5a52ab6bfca4b052d60a48fc89ce22a5eb790584671f24d8d22b163f2dffe93bea58caebc6b4ecb0bd8434a074c88f640aa57daa1cefbf47d74df758c084 WHIRLPOOL beb0e14920a8623d276c8823e6291aacb4b4d5d0539f5de431ce6f94582df9b260d4e04e0d0b650c59f7ca168f4af9352fffbfc0506b2530464a3bcdcf6ac0d1 +DIST servletapi-2.3-20021101.tar.gz 127874 SHA256 1f73439d3d0f6e95e24d4226c10829c1622a86911a346d93ceefed5035a6caee SHA512 a09a5e0cd7b8c557fca983646dc49284350ff9cac7a288013c6c4c7582923d1b16d6e6b68c73e74bc06fad628ab81da95e201106643b8f6564f984a9587bd03d WHIRLPOOL c365c77736ff27669335152928b9fde2288dc994a03a7f04af27aa3bd9462e7be3e3b89a3f0ac070a4bccc18d852086fd8c137471c86cab4812abc70f5e79036 +EBUILD servletapi-2.2-r3.ebuild 874 SHA256 5a317e8f8132737823b002f25287fea5d5def783ff3583172c72d9899d656520 SHA512 7dd16250131c84424a81bd038e86956af8c871ca12fe77b335e2d328858fd5f30f138c5f2c7a93d2b797641a8af7459e6f401b37a914927818ddd9f132f16f67 WHIRLPOOL 6c3442bf3ce33d754e13a42666038820b024f6ddbf85dfefdd8550fa4d1b46c319f79849bb5b2636152a791299b545b0283b2622b5e34de7e66c3e4d138c2998 +EBUILD servletapi-2.3-r3.ebuild 755 SHA256 55af712391716b24235c98f5ece3e2fd7660d193a7fe3b38605d2bd80e06646e SHA512 c47fa89bab9b9c65be375b99f19fb5467907806c4363609e4b443ce7e836fdaa1a9e183c970a8c4dfae738d7c392523371b1dcca03f3b49d876bc66d15e318fc WHIRLPOOL fabd6e3976ea317849092856cf99a219a7a7dfa3d1ade82e291c4b2a8f64fa210736a7659dd7043d804e7999f06ea5b317fa804e1337f6d15239f7d97d6b62df +EBUILD servletapi-2.4-r5.ebuild 1261 SHA256 9d5e77d2bed84585a0bb4401f0f2911097d399eeeb715b40357bf6365354e180 SHA512 4e00cc80f7ef0e92922ba2bfb89fa7c5225e97ef41288e0ba096078363c8c06894b343fa98d4cdc050cc7ef8a4b9e210da441992c304aaef11a7806433176966 WHIRLPOOL def3f808fb7cad1aa29d95fd53c88e955237a44ddae001a355c3ae141ebb3f013e562990b77a66edf61d6b431cb203717339d326510e2d2856bb9022dcada1b9 +MISC ChangeLog 2756 SHA256 388917ec4b19c3994d2ad6b18cd09c10c3c057bd4c8e5ffd81f4e9a4bd2e72f9 SHA512 bc36a0d3caef7b6d924ac91e2cb033de12391a556bd2844ef00058cce57116eb55bf759abaadc53b99d53418e186572c9307443c07ed01b4cbebbe1ea693a13c WHIRLPOOL e5aa4097595a548e6135d5b769bb58565d3a2ca39ada4bf7f96109d3d3c9708d32a606762564a542bae2eb366d5bf2ca519e8b0409e47c801da411a75491e99d +MISC ChangeLog-2015 10471 SHA256 c6332533fb28e06a764a78d152f3d0e7c528f9ac61b12d48ebeee3d91f55b5c4 SHA512 a657b7ee74a643d5c07937b7cb57d18caceaefc10927a6f7b0ff899bb40c95c29bf8291cc0a44d7b59a6099d9aaed70b5c54cf4d2ee9a49e4936a886b164f218 WHIRLPOOL 053fcc592d2b30f69daf8f64ff3a62a86ebef3f2a232106e9ab49c389fd70a303a6ad72b6c9ca0445702ab7ddbf8c72030abb3387b484440dd4466422400c467 +MISC metadata.xml 343 SHA256 62c7a4ea1333a9631a516e6cd02f524ede7f3d7ad467feeca0777ed556d8a298 SHA512 62a67a69fdb781c32b070fa227e21223324678d315a5fa95687597744dd2d4afc26412ef0656d2e5cebc13d9ee2a0edf7f8e8f94b416a3996bb16b59bf2a83f3 WHIRLPOOL b923a685ccba79b4ef25d2e64341112df472bbc31c281179947929d3075f652d3490f0a2fdf3963e2ad83b73b19d808574e9e7b7816b0a3e8b7694534dfe66a1 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..32c3fbd50eee --- /dev/null +++ b/dev-java/servletapi/servletapi-2.2-r3.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~x86-fbsd ~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.3-r3.ebuild b/dev-java/servletapi/servletapi-2.3-r3.ebuild new file mode 100644 index 000000000000..5f11bf552500 --- /dev/null +++ b/dev-java/servletapi/servletapi-2.3-r3.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~x86-fbsd ~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.4-r5.ebuild b/dev-java/servletapi/servletapi-2.4-r5.ebuild new file mode 100644 index 000000000000..0537d0b2a61d --- /dev/null +++ b/dev-java/servletapi/servletapi-2.4-r5.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +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 ~x86-fbsd ~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 +} |