bump openjms to generation 2 java eclasses
authorAlistair Bush <ali_bush@gentoo.org>
Thu, 26 Apr 2007 10:11:04 +0000 (10:11 +0000)
committerAlistair Bush <ali_bush@gentoo.org>
Thu, 26 Apr 2007 10:11:04 +0000 (10:11 +0000)
Package-Manager: portage-2.1.2.4

dev-java/openjms/ChangeLog
dev-java/openjms/Manifest
dev-java/openjms/files/digest-openjms-0.7.6.1-r2 [new file with mode: 0644]
dev-java/openjms/openjms-0.7.6.1-r2.ebuild [new file with mode: 0644]

index 41aea432ca33eb497ea2f31f88c97153630774e3..d134080289b3269b501e2fafeb1e7bcf0e052c5a 100644 (file)
@@ -1,6 +1,12 @@
 # ChangeLog for dev-java/openjms
 # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms/ChangeLog,v 1.12 2007/04/09 11:45:22 betelgeuse Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms/ChangeLog,v 1.13 2007/04/26 10:11:04 ali_bush Exp $
+
+*openjms-0.7.6.1-r2 (26 Apr 2007)
+
+  26 Apr 2007; Alistair John Bush <ali_bush@gentoo.org>
+  +openjms-0.7.6.1-r2.ebuild:
+  Bump openjms to generation 2 java eclasses
 
   09 Apr 2007; Petteri Räty <betelgeuse@gentoo.org>
   openjms-0.7.6.1-r1.ebuild:
index 576054834d57e2f9ff924fefb37e47aaafa29860..83bfd5b9d361ba72c94f1d1cd8415ed005d22299 100644 (file)
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
 AUX 0.7.6.1/10openjms-0.7.6.1 37 RMD160 1e3bdb44fc5f3b2b85e0e7bc363276167a16d6a0 SHA1 8d27a0af6c1c5708e5c18349238ba02f50df8ba2 SHA256 e4d28e93a3fa47d572ff383a099d3533892fd9871f7f01a43148e30f06e2dd0b
 MD5 c515bd2931ce697be23219be4556b62e files/0.7.6.1/10openjms-0.7.6.1 37
 RMD160 1e3bdb44fc5f3b2b85e0e7bc363276167a16d6a0 files/0.7.6.1/10openjms-0.7.6.1 37
@@ -27,10 +24,14 @@ EBUILD openjms-0.7.6.1-r1.ebuild 2268 RMD160 e3330df55fe6090dfe3eaf9bcff4f8dccd0
 MD5 851b5f0e3e071082736343786d82e83c openjms-0.7.6.1-r1.ebuild 2268
 RMD160 e3330df55fe6090dfe3eaf9bcff4f8dccd08b62a openjms-0.7.6.1-r1.ebuild 2268
 SHA256 fee38993690e0f9b9d2adff8721b62632adabb920c0c0be6f775e6072373792b openjms-0.7.6.1-r1.ebuild 2268
-MISC ChangeLog 2031 RMD160 ade38b06b7d2b5ac33549db15f26f3b38a9bf9d2 SHA1 94ead2fb851b8c3cc0ccf930793a3db4b4cbc80c SHA256 355f627bea6c939ef2ae89b4e70ff1a25a869bacae4889e63fbb2436f57ec937
-MD5 d7b9a3f0b691666e21f154c8e60c0659 ChangeLog 2031
-RMD160 ade38b06b7d2b5ac33549db15f26f3b38a9bf9d2 ChangeLog 2031
-SHA256 355f627bea6c939ef2ae89b4e70ff1a25a869bacae4889e63fbb2436f57ec937 ChangeLog 2031
+EBUILD openjms-0.7.6.1-r2.ebuild 2170 RMD160 b595cfecf5d3902dad22352a0ecc4f1d36afe9f1 SHA1 2836c07f15782cf5be0524be31f876071d8d3413 SHA256 ffe35a9e2c4646e4d6cefc915a6b818c2598a570bd8f1634d9874ca7423d2f95
+MD5 b1c7a93e38477854fee4ec5249e8607f openjms-0.7.6.1-r2.ebuild 2170
+RMD160 b595cfecf5d3902dad22352a0ecc4f1d36afe9f1 openjms-0.7.6.1-r2.ebuild 2170
+SHA256 ffe35a9e2c4646e4d6cefc915a6b818c2598a570bd8f1634d9874ca7423d2f95 openjms-0.7.6.1-r2.ebuild 2170
+MISC ChangeLog 2196 RMD160 916695498a9ebfd25551d245f470f0db7f8d928b SHA1 e6c0dcfac0583355a8b2c8c7c6df394ae557ff9b SHA256 0655b7a4c68d055d8a597e36c8645113d41630f3a40f1e88f77be64901263c1a
+MD5 78b57a3073ba86e0ec69667687256d3a ChangeLog 2196
+RMD160 916695498a9ebfd25551d245f470f0db7f8d928b ChangeLog 2196
+SHA256 0655b7a4c68d055d8a597e36c8645113d41630f3a40f1e88f77be64901263c1a ChangeLog 2196
 MISC metadata.xml 157 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 SHA1 c37a6b9922aef61b5b3387655bccb6e3b16e0e26 SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9
 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157
 RMD160 ab0b3741457dee7531f59c4da0f0e9e8399af084 metadata.xml 157
