summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPetteri Räty <betelgeuse@gentoo.org>2006-12-07 14:39:32 +0000
committerPetteri Räty <betelgeuse@gentoo.org>2006-12-07 14:39:32 +0000
commit76eff91c0f1b0678466b9020dd7c40d5eb36f4c8 (patch)
tree9c7025779d3c1dd36bf9b9fb40c7c2b8f08c805d /dev-java/mx4j-core
parentversion bump (diff)
downloadgentoo-2-76eff91c0f1b0678466b9020dd7c40d5eb36f4c8.tar.gz
gentoo-2-76eff91c0f1b0678466b9020dd7c40d5eb36f4c8.tar.bz2
gentoo-2-76eff91c0f1b0678466b9020dd7c40d5eb36f4c8.zip
New split mx4j. Resolves bug #152924. Thanks to Alex Tarkovsky <alextarkovsky@gmail.com>.
(Portage version: 2.1.2_rc2-r3)
Diffstat (limited to 'dev-java/mx4j-core')
-rw-r--r--dev-java/mx4j-core/ChangeLog12
-rw-r--r--dev-java/mx4j-core/Manifest20
-rw-r--r--dev-java/mx4j-core/files/digest-mx4j-core-3.0.13
-rw-r--r--dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch44
-rw-r--r--dev-java/mx4j-core/metadata.xml13
-rw-r--r--dev-java/mx4j-core/mx4j-core-3.0.1.ebuild60
6 files changed, 152 insertions, 0 deletions
diff --git a/dev-java/mx4j-core/ChangeLog b/dev-java/mx4j-core/ChangeLog
new file mode 100644
index 000000000000..6dfdb47c357d
--- /dev/null
+++ b/dev-java/mx4j-core/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for dev-java/mx4j-core
+# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-core/ChangeLog,v 1.1 2006/12/07 14:39:32 betelgeuse Exp $
+
+*mx4j-core-3.0.1 (07 Dec 2006)
+
+ 07 Dec 2006; Petteri Räty <betelgeuse@gentoo.org>
+ +files/mx4j-core-3.0.1-split-javadoc-build.patch, +metadata.xml,
+ +mx4j-core-3.0.1.ebuild:
+ New split mx4j. Resolves bug #152924. Thanks to Alex Tarkovsky
+ <alextarkovsky@gmail.com>.
+
diff --git a/dev-java/mx4j-core/Manifest b/dev-java/mx4j-core/Manifest
new file mode 100644
index 000000000000..a291fc9f7873
--- /dev/null
+++ b/dev-java/mx4j-core/Manifest
@@ -0,0 +1,20 @@
+AUX mx4j-core-3.0.1-split-javadoc-build.patch 1979 RMD160 197b4d91dae38d2d43153924893167d07700ae1d SHA1 a8d279c8a2bbb3bab87c776864e3137428a9c8bc SHA256 e34ab853dc00c9cae2f7f41f7431f7ab2eb26bfe7a37decf46ffd8f827d3263b
+MD5 3db9a710b1534e8fc0d67133f5a29a9d files/mx4j-core-3.0.1-split-javadoc-build.patch 1979
+RMD160 197b4d91dae38d2d43153924893167d07700ae1d files/mx4j-core-3.0.1-split-javadoc-build.patch 1979
+SHA256 e34ab853dc00c9cae2f7f41f7431f7ab2eb26bfe7a37decf46ffd8f827d3263b files/mx4j-core-3.0.1-split-javadoc-build.patch 1979
+DIST mx4j-3.0.1-src.tar.gz 622504 RMD160 fbbc976aebbe7af024992f15be7feb364d6d2b15 SHA1 e35d4935c0b780cb51760cc30322bf576523e319 SHA256 f6cef53b68b06d97041f77b69e091eb76f08d1bd0d92f48c9bea958e8cb5dcba
+EBUILD mx4j-core-3.0.1.ebuild 1535 RMD160 d4d5c05afc17407bc9f496413512399939805058 SHA1 017348070c8d980f7b5531b66ea1953fc40f35dd SHA256 1b89a5643a5ab139e78c2c1fff7734a44c7005715eb605eecd8ec503c9cc2c57
+MD5 0dd1e4bb8044b2cea86ad8d15f1ee37c mx4j-core-3.0.1.ebuild 1535
+RMD160 d4d5c05afc17407bc9f496413512399939805058 mx4j-core-3.0.1.ebuild 1535
+SHA256 1b89a5643a5ab139e78c2c1fff7734a44c7005715eb605eecd8ec503c9cc2c57 mx4j-core-3.0.1.ebuild 1535
+MISC ChangeLog 393 RMD160 4b3086b61cbaceb66fe1260d060180206ff3ba2c SHA1 a92996973c43b929314e2e617250a2309f1ef371 SHA256 01b0ff18f1dff538619148dbc6b73cbbe9f6017d9433fee2e604486a5cd06371
+MD5 dd3a94c4e47b2af125768f452d5f7c46 ChangeLog 393
+RMD160 4b3086b61cbaceb66fe1260d060180206ff3ba2c ChangeLog 393
+SHA256 01b0ff18f1dff538619148dbc6b73cbbe9f6017d9433fee2e604486a5cd06371 ChangeLog 393
+MISC metadata.xml 883 RMD160 3bf009f9cc22d6d8968d1bbbc09fa3418cdb81b3 SHA1 e73b977239431a3fdef3dc0f91bf9a9f033db708 SHA256 fb7e87fff55fbd72651c1dded32f35a7b2008196a6f5cebc72c69b8bfd48cda7
+MD5 3347324701234eb2d1838fc741e09fe0 metadata.xml 883
+RMD160 3bf009f9cc22d6d8968d1bbbc09fa3418cdb81b3 metadata.xml 883
+SHA256 fb7e87fff55fbd72651c1dded32f35a7b2008196a6f5cebc72c69b8bfd48cda7 metadata.xml 883
+MD5 cc7604d7334a2b7d2171c2baacada25e files/digest-mx4j-core-3.0.1 244
+RMD160 cd1c3fabbf60acb0b8a1830788962bf9b65ceff3 files/digest-mx4j-core-3.0.1 244
+SHA256 d5e8a1a30175e8368ff175e886ae1a8227b7a5be0438286e4145459fc620bf71 files/digest-mx4j-core-3.0.1 244
diff --git a/dev-java/mx4j-core/files/digest-mx4j-core-3.0.1 b/dev-java/mx4j-core/files/digest-mx4j-core-3.0.1
new file mode 100644
index 000000000000..29dc77e8622f
--- /dev/null
+++ b/dev-java/mx4j-core/files/digest-mx4j-core-3.0.1
@@ -0,0 +1,3 @@
+MD5 eb5c08c4281aeb94c08ead7091b23dde mx4j-3.0.1-src.tar.gz 622504
+RMD160 fbbc976aebbe7af024992f15be7feb364d6d2b15 mx4j-3.0.1-src.tar.gz 622504
+SHA256 f6cef53b68b06d97041f77b69e091eb76f08d1bd0d92f48c9bea958e8cb5dcba mx4j-3.0.1-src.tar.gz 622504
diff --git a/dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch b/dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch
new file mode 100644
index 000000000000..35c20fe9a8a6
--- /dev/null
+++ b/dev-java/mx4j-core/files/mx4j-core-3.0.1-split-javadoc-build.patch
@@ -0,0 +1,44 @@
+--- mx4j-3.0.1.orig/build/build.xml 2006-10-27 22:11:53.000000000 -0500
++++ mx4j-3.0.1/build/build.xml 2006-10-27 22:14:39.000000000 -0500
+@@ -417,7 +417,7 @@
+ </jar>
+ </target>
+
+- <target name="javadocs" description="Creates the MX4J javadoc documentation" depends="compile.tools">
++ <target name="javadocs.core" description="Creates the MX4J javadoc documentation" depends="compile.rjmx">
+ <mkdir dir="${dist.docs.api.dir}"/>
+ <javadoc destdir="${dist.docs.api.dir}"
+ author="true"
+@@ -431,6 +431,23 @@
+ <group title="MX4J classes" packages="mx4j:mx4j.*"/>
+ <sourcepath>
+ <pathelement path="${core.src.dir}"/>
++ </sourcepath>
++ </javadoc>
++ </target>
++
++ <target name="javadocs.tools" description="Creates the MX4J javadoc documentation" depends="compile.tools">
++ <mkdir dir="${dist.docs.api.dir}"/>
++ <javadoc destdir="${dist.docs.api.dir}"
++ author="true"
++ version="true"
++ use="true"
++ windowtitle="MX4J API"
++ classpathref="classpath">
++ <package name="mx4j.*"/>
++
++ <bottom><![CDATA[<center><small>Copyright &#169; 2001-2005 The MX4J Contributors. All Rights Reserved.</small></center>]]></bottom>
++ <group title="MX4J classes" packages="mx4j:mx4j.*"/>
++ <sourcepath>
+ <pathelement path="${tools.src.dir}"/>
+ </sourcepath>
+ </javadoc>
+@@ -478,7 +495,7 @@
+
+ <target name="main" depends="tests, compile.examples"/>
+
+- <target name="release" description="Builds a release of the MX4J project" depends="clean, manifest, releasing, main, docs, javadocs">
++ <target name="release" description="Builds a release of the MX4J project" depends="clean, manifest, releasing, main, docs, javadocs.core">
+ <mkdir dir="${release.dist.dir}"/>
+ <mkdir dir="${binary.release.dist.dir}"/>
+ <mkdir dir="${source.release.dist.dir}"/>
diff --git a/dev-java/mx4j-core/metadata.xml b/dev-java/mx4j-core/metadata.xml
new file mode 100644
index 000000000000..60444f30d740
--- /dev/null
+++ b/dev-java/mx4j-core/metadata.xml
@@ -0,0 +1,13 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+<herd>java</herd>
+<longdescription>
+MX4J is a project to build an Open Source implementation of the Java(TM) Management Extensions (JMX) and of the JMX Remote API (JSR 160) specifications, and to build tools relating to JMX.
+
+JMX is an optional package for J2SE that provides a standard way to manage applications. It can also be used to wrap legacy systems and provide a standard interface to the outside world, enabling the development of web services. JMX allows developers to write more modular and loosely coupled system components and reduce the complexity of large, interoperating systems.
+
+This package has the jmx core. To get everything that upstream binary has emerge
+dev-java/mx4j with the appropriate use flags.
+</longdescription>
+</pkgmetadata>
diff --git a/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild b/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild
new file mode 100644
index 000000000000..dc269ff6d001
--- /dev/null
+++ b/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2006 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-core/mx4j-core-3.0.1.ebuild,v 1.1 2006/12/07 14:39:32 betelgeuse Exp $
+
+inherit eutils java-pkg-2 java-ant-2
+
+MY_P="${P/-core/}"
+DESCRIPTION="Open Source implementation of the JMX and JMX Remote API (JSR 160) specifications"
+HOMEPAGE="http://mx4j.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz"
+
+# The ${S}/BUILD-HOWTO is a good source for dependencies
+# This package could also be built with jdk-1.3; see special
+# handling instructions in ${S}/BUILD-HOWTO.
+
+RDEPEND="dev-java/bcel
+ dev-java/commons-logging
+ dev-java/log4j"
+DEPEND="${RDEPEND}
+ >=virtual/jdk-1.4
+ >=dev-java/ant-core-1.6
+ source? ( app-arch/zip )"
+RDEPEND="${RDEPEND}
+ >=virtual/jre-1.4"
+
+LICENSE="mx4j"
+SLOT="3.0"
+KEYWORDS="~x86"
+IUSE="doc source"
+
+S="${WORKDIR}/${MY_P}"
+
+src_unpack() {
+ unpack ${A}
+
+ cd "${S}"
+ epatch "${FILESDIR}/${P}-split-javadoc-build.patch"
+
+ cd "${S}/lib"
+ java-pkg_jar-from bcel bcel.jar
+ java-pkg_jar-from commons-logging commons-logging.jar
+ java-pkg_jar-from log4j
+}
+
+src_compile() {
+ eant -f build/build.xml compile.jmx compile.rjmx $(use_doc javadocs.core)
+}
+
+src_install() {
+ java-pkg_dojar dist/lib/*.jar
+ dodoc README.txt
+ use doc && java-pkg_dojavadoc dist/docs/api
+ use source && java-pkg_dosrc "${S}/src/core/*"
+}
+
+pkg_postinst() {
+ elog "This is a a new split ebuild for just the core jmx to reduce"
+ elog "dependencies for packages that only require the core. You can"
+ elog "find the examples in dev-java/mx4j and the tools in dev-java/mx4j-tools"
+}