system/apache-activemq: Updated for version 5.12.1.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
Miguel De Anda 2015-11-13 01:48:11 +07:00 committed by Willy Sudiarto Raharjo
parent fcf3f600df
commit abeae21be1
3 changed files with 12 additions and 7 deletions

View file

@ -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

View file

@ -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"

View file

@ -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')