summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD4
-rw-r--r--icinga2.install10
3 files changed, 15 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index f44a86fa5593..51ac7259061d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index 6ddc5c12a3ad..fd121291cafc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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
+}