aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason W. Bacon <jwb@FreeBSD.org>2022-01-29 22:59:59 +0000
committerJason W. Bacon <jwb@FreeBSD.org>2022-01-29 23:01:37 +0000
commitb9bff65131195addfcf1741f36a6348eebc02e14 (patch)
tree2e538af57d4dac3794f96b63071c064becf97639
parent755fc7d25d14b93e53903077773442f8ccf362de (diff)
downloadports-b9bff65131195addfcf1741f36a6348eebc02e14.tar.gz
ports-b9bff65131195addfcf1741f36a6348eebc02e14.zip
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.
-rw-r--r--sysutils/ganglia-webfrontend/Makefile8
-rw-r--r--sysutils/ganglia-webfrontend/files/pkg-message.in5
2 files changed, 10 insertions, 3 deletions
diff --git a/sysutils/ganglia-webfrontend/Makefile b/sysutils/ganglia-webfrontend/Makefile
index 54b09d658329..5e1c9a175232 100644
--- a/sysutils/ganglia-webfrontend/Makefile
+++ b/sysutils/ganglia-webfrontend/Makefile
@@ -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
diff --git a/sysutils/ganglia-webfrontend/files/pkg-message.in b/sysutils/ganglia-webfrontend/files/pkg-message.in
index 0132fd030991..5cdad64d4976 100644
--- a/sysutils/ganglia-webfrontend/files/pkg-message.in
+++ b/sysutils/ganglia-webfrontend/files/pkg-message.in
@@ -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
}
]