diff options
author | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-03 07:24:28 +0000 |
---|---|---|
committer | Francesco Colista <fcolista@alpinelinux.org> | 2017-04-03 07:25:27 +0000 |
commit | e827625eca0595b4654a94c42f8c6e1c264e3470 (patch) | |
tree | 817e250833ff30c2add506116e7e1026628e3469 /community/icinga2 | |
parent | a5f45477f122edf5af9cbf3dcd13cdc37e021f40 (diff) | |
download | aports-e827625eca0595b4654a94c42f8c6e1c264e3470.tar.bz2 aports-e827625eca0595b4654a94c42f8c6e1c264e3470.tar.xz |
community/icinga2: upgrade to 2.6.3
Diffstat (limited to 'community/icinga2')
-rw-r--r-- | community/icinga2/APKBUILD | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/community/icinga2/APKBUILD b/community/icinga2/APKBUILD index 7a178f9fbf..d82fad9a22 100644 --- a/community/icinga2/APKBUILD +++ b/community/icinga2/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Francesco Colista <fcolista@alpinelinux.org> # Maintainer: Francesco Colista <fcolista@alpinelinux.org> pkgname=icinga2 -pkgver=2.6.2 +pkgver=2.6.3 pkgrel=0 pkgdesc="An open source host, service and network monitoring program" url="http://www.icinga.org" @@ -18,10 +18,17 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/Icinga/$pkgname/archive/v$pk $pkgname.initd" builddir="$srcdir/$pkgname-$pkgver" + +check() { + cd "$builddir" + make test +} + prepare() { cd "$builddir" rm -r third-party/yajl mkdir -p build + default_prepare } build() { @@ -42,7 +49,7 @@ build() { -DICINGA2_GROUP=${pkggroups}cmd \ -DICINGA2_COMMAND_GROUP=${pkggroups}cmd \ -DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=no - make || return 1 + make } package() { @@ -76,7 +83,6 @@ EOF chown -R $pkgusers:$pkggroups "$pkgdir"/etc/icinga2 chown -R $pkgusers:$pkggroups "$pkgdir"/var/lib/icinga2 chown $pkgusers:$pkggroups "$pkgdir"/var/spool/icinga2 - chown $pkgusers:$pkggroups "$pkgdir"/var/cache/icinga2/perfdata chown -R $pkgusers:${pkggroups}cmd "$pkgdir"/var/cache/icinga2 chown -R $pkgusers:${pkggroups}cmd "$pkgdir"/var/log/icinga2 @@ -106,5 +112,5 @@ bashcomp() { } -sha512sums="733370fb120b79bbe3bdbf3d4b640083ff26d2a872c545f4efcd23be3462435f75e0b43b269b770296cb6de4a0529f2369fb766e06444d3fdb56f04db6a3dd03 icinga2-2.6.2.tar.gz +sha512sums="c6512411689951611b19a5e80bf360b4cf5ddbf95dcb47cb393f90798e36c052c68b79a5a33a72cd6205ab58d4bb3ac44ec4cd82f9d1d17dc3c0e550723272b3 icinga2-2.6.3.tar.gz f368ea15be7054503924696129fe6b413f9a5cb5344af89f9a0f84df98ac7ef8ab135de60845deced55a982b6b037ce1a00b437189c78fcab981d1e3babec2d5 icinga2.initd" |