summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Nichols <nichoj@gentoo.org>2006-10-13 03:53:58 +0000
committerJoshua Nichols <nichoj@gentoo.org>2006-10-13 03:53:58 +0000
commit1b285a132b1133ce919134e5a4d3a015318fa630 (patch)
tree256bca3b50324d8a99999a0c301ae86c40576ad9 /dev-java/jamon
parenttouchup autotool usage #151026 (diff)
downloadhistorical-1b285a132b1133ce919134e5a4d3a015318fa630.tar.gz
historical-1b285a132b1133ce919134e5a4d3a015318fa630.tar.bz2
historical-1b285a132b1133ce919134e5a4d3a015318fa630.zip
Initial import, bug #97009.
Package-Manager: portage-2.1.2_pre2-r6
Diffstat (limited to 'dev-java/jamon')
-rw-r--r--dev-java/jamon/ChangeLog10
-rw-r--r--dev-java/jamon/Manifest24
-rw-r--r--dev-java/jamon/files/build-1.0.xml54
-rw-r--r--dev-java/jamon/files/digest-jamon-1.01-r13
-rw-r--r--dev-java/jamon/files/jamon-1.01-java1.5.patch41
-rw-r--r--dev-java/jamon/jamon-1.01-r1.ebuild50
-rw-r--r--dev-java/jamon/metadata.xml5
7 files changed, 187 insertions, 0 deletions
diff --git a/dev-java/jamon/ChangeLog b/dev-java/jamon/ChangeLog
new file mode 100644
index 000000000000..6ab1b14730d1
--- /dev/null
+++ b/dev-java/jamon/ChangeLog
@@ -0,0 +1,10 @@
+# ChangeLog for dev-java/jamon
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamon/ChangeLog,v 1.1 2006/10/13 03:53:58 nichoj Exp $
+
+*jamon-1.01-r1 (13 Oct 2006)
+
+ 13 Oct 2006; Joshua Nichols <nichoj@gentoo.org> +files/build-1.0.xml,
+ +files/jamon-1.01-java1.5.patch, +metadata.xml, +jamon-1.01-r1.ebuild:
+ Initial import, bug #97009.
+
diff --git a/dev-java/jamon/Manifest b/dev-java/jamon/Manifest
new file mode 100644
index 000000000000..76fe825128ec
--- /dev/null
+++ b/dev-java/jamon/Manifest
@@ -0,0 +1,24 @@
+AUX build-1.0.xml 1546 RMD160 ebd507967b0bb2fabe2aac044ef60e3785189654 SHA1 68699e0269a51d6f4eba82e5b15bd485974d8084 SHA256 db486d24f063b5ec263d6da56b52dd2a7cae686cb9c347fb9702cc0d3dda7868
+MD5 c089b7d34f96c556a34bb8c402794023 files/build-1.0.xml 1546
+RMD160 ebd507967b0bb2fabe2aac044ef60e3785189654 files/build-1.0.xml 1546
+SHA256 db486d24f063b5ec263d6da56b52dd2a7cae686cb9c347fb9702cc0d3dda7868 files/build-1.0.xml 1546
+AUX jamon-1.01-java1.5.patch 1688 RMD160 7c5b4d78e8f3fac9ec11730983d75e14ef2d8de9 SHA1 241139ae46ed26c87897a5daee7ee216fb6cb6f7 SHA256 dc48d61d3de0be89940282d9face0d250a0a507149d6539a4e79afd610c84d70
+MD5 22467dc95e6eb2c2c2d739393131967e files/jamon-1.01-java1.5.patch 1688
+RMD160 7c5b4d78e8f3fac9ec11730983d75e14ef2d8de9 files/jamon-1.01-java1.5.patch 1688
+SHA256 dc48d61d3de0be89940282d9face0d250a0a507149d6539a4e79afd610c84d70 files/jamon-1.01-java1.5.patch 1688
+DIST JAMonAll_103005.zip 143825 RMD160 9e59e83f28cc998053808789d7c6095176755a11 SHA1 6f651c3c26927807044cd1e3f6787110761998a2 SHA256 23eceb23264c4643846372c6454f9406d2435aeaf840a183033d9fa50176c9ab
+EBUILD jamon-1.01-r1.ebuild 1250 RMD160 0d6dcfd017b29e512a43c51d9514f17b89107076 SHA1 d089e98a43f69d15cf119717e746f3325ef87123 SHA256 32bd4e23ec2f81a7c9252e53a60fc73438f03fea85bf299a1a8ae1be272a6195
+MD5 80493df7a1a79639f1c5f03a6efc0321 jamon-1.01-r1.ebuild 1250
+RMD160 0d6dcfd017b29e512a43c51d9514f17b89107076 jamon-1.01-r1.ebuild 1250
+SHA256 32bd4e23ec2f81a7c9252e53a60fc73438f03fea85bf299a1a8ae1be272a6195 jamon-1.01-r1.ebuild 1250
+MISC ChangeLog 407 RMD160 f2c46c7656551bcb21498f98cc6e95e7fe886d9c SHA1 8904b4ec07fd21b64e25a03fd837254b31e1d098 SHA256 e6163f9bb38e068140114abf3bbf1fcf75f381e8789cfa4da4143a102f463809
+MD5 8f3bfb36e13427b0b480b62adc7849af ChangeLog 407
+RMD160 f2c46c7656551bcb21498f98cc6e95e7fe886d9c ChangeLog 407
+SHA256 e6163f9bb38e068140114abf3bbf1fcf75f381e8789cfa4da4143a102f463809 ChangeLog 407
+MISC metadata.xml 158 RMD160 493079b5fb71d66863beea1b023901c90ba81be5 SHA1 77cd509a8b3c377b9a24480b48a5d5481b7874f1 SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb
+MD5 123cf9440c1d4ac78f2caba1624765f9 metadata.xml 158
+RMD160 493079b5fb71d66863beea1b023901c90ba81be5 metadata.xml 158
+SHA256 ea882ceccfd160b16cf7e79de423bdcc12b3fa000f124491a6df36f5783894fb metadata.xml 158
+MD5 4a2e772bbafa5b8d0361f50e2ecd3e7b files/digest-jamon-1.01-r1 238
+RMD160 e876016015276838a7a5719e0b936542d009f828 files/digest-jamon-1.01-r1 238
+SHA256 694d3b262483304f06579a2b9776c595838962f2d68cb55cc1e87efeae49f363 files/digest-jamon-1.01-r1 238
diff --git a/dev-java/jamon/files/build-1.0.xml b/dev-java/jamon/files/build-1.0.xml
new file mode 100644
index 000000000000..4153ebfa4868
--- /dev/null
+++ b/dev-java/jamon/files/build-1.0.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"/>
+ <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/jamon/files/digest-jamon-1.01-r1 b/dev-java/jamon/files/digest-jamon-1.01-r1
new file mode 100644
index 000000000000..20c99f644e7f
--- /dev/null
+++ b/dev-java/jamon/files/digest-jamon-1.01-r1
@@ -0,0 +1,3 @@
+MD5 0712890e259f639230d2858bb761e0b8 JAMonAll_103005.zip 143825
+RMD160 9e59e83f28cc998053808789d7c6095176755a11 JAMonAll_103005.zip 143825
+SHA256 23eceb23264c4643846372c6454f9406d2435aeaf840a183033d9fa50176c9ab JAMonAll_103005.zip 143825
diff --git a/dev-java/jamon/files/jamon-1.01-java1.5.patch b/dev-java/jamon/files/jamon-1.01-java1.5.patch
new file mode 100644
index 000000000000..e7ad896f1a11
--- /dev/null
+++ b/dev-java/jamon/files/jamon-1.01-java1.5.patch
@@ -0,0 +1,41 @@
+diff -ru Code/com/jamonapi/utils/CommandIterator.java Code-patched/com/jamonapi/utils/CommandIterator.java
+--- Code/com/jamonapi/utils/CommandIterator.java 2004-01-29 22:42:34.000000000 -0500
++++ Code-patched/com/jamonapi/utils/CommandIterator.java 2005-11-04 08:52:30.000000000 -0500
+@@ -38,8 +38,8 @@
+
+
+ /** Iterate through an Enumeration passing the Command object each element in the Collection **/
+- public static void iterate(Enumeration enum, Command command)throws Exception {
+- iterate(new EnumIterator(enum) , command);
++ public static void iterate(Enumeration my_enum, Command command)throws Exception {
++ iterate(new EnumIterator(my_enum) , command);
+ }
+
+ /** Iterate passing each Command each Object that is being iterated **/
+diff -ru Code/com/jamonapi/utils/EnumIterator.java Code-patched/com/jamonapi/utils/EnumIterator.java
+--- Code/com/jamonapi/utils/EnumIterator.java 2004-01-29 22:42:34.000000000 -0500
++++ Code-patched/com/jamonapi/utils/EnumIterator.java 2005-11-04 08:52:10.000000000 -0500
+@@ -6,18 +6,18 @@
+
+
+ public class EnumIterator extends java.lang.Object implements java.util.Iterator {
+- Enumeration enum;
++ Enumeration my_enum;
+
+- public EnumIterator(Enumeration enum) {
+- this.enum=enum;
++ public EnumIterator(Enumeration my_enum) {
++ this.my_enum=my_enum;
+ }
+
+ public boolean hasNext() {
+- return enum.hasMoreElements();
++ return my_enum.hasMoreElements();
+ }
+
+ public Object next() {
+- return enum.nextElement();
++ return my_enum.nextElement();
+ }
+
+ public void remove() {
diff --git a/dev-java/jamon/jamon-1.01-r1.ebuild b/dev-java/jamon/jamon-1.01-r1.ebuild
new file mode 100644
index 000000000000..3fcf4e1b10ed
--- /dev/null
+++ b/dev-java/jamon/jamon-1.01-r1.ebuild
@@ -0,0 +1,50 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/jamon/jamon-1.01-r1.ebuild,v 1.1 2006/10/13 03:53:58 nichoj Exp $
+
+inherit java-pkg-2 java-ant-2 eutils
+MY_PN="JAMon"
+MY_PV="103005"
+DESCRIPTION="A free, simple, high performance, thread safe, Java API that allows
+developers to easily monitor production applications"
+HOMEPAGE="http://www.javaperformancetuning.com/tools/jamon/index.shtml"
+SRC_URI="mirror://sourceforge/jamonapi/${MY_PN}All_${MY_PV}.zip"
+
+LICENSE="BSD"
+SLOT="1"
+KEYWORDS="~amd64 ~x86"
+IUSE="doc"
+
+DEPEND=">=virtual/jdk-1.4
+ dev-java/ant-core
+ app-arch/unzip"
+RDEPEND=">=virtual/jre-1.4
+ ~dev-java/servletapi-2.3"
+
+src_unpack() {
+ # The structure of the archive is really messy, so we have to clean it up a
+ # bit ourselves
+
+ mkdir ${S}
+ cd ${S}
+ unpack ${A}
+ rm ${MY_PN}.{j,w}ar
+ epatch ${FILESDIR}/${P}-java1.5.patch
+
+ mv Code src
+
+ # No provided ant script! Bad upstream, bad!
+ cp ${FILESDIR}/build-1.0.xml build.xml
+}
+
+src_compile() {
+ eant jar $(use_doc) \
+ -Dproject.name=${PN} \
+ -Dclasspath=$(java-pkg_getjars servletapi-2.3)
+}
+
+src_install() {
+ java-pkg_dojar dist/${PN}.jar
+
+ use doc && java-pkg_dohtml -r dist/doc/api
+}
diff --git a/dev-java/jamon/metadata.xml b/dev-java/jamon/metadata.xml
new file mode 100644
index 000000000000..7303cef96964
--- /dev/null
+++ b/dev-java/jamon/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>