summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Thode <prometheanfire@gentoo.org>2016-08-24 08:10:06 -0500
committerMatthew Thode <prometheanfire@gentoo.org>2016-08-24 08:11:05 -0500
commit0222a1b4b37482532ee1c61062d98579699bee9a (patch)
tree75fd08d6b870f9eaaead8681bfbb382c1180b139 /net-analyzer
parentnet-im/gg-transport: Version bump (diff)
downloadgentoo-0222a1b4b37482532ee1c61062d98579699bee9a.tar.gz
gentoo-0222a1b4b37482532ee1c61062d98579699bee9a.tar.bz2
gentoo-0222a1b4b37482532ee1c61062d98579699bee9a.zip
net-analyzer/icinga2: fixing postinst message and keywording 2.5.1
Package-Manager: portage-2.2.28
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/icinga2/icinga2-2.5.1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/net-analyzer/icinga2/icinga2-2.5.1.ebuild b/net-analyzer/icinga2/icinga2-2.5.1.ebuild
index 0b3ce39093bd..b530bfc69525 100644
--- a/net-analyzer/icinga2/icinga2-2.5.1.ebuild
+++ b/net-analyzer/icinga2/icinga2-2.5.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS=""
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
IUSE="+mysql postgres classicui console libressl lto mail minimal nano-syntax +plugins studio +vim-syntax"
CDEPEND="
@@ -159,6 +159,8 @@ src_install() {
}
pkg_postinst() {
- elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database"
- elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909"
+ if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} && ${REPLACING_VERSIONS} != ${PV} ]]; then
+ elog "DB IDO schema upgrade may be required required.
+ http://docs.icinga.org/icinga2/snapshot/doc/module/icinga2/chapter/upgrading-icinga-2"
+ fi
}