From d09e7fdc10cdcc3da66ed9740398e833a1897f98 Mon Sep 17 00:00:00 2001 From: William Thomson Date: Fri, 1 Dec 2006 16:09:26 +0000 Subject: [PATCH] Switched from dep of fetch restricted sun-jmx to mx4j for now. Later will dep on a virtual :). Dropped ~ppc64 due to lack of mx4j-3.0 for that arch. Package-Manager: portage-2.1.2_rc2-r2 --- dev-java/commons-modeler/ChangeLog | 9 ++- dev-java/commons-modeler/Manifest | 25 ++++----- .../commons-modeler-1.1-r2.ebuild | 55 +++++++++++++++++++ .../files/digest-commons-modeler-1.1-r2 | 3 + 4 files changed, 77 insertions(+), 15 deletions(-) create mode 100644 dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild create mode 100644 dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 diff --git a/dev-java/commons-modeler/ChangeLog b/dev-java/commons-modeler/ChangeLog index e499754a2255..07162c589f3e 100644 --- a/dev-java/commons-modeler/ChangeLog +++ b/dev-java/commons-modeler/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-java/commons-modeler # Copyright 2000-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.15 2006/10/05 15:30:20 gustavoz Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/ChangeLog,v 1.16 2006/12/01 16:09:26 wltjr Exp $ + +*commons-modeler-1.1-r2 (01 Dec 2006) + + 01 Dec 2006; William L. Thomson Jr. + +commons-modeler-1.1-r2.ebuild: + Switched from dep of fetch restricted sun-jmx to mx4j for now. Later will + dep on a virtual :). Dropped ~ppc64 due to lack of mx4j-3.0 for that arch. 05 Oct 2006; Gustavo Zacarias commons-modeler-1.1.ebuild, commons-modeler-1.1-r1.ebuild: diff --git a/dev-java/commons-modeler/Manifest b/dev-java/commons-modeler/Manifest index 98c480eb478a..c80eb81484f0 100644 --- a/dev-java/commons-modeler/Manifest +++ b/dev-java/commons-modeler/Manifest @@ -1,6 +1,3 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - AUX gentoo.diff 510 RMD160 d3e9aa460b2308ca79624a8242536fb20a32d255 SHA1 9771433b724263826a586f02128a71de31137b1d SHA256 e002206cc3a326a2bd492bb177f8f7a0a954826abdc13e590c75236be61e1ff1 MD5 6cd2a42a25b29cb85c58037271a97037 files/gentoo.diff 510 RMD160 d3e9aa460b2308ca79624a8242536fb20a32d255 files/gentoo.diff 510 @@ -10,14 +7,18 @@ EBUILD commons-modeler-1.1-r1.ebuild 1684 RMD160 9aa0b5a9abfc399dba8d9b518e723ac MD5 7357f8fff33675b37420a88984cee4c8 commons-modeler-1.1-r1.ebuild 1684 RMD160 9aa0b5a9abfc399dba8d9b518e723ace27d99c62 commons-modeler-1.1-r1.ebuild 1684 SHA256 e06ba2f021e560794d673b2fd7b51085bb7beb81b751603c5d003503a462741f commons-modeler-1.1-r1.ebuild 1684 +EBUILD commons-modeler-1.1-r2.ebuild 1810 RMD160 b9638b38acbfce8272ea89dd89f8e183c7849ae3 SHA1 1fb17f502a1078ac6e33fb0df7076f48e890a1db SHA256 3b4a04d3829bc79936ed579fe2542c6822c898e9993c901ff13b0528adff97e6 +MD5 772c637a3eb3eb223000f69a49311866 commons-modeler-1.1-r2.ebuild 1810 +RMD160 b9638b38acbfce8272ea89dd89f8e183c7849ae3 commons-modeler-1.1-r2.ebuild 1810 +SHA256 3b4a04d3829bc79936ed579fe2542c6822c898e9993c901ff13b0528adff97e6 commons-modeler-1.1-r2.ebuild 1810 EBUILD commons-modeler-1.1.ebuild 1758 RMD160 6245530bdbe6b26660da7505ac1fdb9ee3cb1649 SHA1 5538c181352044aaefaf125a21887fd2bef08e05 SHA256 0fbc22d6e7fed13c8318ce99172c073925f746946f03fc16686d7f450673603c MD5 06ed7856de3e3cbeb14fca948fb55bae commons-modeler-1.1.ebuild 1758 RMD160 6245530bdbe6b26660da7505ac1fdb9ee3cb1649 commons-modeler-1.1.ebuild 1758 SHA256 0fbc22d6e7fed13c8318ce99172c073925f746946f03fc16686d7f450673603c commons-modeler-1.1.ebuild 1758 -MISC ChangeLog 1939 RMD160 f71bd6ec937cd3b3e1aece17dafb21616c48cac7 SHA1 18541c4d52b2920ca93559991c0ec364a806bfe2 SHA256 538f7a0f548ab811382fc414117a970911bcf0162c5357946d6d19fd0c6a5ee3 -MD5 37fc1af93ca69c0c87c29145764c9cda ChangeLog 1939 -RMD160 f71bd6ec937cd3b3e1aece17dafb21616c48cac7 ChangeLog 1939 -SHA256 538f7a0f548ab811382fc414117a970911bcf0162c5357946d6d19fd0c6a5ee3 ChangeLog 1939 +MISC ChangeLog 2220 RMD160 deb87758713e3024966a8be1d76be52d0a79482f SHA1 7bf3306df4ba43e9b663277e567d1c6e6b0988d1 SHA256 533cfcd927ddb2a3588812acb3e469df96fa171f4d0f02f4ff30fde09b3fd474 +MD5 799759905d22a25ba672a3166b3ce42b ChangeLog 2220 +RMD160 deb87758713e3024966a8be1d76be52d0a79482f ChangeLog 2220 +SHA256 533cfcd927ddb2a3588812acb3e469df96fa171f4d0f02f4ff30fde09b3fd474 ChangeLog 2220 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157 @@ -28,10 +29,6 @@ SHA256 a71565242314c79297eafc39bf43da0d5e12a30fcd1f3ae78af13f5c84b1cfb4 files/di MD5 fdcf46f8fe00529b6413ace99a2d2d94 files/digest-commons-modeler-1.1-r1 244 RMD160 2b404db60bfe2b326ae635f8bd7cfd30a696720f files/digest-commons-modeler-1.1-r1 244 SHA256 a71565242314c79297eafc39bf43da0d5e12a30fcd1f3ae78af13f5c84b1cfb4 files/digest-commons-modeler-1.1-r1 244 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.5-ecc0.1.6 (GNU/Linux) - -iD8DBQFFJSUYKRy60XGEcJIRAjoiAJ9miY14riryn79XoGDvUdFdT5eoYgCfRfpA -jbzEdfVz42chKCRfDxMdrHQ= -=1+wC ------END PGP SIGNATURE----- +MD5 fdcf46f8fe00529b6413ace99a2d2d94 files/digest-commons-modeler-1.1-r2 244 +RMD160 2b404db60bfe2b326ae635f8bd7cfd30a696720f files/digest-commons-modeler-1.1-r2 244 +SHA256 a71565242314c79297eafc39bf43da0d5e12a30fcd1f3ae78af13f5c84b1cfb4 files/digest-commons-modeler-1.1-r2 244 diff --git a/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild b/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild new file mode 100644 index 000000000000..bc44b02caeab --- /dev/null +++ b/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/commons-modeler/commons-modeler-1.1-r2.ebuild,v 1.1 2006/12/01 16:09:26 wltjr Exp $ + +inherit java-pkg-2 java-ant-2 + +DESCRIPTION="A lib to make the setup of Java Management Extensions easier" +SRC_URI="mirror://apache/jakarta/commons/modeler/source/modeler-1.1-src.tar.gz" +HOMEPAGE="http://jakarta.apache.org/commons/modeler/" +LICENSE="Apache-1.1" +SLOT="0" +RDEPEND=">=virtual/jre-1.4 + =dev-java/mx4j-3* + >=dev-java/commons-logging-1.0.3 + >=dev-java/commons-digester-1.4.1 + >=dev-java/xalan-2.5.1" +DEPEND=">=virtual/jdk-1.4 + ${RDEPEND} + source? ( app-arch/zip )" + +KEYWORDS="~amd64 ~x86" +IUSE="doc source" + +S=${WORKDIR}/${P}-src + +src_unpack() { + unpack ${A} + cd ${S} + + # Setup the build environment + echo "commons-digester.jar=$(java-pkg_getjar commons-digester commons-digester.jar)" >> build.properties + echo "commons-logging.jar=$(java-pkg_getjar commons-logging commons-logging.jar)" >> build.properties + echo "jmx.jar=$(java-pkg_getjar mx4j-3.0 mx4j.jar)" >> build.properties + echo "jmxtools.jar=$(java-pkg_getjar mx4j-3.0 mx4j-tools.jar)" >> build.properties + echo "jaxp.xalan.jar=$(java-pkg_getjars xalan)" >> build.properties + echo "junit.jar=$(java-pkg_getjars junit)" >> build.properties + mkdir dist +} + +src_compile() { + local antflags="prepare jar" + use doc && antflags="${antflags} javadoc" + eant ${antflags} || die "compile problem" +} + +src_install() { + java-pkg_dojar dist/${PN}.jar + dodoc RELEASE-NOTES-1.1.txt RELEASE-NOTES.txt + use doc && java-pkg_dohtml -r docs/* + use source && java-pkg_dosrc src/java/* +} +pkg_postinst() { + einfo "Changed to mx4j from sun-jmx due to fetch restrictions" + einfo "If you don't like it tell us at java@gentoo.org" +} diff --git a/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 b/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 new file mode 100644 index 000000000000..29c15fe941b8 --- /dev/null +++ b/dev-java/commons-modeler/files/digest-commons-modeler-1.1-r2 @@ -0,0 +1,3 @@ +MD5 6de043186a348758c845f1a2321e8308 modeler-1.1-src.tar.gz 92211 +RMD160 dd1d1548784ff4fbc5549294b7a6bed16e319803 modeler-1.1-src.tar.gz 92211 +SHA256 41146b9e3614eda22064fbdde457750608b0cbc0ff2d904a39c5938b165fc2e7 modeler-1.1-src.tar.gz 92211 -- 2.26.2