Package Details: apache-karaf 4.1.5-1

Git Clone URL: https://aur.archlinux.org/apache-karaf.git (read-only)
Package Base: apache-karaf
Description: JVM application and OSGi container
Upstream URL: http://karaf.apache.org/
Licenses: Apache
Submitter: bguthrie
Maintainer: bguthrie (alexz)
Last Packager: bguthrie
Votes: 1
Popularity: 0.001454
First Submitted: 2016-12-17 07:40
Last Updated: 2018-07-03 14:00

Latest Comments

alexz commented on 2018-07-03 11:28

@alisianoi +1

Tested and adding the @alisianoi's patch for upgrading to 4.1.5 (in order to help the maintainer): https://ptpb.pw/Lkow

and inline:

diff --git PKGBUILD PKGBUILD
index 5acc7a9..c37528e 100644
--- PKGBUILD
+++ PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Brian Guthrie <aur at="" dot="" nocm="" org="">
 pkgname=apache-karaf
-pkgver=4.1.4
+pkgver=4.1.5
 pkgrel=1
 pkgdesc="JVM application and OSGi container"
 arch=('any')
@@ -15,7 +15,7 @@ backup=("opt/${pkgname}/etc/all.policy"

source=("https://dist.apache.org/repos/dist/release/karaf/${pkgver}/${pkgname}-${pkgver}.tar.gz" 'apache-karaf.service') -sha512sums=('c781afbdfef8b4ce5e8cc2456960770e5e04c8d633c14e0982479b8e81305115f6b50465f58056ad0161f9169aba83a0731d5c3657852cf15b29ab3399834127' +sha512sums=('fdc25a08f92177d22cc6799e9a4c57f1c58b3bd3be18c46663fc7f43b2d8abc96718c4377ebb5763ee67fea2ff3f281429a8881f51acf55ce0bfb7dcafcca832' 'bb9b46c01282baf22fd0d37f47023a833c98dac74c42cf54117476af491ec7bf02856c6b74e10776d692053aa2fe0867da1b6da4bc273680666b126995ec3076')

prepare() {

</aur>

alisianoi commented on 2018-07-02 08:36

Hi, here is a working PKGBUILD for 4.1.5 (just updated version and SHA512):

# Maintainer: Brian Guthrie <aur at nocm dot org>
pkgname=apache-karaf
pkgver=4.1.5
pkgrel=1
pkgdesc="JVM application and OSGi container"
arch=('any')
url="http://karaf.apache.org/"
license=('Apache')
depends=('bash' 'java-environment>=8')
options=('!strip')
backup=("opt/${pkgname}/etc/all.policy"
        "opt/${pkgname}/etc/custom.properties"
        "opt/${pkgname}/etc/keys.properties"
        "opt/${pkgname}/bin/setenv")

source=("https://dist.apache.org/repos/dist/release/karaf/${pkgver}/${pkgname}-${pkgver}.tar.gz"
        'apache-karaf.service')
sha512sums=('fdc25a08f92177d22cc6799e9a4c57f1c58b3bd3be18c46663fc7f43b2d8abc96718c4377ebb5763ee67fea2ff3f281429a8881f51acf55ce0bfb7dcafcca832'
            'bb9b46c01282baf22fd0d37f47023a833c98dac74c42cf54117476af491ec7bf02856c6b74e10776d692053aa2fe0867da1b6da4bc273680666b126995ec3076')

prepare() {
    cd "${pkgname}-${pkgver}"
    rm bin/*.bat
}

package() {
    install -d "${pkgdir}/opt"
    install -d "${pkgdir}/usr/bin"
    install -d "${pkgdir}/usr/lib/systemd/system"

    install -m644 apache-karaf.service "${pkgdir}/usr/lib/systemd/system/"

    cd "${pkgname}-${pkgver}"
    cp -r "${srcdir}/${pkgname}-${pkgver}" "${pkgdir}/opt/${pkgname}"
    ln -s "/opt/${pkgname}/bin/karaf" "${pkgdir}/usr/bin/karaf-server"
    ln -s "/opt/${pkgname}/bin/client" "${pkgdir}/usr/bin/karaf-client"
}

bguthrie commented on 2017-12-29 21:50

I think I've done that correctly.

alexz commented on 2017-12-29 17:24

@bguthrie: YW.

If you give me write permissions to this repo, I can help you maintaining the package (being an Apache Committer myself).

bguthrie commented on 2017-12-28 20:30

Upgrade to 4.1.4. Thanks alexz!

alexz commented on 2017-12-28 18:55

Version 4.1.1 is not available anymore from mirror sites.

curl: (22) The requested URL returned error: 404 Not Found
==> ERROR: Failure while downloading http://www-eu.apache.org/dist/karaf/4.1.1/apache-karaf-4.1.1.tar.gz
    Aborting...
==> ERROR: Makepkg was unable to build apache-karaf.