From 41de8f7b13f66a97013d76fa84531a307c497de2 Mon Sep 17 00:00:00 2001 From: Patrice Clement Date: Fri, 2 Oct 2015 09:07:27 +0000 Subject: [PATCH] dev-java/hessian: EAPI 5 bump. Version bump. Package-Manager: portage-2.2.18 Signed-off-by: Patrice Clement --- dev-java/hessian/Manifest | 1 + dev-java/hessian/files/3.0.8-java5.patch | 28 ------------- dev-java/hessian/files/build-3.0.8.xml | 52 ------------------------ dev-java/hessian/files/build.xml-3.0.20 | 27 ------------ dev-java/hessian/files/build.xml-3.1.6 | 27 ------------ dev-java/hessian/hessian-4.0.37.ebuild | 29 +++++++++++++ 6 files changed, 30 insertions(+), 134 deletions(-) delete mode 100644 dev-java/hessian/files/3.0.8-java5.patch delete mode 100644 dev-java/hessian/files/build-3.0.8.xml delete mode 100644 dev-java/hessian/files/build.xml-3.0.20 delete mode 100644 dev-java/hessian/files/build.xml-3.1.6 create mode 100644 dev-java/hessian/hessian-4.0.37.ebuild diff --git a/dev-java/hessian/Manifest b/dev-java/hessian/Manifest index 5c92f9fe7163..3d783fb298cd 100644 --- a/dev-java/hessian/Manifest +++ b/dev-java/hessian/Manifest @@ -1 +1,2 @@ DIST hessian-4.0.3-src.jar 374965 SHA256 1084632007a583c2669e90ec5d72d7ffcb5ab0e14d4209c03adefdd144b252ed SHA512 88185b981f7ba95874899b0ccdddc9e30340e31e43e45c73722a2db8c40cb052d93a98c55aa046a0cc946c722045bfeb618390d2dde8c162916e67a22d68b0fc WHIRLPOOL df8a7aabf2010c6868e0e0a092aebfecaa42c0eec22588dd422177b1ad8524851dd7637f67b15e5b442a2e0c3762222d7ce05851edefdd39cf9885ccd2a2553b +DIST hessian-4.0.37-src.jar 388678 SHA256 b0365ffcf2a91e5c724878c47882a1649d15db6b495592df491d759ba3c1c760 SHA512 9d03293b596d7e352591a61ad9d464b29502ba6f2f2f9b275b80bfc609aa882a3b7304cdca99ea70c0b011da8acd51ec62e9480e2854a34c7691976e83074aaa WHIRLPOOL a1e5213276a293f4cc219d3bef87b12652a4f18a95b55e19190e3c3070b029ac76ed4d69434b392f6616bfb2540aa85e9858165e510a5274670b136b1978cce0 diff --git a/dev-java/hessian/files/3.0.8-java5.patch b/dev-java/hessian/files/3.0.8-java5.patch deleted file mode 100644 index 906eb7efca18..000000000000 --- a/dev-java/hessian/files/3.0.8-java5.patch +++ /dev/null @@ -1,28 +0,0 @@ -diff -uNr hessian-3.0.8.orig/src/com/caucho/hessian/client/HessianProxyFactory.java hessian-3.0.8/src/com/caucho/hessian/client/HessianProxyFactory.java ---- hessian-3.0.8.orig/src/com/caucho/hessian/client/HessianProxyFactory.java 2006-08-15 10:38:05.000000000 +0200 -+++ hessian-3.0.8/src/com/caucho/hessian/client/HessianProxyFactory.java 2006-08-15 10:40:24.000000000 +0200 -@@ -230,7 +230,7 @@ - { - HessianProxy handler = new HessianProxy(this, new URL(url)); - -- return Proxy.newProxyInstance(api.getClassLoader(), -+ return java.lang.reflect.Proxy.newProxyInstance(api.getClassLoader(), - new Class[] { api, - HessianRemoteObject.class }, - handler); -diff -uNr hessian-3.0.8.orig/src/com/caucho/hessian/client/HessianProxy.java hessian-3.0.8/src/com/caucho/hessian/client/HessianProxy.java ---- hessian-3.0.8.orig/src/com/caucho/hessian/client/HessianProxy.java 2006-08-15 10:38:05.000000000 +0200 -+++ hessian-3.0.8/src/com/caucho/hessian/client/HessianProxy.java 2006-08-15 10:40:06.000000000 +0200 -@@ -94,10 +94,10 @@ - if (methodName.equals("equals") && - params.length == 1 && params[0].equals(Object.class)) { - Object value = args[0]; -- if (value == null || ! Proxy.isProxyClass(value.getClass())) -+ if (value == null || ! java.lang.reflect.Proxy.isProxyClass(value.getClass())) - return new Boolean(false); - -- HessianProxy handler = (HessianProxy) Proxy.getInvocationHandler(value); -+ HessianProxy handler = (HessianProxy) java.lang.reflect.Proxy.getInvocationHandler(value); - - return new Boolean(_url.equals(handler.getURL())); - } diff --git a/dev-java/hessian/files/build-3.0.8.xml b/dev-java/hessian/files/build-3.0.8.xml deleted file mode 100644 index d3a85de83b8f..000000000000 --- a/dev-java/hessian/files/build-3.0.8.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/hessian/files/build.xml-3.0.20 b/dev-java/hessian/files/build.xml-3.0.20 deleted file mode 100644 index ebef8932b346..000000000000 --- a/dev-java/hessian/files/build.xml-3.0.20 +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/hessian/files/build.xml-3.1.6 b/dev-java/hessian/files/build.xml-3.1.6 deleted file mode 100644 index ebef8932b346..000000000000 --- a/dev-java/hessian/files/build.xml-3.1.6 +++ /dev/null @@ -1,27 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/dev-java/hessian/hessian-4.0.37.ebuild b/dev-java/hessian/hessian-4.0.37.ebuild new file mode 100644 index 000000000000..6cea034a1fdf --- /dev/null +++ b/dev-java/hessian/hessian-4.0.37.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +JAVA_PKG_IUSE="doc source" + +inherit java-pkg-2 java-pkg-simple + +DESCRIPTION="Binary web service protocol" +HOMEPAGE="http://hessian.caucho.com/" +SRC_URI="http://hessian.caucho.com/download/${P}-src.jar" + +LICENSE="Apache-1.1" +SLOT="4.0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="doc source" + +CDEPEND="java-virtuals/servlet-api:3.0" +RDEPEND=">=virtual/jre-1.6 + ${CDEPEND}" +DEPEND=">=virtual/jdk-1.6 + app-arch/unzip + ${CDEPEND}" + +S="${WORKDIR}" + +JAVA_SRC_DIR="com" +JAVA_GENTOO_CLASSPATH="servlet-api-3.0" -- 2.26.2