diff options
author | Chris Aniszczyk <zx@gentoo.org> | 2004-03-27 06:35:50 +0000 |
---|---|---|
committer | Chris Aniszczyk <zx@gentoo.org> | 2004-03-27 06:35:50 +0000 |
commit | 1f0600924dcfc775f24abceefdf6cbf65a1b1c89 (patch) | |
tree | 67c587edc008e4b15ef7bc6ea8103c73e9e4a9b8 /dev-java/openjms-bin | |
parent | touchups (diff) | |
download | historical-1f0600924dcfc775f24abceefdf6cbf65a1b1c89.tar.gz historical-1f0600924dcfc775f24abceefdf6cbf65a1b1c89.tar.bz2 historical-1f0600924dcfc775f24abceefdf6cbf65a1b1c89.zip |
Version bump + fixes. Closes #45556
Diffstat (limited to 'dev-java/openjms-bin')
-rw-r--r-- | dev-java/openjms-bin/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/openjms-bin/Manifest | 12 | ||||
-rw-r--r-- | dev-java/openjms-bin/files/0.7.6/10openjms-0.7.6 | 1 | ||||
-rw-r--r-- | dev-java/openjms-bin/files/0.7.6/conf | 1 | ||||
-rw-r--r-- | dev-java/openjms-bin/files/0.7.6/rc2 | 41 | ||||
-rw-r--r-- | dev-java/openjms-bin/files/10openjms-0.7.6 | 1 | ||||
-rw-r--r-- | dev-java/openjms-bin/files/conf | 2 | ||||
-rw-r--r-- | dev-java/openjms-bin/files/digest-openjms-bin-0.7.6 | 1 | ||||
-rw-r--r-- | dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild | 4 | ||||
-rw-r--r-- | dev-java/openjms-bin/openjms-bin-0.7.6.ebuild | 30 |
10 files changed, 93 insertions, 7 deletions
diff --git a/dev-java/openjms-bin/ChangeLog b/dev-java/openjms-bin/ChangeLog index 1a3bbd6e6d63..49201d46cc21 100644 --- a/dev-java/openjms-bin/ChangeLog +++ b/dev-java/openjms-bin/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for dev-java/openjms-bin # Copyright 2000-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms-bin/ChangeLog,v 1.6 2004/03/19 01:06:08 zx Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms-bin/ChangeLog,v 1.7 2004/03/27 06:35:49 zx Exp $ + + 30 Mar 2004; Chris Aniszczyk <zx@gentoo.org> openjms-bin-0.7.5-r3.ebuild, + files/10openjms-0.7.6, files/conf, files/0.7.6/10openjms-0.7.6, + files/0.7.6/conf, files/0.7.6/rc2: + Version bump + ebuild fixes. Closes #45556 18 Mar 2004; Chris Aniszczyk <zx@gentoo.org> metadata.xml, openjms-bin-0.7.5-r1.ebuild, openjms-bin-0.7.5-r2.ebuild, diff --git a/dev-java/openjms-bin/Manifest b/dev-java/openjms-bin/Manifest index b18978582e09..89e4d9303895 100644 --- a/dev-java/openjms-bin/Manifest +++ b/dev-java/openjms-bin/Manifest @@ -1,8 +1,14 @@ -MD5 7e82a6093e431337062ee59e1cd14314 openjms-bin-0.7.5-r3.ebuild 784 -MD5 9373bc9701f6dfdd28a0d89bf0797db5 ChangeLog 1206 +MD5 dec403e29135090b12b99b837d84856c openjms-bin-0.7.6.ebuild 855 +MD5 5516174571a2fe9874044fd2f0ea0389 openjms-bin-0.7.5-r3.ebuild 780 +MD5 68955f16459bb7706555e9ab63680551 ChangeLog 1431 MD5 a6ec7d7724fbd068ffb39b5be56134ed metadata.xml 157 MD5 42fa91f02427c73b570e4907058ea05e files/rc 535 MD5 463cee3ced345a76c84d5a3acfcc2d81 files/rc2 777 -MD5 b7476bad5b940d9e264bf03b1392cf5f files/conf 27 +MD5 4180ed98ad9d40a0f4b267ad8c9a3a13 files/conf 27 MD5 1461aa95027a29b9282a711045a06058 files/digest-openjms-bin-0.7.5-r3 63 MD5 1c1f7f56172148c05424af03c5a42148 files/10openjms-0.7.5 43 +MD5 1c1f7f56172148c05424af03c5a42148 files/10openjms-0.7.6 43 +MD5 9c74a5db584b416d78128a5762185258 files/digest-openjms-bin-0.7.6 66 +MD5 5da586b9e51d6b1c7178848bf6e09bdd files/0.7.6/rc2 761 +MD5 fdae6fd4595f87aba37b3a3674faf490 files/0.7.6/conf 21 +MD5 c515bd2931ce697be23219be4556b62e files/0.7.6/10openjms-0.7.6 37 diff --git a/dev-java/openjms-bin/files/0.7.6/10openjms-0.7.6 b/dev-java/openjms-bin/files/0.7.6/10openjms-0.7.6 new file mode 100644 index 000000000000..ab4ed71a978d --- /dev/null +++ b/dev-java/openjms-bin/files/0.7.6/10openjms-0.7.6 @@ -0,0 +1 @@ +CONFIG_PROTECT="/opt/openjms/config" diff --git a/dev-java/openjms-bin/files/0.7.6/conf b/dev-java/openjms-bin/files/0.7.6/conf new file mode 100644 index 000000000000..e62a1eaa56db --- /dev/null +++ b/dev-java/openjms-bin/files/0.7.6/conf @@ -0,0 +1 @@ +JMSDIR=/opt/openjms/ diff --git a/dev-java/openjms-bin/files/0.7.6/rc2 b/dev-java/openjms-bin/files/0.7.6/rc2 new file mode 100644 index 000000000000..54acb916d130 --- /dev/null +++ b/dev-java/openjms-bin/files/0.7.6/rc2 @@ -0,0 +1,41 @@ +#!/sbin/runscript + +depend() { + need net +} + +check_config() { + [ -n "${JMSDIR}" ] || return 1 + if [ -z "${JAVA_HOME}" ]; then + JAVA_HOME="$(/usr/bin/java-config --jre-home)" + if [ -z "${JAVA_HOME}" ]; then + JAVA_HOME="$(/usr/bin/java-config --jdk-home)" + fi + fi + export JAVA_HOME + [ -n "${JAVA_HOME}" ] || return 1 +} + +# See how we were called. +start() { + check_config || return 1 + ebegin "Starting JMS server" + cd ${JMSDIR}/bin + ./startjms.sh > /var/log/openjms.log 2>&1 & + sleep 5 + if ps ax|grep '[o]rg\.exolab\.jms\.server\.JmsServer' > /dev/null; then + eend 0 + else + eend 1 + fi +} +stop() { + check_config || return 1 + ebegin "Stopping JMS server" + cd ${JMSDIR}/bin + if ./shutdown.sh 2>&1 |grep '[Ff]ailed' > /dev/null; then + eend 1 + else + eend 0 + fi +} diff --git a/dev-java/openjms-bin/files/10openjms-0.7.6 b/dev-java/openjms-bin/files/10openjms-0.7.6 new file mode 100644 index 000000000000..75789cb56989 --- /dev/null +++ b/dev-java/openjms-bin/files/10openjms-0.7.6 @@ -0,0 +1 @@ +CONFIG_PROTECT="/opt/openjms-0.7.5/config" diff --git a/dev-java/openjms-bin/files/conf b/dev-java/openjms-bin/files/conf index eed0adf5cf25..5a003d25ff2a 100644 --- a/dev-java/openjms-bin/files/conf +++ b/dev-java/openjms-bin/files/conf @@ -1 +1 @@ -JMSDIR=/opt/openjms-0.7.5/ +JMSDIR=/opt/openjms-0.7.6/ diff --git a/dev-java/openjms-bin/files/digest-openjms-bin-0.7.6 b/dev-java/openjms-bin/files/digest-openjms-bin-0.7.6 new file mode 100644 index 000000000000..a7deac483d15 --- /dev/null +++ b/dev-java/openjms-bin/files/digest-openjms-bin-0.7.6 @@ -0,0 +1 @@ +MD5 e374842d41526b30dd117edccd842d5e openjms-0.7.6.tar.gz 9996237 diff --git a/dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild b/dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild index b6202bb65b1b..74199f29f24f 100644 --- a/dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild +++ b/dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild,v 1.1 2004/01/16 03:41:22 lostlogic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms-bin/openjms-bin-0.7.5-r3.ebuild,v 1.2 2004/03/27 06:35:49 zx Exp $ SLOT=0 LICENSE="GPL-2" @@ -8,7 +8,7 @@ DESCRIPTION="Open Java Messaging System" DEPEND="virtual/glibc" RDEPEND="virtual/jdk" KEYWORDS="~x86" -SRC_URI="mirror://sourceforge/${PN/-bin/}/${P/-bin/}.tgz" +SRC_URI="mirror://sourceforge/${PN/-bin/}/${P/-bin/}.tar.gz" src_unpack() { einfo "Nothing to unpack" diff --git a/dev-java/openjms-bin/openjms-bin-0.7.6.ebuild b/dev-java/openjms-bin/openjms-bin-0.7.6.ebuild new file mode 100644 index 000000000000..e3c3622fc41f --- /dev/null +++ b/dev-java/openjms-bin/openjms-bin-0.7.6.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2004 Gentoo Technologies, Inc. +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-java/openjms-bin/openjms-bin-0.7.6.ebuild,v 1.1 2004/03/27 06:35:49 zx Exp $ + +SLOT="0" +LICENSE="GPL-2" +DESCRIPTION="Open Java Messaging System" +DEPEND="virtual/glibc" +RDEPEND="virtual/jdk" +KEYWORDS="~x86" +SRC_URI="mirror://sourceforge/${PN/-bin/}/${P/-bin/}.tar.gz" +IUSE="doc" + +S=${WORKDIR}/${PN/-bin/}-${PV} + +src_compile() { :; } + +src_install() { + dodir /opt/${PN/-bin/} + cp -r {bin,config,lib} ${D}/opt/${PN/-bin/}/ + use doc && cp -r {docs,src} ${D}/opt/${PN/-bin/}/ + + fperms 755 /opt/${PN/-bin/}/bin/* + insinto /etc/env.d/ + newins ${FILESDIR}/${PV}/10${P/-bin/} 10${PN/-bin/} + exeinto /etc/init.d/ + newexe ${FILESDIR}/${PV}/rc2 openjms + insinto /etc/conf.d + newins ${FILESDIR}/${PV}/conf openjms +} |