Diff icinga2-2.15.0-r2 with a icinga2-9999
| /usr/portage/net-analyzer/icinga2/icinga2-9999.ebuild 2025-04-16 18:21:12.213919387 +0300 | ||
|---|---|---|
| 1 |
# Copyright 1999-2026 Gentoo Authors |
|
| 1 |
# Copyright 1999-2025 Gentoo Authors |
|
| 2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
| 3 | 3 | |
| 4 | 4 |
EAPI=8 |
| 5 | 5 | |
| 6 | 6 |
inherit cmake eapi9-ver |
| 7 | 7 | |
| 8 |
# https://bugs.gentoo.org/960527#c9 |
|
| 9 |
CMAKE_QA_COMPAT_SKIP=1 |
|
| 10 | ||
| 11 | 8 |
if [[ ${PV} != 9999 ]]; then
|
| 12 | 9 |
SRC_URI="https://github.com/Icinga/icinga2/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
| 13 |
KEYWORDS="amd64 ~arm64 x86" |
|
| 10 |
KEYWORDS="~amd64 ~arm64 ~x86" |
|
| 14 | 11 |
else |
| 15 | 12 |
inherit git-r3 |
| 16 | 13 |
EGIT_REPO_URI="https://github.com/Icinga/icinga2.git" |
| ... | ... | |
| 21 | 18 | |
| 22 | 19 |
LICENSE="GPL-2" |
| 23 | 20 |
SLOT="0" |
| 24 |
IUSE="console jumbo-build mail mariadb minimal +mysql +plugins postgres test systemd" |
|
| 25 |
RESTRICT="!test? ( test )" |
|
| 21 |
IUSE="console jumbo-build mail mariadb minimal +mysql +plugins postgres systemd" |
|
| 26 | 22 | |
| 27 | 23 |
# Add accounts to DEPEND because of fowners in src_install |
| 28 | 24 |
DEPEND=" |
| ... | ... | |
| 54 | 50 |
REQUIRED_USE="!minimal? ( || ( mariadb mysql postgres ) )" |
| 55 | 51 | |
| 56 | 52 |
PATCHES=( |
| 57 |
"${FILESDIR}/icinga2-boost-1.89.patch"
|
|
| 53 |
"${FILESDIR}"/${PN}-2.14.5-boost-1.87.patch
|
|
| 58 | 54 |
) |
| 59 | 55 | |
| 60 | 56 |
src_configure() {
|
| ... | ... | |
| 70 | 66 |
-DICINGA2_RUNDIR=/run |
| 71 | 67 |
-DINSTALL_SYSTEMD_SERVICE_AND_INITSCRIPT=ON |
| 72 | 68 |
-DUSE_SYSTEMD=$(usex systemd) |
| 73 |
-DICINGA2_WITH_TESTS=$(usex test) |
|
| 74 | 69 |
-DLOGROTATE_HAS_SU=ON |
| 75 | 70 |
# only appends -flto |
| 76 | 71 |
-DICINGA2_LTO_BUILD=OFF |