Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Dec 2019 13:43:14 +0000 (UTC)
From:      Lars Engels <lme@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r520331 - in head/net-mgmt: icingaweb2 icingaweb2-module-businessprocess icingaweb2-module-cube icingaweb2-module-director icingaweb2-module-elasticsearch icingaweb2-module-fileshipper ...
Message-ID:  <201912171343.xBHDhEk9070377@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: lme
Date: Tue Dec 17 13:43:14 2019
New Revision: 520331
URL: https://svnweb.freebsd.org/changeset/ports/520331

Log:
  net-mgmt/icingaweb2 and modules:
  - Drop stale dependency on www/zendframework1
  - FLAVORize for all php releases
  - Improve OPTIONS for supported databases
  
  PR:		242664
  Submitted by:	fluffy@

Modified:
  head/net-mgmt/icingaweb2-module-businessprocess/Makefile
  head/net-mgmt/icingaweb2-module-cube/Makefile
  head/net-mgmt/icingaweb2-module-director/Makefile
  head/net-mgmt/icingaweb2-module-elasticsearch/Makefile
  head/net-mgmt/icingaweb2-module-fileshipper/Makefile
  head/net-mgmt/icingaweb2-module-generictts/Makefile
  head/net-mgmt/icingaweb2-module-grafana/Makefile
  head/net-mgmt/icingaweb2-module-graphite/Makefile
  head/net-mgmt/icingaweb2-module-idoreports/Makefile
  head/net-mgmt/icingaweb2-module-ipl/Makefile
  head/net-mgmt/icingaweb2-module-map/Makefile
  head/net-mgmt/icingaweb2-module-pdfexport/Makefile
  head/net-mgmt/icingaweb2-module-reactbundle/Makefile
  head/net-mgmt/icingaweb2-module-reporting/Makefile
  head/net-mgmt/icingaweb2-module-vsphere/Makefile
  head/net-mgmt/icingaweb2/Makefile

Modified: head/net-mgmt/icingaweb2-module-businessprocess/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-businessprocess/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-businessprocess/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-businessprocess
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.2.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Manage Business Processes in Icinga Web 2
@@ -12,8 +13,10 @@ COMMENT=	Manage Business Processes in Icinga Web 2
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2 \
-		icingaweb2-module-ipl>=0.1.1:net-mgmt/icingaweb2-module-ipl
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \
+		icingaweb2-module-ipl-${PHP_FLAVOR}>=0.1.1:net-mgmt/icingaweb2-module-ipl@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-cube/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-cube/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-cube/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,7 +3,9 @@
 PORTNAME=	icingaweb2-module-cube
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Drill-down view for Icinga web 2 based on custom variables
@@ -11,13 +13,15 @@ COMMENT=	Drill-down view for Icinga web 2 based on cus
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga
 
 NO_BUILD=	yes
 NO_ARCH=	yes
