2021-06-29 02:08:50 +02:00
|
|
|
# $NetBSD: Makefile,v 1.7 2021/06/29 00:08:50 tnn Exp $
|
2013-01-19 11:22:11 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
PKGNAME= nagios-plugin-raidctl-${DISTNAME:C/.*-//}
|
2017-08-07 11:30:45 +02:00
|
|
|
PKGREVISION= 1
|
2013-01-19 11:22:11 +01:00
|
|
|
DISTNAME= check_raidctl-0.1
|
|
|
|
CATEGORIES= net
|
|
|
|
MASTER_SITES= http://ftp.espci.fr/pub/nagios-local/
|
|
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
|
|
|
|
MAINTAINER= manu@NetBSD.org
|
2020-01-26 18:30:40 +01:00
|
|
|
HOMEPAGE= https://ftp.espci.fr/pub/nagios-local/
|
2013-01-19 11:22:11 +01:00
|
|
|
COMMENT= RAIDframe monitoring plugin for Nagios
|
|
|
|
LICENSE= modified-bsd
|
|
|
|
|
2021-06-29 02:08:50 +02:00
|
|
|
ONLY_FOR_PLATFORM= NetBSD-*-* OpenBSD-*-*
|
|
|
|
|
2019-11-03 12:45:28 +01:00
|
|
|
INSTALLATION_DIRS+= libexec/nagios
|
2013-01-19 11:22:11 +01:00
|
|
|
|
2017-08-07 11:30:45 +02:00
|
|
|
BUILD_DEFS+= NAGIOS_GROUP
|
|
|
|
PKG_GROUPS_VARS+= NAGIOS_GROUP
|
|
|
|
PKG_GROUPS= ${NAGIOS_GROUP}
|
|
|
|
|
2019-11-03 12:45:28 +01:00
|
|
|
SPECIAL_PERMS+= ${PREFIX}/libexec/nagios/check_raidctl \
|
2014-10-14 15:27:45 +02:00
|
|
|
${REAL_ROOT_USER} ${NAGIOS_GROUP} 4554
|
2013-01-19 11:22:11 +01:00
|
|
|
|
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/check_raidctl \
|
|
|
|
${DESTDIR}${PREFIX}/libexec/nagios/
|
|
|
|
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|