From 427aed27427f356a75db3288d7b96ce7e2a044b2 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Thu, 11 Jan 2024 19:06:53 +0000 Subject: gentoo auto-resync : 11:01:2024 - 19:06:52 --- www-apps/Manifest.gz | Bin 13476 -> 13479 bytes www-apps/icingaweb2-module-director/Manifest | 4 +- .../icingaweb2-module-director-1.10.2.ebuild | 75 -------------------- .../icingaweb2-module-director-1.11.0.ebuild | 77 +++++++++++++++++++++ www-apps/icingaweb2-module-incubator/Manifest | 2 +- .../icingaweb2-module-incubator-0.20.0.ebuild | 5 +- 6 files changed, 83 insertions(+), 80 deletions(-) delete mode 100644 www-apps/icingaweb2-module-director/icingaweb2-module-director-1.10.2.ebuild create mode 100644 www-apps/icingaweb2-module-director/icingaweb2-module-director-1.11.0.ebuild (limited to 'www-apps') diff --git a/www-apps/Manifest.gz b/www-apps/Manifest.gz index 8e1fb70b26fa..89016bb96a8a 100644 Binary files a/www-apps/Manifest.gz and b/www-apps/Manifest.gz differ diff --git a/www-apps/icingaweb2-module-director/Manifest b/www-apps/icingaweb2-module-director/Manifest index 58cac20a5025..428d23497627 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.10.2.tar.gz 3114956 BLAKE2B d050c501682ac3c1481d8710a3fc64642d0b18e92448bf05cd4a51e8a660c7a9abf571937a559a2dadd949535fca04feb1004a8613de7e4d0bbe54db5a377a25 SHA512 b301b71abada8c8722c03717a9def17c8ae53c951c83d5ef3a62f758fb93dd814d1b61d450987ddd0d8d3631145637dc6b26884134019e320cdd28cdedbc9794 -EBUILD icingaweb2-module-director-1.10.2.ebuild 2206 BLAKE2B c4cfc41284d6c19c73b59fb7f21c05c0cadd4171579a4e54fe77e230b76ae225b92629d0857f764dc69a46e0e96cfbfe849806e1cdd2329094aa4c80a033b9e7 SHA512 c11e6859ed7f7c343c3b60354f1911aa457eb39534e0998fcd56cf1f9ae2c41d6c5e60ad7d15a399978a763fc6b5919742519acbedf6ba97acdc98721bc77909 +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 MISC metadata.xml 483 BLAKE2B 1e888efd6ff4c17c17efc75063ef7f5b56e6dd1051843e940a6478bdb5ba4160b7b2a84f52ded1d5abb0e4adb840b17608a8a377f23d6466f6de91a5720f14ea SHA512 d9d15413719c2ffca266ca84d20e856172590ad513eb8eb9e3d084978da718f0177c6928f4c495e55a0552a0c07eb1c5898c2cdef7b28caa552614ff31f9b1fa 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..000000000000 --- 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} == *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 -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 -} 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 000000000000..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} == *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-incubator/Manifest b/www-apps/icingaweb2-module-incubator/Manifest index 89ceeb911010..1edbd3449c48 100644 --- a/www-apps/icingaweb2-module-incubator/Manifest +++ b/www-apps/icingaweb2-module-incubator/Manifest @@ -1,3 +1,3 @@ DIST icingaweb2-module-incubator-0.20.0.tar.gz 223234 BLAKE2B bac5ef347007275b386d75f76c388f5500488aa1303fd212c4cbcc45f81199e4d1268442c77f0e44cad37dae9b12259cd6d341339d16fcad03c3c414bffdd26d SHA512 f561d9caffd6d72603debddf61181fa45b43aa4dc44d50749ed5e175c9a3ad169943cb59cfb74e890241cc0af3de0610a1747faa5c14c89ed3ab0b3e3c00da0e -EBUILD icingaweb2-module-incubator-0.20.0.ebuild 690 BLAKE2B b4dd6ab7ff3659f98fa033559e82afd940dd3a8622e69bfa1fad56ed10020ef8bb57dcd161bfdcd38c7a0d863944237a567c706ca13b5fd94e3b0b38be9c3f70 SHA512 38fa7ac30e517a79f7b1b4603800b82eb47f16ac599c5b3bcc5380d1dd76ed7c1399756f736d2d7d338db800947a249f141186f12196727968ee9a3b2731444a +EBUILD icingaweb2-module-incubator-0.20.0.ebuild 757 BLAKE2B 2b52336dc6f84710d95585933d2deaa4a7f909697373c429f3e98cfe93e659c6e50fec43bacc0ccf52771e8b98a011e2fcf69d353c93f1cea1d59e0f87aef4b7 SHA512 7a49528ea766a9a1f5dbb83e8615475385e295374d5275f3ffda6da3836303bcaef1813e84e6d372e19819645c6657c3b068a2d0f5f9e7b71ede88d42d80913c MISC metadata.xml 484 BLAKE2B 02b51e9d0456a7571c4696aaee2276fc57e2b47f2c69ce63aa51b67c3e040f20824be29910478822fca2e6cad5cb18d737b59b93af7a0c27d78c9ea5b7c7cb3c SHA512 fb1f2d7db381c43be713d9bbe9a87771699dbdedad2fbceff64d3445c38d8b9c57f5770080d8456312cecdd9a90dbc8356c85cfab4342aec884e9574414147b8 diff --git a/www-apps/icingaweb2-module-incubator/icingaweb2-module-incubator-0.20.0.ebuild b/www-apps/icingaweb2-module-incubator/icingaweb2-module-incubator-0.20.0.ebuild index 6f2dc11b33ee..04f149583a4a 100644 --- a/www-apps/icingaweb2-module-incubator/icingaweb2-module-incubator-0.20.0.ebuild +++ b/www-apps/icingaweb2-module-incubator/icingaweb2-module-incubator-0.20.0.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 @@ -11,10 +11,11 @@ S="${WORKDIR}/${PN}-${PV}" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~x86" -IUSE="php_targets_php8-1" +IUSE="php_targets_php8-1 php_targets_php8-2" PHP_DEPEND=" php_targets_php8-1? ( dev-lang/php:8.1[curl] ) + php_targets_php8-2? ( dev-lang/php:8.2[curl] ) " RDEPEND=" ${PHP_DEPEND} -- cgit v1.2.3