From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6264C158094 for ; Thu, 7 Jul 2022 15:56:52 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 2B33EE0BE5; Thu, 7 Jul 2022 15:56:51 +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 pigeon.gentoo.org (Postfix) with ESMTPS id D22E4E0BE5 for ; Thu, 7 Jul 2022 15:56:50 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 C1CBE33BF08 for ; Thu, 7 Jul 2022 15:56:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 19569526 for ; Thu, 7 Jul 2022 15:56:48 +0000 (UTC) From: "Matthew Thode" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matthew Thode" Message-ID: <1657209401.4f6f8132cce5369d5332a032ecce7dcea984ceda.prometheanfire@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.9.1.ebuild X-VCS-Directories: www-apps/icingaweb2-module-director/ X-VCS-Committer: prometheanfire X-VCS-Committer-Name: Matthew Thode X-VCS-Revision: 4f6f8132cce5369d5332a032ecce7dcea984ceda X-VCS-Branch: master Date: Thu, 7 Jul 2022 15:56:48 +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: dc4eb346-0e01-4422-97c1-73314b229742 X-Archives-Hash: 02175679310ca8458e9857e40d37f47d commit: 4f6f8132cce5369d5332a032ecce7dcea984ceda Author: Matthew Thode gentoo org> AuthorDate: Thu Jul 7 15:54:37 2022 +0000 Commit: Matthew Thode gentoo org> CommitDate: Thu Jul 7 15:56:41 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6f8132 www-apps/icingaweb2-module-director: 1.9.1 bump Closes: https://bugs.gentoo.org/856679 Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Matthew Thode gentoo.org> www-apps/icingaweb2-module-director/Manifest | 1 + .../icingaweb2-module-director-1.9.1.ebuild | 47 ++++++++++++++++++++++ 2 files changed, 48 insertions(+) diff --git a/www-apps/icingaweb2-module-director/Manifest b/www-apps/icingaweb2-module-director/Manifest index 2c2b18489f72..499d19ecbf4e 100644 --- a/www-apps/icingaweb2-module-director/Manifest +++ b/www-apps/icingaweb2-module-director/Manifest @@ -1 +1,2 @@ DIST icingaweb2-module-director-1.8.1.tar.gz 3045604 BLAKE2B b94d870f23f6267250ed1b2165e0960e7a2f6df1b7545a7c22697af1fbc6ec0f0a7d04e92a410c33450613e95fca1c3dbb9db6f974d30a528856a60169a31bf2 SHA512 89fe35061deecd212576b6363289daa433c9664b95221c74a684a88e07ebd36d3b55b4a767f6caefeadb3679c5aa0787b1129f08b6d0fd698e5a2d5b17a3a2d1 +DIST icingaweb2-module-director-1.9.1.tar.gz 3095028 BLAKE2B 497dfc2f4a6f3f7f11c75dc4b934f54f4ff7e0644d97637bcd3a932e88e8bc719290b87be93ce15a6160966f8e1d959cfd6b150a9f630f13d6ea1e455753e776 SHA512 0fa0da31b1d8899ee127f6c2e6f4ee243dc21fc9516cec70a687a78188c84d0de4bddb1ad20e1b0c22200d4219407bc7d128be7063eeeb5e0eb48f0054846f79 diff --git a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.9.1.ebuild b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.9.1.ebuild new file mode 100644 index 000000000000..c9c0c1eaca8f --- /dev/null +++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.9.1.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DESCRIPTION="Icinga Web 2 plugin for configuration" +HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/" +inherit systemd +if [[ "${PV}" == 9999 ]]; then + inherit git-r3 + EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git" +else + KEYWORDS="~amd64 ~x86" + MY_PN="icingaweb2-module-director" + SRC_URI="https://codeload.github.com/Icinga/${MY_PN}/tar.gz/v${PV} -> ${P}.tar.gz" + S="${WORKDIR}/${MY_PN}-${PV}" +fi + +LICENSE="GPL-2" +SLOT="0" + +DEPEND=">=net-analyzer/icinga2-2.6.0 + >=www-apps/icingaweb2-2.6.0 + || ( + dev-lang/php:7.3[curl,iconv,pcntl,posix,sockets] + dev-lang/php:7.4[curl,iconv,pcntl,posix,sockets] + dev-lang/php:8.0[curl,iconv,pcntl,posix,sockets] + ) + acct-group/icingaweb2 + acct-user/icingadirector" +RDEPEND="${DEPEND}" + +src_install() { + insinto "/usr/share/icingaweb2/modules/director/" + doins -r "${S}"/* + 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() { + elog "Enable and start the icinga-director.service systemd service." +}