Summary: | net-analyzer/icinga-web-1.10.1 should alternatively depend on net-analyzer/icinga2 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Guido Jäkel <G.Jaekel> |
Component: | Current packages | Assignee: | Matthew Thode ( prometheanfire ) <prometheanfire> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | revised ebuild |
Comment on attachment 386768 [details]
revised ebuild
--- icinga-web-1.10.1.ebuild
+++ icinga-web-1.10.1.ebuild
@@ -13,9 +13,10 @@
SLOT="0"
KEYWORDS="~x86 ~amd64"
IUSE="apache2 mysql pnp postgres"
+# 20141015/gj added icinga2 as alternative dependency
DEPEND="dev-php/phing
dev-db/libdbi-drivers[mysql?,postgres?]
- >=net-analyzer/icinga-1.10.0
+ || ( >=net-analyzer/icinga-1.10.0 >=net-analyzer/icinga2-2.1.1 )
dev-lang/php[apache2?,cli,json,mysql?,pdo,postgres?,sockets,xslt,xml]
pnp? ( net-analyzer/pnp4nagios )"
RDEPEND="${DEPEND}"
fixed in 1.11.2 |
Created attachment 386768 [details] revised ebuild The current ebuild DEPENDs on Icinga1 only, but is a usable frontend for Icinga2 is Icinga-Web (V1), too. Without this patch, emerging of Icinga-Web in conjunction with Icinga2 will pull in Icinga1, too. I don't had have a close look regarding the concrete minimal version of Icinga2 required; i just choose the current one and it might be lowered. --- icinga-web-1.10.1.ebuild.20140219-191803 2014-02-19 19:18:03.000000000 +0100 +++ icinga-web-1.10.1-r1.ebuild 2014-10-15 14:32:56.972487000 +0200 @@ -13,9 +13,10 @@ SLOT="0" KEYWORDS="~x86 ~amd64" IUSE="apache2 mysql pnp postgres" +# 20141015/gj added icinga2 as alternative dependency DEPEND="dev-php/phing dev-db/libdbi-drivers[mysql?,postgres?] - >=net-analyzer/icinga-1.10.0 + || ( >=net-analyzer/icinga-1.10.0 >=net-analyzer/icinga2-2.1.1 ) dev-lang/php[apache2?,cli,json,mysql?,pdo,postgres?,sockets,xslt,xml] pnp? ( net-analyzer/pnp4nagios )" RDEPEND="${DEPEND}"