| 1 |
|
# Copyright 1999-2025 Gentoo Authors
|
|
1 |
# Copyright 1999-2026 Gentoo Authors
|
| 2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
| 3 |
3 |
|
| 4 |
4 |
EAPI=8
|
| 5 |
5 |
|
| 6 |
|
inherit depend.apache
|
|
6 |
inherit depend.apache eapi9-ver
|
| 7 |
7 |
|
| 8 |
8 |
DESCRIPTION="Icinga Web 2 - Frontend for icinga2"
|
| 9 |
9 |
HOMEPAGE="https://icinga.com/"
|
| ... | ... | |
| 11 |
11 |
if [[ ${PV} == *9999 ]];then
|
| 12 |
12 |
inherit git-r3
|
| 13 |
13 |
EGIT_REPO_URI="https://github.com/Icinga/icingaweb2.git"
|
| 14 |
|
EGIT_BRANCH="master"
|
|
14 |
EGIT_BRANCH="main"
|
| 15 |
15 |
else
|
| 16 |
16 |
SRC_URI="https://codeload.github.com/Icinga/${PN}/tar.gz/v${PV} -> ${P}.tar.gz"
|
| 17 |
|
KEYWORDS="amd64 ~arm64 x86"
|
|
17 |
KEYWORDS="~amd64 ~arm64 ~x86"
|
| 18 |
18 |
fi
|
| 19 |
19 |
|
| 20 |
|
LICENSE="GPL-2"
|
|
20 |
LICENSE="GPL-3+"
|
| 21 |
21 |
SLOT="0"
|
| 22 |
22 |
IUSE="apache2 apache2-server fpm ldap mysql nginx pdf postgres"
|
| 23 |
23 |
REQUIRED_USE="( ?? ( apache2-server nginx ) ) apache2? ( apache2-server )"
|
| ... | ... | |
| 28 |
28 |
apache2-server? ( >=www-servers/apache-2.4.0 )
|
| 29 |
29 |
nginx? ( >=www-servers/nginx-1.7.0:* )
|
| 30 |
30 |
|| (
|
| 31 |
|
dev-lang/php:8.1[apache2?,cli,curl,fileinfo,fpm?,gd,intl,ldap?,mysql?,nls,pdo,postgres?,sockets,ssl,xslt,xml]
|
| 32 |
31 |
dev-lang/php:8.2[apache2?,cli,curl,fileinfo,fpm?,gd,intl,ldap?,mysql?,nls,pdo,postgres?,sockets,ssl,xslt,xml]
|
| 33 |
32 |
dev-lang/php:8.3[apache2?,cli,curl,fileinfo,fpm?,gd,intl,ldap?,mysql?,nls,pdo,postgres?,sockets,ssl,xslt,xml]
|
|
33 |
dev-lang/php:8.4[apache2?,cli,curl,fileinfo,fpm?,gd,intl,ldap?,mysql?,nls,pdo,postgres?,sockets,ssl,xslt,xml]
|
|
34 |
dev-lang/php:8.5[apache2?,cli,curl,fileinfo,fpm?,gd,intl,ldap?,mysql?,nls,pdo,postgres?,sockets,ssl,xslt,xml]
|
| 34 |
35 |
)
|
| 35 |
|
>=dev-libs/icinga-php-library-0.13.0
|
| 36 |
|
>=dev-libs/icinga-php-thirdparty-0.12.0
|
|
36 |
>=dev-libs/icinga-php-library-1.1.0
|
|
37 |
>=dev-libs/icinga-php-thirdparty-1.0.0
|
| 37 |
38 |
acct-group/icingacmd
|
| 38 |
39 |
acct-group/icingaweb2"
|
| 39 |
40 |
RDEPEND="${DEPEND}
|
| ... | ... | |
| 73 |
74 |
}
|
| 74 |
75 |
|
| 75 |
76 |
pkg_postinst() {
|
|
77 |
if ver_replacing -lt 2.13; then
|
|
78 |
ewarn "The monitoring module is no longer part of Icinga Web since 2.13."
|
|
79 |
ewarn "Its successor is Icinga DB Web (www-apps/icingadb-web)."
|
|
80 |
fi
|
| 76 |
81 |
einfo "Run 'emerge --config =${CATEGORY}/${PF}' to finish setup."
|
| 77 |
82 |
}
|