@@ -38,10 +39,6 @@ SHA256 295d02c5805b0257938eb80314b371daac94b8d6ea85629a902de7a824adc0c9 metadata
 MD5 e767e439aaeccbb2838311086aee8454 files/digest-openjms-0.7.6.1-r1 527
 RMD160 6fcd6d5af99de26973c3839eb5a2eeb76bbf4172 files/digest-openjms-0.7.6.1-r1 527
 SHA256 66d0bb4be7cbce7ec0562fc74eb5a093118a551322181370302692286750edf0 files/digest-openjms-0.7.6.1-r1 527
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.3 (GNU/Linux)
-
-iD8DBQFGGidYcxLzpIGCsLQRAhRGAJ97iX5gJpXD4FKCj+75b4DL3bw5rwCZAQvU
-aFY5hrTMwEvUX+ZeQdunxGI=
-=vjmT
------END PGP SIGNATURE-----
+MD5 e767e439aaeccbb2838311086aee8454 files/digest-openjms-0.7.6.1-r2 527
+RMD160 6fcd6d5af99de26973c3839eb5a2eeb76bbf4172 files/digest-openjms-0.7.6.1-r2 527
+SHA256 66d0bb4be7cbce7ec0562fc74eb5a093118a551322181370302692286750edf0 files/digest-openjms-0.7.6.1-r2 527
diff --git a/dev-java/openjms/files/digest-openjms-0.7.6.1-r2 b/dev-java/openjms/files/digest-openjms-0.7.6.1-r2
new file mode 100644 (file)
index 0000000..83e3cad
--- /dev/null
@@ -0,0 +1,6 @@
+MD5 2c87474700becdf9501c5009464e3d0b openjms-0.7.6.1-scripts.tar.gz 8737
+RMD160 77dae767b598805d3d6305410f2bb5b3a8dd76d8 openjms-0.7.6.1-scripts.tar.gz 8737
+SHA256 beff639bbfc2d26e5cdba560261d1fc4635c6ccb1d1b9dee597add788f071cb2 openjms-0.7.6.1-scripts.tar.gz 8737
+MD5 eb72c8a4141371cc373ab4e09314b2c8 openjms-0.7.6.1-src.tar.gz 7665924
+RMD160 52a9c91e3f7542d9f718a30b1e862264a3ed2b18 openjms-0.7.6.1-src.tar.gz 7665924
+SHA256 9c47eb526643a19de739825f0a511a8fdd4762b07033a857d1b2adb325a84ac2 openjms-0.7.6.1-src.tar.gz 7665924
diff --git a/dev-java/openjms/openjms-0.7.6.1-r2.ebuild b/dev-java/openjms/openjms-0.7.6.1-r2.ebuild
new file mode 100644 (file)
index 0000000..7f20b51
--- /dev/null
@@ -0,0 +1,87 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms/openjms-0.7.6.1-r2.ebuild,v 1.1 2007/04/26 10:11:04 ali_bush Exp $
+
+JAVA_PKG_IUSE="doc"
+WANT_ANT_TASKS="ant-antlr"
+
+inherit java-pkg-2 java-ant-2 eutils
+
+SLOT="0"
+LICENSE="GPL-2"
+DESCRIPTION="Open Java Messaging System"
+HOMEPAGE="http://openjms.sourceforge.net/"
+KEYWORDS="~amd64 ~x86"
+SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz mirror://gentoo/${P}-scripts.tar.gz"
+IUSE=""
+RDEPEND="=virtual/jre-1.4*
+       dev-java/antlr
+       =dev-java/castor-0.9*
+       dev-java/cdegroot-db
+       dev-java/commons-collections
+       dev-java/commons-dbcp
+       dev-java/commons-logging
+       dev-java/commons-pool
+       dev-java/concurrent-util
+       dev-java/exolabcore
+       dev-db/hsqldb
+       dev-java/jdbm
+       dev-java/sun-jms
+       dev-java/jta
+       dev-java/log4j
+       =dev-java/jakarta-oro-2.0*
+       ~dev-java/servletapi-2.3
+       =dev-java/xerces-2.3*"
+DEPEND="=virtual/jdk-1.4*
+       ${RDEPEND}
+       dev-java/ant-core"
+
+src_unpack() {
+       unpack ${A}
+       mv "${WORKDIR}/bin" "${S}"
+       mv "${WORKDIR}/config" "${S}"
+
+       cd "${S}"
+       epatch "${FILESDIR}/${PV}/buildfile.patch"
+       epatch "${FILESDIR}/${PV}/source.patch"
+
+       cd "${S}/lib"
+       rm -f *.jar
+
+       java-pkg_jar-from antlr
+       java-pkg_jar-from castor-0.9
+       java-pkg_jar-from cdegroot-db-1
+       java-pkg_jar-from commons-collections
+       java-pkg_jar-from commons-dbcp
+       java-pkg_jar-from commons-logging
+       java-pkg_jar-from commons-pool
+       java-pkg_jar-from concurrent-util
+       java-pkg_jar-from exolabcore
+       java-pkg_jar-from hsqldb
+       java-pkg_jar-from jdbm-1
+       java-pkg_jar-from sun-jms
+       java-pkg_jar-from jta
+       java-pkg_jar-from log4j
+       java-pkg_jar-from servletapi-2.3
+       java-pkg_jar-from xerces-2.3
+       java-pkg_jar-from jakarta-oro-2.0
+}
+
+src_compile() {
+       eant jar war
+}
+
+src_install() {
+       java-pkg_newjar lib/${P}.jar ${PN}.jar
+       java-pkg_newjar lib/${PN}-client-${PV}.jar ${PN}-client.jar
+       java-pkg_dowar lib/${PN}.war
+
+       dodir /opt/${PN}
+       cp -rP {bin,config,lib} ${D}/opt/${PN}/
+       #use doc && cp -rP {docs,src} ${D}/opt/${PN}/
+
+       fperms 755 /opt/${PN}/bin/*
+       newenvd ${FILESDIR}/${PV}/10${P} 10${PN}
+       newinitd ${FILESDIR}/${PV}/rc2 openjms
+       newconfd ${FILESDIR}/${PV}/conf openjms
+}