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
commitcefefe7d881183c7a2188b3dbc0cdc07a12ef5d3 (patch)
tree99f981e7f70ee50c980d5ec3a971009e2fbcfbab /net/nagios-nrpe
parent30470213f23a0bae2ecf4bafcfae364c5da3fd95 (diff)
downloadpkgsrc-cefefe7d881183c7a2188b3dbc0cdc07a12ef5d3.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