diff options
author | William Thomson <wltjr@gentoo.org> | 2006-09-03 22:12:31 +0000 |
---|---|---|
committer | William Thomson <wltjr@gentoo.org> | 2006-09-03 22:12:31 +0000 |
commit | 010f13ada38a256b4a80a47ff0c7ae01102992d2 (patch) | |
tree | e71f8e5e08534350fe4b22a88ed01e4019c74650 /dev-java/servletapi | |
parent | Adding patch as approved to be allowed to by chainsaw (diff) | |
download | gentoo-2-010f13ada38a256b4a80a47ff0c7ae01102992d2.tar.gz gentoo-2-010f13ada38a256b4a80a47ff0c7ae01102992d2.tar.bz2 gentoo-2-010f13ada38a256b4a80a47ff0c7ae01102992d2.zip |
Updated to latest Tomcat sources 5.5.17. Stopped using patch temporarily.
(Portage version: 2.1.1_rc1)
Diffstat (limited to 'dev-java/servletapi')
-rw-r--r-- | dev-java/servletapi/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/servletapi/files/digest-servletapi-2.4-r4 | 3 | ||||
-rw-r--r-- | dev-java/servletapi/servletapi-2.4-r4.ebuild | 53 |
3 files changed, 62 insertions, 1 deletions
diff --git a/dev-java/servletapi/ChangeLog b/dev-java/servletapi/ChangeLog index 79d33fe8ee5e..9c95629f132f 100644 --- a/dev-java/servletapi/ChangeLog +++ b/dev-java/servletapi/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/servletapi # Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/servletapi/ChangeLog,v 1.39 2006/07/23 00:39:19 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/servletapi/ChangeLog,v 1.40 2006/09/03 22:12:31 wltjr Exp $ + +*servletapi-2.4-r4 (03 Sep 2006) + + 03 Sep 2006; <wlt@gentoo.org> +servletapi-2.4-r4.ebuild: + Updated to latest Tomcat sources 5.5.17. Stopped using patch temporarily. 23 Jul 2006; Diego Pettenò <flameeyes@gentoo.org> servletapi-2.3-r3.ebuild, servletapi-2.4-r3.ebuild: diff --git a/dev-java/servletapi/files/digest-servletapi-2.4-r4 b/dev-java/servletapi/files/digest-servletapi-2.4-r4 new file mode 100644 index 000000000000..51d603367aa1 --- /dev/null +++ b/dev-java/servletapi/files/digest-servletapi-2.4-r4 @@ -0,0 +1,3 @@ +MD5 afedf090888029b19a1bebc471264105 apache-tomcat-5.5.17-src.tar.gz 4282022 +RMD160 004d87bc64b32eee42f9979d2fdbb36836b69015 apache-tomcat-5.5.17-src.tar.gz 4282022 +SHA256 295c9fa64d9aa81d5c836b694804d8d57fcfdbc76b9889a044852aa73f2c3ad8 apache-tomcat-5.5.17-src.tar.gz 4282022 diff --git a/dev-java/servletapi/servletapi-2.4-r4.ebuild b/dev-java/servletapi/servletapi-2.4-r4.ebuild new file mode 100644 index 000000000000..eda773881955 --- /dev/null +++ b/dev-java/servletapi/servletapi-2.4-r4.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/servletapi/servletapi-2.4-r4.ebuild,v 1.1 2006/09/03 22:12:31 wltjr Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +DESCRIPTION="Servlet API 2.4 from jakarta.apache.org" +HOMEPAGE="http://jakarta.apache.org/" +SRC_URI="mirror://apache/jakarta/tomcat-5/v5.5.17/src/apache-tomcat-5.5.17-src.tar.gz" + +LICENSE="Apache-1.1" +SLOT="2.4" +KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd" +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-5.5.17-src/servletapi" + +src_unpack() { + unpack ${A} + cd ${S} + #epatch ${FILESDIR}/gentoo-${P}-patch +} + +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 +} |