Package Details: apache-karaf 4.4.1-1

Git Clone URL: https://aur.archlinux.org/apache-karaf.git (read-only, click to copy)
Package Base: apache-karaf
Description: JVM application and OSGi container
Upstream URL: http://karaf.apache.org/
Licenses: Apache
Submitter: bguthrie
Maintainer: davidalb97
Last Packager: davidalb97
Votes: 2
Popularity: 0.000000
First Submitted: 2016-12-17 07:40 (UTC)
Last Updated: 2022-08-25 18:16 (UTC)

Dependencies (2)

Required by (0)

Sources (2)

Latest Comments

« First ‹ Previous 1 2

alisianoi commented on 2018-07-02 08:36 (UTC) (edited on 2018-07-02 08:36 (UTC) by alisianoi)

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 (UTC)

I think I've done that correctly.

alexz commented on 2017-12-29 17:24 (UTC)

@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 (UTC)

Upgrade to 4.1.4. Thanks alexz!

alexz commented on 2017-12-28 18:55 (UTC) (edited on 2017-12-28 19:08 (UTC) by alexz)

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.