diff options
author | Julian Brost | 2018-01-20 20:46:21 +0100 |
---|---|---|
committer | Julian Brost | 2018-01-20 20:46:21 +0100 |
commit | b679b55be6c58cda6e7972d35558a69953ab70bd (patch) | |
tree | 11b44c21b88d6e5f76e40529b3081bd7ee128b86 | |
parent | 5ebf572d7eec4630befa00e4063c252cfd31dd2b (diff) | |
download | aur-b679b55be6c58cda6e7972d35558a69953ab70bd.tar.gz |
new version 2.8.1-1
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 4 | ||||
-rw-r--r-- | icinga2.install | 10 |
3 files changed, 15 insertions, 7 deletions
@@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Sat Nov 11 08:50:38 UTC 2017 pkgbase = icinga2 pkgdesc = An open source host, service and network monitoring program - pkgver = 2.7.2 + pkgver = 2.8.1 pkgrel = 1 url = http://www.icinga.org arch = i686 @@ -17,8 +15,8 @@ pkgbase = icinga2 depends = libedit depends = openssl depends = yajl - source = https://github.com/Icinga/icinga2/archive/v2.7.2.tar.gz - sha256sums = 7e9691ad3389f04a53042d88c1ac8a37e2c9aaf8287856cad3fa48825adaee84 + source = https://github.com/Icinga/icinga2/archive/v2.8.1.tar.gz + sha256sums = 83930bf95a5c6562cc31c37ddb01b361665497ef7001e9cc8763fd499a4d709d pkgname = icinga2-common pkgdesc = Common files for Icinga2 @@ -3,7 +3,7 @@ pkgname=('icinga2-common' 'icinga2' 'icinga-studio') pkgbase=icinga2 -pkgver=2.7.2 +pkgver=2.8.1 pkgrel=1 pkgdesc="An open source host, service and network monitoring program" license=('GPL') @@ -12,7 +12,7 @@ url="http://www.icinga.org" depends=('boost-libs' 'libedit' 'openssl' 'yajl') makedepends=('boost' 'cmake' 'libmariadbclient' 'postgresql-libs' 'wxgtk') source=("https://github.com/Icinga/$pkgbase/archive/v$pkgver.tar.gz") -sha256sums=('7e9691ad3389f04a53042d88c1ac8a37e2c9aaf8287856cad3fa48825adaee84') +sha256sums=('83930bf95a5c6562cc31c37ddb01b361665497ef7001e9cc8763fd499a4d709d') build() { mkdir -p "$srcdir/$pkgbase-$pkgver/build" diff --git a/icinga2.install b/icinga2.install index 5416cfd14911..14ec50e3d0c8 100644 --- a/icinga2.install +++ b/icinga2.install @@ -30,3 +30,13 @@ post_remove() { /usr/bin/getent group icinga &> /dev/null && /usr/bin/groupdel icinga &> /dev/null /usr/bin/getent group icingacmd &> /dev/null && /usr/bin/groupdel icingacmd &> /dev/null } + +post_upgrade() { + if [[ "$(vercmp "$2" '2.8.0')" -lt 0 ]]; then + cat << EOF +==> Icinga version 2.8.0 requires an DB IDO schema upgrade and uses new paths +==> for certificates. Check the upgrading instructions for details: +==> https://www.icinga.com/docs/icinga2/latest/doc/16-upgrading-icinga-2/#upgrading-to-v28 +EOF + fi +} |