2010-11-08 17:57:58 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= check_mysql_health
|
2016-09-07 12:31:10 +02:00
|
|
|
PORTVERSION= 2.2.2
|
2010-11-08 17:57:58 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2015-09-05 16:40:42 +02:00
|
|
|
MASTER_SITES= https://labs.consol.de/assets/downloads/nagios/
|
2010-11-08 17:57:58 +01:00
|
|
|
|
2015-08-19 09:54:45 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2010-11-08 17:57:58 +01:00
|
|
|
COMMENT= Nagios plugin to check various parameters of a MySQL database
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
2015-08-21 21:57:34 +02:00
|
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
2010-11-08 17:57:58 +01:00
|
|
|
|
2016-04-01 16:16:16 +02:00
|
|
|
RUN_DEPENDS= p5-DBD-mysql>=0:databases/p5-DBD-mysql
|
2014-12-10 14:32:30 +01:00
|
|
|
|
2010-11-08 17:57:58 +01:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_ARGS= --with-statefiles-dir=${NAGIOSDIR} \
|
|
|
|
--with-nagios-user=${NAGIOSUSER} \
|
|
|
|
--with-nagios-group=${NAGIOSGROUP} \
|
|
|
|
--with-mymodules-dir=${PREFIX}/libexec/nagios \
|
|
|
|
--with-mymodules-dyn-dir=${PREFIX}/libexec/nagios \
|
|
|
|
--libexecdir=${PREFIX}/libexec/nagios \
|
|
|
|
--with-perl=${PERL}
|
|
|
|
|
2013-09-04 05:27:37 +02:00
|
|
|
USES= perl5
|
2015-08-21 21:57:34 +02:00
|
|
|
NO_ARCH= yes
|
2010-11-08 17:57:58 +01:00
|
|
|
|
|
|
|
NAGIOSUSER?= nagios
|
|
|
|
NAGIOSGROUP?= nagios
|
|
|
|
NAGIOSDIR?= /var/spool/nagios
|
|
|
|
|
|
|
|
PLIST_FILES= libexec/nagios/check_mysql_health
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|