summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlistair Bush <ali_bush@gentoo.org>2007-11-20 05:26:24 +0000
committerAlistair Bush <ali_bush@gentoo.org>2007-11-20 05:26:24 +0000
commit87317bacfdd9ff91ae76f6be3318550529660ae9 (patch)
tree1de915291b857ad9981ef7e31e0790659c2bd816
parentStable on mips, per #195253. (diff)
downloadgentoo-2-87317bacfdd9ff91ae76f6be3318550529660ae9.tar.gz
gentoo-2-87317bacfdd9ff91ae76f6be3318550529660ae9.tar.bz2
gentoo-2-87317bacfdd9ff91ae76f6be3318550529660ae9.zip
Bumping to support javamail virtual.
(Portage version: 2.1.3.19)
-rw-r--r--dev-java/jax-rpc/ChangeLog7
-rw-r--r--dev-java/jax-rpc/files/digest-jax-rpc-1.1.3.01-r13
-rw-r--r--dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild82
3 files changed, 91 insertions, 1 deletions
diff --git a/dev-java/jax-rpc/ChangeLog b/dev-java/jax-rpc/ChangeLog
index 1067e6e47638..fcd320322292 100644
--- a/dev-java/jax-rpc/ChangeLog
+++ b/dev-java/jax-rpc/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-java/jax-rpc
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/ChangeLog,v 1.7 2007/11/15 00:49:17 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/ChangeLog,v 1.8 2007/11/20 05:26:23 ali_bush Exp $
+
+*jax-rpc-1.1.3.01-r1 (20 Nov 2007)
+
+ 20 Nov 2007; <alistair@gentoo.org> +jax-rpc-1.1.3.01-r1.ebuild:
+ Bumping to support javamail virtual.
15 Nov 2007; Petteri Räty <betelgeuse@gentoo.org>
jax-rpc-1.1.3.01.ebuild:
diff --git a/dev-java/jax-rpc/files/digest-jax-rpc-1.1.3.01-r1 b/dev-java/jax-rpc/files/digest-jax-rpc-1.1.3.01-r1
new file mode 100644
index 000000000000..450b73ec5400
--- /dev/null
+++ b/dev-java/jax-rpc/files/digest-jax-rpc-1.1.3.01-r1
@@ -0,0 +1,3 @@
+MD5 74dd8c5c740a6ea444212061eaa85292 jax-rpc-1.1.3.01.tar.bz2 763737
+RMD160 08821b69d431e1a59ca5d0018cd5d28a13d8b8ff jax-rpc-1.1.3.01.tar.bz2 763737
+SHA256 54d29016732aefb35892b98a7393a8d47061e37933e8387292fd103d2488542e jax-rpc-1.1.3.01.tar.bz2 763737
diff --git a/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild b/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild
new file mode 100644
index 000000000000..fb9cbb0e9627
--- /dev/null
+++ b/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild
@@ -0,0 +1,82 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jax-rpc/jax-rpc-1.1.3.01-r1.ebuild,v 1.1 2007/11/20 05:26:23 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc source"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+DESCRIPTION="Reference Implementation of JAX-RPC, the Java APIs for XML based RPC"
+HOMEPAGE="http://jax-rpc.dev.java.net/"
+# CVS: cvs -d :pserver:guest@cvs.dev.java.net:/cvs checkout -r JAXRPC_1_1_3_01_PKG_081806 jax-rpc/jaxrpc-ri
+SRC_URI="mirror://gentoo/${P}.tar.bz2"
+
+LICENSE="CDDL"
+SLOT="0"
+KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd"
+
+IUSE=""
+
+COMMON_DEP="=dev-java/servletapi-2.4*
+ dev-java/fastinfoset
+ dev-java/jaxp
+ dev-java/jsr67
+ dev-java/jsr101
+ dev-java/jsr173
+ dev-java/relaxng-datatype
+ dev-java/saaj
+ dev-java/sax
+ dev-java/sun-jaf
+ java-virtuals/javamail
+ dev-java/xsdlib
+ >=dev-java/xerces-2.8"
+RDEPEND=">=virtual/jre-1.5
+ ${COMMON_DEP}"
+DEPEND=">=virtual/jdk-1.5
+ ${COMMON_DEP}"
+
+EANT_BUILD_TARGET="image"
+EANT_DOC_TARGET="javadocs"
+EANT_EXTRA_ARGS="-Djava.mail=lib/mail.jar"
+
+S="${WORKDIR}/jaxrpc-ri"
+
+src_unpack() {
+
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-length.patch"
+
+ cd "${S}/lib"
+
+ java-pkg_jar-from --build-only ant-core
+ java-pkg_jar-from fastinfoset fastinfoset.jar FastInfoset.jar
+ java-pkg_jar-from jaxp
+ java-pkg_jar-from jsr67 jsr67.jar saaj-api.jar
+ java-pkg_jar-from jsr101
+ java-pkg_jar-from jsr173 jsr173.jar jsr173_api.jar
+ java-pkg_jar-from relaxng-datatype
+ java-pkg_jar-from saaj saaj.jar saaj-impl.jar
+ java-pkg_jar-from sax
+ java-pkg_jar-from servletapi-2.4 servlet-api.jar servlet.jar
+ java-pkg_jar-from sun-jaf
+ java-pkg_jar-from --virtual javamail
+ java-pkg_jar-from xsdlib
+ java-pkg_jar-from xerces-2
+
+ cd "${S}/src"
+ find . -name '*.java' -exec sed -i \
+ -e 's,com.sun.org.apache.xerces.internal,org.apache.xerces,g' \
+ {} \;
+
+}
+
+src_install() {
+
+ java-pkg_dojar "build/lib/jaxrpc-spi.jar"
+ java-pkg_dojar "build/lib/jaxrpc-impl.jar"
+
+ use doc && java-pkg_dojavadoc build/javadocs
+ use source && java-pkg_dosrc src
+
+}