From: "Matthew Thode" <prometheanfire@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/
Date: Tue, 28 Dec 2021 21:25:41 +0000 (UTC) [thread overview]
Message-ID: <1640726722.054fcbd12a115dc36b047d8426a83820d65bfa98.prometheanfire@gentoo> (raw)
commit: 054fcbd12a115dc36b047d8426a83820d65bfa98
Author: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
AuthorDate: Tue Dec 28 21:21:00 2021 +0000
Commit: Matthew Thode <prometheanfire <AT> gentoo <DOT> org>
CommitDate: Tue Dec 28 21:25:22 2021 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=054fcbd1
www-apps/icingaweb2-module-director: 1.8.1 bump
Bug: https://bugs.gentoo.org/802276
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Matthew Thode <prometheanfire <AT> gentoo.org>
www-apps/icingaweb2-module-director/Manifest | 1 +
.../icingaweb2-module-director-1.8.1.ebuild | 47 ++++++++++++++++++++++
.../icingaweb2-module-director-9999.ebuild | 31 +++++++++-----
3 files changed, 70 insertions(+), 9 deletions(-)
diff --git a/www-apps/icingaweb2-module-director/Manifest b/www-apps/icingaweb2-module-director/Manifest
index 2231e10fbdd1..1b6a70ca56c3 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1 +1,2 @@
DIST icingaweb2-module-director-1.8.0.tar.gz 3042572 BLAKE2B e29ac535c8975f79abfa086ce54e2b78e3f1a992858ec83e902c5e8e72a447f7436a1a9876c1b7237a14d08c54dec12069e9c57231b23c4fd203be3f6f2635b8 SHA512 e33cc49c8255aa3693f73693d874ca5e00a9d95fe3d737c457473d8c5b37f36faf44bbc7f608ba03be79d5a6fd032e5ffd8fbc824eda1831422f837040b0c400
+DIST icingaweb2-module-director-1.8.1.tar.gz 3045604 BLAKE2B b94d870f23f6267250ed1b2165e0960e7a2f6df1b7545a7c22697af1fbc6ec0f0a7d04e92a410c33450613e95fca1c3dbb9db6f974d30a528856a60169a31bf2 SHA512 89fe35061deecd212576b6363289daa433c9664b95221c74a684a88e07ebd36d3b55b4a767f6caefeadb3679c5aa0787b1129f08b6d0fd698e5a2d5b17a3a2d1
diff --git a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.1.ebuild b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.1.ebuild
new file mode 100644
index 000000000000..0d9d32306e89
--- /dev/null
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.1.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2021 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."
+}
diff --git a/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild b/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild
index eab3c4caccb8..0d9d32306e89 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild
@@ -1,10 +1,11 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+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"
@@ -18,17 +19,29 @@ fi
LICENSE="GPL-2"
SLOT="0"
-DEPEND=">=net-analyzer/icinga2-2.4.3
- >=www-apps/icingaweb2-2.2.0
+DEPEND=">=net-analyzer/icinga2-2.6.0
+ >=www-apps/icingaweb2-2.6.0
|| (
- dev-lang/php:5.6[curl]
- dev-lang/php:7.1[curl]
- dev-lang/php:7.2[curl]
- dev-lang/php:7.3[curl]
- )"
+ 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."
}
next reply other threads:[~2021-12-28 21:25 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-12-28 21:25 Matthew Thode [this message]
-- strict thread matches above, loose matches on Subject: below --
2025-02-15 9:29 [gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/ Ulrich Müller
2024-03-16 9:26 Joonas Niilola
2024-03-16 9:26 Joonas Niilola
2024-01-11 14:06 Joonas Niilola
2024-01-11 14:06 Joonas Niilola
2023-09-13 9:26 David Seifert
2023-09-13 9:26 David Seifert
2023-09-13 9:26 David Seifert
2022-09-09 4:48 Matthew Thode
2022-08-09 1:10 Matthew Thode
2022-07-07 15:56 Matthew Thode
2022-04-05 19:03 Brian Evans
2022-03-03 18:17 Jakov Smolić
2022-03-03 18:17 Jakov Smolić
2021-12-29 17:11 Matthew Thode
2021-08-06 15:13 Matthew Thode
2021-07-05 20:02 Matthew Thode
2021-06-08 2:56 Matthew Thode
2019-04-25 1:11 Matthew Thode
2019-03-24 18:37 Matthew Thode
2018-06-15 22:03 Matt Thode
2017-10-04 9:17 Michał Górny
2016-06-30 22:57 Matt Thode
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1640726722.054fcbd12a115dc36b047d8426a83820d65bfa98.prometheanfire@gentoo \
--to=prometheanfire@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox