Gentoo Archives: gentoo-commits

From: Matthew Thode <prometheanfire@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: net-analyzer/icinga2/
Date: Sat, 18 Mar 2023 16:37:13
Message-Id: 1679157388.9258ac2355aaef05fce7c32e77f3365ba89910d5.prometheanfire@gentoo
1 commit: 9258ac2355aaef05fce7c32e77f3365ba89910d5
2 Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
3 AuthorDate: Sat Mar 18 16:36:28 2023 +0000
4 Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
5 CommitDate: Sat Mar 18 16:36:28 2023 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9258ac23
7
8 net-analyzer/icinga2: install small files all the time
9
10 remove the small-files warning, install vim/nano syntax
11
12 Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
13
14 net-analyzer/icinga2/icinga2-9999.ebuild | 18 +++++++-----------
15 1 file changed, 7 insertions(+), 11 deletions(-)
16
17 diff --git a/net-analyzer/icinga2/icinga2-9999.ebuild b/net-analyzer/icinga2/icinga2-9999.ebuild
18 index 2c5482fe5a8f..e74ff9ec6c08 100644
19 --- a/net-analyzer/icinga2/icinga2-9999.ebuild
20 +++ b/net-analyzer/icinga2/icinga2-9999.ebuild
21 @@ -1,4 +1,4 @@
22 -# Copyright 1999-2022 Gentoo Authors
23 +# Copyright 1999-2023 Gentoo Authors
24 # Distributed under the terms of the GNU General Public License v2
25
26 EAPI=7
27 @@ -18,7 +18,7 @@ HOMEPAGE="https://icinga.com/"
28
29 LICENSE="GPL-2"
30 SLOT="0"
31 -IUSE="console jumbo-build lto mail mariadb minimal +mysql nano-syntax +plugins postgres systemd +vim-syntax"
32 +IUSE="console jumbo-build lto mail mariadb minimal +mysql +plugins postgres systemd"
33
34 # Add accounts to DEPEND because of fowners in src_install
35 DEPEND="
36 @@ -120,16 +120,12 @@ src_install() {
37 fperms ug+rwX,o-rwx /var/spool/icinga2
38 fperms ug+rwX,o-rwx /var/log/icinga2
39
40 - if use vim-syntax; then
41 - insinto /usr/share/vim/vimfiles
42 - doins -r "${WORKDIR}"/${P}/tools/syntax/vim/ftdetect
43 - doins -r "${WORKDIR}"/${P}/tools/syntax/vim/syntax
44 - fi
45 + insinto /usr/share/vim/vimfiles
46 + doins -r "${WORKDIR}"/${P}/tools/syntax/vim/ftdetect
47 + doins -r "${WORKDIR}"/${P}/tools/syntax/vim/syntax
48
49 - if use nano-syntax; then
50 - insinto /usr/share/nano
51 - doins "${WORKDIR}"/${P}/tools/syntax/nano/icinga2.nanorc
52 - fi
53 + insinto /usr/share/nano
54 + doins "${WORKDIR}"/${P}/tools/syntax/nano/icinga2.nanorc
55 }
56
57 pkg_postinst() {