From: Petteri Räty Date: Fri, 21 Oct 2005 14:27:32 +0000 (+0000) Subject: Initial addition. Ebuilds contributed by Josh Nichols . Fixes... X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=ceffa19f96cdc9d5cd362aad8ce681c9297641d3;p=gentoo.git Initial addition. Ebuilds contributed by Josh Nichols . Fixes bug 97007. Package-Manager: portage-2.0.53_rc6 --- diff --git a/dev-java/hessian/ChangeLog b/dev-java/hessian/ChangeLog new file mode 100644 index 000000000000..6ee25b4c9b83 --- /dev/null +++ b/dev-java/hessian/ChangeLog @@ -0,0 +1,13 @@ +# ChangeLog for dev-java/hessian +# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hessian/ChangeLog,v 1.1 2005/10/21 14:27:32 betelgeuse Exp $ + +*hessian-3.0.8 (21 Oct 2005) +*hessian-2.1.12 (21 Oct 2005) + + 21 Oct 2005; Petteri Räty + +files/build-2.1.12.xml, +files/build-3.0.8.xml, +metadata.xml, + +hessian-2.1.12.ebuild, +hessian-3.0.8.ebuild: + Initial addition. Ebuilds contributed by Josh Nichols + . Fixes bug 97007. + diff --git a/dev-java/hessian/Manifest b/dev-java/hessian/Manifest new file mode 100644 index 000000000000..484979004309 --- /dev/null +++ b/dev-java/hessian/Manifest @@ -0,0 +1,18 @@ +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 85697aa16eaa82f8525fd00572e68dc4 ChangeLog 537 +MD5 c089b7d34f96c556a34bb8c402794023 files/build-2.1.12.xml 1546 +MD5 c089b7d34f96c556a34bb8c402794023 files/build-3.0.8.xml 1546 +MD5 dd6372768b0929aa8504a4526358ff34 files/digest-hessian-2.1.12 67 +MD5 3b1b79f1af4dbee2b94e9b3cfaaea881 files/digest-hessian-3.0.8 66 +MD5 d88b891bd498395b1eff5947e9eb2af5 hessian-2.1.12.ebuild 1392 +MD5 2a9065ad1f5a548c679e89cef42daab2 hessian-3.0.8.ebuild 1367 +MD5 1ee3b9eb31c4a1302dc9c690a069fb77 metadata.xml 493 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.2 (GNU/Linux) + +iD8DBQFDWPsTQiJ/wx066S4RAvvmAKCL2IxiweqjM/di+aK/mrkSh7wMEQCbBuRb +GQNoxyPRls53jBeCfsquZa8= +=pOu3 +-----END PGP SIGNATURE----- diff --git a/dev-java/hessian/files/build-2.1.12.xml b/dev-java/hessian/files/build-2.1.12.xml new file mode 100644 index 000000000000..4153ebfa4868 --- /dev/null +++ b/dev-java/hessian/files/build-2.1.12.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/hessian/files/build-3.0.8.xml b/dev-java/hessian/files/build-3.0.8.xml new file mode 100644 index 000000000000..4153ebfa4868 --- /dev/null +++ b/dev-java/hessian/files/build-3.0.8.xml @@ -0,0 +1,54 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/dev-java/hessian/files/digest-hessian-2.1.12 b/dev-java/hessian/files/digest-hessian-2.1.12 new file mode 100644 index 000000000000..89d985e80d26 --- /dev/null +++ b/dev-java/hessian/files/digest-hessian-2.1.12 @@ -0,0 +1 @@ +MD5 8497ee44b693e5195c3e54e944245aa1 hessian-2.1.12-src.jar 112567 diff --git a/dev-java/hessian/files/digest-hessian-3.0.8 b/dev-java/hessian/files/digest-hessian-3.0.8 new file mode 100644 index 000000000000..cc7053a5d4bf --- /dev/null +++ b/dev-java/hessian/files/digest-hessian-3.0.8 @@ -0,0 +1 @@ +MD5 de8cb0063ef400a2f0f98a42f3714e5a hessian-3.0.8-src.jar 184076 diff --git a/dev-java/hessian/hessian-2.1.12.ebuild b/dev-java/hessian/hessian-2.1.12.ebuild new file mode 100644 index 000000000000..750f59f2dbaf --- /dev/null +++ b/dev-java/hessian/hessian-2.1.12.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hessian/hessian-2.1.12.ebuild,v 1.1 2005/10/21 14:27:32 betelgeuse Exp $ + +inherit java-pkg + +DESCRIPTION="The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols." +HOMEPAGE="http://www.caucho.com/hessian/" +SRC_URI="http://www.caucho.com/hessian/download/${P}-src.jar" + +LICENSE="Apache-1.1" +SLOT="2.1" +KEYWORDS="~x86" +IUSE="doc jikes source" + +DEPEND=">=virtual/jdk-1.4 + jikes? ( dev-java/jikes ) + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4 + =dev-java/servletapi-2.3*" + +src_unpack() { + jar xvf ${DISTDIR}/${A} + + # We need to move things around a bit + mkdir -p ${S}/src + mv com ${S}/src + + cd ${S} + # No included ant script! Bad Java developer, bad! + cp ${FILESDIR}/build-${PVR}.xml build.xml + + # Populate classpath + echo "classpath=$(java-pkg_getjars servletapi-2.3)" >> build.properties +} + +src_compile() { + local antflags="-Dproject.name=${PN} jar" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/hessian/hessian-3.0.8.ebuild b/dev-java/hessian/hessian-3.0.8.ebuild new file mode 100644 index 000000000000..c456bcd1d121 --- /dev/null +++ b/dev-java/hessian/hessian-3.0.8.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/hessian/hessian-3.0.8.ebuild,v 1.1 2005/10/21 14:27:32 betelgeuse Exp $ + +inherit java-pkg + +DESCRIPTION="The Hessian binary web service protocol makes web services usable without requiring a large framework, and without learning yet another alphabet soup of protocols." +HOMEPAGE="http://www.caucho.com/hessian/" +SRC_URI="http://www.caucho.com/hessian/download/${P}-src.jar" + +LICENSE="Apache-1.1" +SLOT="3.0.8" +KEYWORDS="~x86" +IUSE="doc jikes source" + +DEPEND=">=virtual/jdk-1.4 + app-arch/unzip + jikes? ( dev-java/jikes ) + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4 + =dev-java/servletapi-2.3*" + +src_unpack() { + mkdir -p ${P}/src + unzip -qq -d ${S}/src ${DISTDIR}/${A} + + cd ${S} + # No included ant script! Bad Java developer, bad! + cp ${FILESDIR}/build-${PVR}.xml build.xml + + # Populate classpath + echo "classpath=$(java-pkg_getjars servletapi-2.3)" >> build.properties +} + +src_compile() { + local antflags="-Dproject.name=${PN} jar" + use jikes && antflags="-Dbuild.compiler=jikes ${antflags}" + use doc && antflags="${antflags} javadoc" + + ant ${antflags} || die "Compilation failed" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/* +} diff --git a/dev-java/hessian/metadata.xml b/dev-java/hessian/metadata.xml new file mode 100644 index 000000000000..dd8d2a5c5026 --- /dev/null +++ b/dev-java/hessian/metadata.xml @@ -0,0 +1,11 @@ + + + +java + +The Hessian binary web service protocol makes web services usable without +requiring a large framework, and without learning yet another alphabet soup +of protocols. Because it is a binary protocol, it is well-suited to sending +binary data without any need to extend the protocol with attachments. + +