dev-java/hessian: EAPI 5 bump. Version bump.
authorPatrice Clement <monsieurp@gentoo.org>
Fri, 2 Oct 2015 09:07:27 +0000 (09:07 +0000)
committerPatrice Clement <monsieurp@gentoo.org>
Fri, 2 Oct 2015 09:09:40 +0000 (09:09 +0000)
Package-Manager: portage-2.2.18
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
dev-java/hessian/Manifest
dev-java/hessian/files/3.0.8-java5.patch [deleted file]
dev-java/hessian/files/build-3.0.8.xml [deleted file]
dev-java/hessian/files/build.xml-3.0.20 [deleted file]
dev-java/hessian/files/build.xml-3.1.6 [deleted file]
dev-java/hessian/hessian-4.0.37.ebuild [new file with mode: 0644]

index 5c92f9fe7163c5f27097cf2edb13f8aa5208d351..3d783fb298cdf6bc76f43c4e281bd3116fc975eb 100644 (file)
@@ -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 (file)
index 906eb7e..0000000
+++ /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 (file)
index d3a85de..0000000
+++ /dev/null
@@ -1,52 +0,0 @@
-<?xml version="1.0" encoding="utf-8"?>
-<!---
-   @author: Saleem Abdulrasool <compnerd@gentoo.org>
-   @date: 5/9/2005
-   @revision: 1.0_alpha
-
-   @notes: Call using the following: ant -f build.xml -Dproject.name=${project name} -Dpackage.name=${package name}
--->
-
-<project name="Gentoo_Builder" default="jar" basedir=".">
-   <property name="src" value="src"/>
-   <property name="build" value="build"/>
-   <property name="dist" value="dist"/>
-
-   <property name="pkg" value="${package.name}"/>
-   <property name="jar" value="${project.name}.jar"/>
-
-   <!-- Override any defined properties -->
-   <property file="build.properties"/>
-
-   <target name="init">
-      <tstamp/>
-      <mkdir dir="${build}"/>
-      <mkdir dir="${dist}"/>
-      <mkdir dir="${dist}/doc"/>
-   </target>
-
-   <target name="compile" depends="init">
-      <javac srcdir="${src}" destdir="${build}" classpath="${classpath}"/>
-   </target>
-
-   <target name="manifest" depends="init">
-      <manifest file="${build}/MANIFEST.MF" mode="update">
-         <attribute name="Built-By" value="Gentoo Portage"/>
-      </manifest>
-   </target>
-   
-   <target name="jar" depends="compile,manifest">
-      <jar jarfile="${dist}/${jar}" manifest="${build}/MANIFEST.MF">
-         <fileset dir="${build}"/>
-      </jar>
-   </target>
-
-   <target name="javadoc" depends="compile">
-          <javadoc destdir="${dist}/doc/api" sourcepath="${src}"/>
-   </target>
-
-   <target name="clean">
-      <delete dir="${build}"/>
-      <delete dir="${dist}"/>
-   </target>
-</project>
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 (file)
index ebef893..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<project name="hessian" default="all" basedir=".">
-       <target name="compile">
-               <mkdir dir="build"/>
-               <javac debug="false" srcdir="src" destdir="build">
-                       <classpath>
-                               <fileset dir="lib" includes="**/*.jar"/>
-                       </classpath>
-               </javac>
-       </target>
-       <target name="all" depends="hessian.jar,burlap.jar,services.jar"/>
-       <target name="hessian.jar" depends="compile">
-               <jar destfile="hessian.jar">
-                       <fileset dir="build" includes="**/hessian/**/*.class"/>
-               </jar>
-       </target>
-       <target name="burlap.jar" depends="compile">
-               <jar destfile="burlap.jar">
-                       <fileset dir="build" includes="**/burlap/**/*.class"/>
-               </jar>
-       </target>
-       <target name="services.jar" depends="compile">
-               <jar destfile="services.jar">
-                       <fileset dir="build" includes="**/services/**/*.class"/>
-               </jar>
-       </target>
-</project>
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 (file)
index ebef893..0000000
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0"?>
-<project name="hessian" default="all" basedir=".">
-       <target name="compile">
-               <mkdir dir="build"/>
-               <javac debug="false" srcdir="src" destdir="build">
-                       <classpath>
-                               <fileset dir="lib" includes="**/*.jar"/>
-                       </classpath>
-               </javac>
-       </target>
-       <target name="all" depends="hessian.jar,burlap.jar,services.jar"/>
-       <target name="hessian.jar" depends="compile">
-               <jar destfile="hessian.jar">
-                       <fileset dir="build" includes="**/hessian/**/*.class"/>
-               </jar>
-       </target>
-       <target name="burlap.jar" depends="compile">
-               <jar destfile="burlap.jar">
-                       <fileset dir="build" includes="**/burlap/**/*.class"/>
-               </jar>
-       </target>
-       <target name="services.jar" depends="compile">
-               <jar destfile="services.jar">
-                       <fileset dir="build" includes="**/services/**/*.class"/>
-               </jar>
-       </target>
-</project>
diff --git a/dev-java/hessian/hessian-4.0.37.ebuild b/dev-java/hessian/hessian-4.0.37.ebuild
new file mode 100644 (file)
index 0000000..6cea034
--- /dev/null
@@ -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"