From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 574CD1581EE for ; Wed, 02 Apr 2025 03:18:33 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 42E12343226 for ; Wed, 02 Apr 2025 03:18:33 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 6310B1104B2; Wed, 02 Apr 2025 03:18:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 577CE1104B2 for ; Wed, 02 Apr 2025 03:18:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 11013343259 for ; Wed, 02 Apr 2025 03:18:29 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 4512F1DF6 for ; Wed, 02 Apr 2025 03:18:27 +0000 (UTC) From: "Jay Faulkner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jay Faulkner" Message-ID: <1743563876.eb2db5be531859a475e94a68ff3d6376c0dc799e.jayf@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/ X-VCS-Repository: repo/gentoo X-VCS-Files: www-apps/icingaweb2-module-director/Manifest www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.4.ebuild X-VCS-Directories: www-apps/icingaweb2-module-director/ X-VCS-Committer: jayf X-VCS-Committer-Name: Jay Faulkner X-VCS-Revision: eb2db5be531859a475e94a68ff3d6376c0dc799e X-VCS-Branch: master Date: Wed, 02 Apr 2025 03:18:27 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: da1618df-8650-41f3-95e9-d287019dcc41 X-Archives-Hash: a5e748a19cd2b506af8df7dbf25a390d commit: eb2db5be531859a475e94a68ff3d6376c0dc799e Author: Anton Fischl fischl-online de> AuthorDate: Tue Apr 1 21:10:05 2025 +0000 Commit: Jay Faulkner gentoo org> CommitDate: Wed Apr 2 03:17:56 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eb2db5be www-apps/icingaweb2-module-director: add 1.11.4 Bug: https://bugs.gentoo.org/953028 Signed-off-by: Anton Fischl fischl-online.de> Signed-off-by: Jay Faulkner gentoo.org> www-apps/icingaweb2-module-director/Manifest | 1 + .../icingaweb2-module-director-1.11.4.ebuild | 71 ++++++++++++++++++++++ 2 files changed, 72 insertions(+) diff --git a/www-apps/icingaweb2-module-director/Manifest b/www-apps/icingaweb2-module-director/Manifest index d785fb822d0e..38901d48af4a 100644 --- a/www-apps/icingaweb2-module-director/Manifest +++ b/www-apps/icingaweb2-module-director/Manifest @@ -1 +1,2 @@ DIST icingaweb2-module-director-1.11.1.tar.gz 3468031 BLAKE2B 9c532a1c940c18e3dfa6961aa0734256a71d5431e1439f0bb3e9099772c05896e387885164e77ad4710e1ebbebbef8c160b46448945312aa37dd72924b12c03e SHA512 8fe55c71518693cfc1f67cf5b9ef7396686cf94b6c7c8cc9efbc8dd855ba2f81d05611bc082acbbcac0046aab7bc94668442e5ee738f1b731958c9e5e44212e9 +DIST icingaweb2-module-director-1.11.4.tar.gz 3472847 BLAKE2B 64a379d24b486a06cdf1eefaa461bd921deba019cca6224fdfa23ce3c095f1d0a134beef440cde097bc42587372c2dde16bd5ac2e787a72988a1a1c63ece6fdd SHA512 67d55c278378e0576cb5ff66343d159b2fbb0a96b2528b8dab7e152d8a1ffcd9bfa74e1a94de18d0836536e6f5bc896d129c71d3670470085f2599fef5ff9c5e diff --git a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.4.ebuild b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.4.ebuild new file mode 100644 index 000000000000..823f14c6a895 --- /dev/null +++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.4.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit eapi9-ver systemd + +DESCRIPTION="Icinga Web 2 plugin for configuration" +HOMEPAGE="https://github.com/Icinga/icingaweb2-module-director/" + +if [[ ${PV} == *9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Icinga/${PN}.git" +else + KEYWORDS="~amd64 ~x86" + SRC_URI="https://codeload.github.com/Icinga/${PN}/tar.gz/v${PV} -> ${P}.tar.gz" +fi + +LICENSE="GPL-2" +SLOT="0" +# Dependencies according to +# https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/02-Installation.md.d/From-Source.md +IUSE="php_targets_php8-2 php_targets_php8-3" + +PHP_DEPEND=" + php_targets_php8-2? ( dev-lang/php:8.2[curl,iconv,pcntl,posix,sockets] ) + php_targets_php8-3? ( dev-lang/php:8.3[curl,iconv,pcntl,posix,sockets] ) +" +DEPEND=" + acct-group/icingaweb2 + acct-user/icingadirector +" +RDEPEND=" + ${PHP_DEPEND} + ${DEPEND} + >=www-apps/icingaweb2-module-incubator-0.22.0 + >=dev-libs/icinga-php-library-0.13.0 + >=dev-libs/icinga-php-thirdparty-0.12.0 + >=www-apps/icingaweb2-2.9.0 +" + +src_install() { + insinto /usr/share/icingaweb2/modules/${PN##*-}/ + doins -r . + + exeinto /usr/share/icingaweb2/bin/ + doexe "${FILESDIR}"/icinga-director.sh + + doinitd "${FILESDIR}"/director + + keepdir /var/lib/${PN} + fowners icingadirector:icingaweb2 /var/lib/${PN} + fperms 0750 /var/lib/${PN} + sed -e "s|/usr/bin/icingacli|/usr/share/icingaweb2/bin/icingacli|g" \ + contrib/systemd/icinga-director.service > "${T}"/icinga-director.service \ + || die "failed to patch icinga-director.service" + systemd_dounit "${T}"/icinga-director.service +} + +pkg_postinst() { + if ver_replacing -lt "1.11.0"; then + ewarn "You are upgrading from ${oldver} to ${PVR}" + ewarn "please read https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/05-Upgrading.md#upgrade-to-1.11.x" + ewarn "for breaking changes" + ewarn + ewarn "Also, don't forget to upgrade database schema." + ewarn "Otherwise icingaweb2-module-director will not work!" + ewarn "(Web GUI => Configuration => Modules => director => Configuration)" + ewarn + fi +}