2e4d750576
a vmware bug, until they get round to fixing it let's at least document which icinga/nagios variable you need to bump as a workaround. ok merdely@
46 lines
977 B
Makefile
46 lines
977 B
Makefile
# $OpenBSD: Makefile,v 1.4 2012/07/05 14:39:10 sthen Exp $
|
|
|
|
PKG_ARCH = *
|
|
|
|
COMMENT = Nagios plugin to the status of ESX/i hardware
|
|
|
|
V = 20120501
|
|
REVISION = 0
|
|
DISTNAME = check_esxi_hardware.py.$V
|
|
PKGNAME = check_esxi_hardware-$V
|
|
CATEGORIES = net
|
|
|
|
MAINTAINER = Michael Erdely <merdely@openbsd.org>
|
|
|
|
HOMEPAGE = http://www.claudiokuenzler.com/nagios-plugins/check_esxi_hardware.php
|
|
MASTER_SITES = http://www.claudiokuenzler.com/nagios-plugins/
|
|
|
|
EXTRACT_SUFX =
|
|
|
|
# GPL
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM =Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
NO_BUILD = Yes
|
|
NO_REGRESS = Yes
|
|
|
|
RUN_DEPENDS = devel/py-wbem
|
|
|
|
MODULES = lang/python
|
|
|
|
WRKSRC = ${WRKDIR}
|
|
|
|
MODPY_ADJ_FILES= check_esxi_hardware.py.$V
|
|
|
|
do-extract:
|
|
@cp ${FULLDISTDIR}/${DISTFILES} ${WRKDIR}
|
|
|
|
do-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/libexec/nagios
|
|
${INSTALL_SCRIPT} ${WRKDIR}/check_esxi_hardware.py.$V \
|
|
${PREFIX}/libexec/nagios/check_esxi_hardware
|
|
|
|
.include <bsd.port.mk>
|