aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-01-23 10:08:13 +0000
committerMuhammad Moinur Rahman <bofh@FreeBSD.org>2022-01-23 10:10:14 +0000
commitbd8bd8bad41c667f3af4d7eafadcdc0f715f07ca (patch)
tree383b4a3af3c6e9b13f0d5fa4191b6a271912e82f
parent8b8a08c962be2feecdaf5a034eb4f627c5e39a82 (diff)
downloadports-bd8bd8bad41c667f3af4d7eafadcdc0f715f07ca.tar.gz
ports-bd8bd8bad41c667f3af4d7eafadcdc0f715f07ca.zip
net-mgmt/percona-monitoring-plugins: Mark DEPRECATED
- Upstream EOL reached on 2020-08-01 https://www.percona.com/software/database-tools/percona-monitoring-plugins - Set to EXPIRE on 2022-02-23
-rw-r--r--net-mgmt/percona-monitoring-plugins/Makefile20
1 files changed, 11 insertions, 9 deletions
diff --git a/net-mgmt/percona-monitoring-plugins/Makefile b/net-mgmt/percona-monitoring-plugins/Makefile
index da4f49a61aab..a70b080745f9 100644
--- a/net-mgmt/percona-monitoring-plugins/Makefile
+++ b/net-mgmt/percona-monitoring-plugins/Makefile
@@ -13,26 +13,28 @@ COMMENT= Cacti templates for MySQL, Apache, Memcached, and more by Percona
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
-RUN_DEPENDS= cacti>=0:net-mgmt/cacti \
+DEPRECATED= Upstream EOL reached on 2020-08-01
+EXPIRATION_DATE= 2022-02-22
+
+RUN_DEPENDS= bash:shells/bash \
+ cacti>=0:net-mgmt/cacti \
p5-DBD-mysql>=0:databases/p5-DBD-mysql \
- bash:shells/bash \
wget:ftp/wget
USES= mysql perl5 php:cli python:run shebangfix
USE_PERL5= run
-SHEBANG_FILES= nagios/bin/pmp-check-pt-table-checksum \
- nagios/bin/pmp-check-aws-rds.py \
- cacti/bin/pmp-cacti-*
+SHEBANG_FILES= cacti/bin/pmp-cacti-* nagios/bin/pmp-check-aws-rds.py \
+ nagios/bin/pmp-check-pt-table-checksum
-NO_BUILD= yes
+REINPLACE_ARGS= -i ''
NO_ARCH= yes
-PORTDOCS= Changelog
-CACTIDIR?= share/cacti
+NO_BUILD= yes
+PORTDOCS= Changelog
OPTIONS_DEFINE= DOCS
-REINPLACE_ARGS= -i ''
+CACTIDIR?= share/cacti
post-patch:
@${REINPLACE_CMD} 's|/etc/cacti/|${PREFIX}/etc/cacti/|g' ${WRKSRC}/cacti/scripts/ss_get_mysql_stats.php ${WRKSRC}/cacti/scripts/ss_get_by_ssh.php