summaryrefslogtreecommitdiff
path: root/system
diff options
context:
space:
mode:
authorMiguel De Anda <miguel@thedeanda.com>2015-11-13 01:48:11 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2015-11-13 01:48:11 +0700
commitabeae21be1575e5aea6b14fd87a84b50ea6dd519 (patch)
treeb84075d1e49a43e6311c16891013ac6302fed11b /system
parentfcf3f600df0a535eff66c6daec34db6c6693460c (diff)
downloadslackbuilds-abeae21be1575e5aea6b14fd87a84b50ea6dd519.tar.gz
system/apache-activemq: Updated for version 5.12.1.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'system')
-rw-r--r--system/apache-activemq/apache-activemq.SlackBuild6
-rw-r--r--system/apache-activemq/apache-activemq.info10
-rw-r--r--system/apache-activemq/rc.activemq3
3 files changed, 12 insertions, 7 deletions
diff --git a/system/apache-activemq/apache-activemq.SlackBuild b/system/apache-activemq/apache-activemq.SlackBuild
index 2072e3cde8..d62119bd7e 100644
--- a/system/apache-activemq/apache-activemq.SlackBuild
+++ b/system/apache-activemq/apache-activemq.SlackBuild
@@ -23,7 +23,7 @@
# ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
PRGNAM=apache-activemq
-VERSION=${VERSION:-5.5.1}
+VERSION=${VERSION:-5.12.1}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
@@ -42,7 +42,7 @@ OUTPUT=${OUTPUT:-/tmp}
ACTIVEMQ_HOME=/usr/share/activemq
-DOCS="LICENSE NOTICE README.txt WebConsole-README.txt docs user-guide.html example"
+DOCS="LICENSE NOTICE README.txt docs"
bailout() {
echo " You must have a $ACTIVEMQ_USER user and $ACTIVEMQ_GROUP group to run this script. "
@@ -107,6 +107,8 @@ chown -R $ACTIVEMQ_USER:$ACTIVEMQ_GROUP $PKG/var/{run,lib,log}/activemq
ln -sf /etc/activemq $PKG/usr/share/activemq/conf
ln -sf /var/lib/activemq/webapps $PKG/usr/share/activemq/webapps
ln -sf /var/log/activemq $PKG/usr/share/activemq/log
+ln -sf /tmp/activemq $PKG/usr/share/activemq/tmp
+
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
cp -a $DOCS $PKG/usr/doc/$PRGNAM-$VERSION
diff --git a/system/apache-activemq/apache-activemq.info b/system/apache-activemq/apache-activemq.info
index f6fdd6d216..b7eda536c0 100644
--- a/system/apache-activemq/apache-activemq.info
+++ b/system/apache-activemq/apache-activemq.info
@@ -1,10 +1,10 @@
PRGNAM="apache-activemq"
-VERSION="5.5.1"
+VERSION="5.12.1"
HOMEPAGE="http://activemq.apache.org/"
-DOWNLOAD="http://archive.apache.org/dist/activemq/apache-activemq/5.5.1/apache-activemq-5.5.1-bin.tar.gz"
-MD5SUM="3e10c163c5e3869a9720d47849a5ae29"
+DOWNLOAD="https://repository.apache.org/content/repositories/releases/org/apache/activemq/apache-activemq/5.12.1/apache-activemq-5.12.1-bin.tar.gz"
+MD5SUM="93438ac60a882da8a505ff13de54b491"
DOWNLOAD_x86_64=""
MD5SUM_x86_64=""
REQUIRES="jdk"
-MAINTAINER="Marco Bonetti"
-EMAIL="sid77@slackware.it"
+MAINTAINER="Miguel De Anda"
+EMAIL="miguel@thedeanda.com"
diff --git a/system/apache-activemq/rc.activemq b/system/apache-activemq/rc.activemq
index 0f225dc2d6..3022449731 100644
--- a/system/apache-activemq/rc.activemq
+++ b/system/apache-activemq/rc.activemq
@@ -2,9 +2,12 @@
# Start/stop/restart Apache ActiveMQ daemon
DAEMON="/usr/share/activemq/bin/activemq"
+. /etc/default/activemq
case "$1" in
'start')
+ mkdir -p /tmp/activemq
+ chown $ACTIVEMQ_USER /tmp/activemq
${DAEMON} start
;;
'stop')