+
+USES=		php:web,flavors
 
 WWWDIR?=	${PREFIX}/www/icingaweb2/modules/${PORTNAME:C/^.*-//}
 

Modified: head/net-mgmt/icingaweb2-module-director/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-director/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-director/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-director
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.6.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Configuration frontend for Icinga 2, integrated automation
@@ -12,13 +13,12 @@ COMMENT=	Configuration frontend for Icinga 2, integrat
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
 
+USES=		php:web,flavors
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga
-
-USES=		php
-USE_PHP=	yes
 
 NO_BUILD=	yes
 NO_ARCH=	yes

Modified: head/net-mgmt/icingaweb2-module-elasticsearch/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-elasticsearch/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-elasticsearch/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-elasticsearch
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Integrate Elasticsearch into Icinga Web 2
@@ -12,7 +13,9 @@ COMMENT=	Integrate Elasticsearch into Icinga Web 2
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	icingaweb2>=2.4.2:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.2:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-fileshipper/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-fileshipper/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-fileshipper/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-fileshipper
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Import CSV, JSON, XML and YAML files for the Icinga Director
@@ -12,7 +13,9 @@ COMMENT=	Import CSV, JSON, XML and YAML files for the 
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-generictts/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-generictts/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-generictts/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-generictts
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.0.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Generic ticket system integration into Icinga web 2
@@ -12,7 +13,9 @@ COMMENT=	Generic ticket system integration into Icinga
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-grafana/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-grafana/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-grafana/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,7 +3,9 @@
 PORTNAME=	icingaweb2-module-grafana
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.3.6
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Add Grafana graphs into Icinga Web 2 to display performance metrics
@@ -11,7 +13,9 @@ COMMENT=	Add Grafana graphs into Icinga Web 2 to displ
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	mikesch-mp

Modified: head/net-mgmt/icingaweb2-module-graphite/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-graphite/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-graphite/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-graphite
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Graphite integration into Icinga Web 2
@@ -12,7 +13,9 @@ COMMENT=	Graphite integration into Icinga Web 2
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	icingaweb2>=2.5.0:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.5.0:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-idoreports/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-idoreports/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-idoreports/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-idoreports
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Host and service availability reports for Icinga
@@ -12,8 +13,10 @@ COMMENT=	Host and service availability reports for Ici
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.6.0:net-mgmt/icingaweb2 \
-		icingaweb2-module-reporting>=0.9:net-mgmt/icingaweb2-module-reporting
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.6.0:net-mgmt/icingaweb2@${PHP_FLAVOR} \
+		icingaweb2-module-reporting-${PHP_FLAVOR}>=0.9:net-mgmt/icingaweb2-module-reporting@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-ipl/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-ipl/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-ipl/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,7 +3,9 @@
 PORTNAME=	icingaweb2-module-ipl
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.4.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Icinga PHP library
@@ -11,7 +13,9 @@ COMMENT=	Icinga PHP library
 LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-map/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-map/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-map/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-map
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.0
-PORTREVISION=	2
+PORTREVISION=	3
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Display hosts on OpenStreetMap
@@ -12,7 +13,9 @@ COMMENT=	Display hosts on OpenStreetMap
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	nbuchwitz

Modified: head/net-mgmt/icingaweb2-module-pdfexport/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-pdfexport/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-pdfexport/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,8 +3,9 @@
 PORTNAME=	icingaweb2-module-pdfexport
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.0
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Icinga PDF Export
@@ -12,8 +13,10 @@ COMMENT=	Icinga PDF Export
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2 \
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \
 		chromium>0:www/chromium
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-reactbundle/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-reactbundle/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-reactbundle/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,12 +3,16 @@
 PORTNAME=	icingaweb2-module-reactbundle
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.7.0
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Icinga Web 2 ReactPHP-based 3rd party libraries
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR}
+
+USES=		php:web,flavors
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga

Modified: head/net-mgmt/icingaweb2-module-reporting/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-reporting/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-reporting/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,7 +3,9 @@
 PORTNAME=	icingaweb2-module-reporting
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.9.2
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Reporting module for Icinga Web 2
@@ -11,17 +13,19 @@ COMMENT=	Reporting module for Icinga Web 2
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
-RUN_DEPENDS=	icingaweb2>=2.6.0:net-mgmt/icingaweb2 \
-		icingaweb2-module-reactbundle>=0.4:net-mgmt/icingaweb2-module-reactbundle \
-		icingaweb2-module-ipl>=0.2.1:net-mgmt/icingaweb2-module-ipl
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.6.0:net-mgmt/icingaweb2@${PHP_FLAVOR} \
+		icingaweb2-module-reactbundle-${PHP_FLAVOR}>=0.4:net-mgmt/icingaweb2-module-reactbundle@${PHP_FLAVOR} \
+		icingaweb2-module-ipl-${PHP_FLAVOR}>=0.2.1:net-mgmt/icingaweb2-module-ipl@${PHP_FLAVOR}
 
+USES=		php:web,flavors
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga
 
 OPTIONS_DEFINE=		PDF
 PDF_DESC=		Use Chromium to export PDFs
 OPTIONS_DEFAULT=	PDF
-PDF_RUN_DEPENDS=	icingaweb2-module-pdfexport>=0.9:net-mgmt/icingaweb2-module-pdfexport
+PDF_RUN_DEPENDS=	icingaweb2-module-pdfexport-${PHP_FLAVOR}>=0.9:net-mgmt/icingaweb2-module-pdfexport@${PHP_FLAVOR}
 
 NO_BUILD=	yes
 NO_ARCH=	yes

Modified: head/net-mgmt/icingaweb2-module-vsphere/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2-module-vsphere/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2-module-vsphere/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,19 +3,21 @@
 PORTNAME=	icingaweb2-module-vsphere
 DISTVERSIONPREFIX=	v
 DISTVERSION=	1.1.0
