Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 525570 - net-analyzer/icinga-web-1.10.1 should alternatively depend on net-analyzer/icinga2
Summary: net-analyzer/icinga-web-1.10.1 should alternatively depend on net-analyzer/ic...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Matthew Thode ( prometheanfire )
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 13:57 UTC by Guido Jäkel
Modified: 2014-10-16 23:34 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
revised ebuild (icinga-web-1.10.1-r1.ebuild,6.40 KB, text/plain)
2014-10-16 13:57 UTC, Guido Jäkel
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Guido Jäkel 2014-10-16 13:57:44 UTC
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}"
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-16 15:39:22 UTC
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}"
Comment 2 Matthew Thode ( prometheanfire ) archtester Gentoo Infrastructure gentoo-dev Security 2014-10-16 23:34:30 UTC
fixed in 1.11.2