Index: head/net-mgmt/percona-monitoring-plugins/Makefile =================================================================== --- head/net-mgmt/percona-monitoring-plugins/Makefile (revision 380113) +++ head/net-mgmt/percona-monitoring-plugins/Makefile (revision 380114) @@ -1,59 +1,66 @@ # Created by: Alexey V. Degtyarev # $FreeBSD$ PORTNAME= percona-monitoring-plugins PORTVERSION= 1.1.3 +PORTREVISION= 1 CATEGORIES= net-mgmt MASTER_SITES= http://www.percona.com/downloads/percona-monitoring-plugins/${PORTVERSION}/ \ ftp://ftp.renatasystems.org/pub/FreeBSD/ports/distfiles/ MAINTAINER= alexey@renatasystems.org COMMENT= Cacti templates for MySQL, Apache, Memcached, and more by Percona LICENSE= GPLv2 +LICENSE_FILE= ${WRKSRC}/COPYING RUN_DEPENDS= cacti>=0:${PORTSDIR}/net-mgmt/cacti \ p5-DBD-mysql>=0:${PORTSDIR}/databases/p5-DBD-mysql \ p5-Data-Dumper>=0:${PORTSDIR}/devel/p5-Data-Dumper \ p5-Digest-MD5>=0:${PORTSDIR}/security/p5-Digest-MD5 \ p5-Getopt-Long>=0:${PORTSDIR}/devel/p5-Getopt-Long \ - p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes + p5-Time-HiRes>=0:${PORTSDIR}/devel/p5-Time-HiRes \ + bash:${PORTSDIR}/shells/bash +USES= shebangfix perl5 +USE_PERL5= run +SHEBANG_FILES= nagios/bin/pmp-check-pt-table-checksum \ + cacti/bin/pmp-cacti-* USE_MYSQL= yes USE_PHP= yes WANT_PHP_CLI= yes NO_BUILD= yes PORTDOCS= Changelog CACTIDIR?= share/cacti OPTIONS_DEFINE= DOCS .include do-install: .if ${PORT_OPTIONS:MDOCS} ${MKDIR} ${STAGEDIR}${DOCSDIR} .for doc in ${PORTDOCS} ${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/${doc} .endfor .endif ${MKDIR} ${STAGEDIR}${PREFIX}/share/cacti/scripts ${MKDIR} ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins .for dir in definitions misc templates cd ${WRKSRC} && ${PAX} -r -w cacti/${dir} \ ${STAGEDIR}${PREFIX}/share/percona-monitoring-plugins .endfor .for script in ss_get_by_ssh.php ss_get_mysql_stats.php ${INSTALL_DATA} ${WRKSRC}/cacti/scripts/${script} \ ${STAGEDIR}${PREFIX}/share/cacti/scripts/${script} .endfor ${INSTALL_SCRIPT} ${WRKSRC}/cacti/bin/* ${STAGEDIR}${PREFIX}/bin ${INSTALL_SCRIPT} ${WRKSRC}/nagios/bin/* ${STAGEDIR}${PREFIX}/bin .include Index: head/net-mgmt/percona-monitoring-plugins/pkg-plist =================================================================== --- head/net-mgmt/percona-monitoring-plugins/pkg-plist (revision 380113) +++ head/net-mgmt/percona-monitoring-plugins/pkg-plist (revision 380114) @@ -1,50 +1,43 @@ bin/pmp-cacti-extract-template bin/pmp-cacti-graph-defs bin/pmp-cacti-make-hashes bin/pmp-cacti-template bin/pmp-check-aws-rds.py bin/pmp-check-lvm-snapshots bin/pmp-check-mysql-deadlocks bin/pmp-check-mysql-deleted-files bin/pmp-check-mysql-file-privs bin/pmp-check-mysql-innodb bin/pmp-check-mysql-pidfile bin/pmp-check-mysql-processlist bin/pmp-check-mysql-replication-delay bin/pmp-check-mysql-replication-running bin/pmp-check-mysql-status bin/pmp-check-mysql-ts-count bin/pmp-check-pt-table-checksum bin/pmp-check-unix-memory share/cacti/scripts/ss_get_by_ssh.php share/cacti/scripts/ss_get_mysql_stats.php -%%PORTDOCS%%%%DOCSDIR%%/Changelog %%DATADIR%%/cacti/definitions/apache.def %%DATADIR%%/cacti/definitions/galera.def %%DATADIR%%/cacti/definitions/gnu_linux.def %%DATADIR%%/cacti/definitions/jmx.def %%DATADIR%%/cacti/definitions/memcached.def %%DATADIR%%/cacti/definitions/mongodb.def %%DATADIR%%/cacti/definitions/mysql.def %%DATADIR%%/cacti/definitions/nginx.def %%DATADIR%%/cacti/definitions/openvz.def %%DATADIR%%/cacti/definitions/rds.def %%DATADIR%%/cacti/definitions/redis.def %%DATADIR%%/cacti/misc/jmx-monitor.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_apache_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_galera_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_gnu_linux_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_jmx_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_memcached_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_mongodb_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_mysql_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_nginx_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_openvz_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_rds_server_ht_0.8.6i-sver1.1.3.xml %%DATADIR%%/cacti/templates/cacti_host_template_percona_redis_server_ht_0.8.6i-sver1.1.3.xml -%%PORTDOCS%%@dirrmtry %%DOCSDIR%% -@dirrmtry %%DATADIR%%/cacti/definitions -@dirrmtry %%DATADIR%%/cacti/misc -@dirrmtry %%DATADIR%%/cacti/templates -@dirrmtry %%DATADIR%%/cacti -@dirrmtry %%DATADIR%%