[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2024-03-16 Thread Joonas Niilola
commit: 064056064b8ecf908d57298826d1ea8eb9c0fe5a
Author: Anton Fischl  fischl-online  de>
AuthorDate: Wed Feb 14 03:32:14 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 16 09:26:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=06405606

www-apps/icingaweb2-module-director: : update dependencies

Signed-off-by: Anton Fischl  fischl-online.de>
Closes: https://github.com/gentoo/gentoo/pull/35295
Signed-off-by: Joonas Niilola  gentoo.org>

 .../icingaweb2-module-director-.ebuild| 19 +++
 1 file changed, 11 insertions(+), 8 deletions(-)

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
index 370c6d78fa9b..7e4d8a5a4368 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -18,11 +18,14 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-# Dependencies according to 
https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/02-Installation.md
-IUSE="php_targets_php8-1"
+# Dependencies according to
+# 
https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/02-Installation.md.d/From-Source.md
+IUSE="php_targets_php8-1 php_targets_php8-2 php_targets_php8-3"
 
 PHP_DEPEND="
php_targets_php8-1? ( dev-lang/php:8.1[curl,iconv,pcntl,posix,sockets] )
+   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
@@ -31,9 +34,9 @@ DEPEND="
 RDEPEND="
${PHP_DEPEND}
${DEPEND}
-   >=www-apps/icingaweb2-module-incubator-0.18.0
-   >=dev-libs/icinga-php-library-0.5.0
-   >=dev-libs/icinga-php-thirdparty-0.9.0
+   >=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
 "
 
@@ -60,9 +63,9 @@ pkg_postinst() {
# numbers, even though in practice it is typically just one.
local oldver
for oldver in ${REPLACING_VERSIONS}; do
-   if ver_test "${oldver}" -lt "1.10.0"; then
+   if ver_test "${oldver}" -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.10.x;
+   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."



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2024-03-16 Thread Joonas Niilola
commit: fb3ee481feff5cbae667ddb7ec62d7a6599a8018
Author: Anton Fischl  fischl-online  de>
AuthorDate: Tue Feb 13 05:51:19 2024 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Sat Mar 16 09:26:48 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fb3ee481

www-apps/icingaweb2-module-director: add 1.11.1, drop 1.11.0

Signed-off-by: Anton Fischl  fischl-online.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest | 2 +-
 ...rector-1.11.0.ebuild => icingaweb2-module-director-1.11.1.ebuild} | 5 +++--
 2 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index b063fce962f0..d785fb822d0e 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1 +1 @@
-DIST icingaweb2-module-director-1.11.0.tar.gz 3465395 BLAKE2B 
8d0dcb590c3a735bcd279bf044c354b34f2f1edbc238a71236ec60e1e915660b80230c5076234cd6fb75fc7ec0ab1a8df967092c3f2f1c5e9305033b04236bf4
 SHA512 
1709920489248e7b6a84ffaa50996c9c061e04e744224fabc48a8885c30ed136cd0eb6db1a5e9a7bb3e07302b733554afa27060295b2ecea25f3416646656285
+DIST icingaweb2-module-director-1.11.1.tar.gz 3468031 BLAKE2B 
9c532a1c940c18e3dfa6961aa0734256a71d5431e1439f0bb3e9099772c05896e387885164e77ad4710e1ebbebbef8c160b46448945312aa37dd72924b12c03e
 SHA512 
8fe55c71518693cfc1f67cf5b9ef7396686cf94b6c7c8cc9efbc8dd855ba2f81d05611bc082acbbcac0046aab7bc94668442e5ee738f1b731958c9e5e44212e9

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild
similarity index 92%
rename from 
www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild
rename to 
www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild
index c6b6e7186f8f..7e4d8a5a4368 100644
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild
@@ -20,11 +20,12 @@ 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-1 php_targets_php8-2"
+IUSE="php_targets_php8-1 php_targets_php8-2 php_targets_php8-3"
 
 PHP_DEPEND="
php_targets_php8-1? ( dev-lang/php:8.1[curl,iconv,pcntl,posix,sockets] )
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
@@ -33,7 +34,7 @@ DEPEND="
 RDEPEND="
${PHP_DEPEND}
${DEPEND}
-   >=www-apps/icingaweb2-module-incubator-0.20.0
+   >=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



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2024-01-11 Thread Joonas Niilola
commit: cbdcbdde703a0c12b45d5400d7c4b1d86a21faaa
Author: Anton Fischl  fischl-online  de>
AuthorDate: Sun Nov  5 09:00:16 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan 11 14:05:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cbdcbdde

www-apps/icingaweb2-module-director: add 1.11.0

Signed-off-by: Anton Fischl  fischl-online.de>
Signed-off-by: Joonas Niilola  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 +
 .../icingaweb2-module-director-1.11.0.ebuild   | 77 ++
 2 files changed, 78 insertions(+)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 6ab8916c3280..455f35328ab3 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1 +1,2 @@
 DIST icingaweb2-module-director-1.10.2.tar.gz 3114956 BLAKE2B 
d050c501682ac3c1481d8710a3fc64642d0b18e92448bf05cd4a51e8a660c7a9abf571937a559a2dadd949535fca04feb1004a8613de7e4d0bbe54db5a377a25
 SHA512 
b301b71abada8c8722c03717a9def17c8ae53c951c83d5ef3a62f758fb93dd814d1b61d450987ddd0d8d3631145637dc6b26884134019e320cdd28cdedbc9794
+DIST icingaweb2-module-director-1.11.0.tar.gz 3465395 BLAKE2B 
8d0dcb590c3a735bcd279bf044c354b34f2f1edbc238a71236ec60e1e915660b80230c5076234cd6fb75fc7ec0ab1a8df967092c3f2f1c5e9305033b04236bf4
 SHA512 
1709920489248e7b6a84ffaa50996c9c061e04e744224fabc48a8885c30ed136cd0eb6db1a5e9a7bb3e07302b733554afa27060295b2ecea25f3416646656285

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild
new file mode 100644
index ..c6b6e7186f8f
--- /dev/null
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://github.com/Icinga/icingaweb2-module-director/;
+
+if [[ ${PV} == * ]]; 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-1 php_targets_php8-2"
+
+PHP_DEPEND="
+   php_targets_php8-1? ( dev-lang/php:8.1[curl,iconv,pcntl,posix,sockets] )
+   php_targets_php8-2? ( dev-lang/php:8.2[curl,iconv,pcntl,posix,sockets] )
+"
+DEPEND="
+   acct-group/icingaweb2
+   acct-user/icingadirector
+"
+RDEPEND="
+   ${PHP_DEPEND}
+   ${DEPEND}
+   >=www-apps/icingaweb2-module-incubator-0.20.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() {
+   # According to PMS this can be a space-separated list of version
+   # numbers, even though in practice it is typically just one.
+   local oldver
+   for oldver in ${REPLACING_VERSIONS}; do
+   if ver_test "${oldver}" -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
+   break
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2024-01-11 Thread Joonas Niilola
commit: 48d09f299c2cd1e14b86c5385ffcd7ae64105429
Author: Anton Fischl  fischl-online  de>
AuthorDate: Sun Nov  5 09:03:36 2023 +
Commit: Joonas Niilola  gentoo  org>
CommitDate: Thu Jan 11 14:05:46 2024 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48d09f29

www-apps/icingaweb2-module-director: drop 1.10.2

Signed-off-by: Anton Fischl  fischl-online.de>
Closes: https://github.com/gentoo/gentoo/pull/33675
Signed-off-by: Joonas Niilola  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 -
 .../icingaweb2-module-director-1.10.2.ebuild   | 75 --
 2 files changed, 76 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 455f35328ab3..b063fce962f0 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,2 +1 @@
-DIST icingaweb2-module-director-1.10.2.tar.gz 3114956 BLAKE2B 
d050c501682ac3c1481d8710a3fc64642d0b18e92448bf05cd4a51e8a660c7a9abf571937a559a2dadd949535fca04feb1004a8613de7e4d0bbe54db5a377a25
 SHA512 
b301b71abada8c8722c03717a9def17c8ae53c951c83d5ef3a62f758fb93dd814d1b61d450987ddd0d8d3631145637dc6b26884134019e320cdd28cdedbc9794
 DIST icingaweb2-module-director-1.11.0.tar.gz 3465395 BLAKE2B 
8d0dcb590c3a735bcd279bf044c354b34f2f1edbc238a71236ec60e1e915660b80230c5076234cd6fb75fc7ec0ab1a8df967092c3f2f1c5e9305033b04236bf4
 SHA512 
1709920489248e7b6a84ffaa50996c9c061e04e744224fabc48a8885c30ed136cd0eb6db1a5e9a7bb3e07302b733554afa27060295b2ecea25f3416646656285

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.10.2.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.10.2.ebuild
deleted file mode 100644
index 370c6d78fa9b..
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.10.2.ebuild
+++ /dev/null
@@ -1,75 +0,0 @@
-# Copyright 1999-2023 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit systemd
-
-DESCRIPTION="Icinga Web 2 plugin for configuration"
-HOMEPAGE="https://github.com/Icinga/icingaweb2-module-director/;
-
-if [[ ${PV} == * ]]; 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
-IUSE="php_targets_php8-1"
-
-PHP_DEPEND="
-   php_targets_php8-1? ( dev-lang/php:8.1[curl,iconv,pcntl,posix,sockets] )
-"
-DEPEND="
-   acct-group/icingaweb2
-   acct-user/icingadirector
-"
-RDEPEND="
-   ${PHP_DEPEND}
-   ${DEPEND}
-   >=www-apps/icingaweb2-module-incubator-0.18.0
-   >=dev-libs/icinga-php-library-0.5.0
-   >=dev-libs/icinga-php-thirdparty-0.9.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() {
-   # According to PMS this can be a space-separated list of version
-   # numbers, even though in practice it is typically just one.
-   local oldver
-   for oldver in ${REPLACING_VERSIONS}; do
-   if ver_test "${oldver}" -lt "1.10.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.10.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
-   break
-   fi
-   done
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2023-09-13 Thread David Seifert
commit: 05df16d8ce37b4419ea746f0d86d56a530541356
Author: Anton Fischl  fischl-online  de>
AuthorDate: Wed Sep 13 09:25:45 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Sep 13 09:25:45 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=05df16d8

www-apps/icingaweb2-module-director: add 1.10.2

Signed-off-by: Anton Fischl  fischl-online.de>
Signed-off-by: David Seifert  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 +
 .../icingaweb2-module-director-1.10.2.ebuild   | 75 ++
 2 files changed, 76 insertions(+)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index a938d4bbdc6f..0430fb2a2a22 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1 +1,2 @@
+DIST icingaweb2-module-director-1.10.2.tar.gz 3114956 BLAKE2B 
d050c501682ac3c1481d8710a3fc64642d0b18e92448bf05cd4a51e8a660c7a9abf571937a559a2dadd949535fca04feb1004a8613de7e4d0bbe54db5a377a25
 SHA512 
b301b71abada8c8722c03717a9def17c8ae53c951c83d5ef3a62f758fb93dd814d1b61d450987ddd0d8d3631145637dc6b26884134019e320cdd28cdedbc9794
 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.10.2.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.10.2.ebuild
new file mode 100644
index ..370c6d78fa9b
--- /dev/null
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.10.2.ebuild
@@ -0,0 +1,75 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit systemd
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://github.com/Icinga/icingaweb2-module-director/;
+
+if [[ ${PV} == * ]]; 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
+IUSE="php_targets_php8-1"
+
+PHP_DEPEND="
+   php_targets_php8-1? ( dev-lang/php:8.1[curl,iconv,pcntl,posix,sockets] )
+"
+DEPEND="
+   acct-group/icingaweb2
+   acct-user/icingadirector
+"
+RDEPEND="
+   ${PHP_DEPEND}
+   ${DEPEND}
+   >=www-apps/icingaweb2-module-incubator-0.18.0
+   >=dev-libs/icinga-php-library-0.5.0
+   >=dev-libs/icinga-php-thirdparty-0.9.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() {
+   # According to PMS this can be a space-separated list of version
+   # numbers, even though in practice it is typically just one.
+   local oldver
+   for oldver in ${REPLACING_VERSIONS}; do
+   if ver_test "${oldver}" -lt "1.10.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.10.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
+   break
+   fi
+   done
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/files/, www-apps/icingaweb2-module-director/

2023-09-13 Thread David Seifert
commit: 465e4825788695ac53930c04e576cd0ab111fb5b
Author: Anton Fischl  fischl-online  de>
AuthorDate: Wed Sep 13 09:25:44 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Sep 13 09:25:44 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=465e4825

www-apps/icingaweb2-module-director: update 

Signed-off-by: Anton Fischl  fischl-online.de>
Signed-off-by: David Seifert  gentoo.org>

 www-apps/icingaweb2-module-director/files/director | 23 +++
 .../files/icinga-director.sh   |  2 +
 .../icingaweb2-module-director-.ebuild | 75 ++
 3 files changed, 75 insertions(+), 25 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/files/director 
b/www-apps/icingaweb2-module-director/files/director
new file mode 100644
index ..b2721d1e8dcd
--- /dev/null
+++ b/www-apps/icingaweb2-module-director/files/director
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+
+description="Icinga2 Director Daemon"
+supervisor=supervise-daemon
+respawn_period="${respawn_period:-30}"
+term_type="${term_type:-linux}"
+command=/usr/share/icingaweb2/bin/icinga-director.sh
+pidfile="/run/${RC_SVCNAME}.pid"
+command_user="nobody:icingaweb2"
+
+depend() {
+need apache2 mysql php-fpm icinga2
+}
+
+start_pre() {
+chgrp icingaweb2 /usr/share/icingaweb2/bin/icingacli
+export EINFO_QUIET="${quiet:-yes}"
+}
+
+stop_pre()
+{
+export EINFO_QUIET="${quiet:-yes}"
+}

diff --git a/www-apps/icingaweb2-module-director/files/icinga-director.sh 
b/www-apps/icingaweb2-module-director/files/icinga-director.sh
new file mode 100644
index ..f0a9db21a368
--- /dev/null
+++ b/www-apps/icingaweb2-module-director/files/icinga-director.sh
@@ -0,0 +1,2 @@
+#!/usr/bin/env sh
+/usr/share/icingaweb2/bin/icingacli director daemon run

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
index c9a76d37b383..370c6d78fa9b 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
@@ -1,50 +1,75 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 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}" ==  ]]; then
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://github.com/Icinga/icingaweb2-module-director/;
+
+if [[ ${PV} == * ]]; then
inherit git-r3
-   EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git;
+   EGIT_REPO_URI="https://github.com/Icinga/${PN}.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}"
+   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
+IUSE="php_targets_php8-1"
 
-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]
-   )
+PHP_DEPEND="
+   php_targets_php8-1? ( dev-lang/php:8.1[curl,iconv,pcntl,posix,sockets] )
+"
+DEPEND="
acct-group/icingaweb2
-   acct-user/icingadirector"
-RDEPEND="${DEPEND}"
+   acct-user/icingadirector
+"
+RDEPEND="
+   ${PHP_DEPEND}
+   ${DEPEND}
+   >=www-apps/icingaweb2-module-incubator-0.18.0
+   >=dev-libs/icinga-php-library-0.5.0
+   >=dev-libs/icinga-php-thirdparty-0.9.0
+   >=www-apps/icingaweb2-2.9.0
+"
 
 src_install() {
-   insinto "/usr/share/icingaweb2/modules/director/"
-   doins -r "${S}"/*
+   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" \
+   contrib/systemd/icinga-director.service > 
"${T}"/icinga-director.service \
|| die "failed to patch icinga-director.service"
-   systemd_dounit "${T}/icinga-director.service"
+   systemd_dounit 

[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2023-09-13 Thread David Seifert
commit: 65680e3d457333bdd01468d75f547b3b86fb9efc
Author: Anton Fischl  fischl-online  de>
AuthorDate: Wed Sep 13 09:25:46 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Sep 13 09:25:46 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=65680e3d

www-apps/icingaweb2-module-director: drop 1.9.1

Signed-off-by: Anton Fischl  fischl-online.de>
Signed-off-by: David Seifert  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 -
 .../icingaweb2-module-director-1.9.1.ebuild| 47 --
 2 files changed, 48 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 0430fb2a2a22..6ab8916c3280 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,2 +1 @@
 DIST icingaweb2-module-director-1.10.2.tar.gz 3114956 BLAKE2B 
d050c501682ac3c1481d8710a3fc64642d0b18e92448bf05cd4a51e8a660c7a9abf571937a559a2dadd949535fca04feb1004a8613de7e4d0bbe54db5a377a25
 SHA512 
b301b71abada8c8722c03717a9def17c8ae53c951c83d5ef3a62f758fb93dd814d1b61d450987ddd0d8d3631145637dc6b26884134019e320cdd28cdedbc9794
-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
deleted file mode 100644
index 6309c4fc7e09..
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.9.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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}" ==  ]]; 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."
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2023-09-13 Thread David Seifert
commit: e85a59ab223ed5fda328f1adfa98a7ba594adf11
Author: Anton Fischl  fischl-online  de>
AuthorDate: Wed Sep 13 09:25:43 2023 +
Commit: David Seifert  gentoo  org>
CommitDate: Wed Sep 13 09:25:43 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85a59ab

www-apps/icingaweb2-module-director: change maintainer

Signed-off-by: Anton Fischl  fischl-online.de>
Signed-off-by: David Seifert  gentoo.org>

 www-apps/icingaweb2-module-director/metadata.xml | 11 +--
 1 file changed, 9 insertions(+), 2 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/metadata.xml 
b/www-apps/icingaweb2-module-director/metadata.xml
index 5c76f7a3fc67..2f3d4eb71b7b 100644
--- a/www-apps/icingaweb2-module-director/metadata.xml
+++ b/www-apps/icingaweb2-module-director/metadata.xml
@@ -2,7 +2,14 @@
 https://www.gentoo.org/dtd/metadata.dtd;>
 

-   prometheanf...@gentoo.org
-   Matthew Thode
+   git...@fischl-online.de
+   Anton Fischl

+   
+   proxy-ma...@gentoo.org
+   Proxy Maintainers
+   
+   
+   Icinga/icingaweb2-module-director
+   
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2022-09-08 Thread Matthew Thode
commit: 5f06aecaf476aa6d0bd45c1ef66b5f62637c345d
Author: Matthew Thode  gentoo  org>
AuthorDate: Fri Sep  9 04:45:19 2022 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Fri Sep  9 04:48:06 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f06aeca

www-apps/icingaweb2-module-director: drop 1.8.1

Signed-off-by: Matthew Thode  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 -
 .../icingaweb2-module-director-1.8.1.ebuild| 47 --
 2 files changed, 48 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 499d19ecbf4e..a938d4bbdc6f 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,2 +1 @@
-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.8.1.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.1.ebuild
deleted file mode 100644
index 6309c4fc7e09..
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.1.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# 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}" ==  ]]; 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."
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2022-08-08 Thread Matthew Thode
commit: bb7b1ce2993926c263c14282895d9d5ade1cbef0
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Aug  9 01:10:28 2022 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Aug  9 01:10:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb7b1ce2

www-apps/icingaweb2-module-director: 1.9.1 stable amd64/x86

Signed-off-by: Matthew Thode  gentoo.org>

 .../icingaweb2-module-director/icingaweb2-module-director-1.9.1.ebuild  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index c9c0c1eaca8f..6309c4fc7e09 100644
--- 
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
@@ -10,7 +10,7 @@ if [[ "${PV}" ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git;
 else
-   KEYWORDS="~amd64 ~x86"
+   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}"



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2022-07-07 Thread Matthew Thode
commit: 4f6f8132cce5369d5332a032ecce7dcea984ceda
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Jul  7 15:54:37 2022 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Thu Jul  7 15:56:41 2022 +
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 ..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}" ==  ]]; 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."
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2022-04-05 Thread Brian Evans
commit: 75cfd1f79f3ccfc485ca2fbbe54da6babdec0f16
Author: Brian Evans  gentoo  org>
AuthorDate: Tue Apr  5 18:59:37 2022 +
Commit: Brian Evans  gentoo  org>
CommitDate: Tue Apr  5 18:59:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75cfd1f7

www-apps/icingaweb2-module-director: Drop old

Required for PHP 7.3 removal

Signed-off-by: Brian Evans  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 -
 .../icingaweb2-module-director-1.8.0.ebuild| 34 --
 2 files changed, 35 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 1b6a70ca56c3..2c2b18489f72 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,2 +1 @@
-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.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
deleted file mode 100644
index 3d7195bd09f8..
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Icinga Web 2 plugin for configuration"
-HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
-if [[ "${PV}" ==  ]]; 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.4.3
-   >=www-apps/icingaweb2-2.2.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]
-   )"
-RDEPEND="${DEPEND}"
-
-src_install() {
-   insinto "/usr/share/icingaweb2/modules/director/"
-   doins -r "${S}"/*
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2022-03-03 Thread Jakov Smolić
commit: 8069f2fe3ce6f825a14899c344662f8968d48753
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Mar  3 18:17:37 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Mar  3 18:17:37 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8069f2fe

www-apps/icingaweb2-module-director: Stabilize 1.8.1 x86, #831740

Signed-off-by: Jakov Smolić  gentoo.org>

 .../icingaweb2-module-director/icingaweb2-module-director-1.8.1.ebuild  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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
index a9afdf74c7ab..6309c4fc7e09 100644
--- 
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
@@ -10,7 +10,7 @@ if [[ "${PV}" ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git;
 else
-   KEYWORDS="amd64 ~x86"
+   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}"



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2022-03-03 Thread Jakov Smolić
commit: 0f1986b5c185b18235d45e36f9d557f43f2f6e89
Author: Jakov Smolić  gentoo  org>
AuthorDate: Thu Mar  3 18:17:33 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Thu Mar  3 18:17:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f1986b5

www-apps/icingaweb2-module-director: Stabilize 1.8.1 amd64, #831740

Signed-off-by: Jakov Smolić  gentoo.org>

 .../icingaweb2-module-director-1.8.1.ebuild   | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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
index 0d9d32306e89..a9afdf74c7ab 100644
--- 
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
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -10,7 +10,7 @@ if [[ "${PV}" ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git;
 else
-   KEYWORDS="~amd64 ~x86"
+   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}"



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2021-12-29 Thread Matthew Thode
commit: 8cf828ed23a1999fda0541f41929e48368cbb57f
Author: Matthew Thode  gentoo  org>
AuthorDate: Wed Dec 29 17:10:59 2021 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Wed Dec 29 17:10:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8cf828ed

www-apps/icingaweb2-module-director: add better doc links

link to upstream docs for install/upgrade

Bug: https://bugs.gentoo.org/802276
Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Matthew Thode  gentoo.org>

 .../icingaweb2-module-director-.ebuild   | 5 -
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
index 0d9d32306e89..c9a76d37b383 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
@@ -43,5 +43,8 @@ src_install() {
 }
 
 pkg_postinst() {
-   elog "Enable and start the icinga-director.service systemd service."
+   elog "Please see the following documentation for installation"
+   elog 
"https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/02-Installation.md;
+   elog "or upgrading"
+   elog 
"https://github.com/Icinga/icingaweb2-module-director/blob/master/doc/05-Upgrading.md;
 }



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2021-12-28 Thread Matthew Thode
commit: 054fcbd12a115dc36b047d8426a83820d65bfa98
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Dec 28 21:21:00 2021 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Dec 28 21:25:22 2021 +
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  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 +
 .../icingaweb2-module-director-1.8.1.ebuild| 47 ++
 .../icingaweb2-module-director-.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 ..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}" ==  ]]; 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-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
index eab3c4caccb8..0d9d32306e89 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.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}" ==  ]]; 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]
+   

[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2021-08-06 Thread Matthew Thode
commit: a523d527d6cab565a3578f000adb3cdd4e25f556
Author: Matthew Thode  gentoo  org>
AuthorDate: Fri Aug  6 15:12:21 2021 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Fri Aug  6 15:12:21 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a523d527

www-apps/icingaweb2-module-director: 1.6.2 cleanup

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Matthew Thode  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 -
 .../icingaweb2-module-director-1.6.2.ebuild| 34 --
 2 files changed, 35 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 5a2dbdfbad0..2231e10fbdd 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,2 +1 @@
-DIST icingaweb2-module-director-1.6.2.tar.gz 2772722 BLAKE2B 
3d51f68469cd4ddf45f6bc62f76ad1f4c8d7d7bec36cc33022f1e0761334707bb345c87bc9f0e1276010e4a643867f1e1a6ea7c53a6fa28dd33e810089b7840b
 SHA512 
693a2aca10e25f99fcf9ada4babb031d682b577b82098185259991214ac7d7662c494b58cf52284569dbca90c8eafa522177b6c64dd817912dafd20b4d7109cb
 DIST icingaweb2-module-director-1.8.0.tar.gz 3042572 BLAKE2B 
e29ac535c8975f79abfa086ce54e2b78e3f1a992858ec83e902c5e8e72a447f7436a1a9876c1b7237a14d08c54dec12069e9c57231b23c4fd203be3f6f2635b8
 SHA512 
e33cc49c8255aa3693f73693d874ca5e00a9d95fe3d737c457473d8c5b37f36faf44bbc7f608ba03be79d5a6fd032e5ffd8fbc824eda1831422f837040b0c400

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
deleted file mode 100644
index 2f84950d9e8..000
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2019 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Icinga Web 2 plugin for configuration"
-HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
-if [[ "${PV}" ==  ]]; 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.4.3
-   >=www-apps/icingaweb2-2.2.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]
-   )"
-RDEPEND="${DEPEND}"
-
-src_install() {
-   insinto "/usr/share/icingaweb2/modules/director/"
-   doins -r "${S}"/*
-}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2021-07-05 Thread Matthew Thode
commit: 33df63f8f3939e084015ee44b9b941a5cb2b2adf
Author: Matthew Thode  gentoo  org>
AuthorDate: Mon Jul  5 19:52:04 2021 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Mon Jul  5 20:01:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=33df63f8

www-apps/icingaweb2-module-director: 1.8.0 stable amd64/x86

Package-Manager: Portage-3.0.20, Repoman-3.0.2
Signed-off-by: Matthew Thode  gentoo.org>

 .../icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
index 890743ae7e0..3d7195bd09f 100644
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
@@ -9,7 +9,7 @@ if [[ "${PV}" ==  ]]; then
inherit git-r3
EGIT_REPO_URI="https://github.com/Icinga/icingaweb2-module-director.git;
 else
-   KEYWORDS="~amd64 ~x86"
+   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}"



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2021-06-07 Thread Matthew Thode
commit: c738fb4e40476a36153783605fca94cedd79e0f3
Author: Matthew Thode  gentoo  org>
AuthorDate: Tue Jun  8 02:54:22 2021 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Tue Jun  8 02:56:15 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c738fb4e

www-apps/icingaweb2-module-director: 1.8.0 bump

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Matthew Thode  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  1 +
 .../icingaweb2-module-director-1.8.0.ebuild| 34 ++
 2 files changed, 35 insertions(+)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index f1b0b64a25c..5a2dbdfbad0 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1 +1,2 @@
 DIST icingaweb2-module-director-1.6.2.tar.gz 2772722 BLAKE2B 
3d51f68469cd4ddf45f6bc62f76ad1f4c8d7d7bec36cc33022f1e0761334707bb345c87bc9f0e1276010e4a643867f1e1a6ea7c53a6fa28dd33e810089b7840b
 SHA512 
693a2aca10e25f99fcf9ada4babb031d682b577b82098185259991214ac7d7662c494b58cf52284569dbca90c8eafa522177b6c64dd817912dafd20b4d7109cb
+DIST icingaweb2-module-director-1.8.0.tar.gz 3042572 BLAKE2B 
e29ac535c8975f79abfa086ce54e2b78e3f1a992858ec83e902c5e8e72a447f7436a1a9876c1b7237a14d08c54dec12069e9c57231b23c4fd203be3f6f2635b8
 SHA512 
e33cc49c8255aa3693f73693d874ca5e00a9d95fe3d737c457473d8c5b37f36faf44bbc7f608ba03be79d5a6fd032e5ffd8fbc824eda1831422f837040b0c400

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
new file mode 100644
index 000..890743ae7e0
--- /dev/null
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.8.0.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
+if [[ "${PV}" ==  ]]; 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.4.3
+   >=www-apps/icingaweb2-2.2.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]
+   )"
+RDEPEND="${DEPEND}"
+
+src_install() {
+   insinto "/usr/share/icingaweb2/modules/director/"
+   doins -r "${S}"/*
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2019-04-24 Thread Matthew Thode
commit: 202b19ab5b9b675d8709463e2f37717acea45fe2
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Apr 25 01:10:32 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Thu Apr 25 01:11:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=202b19ab

www-apps/icingaweb2-module-director: 1.6.2 stable amd64/x86 with cleanup

Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest   |  2 --
 .../icingaweb2-module-director-1.1.0.ebuild| 32 --
 .../icingaweb2-module-director-1.4.3.ebuild| 32 --
 .../icingaweb2-module-director-1.6.2.ebuild|  2 +-
 4 files changed, 1 insertion(+), 67 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 3a2fe02d4c8..f1b0b64a25c 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,3 +1 @@
-DIST icingaweb2-module-director-1.1.0.tar.gz 1287302 BLAKE2B 
f056a59fc05b7024e2c1fd16830010a4d73d038d2995350449e36a0899729292ae5ca60f70aff6c8c403a7861f7afe9e0b5fdebcb5a8c81aeb30f28fe80eee46
 SHA512 
a1253c1c803f05b238e12d86e7a367c56e10998293f99beb645ba3ca4d7165407a34dd4f53ef84ee1338464013201adb4fcee09cf3ca78d8850513c366a7a038
-DIST icingaweb2-module-director-1.4.3.tar.gz 2561910 BLAKE2B 
3f33aac474f557a24c162fb22987be85984f35eff2b01bed3bdff4b486d2aea633beeb7b4821e8ee430d98898213e1f3ee99b103121371cc10611a4130eb0dd9
 SHA512 
2802de2f1d8ebac04be39cb2c3478ad1b6dac2ebdbcb39165d0316f684321eb4f0f3b2d851201641540a2b6f2fd714c8d78aea98b43259e413c14e2aa7b8f57c
 DIST icingaweb2-module-director-1.6.2.tar.gz 2772722 BLAKE2B 
3d51f68469cd4ddf45f6bc62f76ad1f4c8d7d7bec36cc33022f1e0761334707bb345c87bc9f0e1276010e4a643867f1e1a6ea7c53a6fa28dd33e810089b7840b
 SHA512 
693a2aca10e25f99fcf9ada4babb031d682b577b82098185259991214ac7d7662c494b58cf52284569dbca90c8eafa522177b6c64dd817912dafd20b4d7109cb

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.1.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.1.0.ebuild
deleted file mode 100644
index bb2346eec3e..000
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.1.0.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2016 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Icinga Web 2 plugin for configuration"
-HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
-if [[ "${PV}" ==  ]]; 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.4.3
-   >=www-apps/icingaweb2-2.2.0
-   || (
-   dev-lang/php:5.6[curl]
-   dev-lang/php:7.0[curl]
-   )"
-RDEPEND="${DEPEND}"
-
-src_install() {
-   insinto "/usr/share/icingaweb2/modules/director/"
-   doins -r "${S}"/*
-}

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.4.3.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.4.3.ebuild
deleted file mode 100644
index d1c572dd843..000
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.4.3.ebuild
+++ /dev/null
@@ -1,32 +0,0 @@
-# Copyright 1999-2018 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-DESCRIPTION="Icinga Web 2 plugin for configuration"
-HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
-if [[ "${PV}" ==  ]]; 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.4.3
-   >=www-apps/icingaweb2-2.2.0
-   || (
-   dev-lang/php:5.6[curl]
-   dev-lang/php:7.0[curl]
-   )"
-RDEPEND="${DEPEND}"
-
-src_install() {
-   insinto "/usr/share/icingaweb2/modules/director/"
-   doins -r "${S}"/*
-}

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
index eab3c4caccb..2f84950d9e8 100644
--- 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
@@ -9,7 +9,7 @@ if [[ "${PV}" ==  ]]; 

[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2019-03-24 Thread Matthew Thode
commit: e0ffebb995d3f31a94ccb77f883a6ee65d5c73db
Author: Matthew Thode  gentoo  org>
AuthorDate: Sun Mar 24 18:36:36 2019 +
Commit: Matthew Thode  gentoo  org>
CommitDate: Sun Mar 24 18:36:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e0ffebb9

www-apps/icingaweb2-module-director: 1.6.2 bump

Fixes: https://bugs.gentoo.org/681600
Package-Manager: Portage-2.3.62, Repoman-2.3.12
Signed-off-by: Matthew Thode  gentoo.org>

 www-apps/icingaweb2-module-director/Manifest| 1 +
 ...director-.ebuild => icingaweb2-module-director-1.6.2.ebuild} | 6 --
 .../icingaweb2-module-director-.ebuild  | 6 --
 3 files changed, 9 insertions(+), 4 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index 66f951255bd..3a2fe02d4c8 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1,2 +1,3 @@
 DIST icingaweb2-module-director-1.1.0.tar.gz 1287302 BLAKE2B 
f056a59fc05b7024e2c1fd16830010a4d73d038d2995350449e36a0899729292ae5ca60f70aff6c8c403a7861f7afe9e0b5fdebcb5a8c81aeb30f28fe80eee46
 SHA512 
a1253c1c803f05b238e12d86e7a367c56e10998293f99beb645ba3ca4d7165407a34dd4f53ef84ee1338464013201adb4fcee09cf3ca78d8850513c366a7a038
 DIST icingaweb2-module-director-1.4.3.tar.gz 2561910 BLAKE2B 
3f33aac474f557a24c162fb22987be85984f35eff2b01bed3bdff4b486d2aea633beeb7b4821e8ee430d98898213e1f3ee99b103121371cc10611a4130eb0dd9
 SHA512 
2802de2f1d8ebac04be39cb2c3478ad1b6dac2ebdbcb39165d0316f684321eb4f0f3b2d851201641540a2b6f2fd714c8d78aea98b43259e413c14e2aa7b8f57c
+DIST icingaweb2-module-director-1.6.2.tar.gz 2772722 BLAKE2B 
3d51f68469cd4ddf45f6bc62f76ad1f4c8d7d7bec36cc33022f1e0761334707bb345c87bc9f0e1276010e4a643867f1e1a6ea7c53a6fa28dd33e810089b7840b
 SHA512 
693a2aca10e25f99fcf9ada4babb031d682b577b82098185259991214ac7d7662c494b58cf52284569dbca90c8eafa522177b6c64dd817912dafd20b4d7109cb

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
similarity index 86%
copy from 
www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
copy to 
www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
index bb2346eec3e..eab3c4caccb 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,9 @@ DEPEND=">=net-analyzer/icinga2-2.4.3
>=www-apps/icingaweb2-2.2.0
|| (
dev-lang/php:5.6[curl]
-   dev-lang/php:7.0[curl]
+   dev-lang/php:7.1[curl]
+   dev-lang/php:7.2[curl]
+   dev-lang/php:7.3[curl]
)"
 RDEPEND="${DEPEND}"
 

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
index bb2346eec3e..eab3c4caccb 100644
--- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -22,7 +22,9 @@ DEPEND=">=net-analyzer/icinga2-2.4.3
>=www-apps/icingaweb2-2.2.0
|| (
dev-lang/php:5.6[curl]
-   dev-lang/php:7.0[curl]
+   dev-lang/php:7.1[curl]
+   dev-lang/php:7.2[curl]
+   dev-lang/php:7.3[curl]
)"
 RDEPEND="${DEPEND}"
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2018-06-15 Thread Matt Thode
commit: 377231ae0876c333f71cec65e848fcd4589f29e1
Author: Matthew Thode  gentoo  org>
AuthorDate: Fri Jun 15 22:01:31 2018 +
Commit: Matt Thode  gentoo  org>
CommitDate: Fri Jun 15 22:02:52 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=377231ae

www-apps/icingaweb2-module-director: 1.4.3 bup

Closes: https://bugs.gentoo.org/657958
Package-Manager: Portage-2.3.40, Repoman-2.3.9

 www-apps/icingaweb2-module-director/Manifest   |  1 +
 .../icingaweb2-module-director-1.4.3.ebuild| 32 ++
 2 files changed, 33 insertions(+)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
index bdbbaa3be0e..66f951255bd 100644
--- a/www-apps/icingaweb2-module-director/Manifest
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -1 +1,2 @@
 DIST icingaweb2-module-director-1.1.0.tar.gz 1287302 BLAKE2B 
f056a59fc05b7024e2c1fd16830010a4d73d038d2995350449e36a0899729292ae5ca60f70aff6c8c403a7861f7afe9e0b5fdebcb5a8c81aeb30f28fe80eee46
 SHA512 
a1253c1c803f05b238e12d86e7a367c56e10998293f99beb645ba3ca4d7165407a34dd4f53ef84ee1338464013201adb4fcee09cf3ca78d8850513c366a7a038
+DIST icingaweb2-module-director-1.4.3.tar.gz 2561910 BLAKE2B 
3f33aac474f557a24c162fb22987be85984f35eff2b01bed3bdff4b486d2aea633beeb7b4821e8ee430d98898213e1f3ee99b103121371cc10611a4130eb0dd9
 SHA512 
2802de2f1d8ebac04be39cb2c3478ad1b6dac2ebdbcb39165d0316f684321eb4f0f3b2d851201641540a2b6f2fd714c8d78aea98b43259e413c14e2aa7b8f57c

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.4.3.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.4.3.ebuild
new file mode 100644
index 000..d1c572dd843
--- /dev/null
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.4.3.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
+if [[ "${PV}" ==  ]]; 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.4.3
+   >=www-apps/icingaweb2-2.2.0
+   || (
+   dev-lang/php:5.6[curl]
+   dev-lang/php:7.0[curl]
+   )"
+RDEPEND="${DEPEND}"
+
+src_install() {
+   insinto "/usr/share/icingaweb2/modules/director/"
+   doins -r "${S}"/*
+}



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2017-10-04 Thread Michał Górny
commit: b72559617104cc7105526e92e5d325dc26c05c40
Author: Michał Górny  gentoo  org>
AuthorDate: Wed Oct  4 07:32:53 2017 +
Commit: Michał Górny  gentoo  org>
CommitDate: Wed Oct  4 09:17:08 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7255961

www-apps/icingaweb2-module-director: Strip empty metadata.xml elements

 www-apps/icingaweb2-module-director/metadata.xml | 2 --
 1 file changed, 2 deletions(-)

diff --git a/www-apps/icingaweb2-module-director/metadata.xml 
b/www-apps/icingaweb2-module-director/metadata.xml
index 1301fb3341b..3ffdeb4af3b 100644
--- a/www-apps/icingaweb2-module-director/metadata.xml
+++ b/www-apps/icingaweb2-module-director/metadata.xml
@@ -5,6 +5,4 @@
prometheanf...@gentoo.org
Matthew Thode

-   
-   
 



[gentoo-commits] repo/gentoo:master commit in: www-apps/icingaweb2-module-director/

2016-06-30 Thread Matt Thode
commit: ad78aa38a07dcf38d30798dd7c89bddd7ff0d058
Author: Matthew Thode  gentoo  org>
AuthorDate: Thu Jun 30 22:57:05 2016 +
Commit: Matt Thode  gentoo  org>
CommitDate: Thu Jun 30 22:57:05 2016 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ad78aa38

www-apps/icingaweb2-module-director: adding for bug 582568

Package-Manager: portage-2.2.28

 www-apps/icingaweb2-module-director/Manifest   |  1 +
 .../icingaweb2-module-director-1.1.0.ebuild| 33 ++
 .../icingaweb2-module-director-.ebuild | 33 ++
 www-apps/icingaweb2-module-director/metadata.xml   | 10 +++
 4 files changed, 77 insertions(+)

diff --git a/www-apps/icingaweb2-module-director/Manifest 
b/www-apps/icingaweb2-module-director/Manifest
new file mode 100644
index 000..c6e2b5e
--- /dev/null
+++ b/www-apps/icingaweb2-module-director/Manifest
@@ -0,0 +1 @@
+DIST icingaweb2-module-director-1.1.0.tar.gz 1287302 SHA256 
525434cf8555bfa07aba351769006691fed2a570ec01b06576a901e89647d8df SHA512 
a1253c1c803f05b238e12d86e7a367c56e10998293f99beb645ba3ca4d7165407a34dd4f53ef84ee1338464013201adb4fcee09cf3ca78d8850513c366a7a038
 WHIRLPOOL 
28c7a898c3a0f07bb69932d8d54a39a7f7b225ede32794500f3d75ad8fb0ef168e88c263996d3564603ab6c5a70ea5bf5ad00f4590269f086ae4c933008c62e7

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.1.0.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.1.0.ebuild
new file mode 100644
index 000..539cc51
--- /dev/null
+++ 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.1.0.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
+if [[ "${PV}" ==  ]]; 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.4.3
+   >=www-apps/icingaweb2-2.2.0
+   || (
+   dev-lang/php:5.6[curl]
+   dev-lang/php:7.0[curl]
+   )"
+RDEPEND="${DEPEND}"
+
+src_install() {
+   insinto "/usr/share/icingaweb2/modules/director/"
+   doins -r "${S}"/*
+}

diff --git 
a/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild 
b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
new file mode 100644
index 000..539cc51
--- /dev/null
+++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+DESCRIPTION="Icinga Web 2 plugin for configuration"
+HOMEPAGE="https://dev.icinga.org/projects/icingaweb2-module-director/;
+if [[ "${PV}" ==  ]]; 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.4.3
+   >=www-apps/icingaweb2-2.2.0
+   || (
+   dev-lang/php:5.6[curl]
+   dev-lang/php:7.0[curl]
+   )"
+RDEPEND="${DEPEND}"
+
+src_install() {
+   insinto "/usr/share/icingaweb2/modules/director/"
+   doins -r "${S}"/*
+}

diff --git a/www-apps/icingaweb2-module-director/metadata.xml 
b/www-apps/icingaweb2-module-director/metadata.xml
new file mode 100644
index 000..1301fb3
--- /dev/null
+++ b/www-apps/icingaweb2-module-director/metadata.xml
@@ -0,0 +1,10 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   prometheanf...@gentoo.org
+   Matthew Thode
+   
+   
+   
+