From d08ea43e9ada434f42f4be8e115b67ab22ce38af Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Mar 2024 12:48:38 +0000 Subject: gentoo auto-resync : 16:03:2024 - 12:48:37 --- www-apps/icingaweb2-module-director/Manifest | 6 +- .../icingaweb2-module-director-1.11.0.ebuild | 77 --------------------- .../icingaweb2-module-director-1.11.1.ebuild | 78 ++++++++++++++++++++++ .../icingaweb2-module-director-9999.ebuild | 19 +++--- 4 files changed, 92 insertions(+), 88 deletions(-) delete mode 100644 www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild create mode 100644 www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild (limited to 'www-apps/icingaweb2-module-director') diff --git a/www-apps/icingaweb2-module-director/Manifest b/www-apps/icingaweb2-module-director/Manifest index 428d23497627..b9026f12bf7f 100644 --- a/www-apps/icingaweb2-module-director/Manifest +++ b/www-apps/icingaweb2-module-director/Manifest @@ -1,6 +1,6 @@ AUX director 513 BLAKE2B bca46ec58dd16706b1d1b405e7e9cfad2e6be7abf7209175defc6297822d5b3586082a063f8076d080dac9cfef3561e3a2f3abb1c48aad419ffd8abaeb41fcf6 SHA512 6ed9dac81ebedaf39c3875c1ba8afcce4d9563c4a521dd20cbc78ef4cfc96b7367510289dab643e6654b4875354c1532e142b4af8c67b7621c2d2149e241ff23 AUX icinga-director.sh 74 BLAKE2B 57c530ad6d4e8e8b5ff676925092207be60fb1defa222bd841ec2c3fda505d9646ef6aa1778d11a5b9608260b90f1cafeb9692bc890db85a143385c460240648 SHA512 6a263470dc4d5df69e8ea38fc947e5aa55986ca96cb9ed3f0a4aed756a40832488cbc60358ca722af9c76a61b71f86a6ca14ff1a4f846ed22d032e2f7dd250a3 -DIST icingaweb2-module-director-1.11.0.tar.gz 3465395 BLAKE2B 8d0dcb590c3a735bcd279bf044c354b34f2f1edbc238a71236ec60e1e915660b80230c5076234cd6fb75fc7ec0ab1a8df967092c3f2f1c5e9305033b04236bf4 SHA512 1709920489248e7b6a84ffaa50996c9c061e04e744224fabc48a8885c30ed136cd0eb6db1a5e9a7bb3e07302b733554afa27060295b2ecea25f3416646656285 -EBUILD icingaweb2-module-director-1.11.0.ebuild 2320 BLAKE2B b9ef08bc0efb44cb2128a366b4212627356af071035c8abf8bc0420ae7a14c8960b0f365042e6a2f34db0886e53f0f33d5e2ed322ecd5e8eb4a51d58f7625ee4 SHA512 25c844c9e404249816c57303e4bb8f9546d826a95a074b073ea634e4a0e53ef8abd55d0acf21f8d24e7aa5ca6612f60378fb8723eca82fb131c55f1d61d2e0f4 -EBUILD icingaweb2-module-director-9999.ebuild 2206 BLAKE2B c4cfc41284d6c19c73b59fb7f21c05c0cadd4171579a4e54fe77e230b76ae225b92629d0857f764dc69a46e0e96cfbfe849806e1cdd2329094aa4c80a033b9e7 SHA512 c11e6859ed7f7c343c3b60354f1911aa457eb39534e0998fcd56cf1f9ae2c41d6c5e60ad7d15a399978a763fc6b5919742519acbedf6ba97acdc98721bc77909 +DIST icingaweb2-module-director-1.11.1.tar.gz 3468031 BLAKE2B 9c532a1c940c18e3dfa6961aa0734256a71d5431e1439f0bb3e9099772c05896e387885164e77ad4710e1ebbebbef8c160b46448945312aa37dd72924b12c03e SHA512 8fe55c71518693cfc1f67cf5b9ef7396686cf94b6c7c8cc9efbc8dd855ba2f81d05611bc082acbbcac0046aab7bc94668442e5ee738f1b731958c9e5e44212e9 +EBUILD icingaweb2-module-director-1.11.1.ebuild 2413 BLAKE2B bd59ad488fbb1f4c9137895ea88a155ad3c87936a51b4dc9656f2f3229d4280f31e4ff3860a6a246ab3de861e10727cd3985d540bce9f5c4d71e9d25b2034f45 SHA512 0cfe9003c5bf813bf7cc330ef8539bcbc75c4cf9a2b497ce8d7e7ec88edfebf5867e9f4ff980524d171a568071d38ce6399a70072bf00b698a3a9c05ae468cd7 +EBUILD icingaweb2-module-director-9999.ebuild 2413 BLAKE2B bd59ad488fbb1f4c9137895ea88a155ad3c87936a51b4dc9656f2f3229d4280f31e4ff3860a6a246ab3de861e10727cd3985d540bce9f5c4d71e9d25b2034f45 SHA512 0cfe9003c5bf813bf7cc330ef8539bcbc75c4cf9a2b497ce8d7e7ec88edfebf5867e9f4ff980524d171a568071d38ce6399a70072bf00b698a3a9c05ae468cd7 MISC metadata.xml 483 BLAKE2B 1e888efd6ff4c17c17efc75063ef7f5b56e6dd1051843e940a6478bdb5ba4160b7b2a84f52ded1d5abb0e4adb840b17608a8a377f23d6466f6de91a5720f14ea SHA512 d9d15413719c2ffca266ca84d20e856172590ad513eb8eb9e3d084978da718f0177c6928f4c495e55a0552a0c07eb1c5898c2cdef7b28caa552614ff31f9b1fa 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 deleted file mode 100644 index c6b6e7186f8f..000000000000 --- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild +++ /dev/null @@ -1,77 +0,0 @@ -# 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} == *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-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 -} diff --git a/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild new file mode 100644 index 000000000000..7e4d8a5a4368 --- /dev/null +++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.1.ebuild @@ -0,0 +1,78 @@ +# 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} == *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-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 + 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() { + # 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 +} 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 370c6d78fa9b..7e4d8a5a4368 100644 --- a/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.ebuild +++ b/www-apps/icingaweb2-module-director/icingaweb2-module-director-9999.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." -- cgit v1.2.3