summaryrefslogtreecommitdiff
path: root/net/nagios-nrpe
diff options
context:
space:
mode:
authorapb <apb@pkgsrc.org>2009-04-16 09:32:35 +0000
committerapb <apb@pkgsrc.org>2009-04-16 09:32:35 +0000
commitee80692e398d495ce2bb1a60f0128a2d5fac4e22 (patch)
tree99f981e7f70ee50c980d5ec3a971009e2fbcfbab /net/nagios-nrpe
parentc1a63149d28cb1fbccbfb4c92883a293af85ce2a (diff)
downloadpkgsrc-ee80692e398d495ce2bb1a60f0128a2d5fac4e22.tar.gz
Pass --with-nagios-user and --with-nagios-group in CONFIGURE_ARGS, in
addition to the existing --with-nrpe-user and --with-nrpe-group. We use ${NAGIOS_USER} and ${NAGIOS_GROUP} for both nagious user/group and nrpe user/group.
Diffstat (limited to 'net/nagios-nrpe')
-rw-r--r--net/nagios-nrpe/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/nagios-nrpe/Makefile b/net/nagios-nrpe/Makefile
index fcb5b534d2e..28987188f4a 100644
--- a/net/nagios-nrpe/Makefile
+++ b/net/nagios-nrpe/Makefile
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.10 2008/06/21 14:52:48 tonnerre Exp $
+# $NetBSD: Makefile,v 1.11 2009/04/16 09:32:35 apb Exp $
#
DISTNAME= nrpe-2.12
PKGNAME= nagios-${DISTNAME}
+PKGREVISION= 1
CATEGORIES= net sysutils
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=nagios/}
@@ -29,6 +30,8 @@ PKG_USERS_VARS+= NAGIOS_USER
CONFIGURE_ARGS+= --with-nrpe-user=${NAGIOS_USER:Q}
CONFIGURE_ARGS+= --with-nrpe-group=${NAGIOS_GROUP:Q}
+CONFIGURE_ARGS+= --with-nagios-user=${NAGIOS_USER:Q}
+CONFIGURE_ARGS+= --with-nagios-group=${NAGIOS_GROUP:Q}
CONF_FILES+= ${PREFIX}/share/examples/nagios/nrpe.cfg ${PKG_SYSCONFDIR}/nrpe.cfg
RCD_SCRIPTS+= nrpe