summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Brinkmann <luckyduck@gentoo.org>2005-02-06 16:18:07 +0000
committerJan Brinkmann <luckyduck@gentoo.org>2005-02-06 16:18:07 +0000
commit8f85aa424184908cf277232cb22bd55f024be4ff (patch)
tree6bde366f9715666c302d9c9d5f6efec7a3c91e42 /dev-java/openjms/files
parentNew package for the caml-light language. (Manifest recommit) (diff)
downloadgentoo-2-8f85aa424184908cf277232cb22bd55f024be4ff.tar.gz
gentoo-2-8f85aa424184908cf277232cb22bd55f024be4ff.tar.bz2
gentoo-2-8f85aa424184908cf277232cb22bd55f024be4ff.zip
Initial import, fixes #63286
(Portage version: 2.0.51-r15)
Diffstat (limited to 'dev-java/openjms/files')
-rw-r--r--dev-java/openjms/files/0.7.6.1/10openjms-0.7.6.11
-rw-r--r--dev-java/openjms/files/0.7.6.1/buildfile.patch.bz2bin0 -> 797 bytes
-rw-r--r--dev-java/openjms/files/0.7.6.1/conf1
-rw-r--r--dev-java/openjms/files/0.7.6.1/rc241
-rw-r--r--dev-java/openjms/files/0.7.6.1/source.patch.bz2bin0 -> 2628 bytes
-rw-r--r--dev-java/openjms/files/digest-openjms-0.7.6.12
6 files changed, 45 insertions, 0 deletions
diff --git a/dev-java/openjms/files/0.7.6.1/10openjms-0.7.6.1 b/dev-java/openjms/files/0.7.6.1/10openjms-0.7.6.1
new file mode 100644
index 000000000000..ab4ed71a978d
--- /dev/null
+++ b/dev-java/openjms/files/0.7.6.1/10openjms-0.7.6.1
@@ -0,0 +1 @@
+CONFIG_PROTECT="/opt/openjms/config"
diff --git a/dev-java/openjms/files/0.7.6.1/buildfile.patch.bz2 b/dev-java/openjms/files/0.7.6.1/buildfile.patch.bz2
new file mode 100644
index 000000000000..02cb5c1e0b07
--- /dev/null
+++ b/dev-java/openjms/files/0.7.6.1/buildfile.patch.bz2
Binary files differ
diff --git a/dev-java/openjms/files/0.7.6.1/conf b/dev-java/openjms/files/0.7.6.1/conf
new file mode 100644
index 000000000000..e62a1eaa56db
--- /dev/null
+++ b/dev-java/openjms/files/0.7.6.1/conf
@@ -0,0 +1 @@
+JMSDIR=/opt/openjms/
diff --git a/dev-java/openjms/files/0.7.6.1/rc2 b/dev-java/openjms/files/0.7.6.1/rc2
new file mode 100644
index 000000000000..0cdaa1e6ac58
--- /dev/null
+++ b/dev-java/openjms/files/0.7.6.1/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
+ ./startup.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/files/0.7.6.1/source.patch.bz2 b/dev-java/openjms/files/0.7.6.1/source.patch.bz2
new file mode 100644
index 000000000000..8ce3a3535aec
--- /dev/null
+++ b/dev-java/openjms/files/0.7.6.1/source.patch.bz2
Binary files differ
diff --git a/dev-java/openjms/files/digest-openjms-0.7.6.1 b/dev-java/openjms/files/digest-openjms-0.7.6.1
new file mode 100644
index 000000000000..fcd05c4dce1b
--- /dev/null
+++ b/dev-java/openjms/files/digest-openjms-0.7.6.1
@@ -0,0 +1,2 @@
+MD5 eb72c8a4141371cc373ab4e09314b2c8 openjms-0.7.6.1-src.tar.gz 7665924
+MD5 2c87474700becdf9501c5009464e3d0b openjms-0.7.6.1-scripts.tar.gz 8737