1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

sysutils/ganglia-webfrontend: Flavorize to prevent build with PHP 8

Also add deprecation warning to pkg-message:

WARNING: Development of Ganglia has ceased.  It is incompatible with
Python 3 and PHP 8 and there are mutliple unpatched vulnerabilities.
Anyone still using Ganglia should start looking for alternatives.
This commit is contained in:
Jason W. Bacon 2022-01-29 16:59:59 -06:00
parent 755fc7d25d
commit b9bff65131
2 changed files with 10 additions and 3 deletions
sysutils/ganglia-webfrontend

View File

@ -1,17 +1,19 @@
PORTNAME= ganglia
PORTVERSION= 3.7.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= sysutils net parallel www
PKGNAMESUFFIX= -webfrontend
PKGNAMESUFFIX= -webfrontend${PHP_PKGNAMESUFFIX}
MAINTAINER= jwb@FreeBSD.org
COMMENT= Ganglia cluster monitor, web frontend
LICENSE= BSD3CLAUSE
IGNORE_WITH_PHP= 80 81
RUN_DEPENDS= ${LOCALBASE}/sbin/gmond:sysutils/ganglia-monitor-core
USES= cpe php:web
USES= cpe php:flavors,web
CPE_VENDOR= ${PORTNAME}
CPE_PRODUCT= ${PORTNAME}-web
USE_GITHUB= yes

View File

@ -38,6 +38,11 @@ The default configuration is stored in
%%WWWDIR%%/conf_default.php.
If you want to customize the configuration make customizations to
%%WWWDIR%%/conf.php .
WARNING: Development of Ganglia has ceased. It is incompatible with
Python 3 and PHP 8 and there are mutliple unpatched vulnerabilities.
Anyone still using Ganglia should start looking for alternatives.
EOM
}
]