2010-11-08 17:57:58 +01:00
|
|
|
# New ports collection makefile for: check_mysql_health
|
|
|
|
# Date created: November 8, 2010
|
|
|
|
# Whom: pgollucci@p6m7g8.com
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= check_mysql_health
|
2011-05-18 03:55:00 +02:00
|
|
|
PORTVERSION= 2.1.5.1
|
2010-11-08 17:57:58 +01:00
|
|
|
CATEGORIES= net-mgmt
|
2011-05-18 03:55:00 +02:00
|
|
|
MASTER_SITES= http://labs.consol.de/wp-content/uploads/2011/04/
|
2010-11-08 17:57:58 +01:00
|
|
|
|
2010-12-16 05:03:05 +01:00
|
|
|
MAINTAINER= ssanders@taximagic.com
|
2010-11-08 17:57:58 +01:00
|
|
|
COMMENT= Nagios plugin to check various parameters of a MySQL database
|
|
|
|
|
|
|
|
RUN_DEPENDS= ${SITE_PERL}/${PERL_ARCH}/DBD/mysql.pm:${PORTSDIR}/databases/p5-DBD-mysql
|
|
|
|
|
|
|
|
LICENSE= GPLv2
|
|
|
|
|
|
|
|
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}
|
|
|
|
|
|
|
|
USE_PERL5= yes
|
|
|
|
|
|
|
|
NAGIOSUSER?= nagios
|
|
|
|
NAGIOSGROUP?= nagios
|
|
|
|
NAGIOSDIR?= /var/spool/nagios
|
|
|
|
|
|
|
|
PLIST_FILES= libexec/nagios/check_mysql_health
|
2011-05-18 03:55:00 +02:00
|
|
|
PLIST_DIRS= libexec/nagios
|
2010-11-08 17:57:58 +01:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|