mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-30 01:15:52 +00:00
34 lines
838 B
Makefile
34 lines
838 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= check_mysql_health
|
|
PORTVERSION= 2.1.5.1
|
|
CATEGORIES= net-mgmt
|
|
MASTER_SITES= http://labs.consol.de/wp-content/uploads/2011/04/
|
|
|
|
MAINTAINER= ssanders@taximagic.com
|
|
COMMENT= Nagios plugin to check various parameters of a MySQL database
|
|
|
|
RUN_DEPENDS= p5-DBD-mysql>=0:${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}
|
|
|
|
USES= perl5
|
|
|
|
NAGIOSUSER?= nagios
|
|
NAGIOSGROUP?= nagios
|
|
NAGIOSDIR?= /var/spool/nagios
|
|
|
|
PLIST_FILES= libexec/nagios/check_mysql_health
|
|
PLIST_DIRS= libexec/nagios
|
|
|
|
.include <bsd.port.mk>
|