Package Details: activemq 6.0.0-1

Git Clone URL: https://aur.archlinux.org/activemq.git (read-only, click to copy)
Package Base: activemq
Description: Popular and powerful open source messaging and Integration Patterns provider
Upstream URL: https://activemq.apache.org
Licenses: Apache 2.0
Submitter: None
Maintainer: Christian.H
Last Packager: Christian.H
Votes: 6
Popularity: 0.000057
First Submitted: 2017-07-17 03:13 (UTC)
Last Updated: 2023-11-24 09:52 (UTC)

Dependencies (2)

Required by (1)

Sources (3)

Latest Comments

1 2 Next › Last »

Catmily commented on 2024-05-26 14:47 (UTC) (edited on 2024-05-26 14:48 (UTC) by Catmily)

PKGBUILD correction for 6.1.2

# Contributor: Aleksandr <contact at via dot aur>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Christian Hersevoort <contact at via dot aur>

pkgname=activemq
pkgver=6.1.2
pkgrel=1
pkgdesc="Popular and powerful open source messaging and Integration Patterns provider"
arch=('x86_64')
url="https://activemq.apache.org"
license=('Apache 2.0')
depends=('java-runtime' 'lsb-release')
source=("https://dlcdn.apache.org/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
        'service'
        'sysusers')
sha512sums=('e912ba1efad4cf5309e9516eb1735d450d9d713532d363fd40bf89dfe8e924c777050d9393b4ee4f822046190843ead69184c8d8f004628ee704fefaff66e5c5'
            '5fc6617e5104956603145cbdb62a909f4df7d1b4bd386685e0eaa0257fb7779144b8befae8e2d2f6d1604c487af781f45aff621f12b59b854f66f524bf726b1b'
            '70da58b82ed88644b0095a033821745055c23714d62ff24ef578ad83111b876327f60470de39e34f10246ed8b37ca3084a6087d264d4b07fd8d326c071b29b45')
options=(!strip)
install=install

package() {
    install -dm0755 "${pkgdir}/opt/${pkgname}"
    install -dm0755 "${pkgdir}/usr/lib/sysusers.d"
    install -D -m0644 sysusers "${pkgdir}/usr/lib/sysusers.d/activemq.conf"
    install -D -m0644 service "${pkgdir}/usr/lib/systemd/system/activemq.service"
    mv apache-${pkgname}-${pkgver} "${pkgdir}/opt/${pkgname}/"
    ln -s /opt/activemq/apache-${pkgname}-${pkgver} ${pkgdir}/opt/${pkgname}/current
}

worldwidewurf commented on 2023-11-23 11:13 (UTC) (edited on 2023-11-23 11:16 (UTC) by worldwidewurf)

As of 2023 Novermber 23 this package build worked for me

# Contributor: Aleksandr <contact at via dot aur>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>

pkgname=activemq
pkgver=6.0.0
pkgrel=1
pkgdesc="Popular and powerful open source messaging and Integration Patterns provider"
arch=('x86_64')
url="https://activemq.apache.org"
license=('Apache 2.0')
depends=('java-runtime' 'lsb-release')
source=("https://archive.apache.org/dist/activemq/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
        'service'
        'sysusers')
sha256sums=('02274164aacb1883ed997ae060aed8116c57cac3153e2a1d36aca218cc907146'
            '8a3dbf1130cb66beef6d5bb84636594bbd090663e4ccca5214c8269e0c8a6e1f'
            '3898131d4c696828dd2cca793907417db9471ad6bf9c8014d25a4995796daff7')
options=(!strip)
install=install

package() {
    install -dm0755 "${pkgdir}/opt/${pkgname}"
    install -dm0755 "${pkgdir}/usr/lib/sysusers.d"
    install -D -m0644 sysusers "${pkgdir}/usr/lib/sysusers.d/activemq.conf"
    install -D -m0644 service "${pkgdir}/usr/lib/systemd/system/activemq.service"
    mv apache-${pkgname}-${pkgver} "${pkgdir}/opt/${pkgname}/"
    ln -s /opt/activemq/apache-${pkgname}-${pkgver} ${pkgdir}/opt/${pkgname}/current
}

dark_barker commented on 2022-11-07 15:25 (UTC)

works:

pkgname=activemq
pkgver=5.17.2
pkgrel=1
pkgdesc="Popular and powerful open source messaging and Integration Patterns provider"
arch=('x86_64')
url="https://activemq.apache.org"
license=('Apache 2.0')
depends=('java-runtime' 'lsb-release')
#source=("$url/dist/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
source=("https://dlcdn.apache.org/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
        'service'
        'sysusers')
options=(!strip)
install=install

package() {
    install -dm0755 "${pkgdir}/opt/${pkgname}"
    install -dm0755 "${pkgdir}/usr/lib/sysusers.d"
    install -D -m0644 sysusers "${pkgdir}/usr/lib/sysusers.d/activemq.conf"
    install -D -m0644 service "${pkgdir}/usr/lib/systemd/system/activemq.service"
    mv apache-${pkgname}-${pkgver} "${pkgdir}/opt/${pkgname}/"
    ln -s /opt/activemq/apache-${pkgname}-${pkgver} ${pkgdir}/opt/${pkgname}/current
}

