commit:     d39cf6ed1ff96cdd932482d3bc2a10eac1864e1c
Author:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
AuthorDate: Wed May 22 09:29:12 2024 +0000
Commit:     Miroslav Šulc <fordfrog <AT> gentoo <DOT> org>
CommitDate: Wed May 22 09:29:12 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d39cf6ed

net-analyzer/zabbix: dropped php oracle support from 5.0.42

Signed-off-by: Miroslav Šulc <fordfrog <AT> gentoo.org>

 net-analyzer/zabbix/zabbix-5.0.42.ebuild | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/net-analyzer/zabbix/zabbix-5.0.42.ebuild 
b/net-analyzer/zabbix/zabbix-5.0.42.ebuild
index ff7c470a27bf..825621954fe2 100644
--- a/net-analyzer/zabbix/zabbix-5.0.42.ebuild
+++ b/net-analyzer/zabbix/zabbix-5.0.42.ebuild
@@ -86,7 +86,6 @@ RDEPEND="${COMMON_DEPEND}
                virtual/httpd-php:*
                mysql? ( dev-lang/php[mysqli] )
                odbc? ( dev-lang/php[odbc] )
-               oracle? ( dev-lang/php[oci8-instant-client] )
                postgres? ( dev-lang/php[postgres] )
                sqlite? ( dev-lang/php[sqlite] )
        )
@@ -229,6 +228,14 @@ src_install() {
                newtmpfiles "${FILESDIR}"/zabbix-proxy.tmpfiles 
zabbix-proxy.conf
        fi
 
+       if use oracle; then
+               ewarn
+               ewarn "Support for Oracle database has been dropped from PHP"
+               ewarn "so to make the web frontend work, you need to install"
+               ewarn "PECL extension for Oracle database."
+               ewarn "For details see https://bugs.gentoo.org/928386";
+       fi
+
        if use agent; then
                insinto /etc/zabbix
                doins "${S}"/conf/zabbix_agentd.conf

Reply via email to