diff options
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jcs/ChangeLog | 10 | ||||
-rw-r--r-- | dev-java/jcs/Manifest | 20 | ||||
-rw-r--r-- | dev-java/jcs/files/build-1.2.6.5.xml | 54 | ||||
-rw-r--r-- | dev-java/jcs/files/digest-jcs-1.2.6.5-r1 | 3 | ||||
-rw-r--r-- | dev-java/jcs/jcs-1.2.6.5-r1.ebuild | 64 | ||||
-rw-r--r-- | dev-java/jcs/metadata.xml | 5 | ||||
-rw-r--r-- | dev-java/jisp/ChangeLog | 11 | ||||
-rw-r--r-- | dev-java/jisp/Manifest | 24 | ||||
-rw-r--r-- | dev-java/jisp/files/build-2.5.1.xml | 55 | ||||
-rw-r--r-- | dev-java/jisp/files/digest-jisp-2.5.1-r1 | 3 | ||||
-rw-r--r-- | dev-java/jisp/files/jisp-2.5.1-java15.patch | 46 | ||||
-rw-r--r-- | dev-java/jisp/jisp-2.5.1-r1.ebuild | 43 | ||||
-rw-r--r-- | dev-java/jisp/metadata.xml | 5 |
13 files changed, 343 insertions, 0 deletions
diff --git a/dev-java/jcs/ChangeLog b/dev-java/jcs/ChangeLog new file mode 100644 index 000000000000..b40442d32b0a --- /dev/null +++ b/dev-java/jcs/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-java/jcs +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/ChangeLog,v 1.1 2006/07/06 20:54:04 nelchael Exp $ + +*jcs-1.2.6.5-r1 (06 Jul 2006) + + 06 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/build-1.2.6.5.xml, +metadata.xml, +jcs-1.2.6.5-r1.ebuild: + Initial commit, this ebuild should be used rather than dev-java/jcs-bin. + diff --git a/dev-java/jcs/Manifest b/dev-java/jcs/Manifest new file mode 100644 index 000000000000..648a85d6f6e9 --- /dev/null +++ b/dev-java/jcs/Manifest @@ -0,0 +1,20 @@ +AUX build-1.2.6.5.xml 1551 RMD160 0e93a53a29852d68e2a4e97c4829706dc177a18a SHA1 ac2245bd81b57c00abf2f46916f52cc257724f0a SHA256 ecb97d07966bcaa08a31abb99942fffd16e0aa4ff67768aa2b1c97b3f69f23bf +MD5 e965f2f2c67683e91e2ef982804b1b76 files/build-1.2.6.5.xml 1551 +RMD160 0e93a53a29852d68e2a4e97c4829706dc177a18a files/build-1.2.6.5.xml 1551 +SHA256 ecb97d07966bcaa08a31abb99942fffd16e0aa4ff67768aa2b1c97b3f69f23bf files/build-1.2.6.5.xml 1551 +DIST jcs-1.2.6.5.tar.bz2 11847582 RMD160 b9a1259bcb71c3cafc67db6b112f020ff4273e6a SHA1 aecb75d070a9a84f1dab472c6ee17028925625b8 SHA256 58cb7d3ad82a4015b0c2b44fd7ebea5eb9646f7383be3682c11ef6b442f3e0ba +EBUILD jcs-1.2.6.5-r1.ebuild 1603 RMD160 01a730f6dcec03f6a94e8c2bee945a199e3a1bcb SHA1 a74042b0ace84a662edcc17e2c006b39fea51aad SHA256 ba724445981ef9ac8d5a0d6f5884fa27d7d9db333f81730c017cf63de22ba3ba +MD5 738a4f53655b3d5386e15823aadfeb9e jcs-1.2.6.5-r1.ebuild 1603 +RMD160 01a730f6dcec03f6a94e8c2bee945a199e3a1bcb jcs-1.2.6.5-r1.ebuild 1603 +SHA256 ba724445981ef9ac8d5a0d6f5884fa27d7d9db333f81730c017cf63de22ba3ba jcs-1.2.6.5-r1.ebuild 1603 +MISC ChangeLog 340 RMD160 898d7678ba0ed1214d7cc54f67e84fba78f00f6f SHA1 4e5ad9e1ab8bd16d0098c8baa76f38ace16b8435 SHA256 a3707343ba4f9ab93b14dd9f2e55f38f73f18f76a6a1798a6d5dabb049ff8280 +MD5 5ea8abea14ae450db3852fb866f78e45 ChangeLog 340 +RMD160 898d7678ba0ed1214d7cc54f67e84fba78f00f6f ChangeLog 340 +SHA256 a3707343ba4f9ab93b14dd9f2e55f38f73f18f76a6a1798a6d5dabb049ff8280 ChangeLog 340 +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb +MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159 +RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159 +SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159 +MD5 bf53101d09030752f89a261d97e0bf59 files/digest-jcs-1.2.6.5-r1 244 +RMD160 4e3ae2a5bb7a18710af92880abf4cc315745fee6 files/digest-jcs-1.2.6.5-r1 244 +SHA256 94af3b5241aa8030496bfde532afc5fd02a71715470948c7823129ac453ae2c3 files/digest-jcs-1.2.6.5-r1 244 diff --git a/dev-java/jcs/files/build-1.2.6.5.xml b/dev-java/jcs/files/build-1.2.6.5.xml new file mode 100644 index 000000000000..e7e891095475 --- /dev/null +++ b/dev-java/jcs/files/build-1.2.6.5.xml @@ -0,0 +1,54 @@ +<?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/java"/> + <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"> + <fileset dir="${src}"/> + </javadoc> + </target> + + <target name="clean"> + <delete dir="${build}"/> + <delete dir="${dist}"/> + </target> +</project> diff --git a/dev-java/jcs/files/digest-jcs-1.2.6.5-r1 b/dev-java/jcs/files/digest-jcs-1.2.6.5-r1 new file mode 100644 index 000000000000..cfb3c8f3f0be --- /dev/null +++ b/dev-java/jcs/files/digest-jcs-1.2.6.5-r1 @@ -0,0 +1,3 @@ +MD5 4f15a3bf18f3fb99eb5f87280e6a5445 jcs-1.2.6.5.tar.bz2 11847582 +RMD160 b9a1259bcb71c3cafc67db6b112f020ff4273e6a jcs-1.2.6.5.tar.bz2 11847582 +SHA256 58cb7d3ad82a4015b0c2b44fd7ebea5eb9646f7383be3682c11ef6b442f3e0ba jcs-1.2.6.5.tar.bz2 11847582 diff --git a/dev-java/jcs/jcs-1.2.6.5-r1.ebuild b/dev-java/jcs/jcs-1.2.6.5-r1.ebuild new file mode 100644 index 000000000000..e70f2651eb7d --- /dev/null +++ b/dev-java/jcs/jcs-1.2.6.5-r1.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jcs/jcs-1.2.6.5-r1.ebuild,v 1.1 2006/07/06 20:54:04 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +MY_PN="jakarta-turbine-jcs" +DESCRIPTION="JCS is a distributed caching system written in java for server-side java applications" +HOMEPAGE="http://jakarta.apache.org/jcs/" +# svn co http://svn.apache.org/repos/asf/jakarta/jcs/tags/JCS_1_2_6_5/ jcs-1.2.6.5 +# rm -r jcs-1.2.6.5/tempbuild +# tar jcvf jcs-1.2.6.5.tar.bz2 jcs-1.2.6.5 +SRC_URI="http://gentooexperimental.org/distfiles/${P}.tar.bz2" + +LICENSE="Apache-2.0" +SLOT="1.2" +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +COMMON_DEPEND="dev-java/jgroups + =dev-java/servletapi-2.3* + dev-java/commons-lang + dev-java/xmlrpc + dev-java/concurrent-util + dev-java/velocity + =dev-java/jisp-2.5* + =dev-java/struts-1.1* + dev-db/hsqldb" +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core + source? ( app-arch/zip ) + ${COMMON_DEPEND}" +RDEPEND=">=virtual/jre-1.4 + ${COMMON_DEPEND}" + +#S=${WORKDIR}/${MY_PN} + +LIBRARY_PKGS="jgroups,servletapi-2.3,commons-lang,xmlrpc,concurrent-util,velocity,jisp-2.5,struts-1.1,hsqldb" + +ant_src_unpack() { + unpack ${A} + + cd ${S} + # TODO submit jikes patch upstream + #epatch ${FILESDIR}/${P}-jikes.patch + + # use our own build.xml because jcs's is demented by maven + cp ${FILESDIR}/build-${PV}.xml build.xml + + cat > build.properties <<-END + classpath=$(java-pkg_getjars ${LIBRARY_PKGS}) + END +} + +src_compile() { + eant jar -Dproject.name=${PN} $(use_doc) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api + use source && java-pkg_dosrc src/java/* +} diff --git a/dev-java/jcs/metadata.xml b/dev-java/jcs/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/jcs/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> diff --git a/dev-java/jisp/ChangeLog b/dev-java/jisp/ChangeLog new file mode 100644 index 000000000000..6d6734fa0b73 --- /dev/null +++ b/dev-java/jisp/ChangeLog @@ -0,0 +1,11 @@ +# ChangeLog for dev-java/jisp +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jisp/ChangeLog,v 1.1 2006/07/06 20:53:24 nelchael Exp $ + +*jisp-2.5.1-r1 (06 Jul 2006) + + 06 Jul 2006; Krzysiek Pawlik <nelchael@gentoo.org> + +files/jisp-2.5.1-java15.patch, +files/build-2.5.1.xml, +metadata.xml, + +jisp-2.5.1-r1.ebuild: + Initial version. + diff --git a/dev-java/jisp/Manifest b/dev-java/jisp/Manifest new file mode 100644 index 000000000000..967850c2bea6 --- /dev/null +++ b/dev-java/jisp/Manifest @@ -0,0 +1,24 @@ +AUX build-2.5.1.xml 1588 RMD160 a82f95dafb460606d9516c2af5172e724678b251 SHA1 0f552a6c8569cf1407fa029ebcdeda953b56f928 SHA256 a6b38b8f17c5ec3a0fa1b7b0b7a94acaec498a889ad7d990feb5c580f3616d1a +MD5 1a897f417a9ba4226716c67df0054985 files/build-2.5.1.xml 1588 +RMD160 a82f95dafb460606d9516c2af5172e724678b251 files/build-2.5.1.xml 1588 +SHA256 a6b38b8f17c5ec3a0fa1b7b0b7a94acaec498a889ad7d990feb5c580f3616d1a files/build-2.5.1.xml 1588 +AUX jisp-2.5.1-java15.patch 1828 RMD160 feffa6b29bb1b3ebac00e4faf1efe7398bdeb68f SHA1 1ffb24fa9d0f5ca2c7ab4fcab5cbd3e2a8dc4a13 SHA256 9c96ff406dce1572ad86461f662c41de8de4c8b1c0b9e3e274ecb050481e54be +MD5 666518a6919fd61f39f85e78d021ddc2 files/jisp-2.5.1-java15.patch 1828 +RMD160 feffa6b29bb1b3ebac00e4faf1efe7398bdeb68f files/jisp-2.5.1-java15.patch 1828 +SHA256 9c96ff406dce1572ad86461f662c41de8de4c8b1c0b9e3e274ecb050481e54be files/jisp-2.5.1-java15.patch 1828 +DIST jisp-2.5.1-source.tar.gz 63282 RMD160 b33dca7e0cc3e9d8478a76e5f5009a9ca2e279c1 SHA1 5ab6147bf82c5e236e59aa1f1ae53406e365c0a5 SHA256 fc45285b818f69aa92cab72f8a87a070eba9e8ee2c199b9d0e170fb2cf7ab7ba +EBUILD jisp-2.5.1-r1.ebuild 980 RMD160 1f76dfd4d88cff5d11865736e7afc6f5dfac204f SHA1 144fc774635b40c6d8e632774ab0e349630c1696 SHA256 f0e7a7e4b3e90edf389b963849f6567a4a1284a86939cfa83de1595176ede458 +MD5 97dbabff874833b48fe807d7eaf24fc3 jisp-2.5.1-r1.ebuild 980 +RMD160 1f76dfd4d88cff5d11865736e7afc6f5dfac204f jisp-2.5.1-r1.ebuild 980 +SHA256 f0e7a7e4b3e90edf389b963849f6567a4a1284a86939cfa83de1595176ede458 jisp-2.5.1-r1.ebuild 980 +MISC ChangeLog 315 RMD160 71ed5bdf0e9c83063fc8d765b1be58694415f7a9 SHA1 ac6240f6f99ecf50d31d5cb82ee7f0b910efe27a SHA256 b844ecaf9a82fcc89aaf702db8eb40872f9475f3f7f9d776f223d1b3b66c4b94 +MD5 2de2c0c5c72427adfe90db1e47f7e62d ChangeLog 315 +RMD160 71ed5bdf0e9c83063fc8d765b1be58694415f7a9 ChangeLog 315 +SHA256 b844ecaf9a82fcc89aaf702db8eb40872f9475f3f7f9d776f223d1b3b66c4b94 ChangeLog 315 +MISC metadata.xml 159 RMD160 7da5c733c224383ffe350605bc36721a3ff2536f SHA1 99c2655c7bbee2cbc8c79edb2d00d481d62faf95 SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb +MD5 9f455923f62e1ecb14ebb7f29636850a metadata.xml 159 +RMD160 7da5c733c224383ffe350605bc36721a3ff2536f metadata.xml 159 +SHA256 a4ced33e98b00e3a3f725c4c40ef8e76c338db53389465ef871105fbe6e8cbbb metadata.xml 159 +MD5 8a0874599a8b5c856d759c58bba7c4e7 files/digest-jisp-2.5.1-r1 250 +RMD160 9d5a56e1f8ef00b834dea442951510d5e65eb36c files/digest-jisp-2.5.1-r1 250 +SHA256 44d2f3fafec67fa0a891cdc7264cf72e839de78f4742cf74cd540167202ffbef files/digest-jisp-2.5.1-r1 250 diff --git a/dev-java/jisp/files/build-2.5.1.xml b/dev-java/jisp/files/build-2.5.1.xml new file mode 100644 index 000000000000..1b8684e5d786 --- /dev/null +++ b/dev-java/jisp/files/build-2.5.1.xml @@ -0,0 +1,55 @@ +<?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}"/> + <fileset dir="." includes="svfl.txt"/> + </jar> + </target> + + <target name="javadoc" depends="compile"> + <javadoc destdir="${dist}/doc/api"> + <fileset dir="${src}"/> + </javadoc> + </target> + + <target name="clean"> + <delete dir="${build}"/> + <delete dir="${dist}"/> + </target> +</project> diff --git a/dev-java/jisp/files/digest-jisp-2.5.1-r1 b/dev-java/jisp/files/digest-jisp-2.5.1-r1 new file mode 100644 index 000000000000..87861b67ba6f --- /dev/null +++ b/dev-java/jisp/files/digest-jisp-2.5.1-r1 @@ -0,0 +1,3 @@ +MD5 47a5972a29b930fd3901141044e98e09 jisp-2.5.1-source.tar.gz 63282 +RMD160 b33dca7e0cc3e9d8478a76e5f5009a9ca2e279c1 jisp-2.5.1-source.tar.gz 63282 +SHA256 fc45285b818f69aa92cab72f8a87a070eba9e8ee2c199b9d0e170fb2cf7ab7ba jisp-2.5.1-source.tar.gz 63282 diff --git a/dev-java/jisp/files/jisp-2.5.1-java15.patch b/dev-java/jisp/files/jisp-2.5.1-java15.patch new file mode 100644 index 000000000000..cfc0b7e2c93e --- /dev/null +++ b/dev-java/jisp/files/jisp-2.5.1-java15.patch @@ -0,0 +1,46 @@ +diff -ru jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java +--- jisp-2.5.1/com/coyotegulch/jisp/SerialObjectOutputStream.java 2003-03-27 13:02:19.000000000 -0500 ++++ jisp-2.5.1-patched/com/coyotegulch/jisp/SerialObjectOutputStream.java 2005-11-06 15:24:33.000000000 -0500 +@@ -83,11 +83,11 @@ + // Check if we have a list of m_buffers
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
++ Iterator i = m_buffers.iterator();
+
+- while (enum.hasNext())
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ out.write(bytes, 0, m_blockSize);
+ }
+ }
+@@ -101,10 +101,10 @@ + // Check if we have a list of m_buffers
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
+- while (enum.hasNext())
++ Iterator i = m_buffers.iterator();
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ out.write(bytes, 0, m_blockSize);
+ }
+ }
+@@ -126,10 +126,10 @@ + int pos = 0;
+ if (m_buffers != null)
+ {
+- Iterator enum = m_buffers.iterator();
+- while (enum.hasNext())
++ Iterator i = m_buffers.iterator();
++ while (i.hasNext())
+ {
+- byte[] bytes = (byte[]) enum.next();
++ byte[] bytes = (byte[]) i.next();
+ System.arraycopy(bytes,0,data,pos,m_blockSize);
+ pos+=m_blockSize;
+ }
diff --git a/dev-java/jisp/jisp-2.5.1-r1.ebuild b/dev-java/jisp/jisp-2.5.1-r1.ebuild new file mode 100644 index 000000000000..7847bac5f9c6 --- /dev/null +++ b/dev-java/jisp/jisp-2.5.1-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/jisp/jisp-2.5.1-r1.ebuild,v 1.1 2006/07/06 20:53:24 nelchael Exp $ + +inherit java-pkg-2 java-ant-2 eutils + +DESCRIPTION="Java Indexed Serialization Package: A small, embedded database engine written in Pure Java" +HOMEPAGE="http://www.coyotegulch.com/products/jisp/" + +# TODO contact upstream about hosting jisp-2.5 on their site. +# They only maintain 3.0 at the moment +# This tarball is from jpackage's jisp2 source rpm +SRC_URI="http://gentooexperimental.org/distfiles/${P}-source.tar.gz" + +LICENSE="SVFL" +SLOT="2.5" +KEYWORDS="~amd64 ~x86" +IUSE="doc" + +DEPEND=">=virtual/jdk-1.4 + dev-java/ant-core" +RDEPEND=">=virtual/jre-1.4" + +ant_src_unpack() { + unpack ${A} + cd ${S} + + epatch ${FILESDIR}/${P}-java15.patch + + mkdir src + mv com src + cp ${FILESDIR}/build-${PV}.xml build.xml +} + +src_compile() { + eant jar -Dproject.name=${PN} $(use_doc) +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + + use doc && java-pkg_dohtml -r dist/doc/api +} diff --git a/dev-java/jisp/metadata.xml b/dev-java/jisp/metadata.xml new file mode 100644 index 000000000000..250f2d1940ea --- /dev/null +++ b/dev-java/jisp/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>java</herd> +</pkgmetadata> |