sha512sums=('7c6ee4c1a9f58ccaa374d8528255d55c181c3402855fe06202bb30f722bdbd69a2cebaf0eded67324f94b4158b6d8d97b621d8730d92676e51b982ed4fc8a7b0'
            '5fc6617e5104956603145cbdb62a909f4df7d1b4bd386685e0eaa0257fb7779144b8befae8e2d2f6d1604c487af781f45aff621f12b59b854f66f524bf726b1b'
            '70da58b82ed88644b0095a033821745055c23714d62ff24ef578ad83111b876327f60470de39e34f10246ed8b37ca3084a6087d264d4b07fd8d326c071b29b45')

ajian commented on 2022-03-20 08:44 (UTC)

这个下载不下来,显示404 https://activemq.apache.org/dist/activemq/5.16.3/apache-activemq-5.16.3-bin.tar.gz 新版好像是 https://dlcdn.apache.org//activemq/5.17.0/apache-activemq-5.17.0-bin.tar.gz

crispyrice commented on 2021-10-21 09:17 (UTC)

Package is out of date. This pkgbuild works:

pkgname=activemq
pkgver=5.16.3
pkgrel=1
pkgdesc="Popular and powerful open source messaging and Integration Patterns provider"
arch=('x86_64')
url="https://downloads.apache.org"
license=('Apache 2.0')
depends=('java-runtime' 'lsb-release')
source=("$url/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
        'service'
            'sysusers')
options=(!strip)
install=install

package() {
    install -dm0755 "${pkgdir}/opt/${pkgname}"
    install -dm0755 "${pkgdir}/usr/lib/sysusers.d"
    install -D -m0644 sysusers "${pkgdir}/usr/lib/sysusers.d/activemq.conf"
    install -D -m0644 service "${pkgdir}/usr/lib/systemd/system/activemq.service"
    mv apache-${pkgname}-${pkgver} "${pkgdir}/opt/${pkgname}/"
    ln -s /opt/activemq/apache-${pkgname}-${pkgver} ${pkgdir}/opt/${pkgname}/current
}

sha512sums=('3394afe9963f55cf62dafb287bdc58cac1fb76a614cc87939bec7b7909972eb5b3069022a9eb324242a315899b1096335c0531af75152c74eb309c0c5981b217'
            '5fc6617e5104956603145cbdb62a909f4df7d1b4bd386685e0eaa0257fb7779144b8befae8e2d2f6d1604c487af781f45aff621f12b59b854f66f524bf726b1b'
            '70da58b82ed88644b0095a033821745055c23714d62ff24ef578ad83111b876327f60470de39e34f10246ed8b37ca3084a6087d264d4b07fd8d326c071b29b45')

Used sha512sums because the download server has them readily available

Luca91 commented on 2021-03-26 10:10 (UTC) (edited on 2021-03-26 10:19 (UTC) by Luca91)

Dear maintainer, the current download URL is incorrect (404) and I can't update my activemq installation. Please update the URL. I've written this patch for your, feel free to apply it, or to modify it as you wish.

diff --git a/activemq_orig b/activemq
index d776b3c..2004e53 100644
--- a/activemq_orig
+++ b/activemq
@@ -6,10 +6,10 @@ pkgver=5.16.1
 pkgrel=1
 pkgdesc="Popular and powerful open source messaging and Integration Patterns provider"
 arch=('x86_64')
-url="http://activemq.apache.org"
+url="https://downloads.apache.org"
 license=('Apache 2.0')
 depends=('java-runtime' 'lsb-release')
-source=("$url/dist/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"  
+source=("$url/${pkgname}/${pkgver}/apache-${pkgname}-${pkgver}-bin.tar.gz"
        'service'
        'sysusers')
 options=(!strip)

PS: this patch also use an HTTPS link.

Thank you very much, Luca

3ocene commented on 2019-10-31 18:01 (UTC)

The service file seems to be looking in the wrong place for the executable. I get the following error when starting the service:

activemq.service: Failed to execute command: No such file or directory
activemq.service: Failed at step EXEC spawning /opt/activemq/bin/activemq: No such file or directory

Digging in a little bit, I see an executable at the following paths

/opt/activemq/current/bin/activemq
/opt/activemq/apache-activemq-5.15.10/bin/activemq

current is a symlink to apache-activemq-5.15.10 so this is the same executable

<deleted-account> commented on 2019-10-21 04:18 (UTC)

Updated

dark_barker commented on 2019-10-15 12:18 (UTC) (edited on 2019-10-15 12:19 (UTC) by dark_barker)

The current service-file is broken(?). The command in ExecStart is blocking (/usr/bin/java -jar /opt/activemq/bin/activemq.jar start). As a result, the service does not start by timeout:

# systemctl start activemq
Job for activemq.service failed because a timeout was exceeded.

in status/journalctl:

activemq.service: start operation timed out. Terminating.
...
activemq.service: Control process exited, code=exited, status=143/n/a
activemq.service: Failed with result 'timeout'.

<deleted-account> commented on 2019-02-28 16:03 (UTC)

Could you perhaps also add the files in /opt/activemq/conf to the backup field of the PKGBUILD, to avoid changes in activemq.xml being overwritten on update?