diff options
author | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-07 14:44:37 +0000 |
---|---|---|
committer | Petteri Räty <betelgeuse@gentoo.org> | 2006-12-07 14:44:37 +0000 |
commit | 75c17737e7830431743643abd165c0a00720b626 (patch) | |
tree | 027e5f47757cd1947105de28b9adc5d9efc668b6 /dev-java/mx4j-tools | |
parent | version bump (diff) | |
download | gentoo-2-75c17737e7830431743643abd165c0a00720b626.tar.gz gentoo-2-75c17737e7830431743643abd165c0a00720b626.tar.bz2 gentoo-2-75c17737e7830431743643abd165c0a00720b626.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-tools')
-rw-r--r-- | dev-java/mx4j-tools/ChangeLog | 12 | ||||
-rw-r--r-- | dev-java/mx4j-tools/Manifest | 20 | ||||
-rw-r--r-- | dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1 | 3 | ||||
-rw-r--r-- | dev-java/mx4j-tools/files/mx4j-tools-3.0.1-split-javadoc-build.patch | 44 | ||||
-rw-r--r-- | dev-java/mx4j-tools/metadata.xml | 13 | ||||
-rw-r--r-- | dev-java/mx4j-tools/mx4j-tools-3.0.1.ebuild | 94 |
6 files changed, 186 insertions, 0 deletions
diff --git a/dev-java/mx4j-tools/ChangeLog b/dev-java/mx4j-tools/ChangeLog new file mode 100644 index 000000000000..2d634d3f755c --- /dev/null +++ b/dev-java/mx4j-tools/ChangeLog @@ -0,0 +1,12 @@ +# ChangeLog for dev-java/mx4j-tools +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-tools/ChangeLog,v 1.1 2006/12/07 14:44:37 betelgeuse Exp $ + +*mx4j-tools-3.0.1 (07 Dec 2006) + + 07 Dec 2006; Petteri Räty <betelgeuse@gentoo.org> + +files/mx4j-tools-3.0.1-split-javadoc-build.patch, +metadata.xml, + +mx4j-tools-3.0.1.ebuild: + New split mx4j. Resolves bug #152924. Thanks to Alex Tarkovsky + <alextarkovsky@gmail.com>. + diff --git a/dev-java/mx4j-tools/Manifest b/dev-java/mx4j-tools/Manifest new file mode 100644 index 000000000000..fb105a326fc0 --- /dev/null +++ b/dev-java/mx4j-tools/Manifest @@ -0,0 +1,20 @@ +AUX mx4j-tools-3.0.1-split-javadoc-build.patch 1979 RMD160 197b4d91dae38d2d43153924893167d07700ae1d SHA1 a8d279c8a2bbb3bab87c776864e3137428a9c8bc SHA256 e34ab853dc00c9cae2f7f41f7431f7ab2eb26bfe7a37decf46ffd8f827d3263b +MD5 3db9a710b1534e8fc0d67133f5a29a9d files/mx4j-tools-3.0.1-split-javadoc-build.patch 1979 +RMD160 197b4d91dae38d2d43153924893167d07700ae1d files/mx4j-tools-3.0.1-split-javadoc-build.patch 1979 +SHA256 e34ab853dc00c9cae2f7f41f7431f7ab2eb26bfe7a37decf46ffd8f827d3263b files/mx4j-tools-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-tools-3.0.1.ebuild 2546 RMD160 dac57baada2c768093791f0481a1de8a17625d29 SHA1 5eba757d17fb4edee18d44ca686c8e76f52462e6 SHA256 7b3c62954710edfc4b36fbbf1e6a4eb79b3a1188cc90b2c4216cc26d9786bd9f +MD5 fd663040073eaed1b6fd4731d699933e mx4j-tools-3.0.1.ebuild 2546 +RMD160 dac57baada2c768093791f0481a1de8a17625d29 mx4j-tools-3.0.1.ebuild 2546 +SHA256 7b3c62954710edfc4b36fbbf1e6a4eb79b3a1188cc90b2c4216cc26d9786bd9f mx4j-tools-3.0.1.ebuild 2546 +MISC ChangeLog 397 RMD160 6a7a09bad32437c4265a2b96d199e059e7a704b3 SHA1 376b43efa591d451045cbea9d2e9ef21202efa57 SHA256 63084ecff5c8ea43706a5931030e9680c131b23efd1476e87e678b80f1a37a41 +MD5 eb5551b3e060ccbe95921d53415adf29 ChangeLog 397 +RMD160 6a7a09bad32437c4265a2b96d199e059e7a704b3 ChangeLog 397 +SHA256 63084ecff5c8ea43706a5931030e9680c131b23efd1476e87e678b80f1a37a41 ChangeLog 397 +MISC metadata.xml 889 RMD160 b4710dc114109cc4aaafed6f23345bae364bc419 SHA1 798ad4429ca92df8a2d51bd052fb688861e67fde SHA256 2bab20e1dd2a72731c4fce19fba4536e318a86fb4c8152a6c9f089097e9e064c +MD5 f476be824d21fa43efc1f88717ff7be2 metadata.xml 889 +RMD160 b4710dc114109cc4aaafed6f23345bae364bc419 metadata.xml 889 +SHA256 2bab20e1dd2a72731c4fce19fba4536e318a86fb4c8152a6c9f089097e9e064c metadata.xml 889 +MD5 cc7604d7334a2b7d2171c2baacada25e files/digest-mx4j-tools-3.0.1 244 +RMD160 cd1c3fabbf60acb0b8a1830788962bf9b65ceff3 files/digest-mx4j-tools-3.0.1 244 +SHA256 d5e8a1a30175e8368ff175e886ae1a8227b7a5be0438286e4145459fc620bf71 files/digest-mx4j-tools-3.0.1 244 diff --git a/dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1 b/dev-java/mx4j-tools/files/digest-mx4j-tools-3.0.1 new file mode 100644 index 000000000000..29dc77e8622f --- /dev/null +++ b/dev-java/mx4j-tools/files/digest-mx4j-tools-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-tools/files/mx4j-tools-3.0.1-split-javadoc-build.patch b/dev-java/mx4j-tools/files/mx4j-tools-3.0.1-split-javadoc-build.patch new file mode 100644 index 000000000000..35c20fe9a8a6 --- /dev/null +++ b/dev-java/mx4j-tools/files/mx4j-tools-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 © 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-tools/metadata.xml b/dev-java/mx4j-tools/metadata.xml new file mode 100644 index 000000000000..43c23b39dcaa --- /dev/null +++ b/dev-java/mx4j-tools/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 mx4j tools. To get everything that the upstream binary has emerge +dev-java/mx4j with the appropriate use flags. +</longdescription> +</pkgmetadata> diff --git a/dev-java/mx4j-tools/mx4j-tools-3.0.1.ebuild b/dev-java/mx4j-tools/mx4j-tools-3.0.1.ebuild new file mode 100644 index 000000000000..9517e2c2dc7f --- /dev/null +++ b/dev-java/mx4j-tools/mx4j-tools-3.0.1.ebuild @@ -0,0 +1,94 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/mx4j-tools/mx4j-tools-3.0.1.ebuild,v 1.1 2006/12/07 14:44:37 betelgeuse Exp $ + +inherit eutils java-pkg-2 java-ant-2 + +MY_P=${P/-tools/} +MY_PN=${PN/-tools/} + +DESCRIPTION="Optional tool classes and utilities for MX4J" +HOMEPAGE="http://mx4j.sourceforge.net/" +SRC_URI="mirror://sourceforge/${MY_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. + +# javamail and jython support is optional but because ant-core puts it in the classpath +# if it is installed we can't force disable it without modifying the build.xml +# and jikes refuses to compile mx4j with javamail support disabled + +# Optional jetty support can be enabled after jetty uses java-pkg_dojar to install jars + +RDEPEND=" + dev-java/bcel + dev-java/commons-logging + dev-java/log4j + =www-servers/axis-1* + =dev-java/burlap-3.0* + =dev-java/hessian-3.0.8* + dev-java/jython + ~dev-java/servletapi-2.3 + =dev-java/gnu-jaf-1* + =dev-java/gnu-javamail-1*" +# >=www-servers/jetty-4.2 +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 + java-pkg_jar-from axis-1 + java-pkg_jar-from servletapi-2.3 servlet.jar + + # optionals +# java-pkg_jar-from jetty org.mortbay.jetty.jar + java-pkg_jar-from burlap-3.0 + java-pkg_jar-from hessian-3.0.8 + java-pkg_jar-from jython jython.jar + java-pkg_jar-from gnu-jaf-1 activation.jar + java-pkg_jar-from gnu-javamail-1 gnumail.jar mail.jar +} + +src_compile() { + eant -f build/build.xml compile.tools $(use_doc javadocs.tools) +} + +src_install() { + java-pkg_dojar dist/lib/mx4j-tools.jar + java-pkg_dowar dist/lib/mx4j-soap.war + + dodoc README.txt + use doc && java-pkg_dojavadoc dist/docs/api + use source && java-pkg_dosrc "${S}/src/tools/*" +} + +pkg_postinst() { + elog + elog "This package is currently built without Jetty support. Jetty support will be" + elog "added when Jetty is brought up-to-date in Portage with the new Java system." + elog "To track Jetty progress, see the following:" + elog + elog " http://bugs.gentoo.org/show_bug.cgi?id=94452" + elog " http://bugs.gentoo.org/show_bug.cgi?id=147469" + elog +} |