summaryrefslogtreecommitdiff
path: root/net/nagios-nrpe
diff options
context:
space:
mode:
authorseb <seb@pkgsrc.org>2007-11-26 22:14:19 +0000
committerseb <seb@pkgsrc.org>2007-11-26 22:14:19 +0000
commitd6d5f4275bc3688743e5ce6f70ad21cf16f2cec1 (patch)
tree931af826def89d026e12f68eebcb7b9b9945c795 /net/nagios-nrpe
parent4346efd0486bbbb1e9d0704427eeac03d40f8a52 (diff)
downloadpkgsrc-d6d5f4275bc3688743e5ce6f70ad21cf16f2cec1.tar.gz
Get NAGIOS_USER and NAGIOS_GROUP definitions via mk/bsd.prefs.mk
Diffstat (limited to 'net/nagios-nrpe')
-rw-r--r--net/nagios-nrpe/Makefile11
1 files changed, 5 insertions, 6 deletions
diff --git a/net/nagios-nrpe/Makefile b/net/nagios-nrpe/Makefile
index 21e81663902..6a14685df46 100644
--- a/net/nagios-nrpe/Makefile
+++ b/net/nagios-nrpe/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2007/07/04 20:54:51 jlam Exp $
+# $NetBSD: Makefile,v 1.9 2007/11/26 22:14:19 seb Exp $
#
DISTNAME= nrpe-2.5.2
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://sourceforge.net/projects/nagios/
COMMENT= Nagios remote program execution daemon
+.include "../../mk/bsd.prefs.mk"
+
GNU_CONFIGURE= yes
USE_TOOLS+= perl
USE_PKGINSTALL= yes
@@ -18,11 +20,8 @@ PKG_SYSCONFSUBDIR= nagios
CONFIGURE_ARGS+= --libexecdir=${PREFIX}/libexec/nagios
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR:Q}
-NAGIOS_USER?= nagios
-NAGIOS_GROUP?= ${NAGIOS_USER}
-
-PKG_GROUPS+= ${NAGIOS_GROUP}
-PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP}
+PKG_GROUPS+= ${NAGIOS_GROUP}
+PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP}
PKG_GECOS.${NAGIOS_USER}= Nagios Runtime User
PKG_GROUPS_VARS+= NAGIOS_GROUP