-PORTREVISION=	3
+PORTREVISION=	4
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Automated import of your VMs and Physical Host from VMware Sphere
 
-RUN_DEPENDS=	icingaweb2>=2.4.1:net-mgmt/icingaweb2 \
-		${LOCALBASE}/www/icingaweb2/modules/director/run.php:net-mgmt/icingaweb2-module-director
+RUN_DEPENDS=	icingaweb2-${PHP_FLAVOR}>=2.4.1:net-mgmt/icingaweb2@${PHP_FLAVOR} \
+		icingaweb2-module-director-${PHP_FLAVOR}>=1.6.2:net-mgmt/icingaweb2-module-director@${PHP_FLAVOR}
 
-USES=		php
+USES=		php:web,flavors
+USE_PHP=	posix soap
+
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga
-USE_PHP=	posix soap
 
 NO_BUILD=	yes
 NO_ARCH=	yes

Modified: head/net-mgmt/icingaweb2/Makefile
==============================================================================
--- head/net-mgmt/icingaweb2/Makefile	Tue Dec 17 13:33:40 2019	(r520330)
+++ head/net-mgmt/icingaweb2/Makefile	Tue Dec 17 13:43:14 2019	(r520331)
@@ -3,7 +3,9 @@
 PORTNAME=	icingaweb2
 DISTVERSIONPREFIX=	v
 DISTVERSION=	2.7.3
+PORTREVISION=	1
 CATEGORIES=	net-mgmt www
+PKGNAMESUFFIX=	${PHP_PKGNAMESUFFIX}
 
 MAINTAINER=	lme@FreeBSD.org
 COMMENT=	Next generation web interface for Icinga 1 and 2
@@ -11,7 +13,11 @@ COMMENT=	Next generation web interface for Icinga 1 an
 LICENSE=	GPLv2
 LICENSE_FILE=	${WRKSRC}/COPYING
 
-RUN_DEPENDS=	zf:www/zend-framework1
+USES=		php:build,web,flavors
+USE_PHP=	bcmath bitset ctype curl dom gd gettext hash iconv \
+		json ldap mbstring mcrypt memcache memcached \
+		opcache openssl pcre pdo pdo_sqlite posix \
+		session simplexml soap sockets sqlite3 xml zlib
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	icinga
@@ -19,9 +25,6 @@ GH_ACCOUNT=	icinga
 NO_BUILD=	yes
 NO_ARCH=	yes
 
-USES=		php:build
-USE_PHP=	ctype dom gd gettext hash json openssl session sockets
-
 SUB_FILES=	pkg-message
 SUB_LIST=	WWWDIR=${WWWDIR} \
 		ETCDIR=${ETCDIR} \
@@ -30,17 +33,18 @@ SUB_LIST=	WWWDIR=${WWWDIR} \
 PLIST_SUB=	WWWOWN=${WWWOWN} \
 		WWWGRP=${WWWGRP}
 
-OPTIONS_DEFINE=		NLS LDAP MYSQL PGSQL PDF EXAMPLES
-OPTIONS_DEFAULT=	LDAP MYSQL PGSQL
+OPTIONS_DEFINE=		NLS LDAP MYSQL PGSQL PDF SQLITE EXAMPLES
+OPTIONS_DEFAULT=	LDAP MYSQL PGSQL SQLITE
 
 PDF_DESC=	Export graphs as PDF
+PDF_RUN_DEPENDS=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR}
 
 NLS_USES=	gettext
 NLS_USE=	php=intl
-PGSQL_USE=	PHP=pdo_pgsql,pgsql
-MYSQL_USE=	PHP=pdo_mysql
-LDAP_USE=	PHP=ldap
-PDF_RUN_DEPENDS=	${PHPBASE}/lib/php/${PHP_EXT_DIR}/imagick.so:graphics/pecl-imagick@${PHP_FLAVOR}
+PGSQL_USE=	php=pdo_pgsql,pgsql
+MYSQL_USE=	php=pdo_mysql,mysqli
+SQLITE_USE=	php=pdo_sqlite,sqlite3
+LDAP_USE=	php=ldap
 
 post-patch:
 	${REINPLACE_CMD} 's%\(/etc/icingaweb2\)%${PREFIX}\1%g' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201912171343.xBHDhEk9070377>