From: | Matt Thode <prometheanfire@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] repo/gentoo:master commit in: net-analyzer/icinga2/ |
Date: | Wed, 24 Aug 2016 13:11:43 |
Message-Id: | 1472044265.0222a1b4b37482532ee1c61062d98579699bee9a.prometheanfire@gentoo |
1 | commit: 0222a1b4b37482532ee1c61062d98579699bee9a |
2 | Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org> |
3 | AuthorDate: Wed Aug 24 13:10:06 2016 +0000 |
4 | Commit: Matt Thode <prometheanfire <AT> gentoo <DOT> org> |
5 | CommitDate: Wed Aug 24 13:11:05 2016 +0000 |
6 | URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0222a1b4 |
7 | |
8 | net-analyzer/icinga2: fixing postinst message and keywording 2.5.1 |
9 | |
10 | Package-Manager: portage-2.2.28 |
11 | |
12 | net-analyzer/icinga2/icinga2-2.5.1.ebuild | 8 +++++--- |
13 | 1 file changed, 5 insertions(+), 3 deletions(-) |
14 | |
15 | diff --git a/net-analyzer/icinga2/icinga2-2.5.1.ebuild b/net-analyzer/icinga2/icinga2-2.5.1.ebuild |
16 | index 0b3ce39..b530bfc 100644 |
17 | --- a/net-analyzer/icinga2/icinga2-2.5.1.ebuild |
18 | +++ b/net-analyzer/icinga2/icinga2-2.5.1.ebuild |
19 | @@ -11,7 +11,7 @@ SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
20 | |
21 | LICENSE="GPL-2" |
22 | SLOT="0" |
23 | -KEYWORDS="" |
24 | +KEYWORDS="~amd64 ~arm ~arm64 ~x86" |
25 | IUSE="+mysql postgres classicui console libressl lto mail minimal nano-syntax +plugins studio +vim-syntax" |
26 | |
27 | CDEPEND=" |
28 | @@ -159,6 +159,8 @@ src_install() { |
29 | } |
30 | |
31 | pkg_postinst() { |
32 | - elog "DB IDO schema upgrade required. http://docs.icinga.org/icinga2/snapshot/chapter-2.html#upgrading-the-mysql-database" |
33 | - elog "You will need to update your configuration files, see https://dev.icinga.org/issues/5909" |
34 | + if [[ ${PV} != 9999 && -n ${REPLACING_VERSIONS} && ${REPLACING_VERSIONS} != ${PV} ]]; then |
35 | + elog "DB IDO schema upgrade may be required required. |
36 | + http://docs.icinga.org/icinga2/snapshot/doc/module/icinga2/chapter/upgrading-icinga-2" |
37 | + fi |
38 | } |