pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/nagios-nrpe Get NAGIOS_USER and NAGIOS_GROUP defin...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aeaef80196c8
branches:  trunk
changeset: 535721:aeaef80196c8
user:      seb <seb%pkgsrc.org@localhost>
date:      Mon Nov 26 22:14:19 2007 +0000

description:
Get NAGIOS_USER and NAGIOS_GROUP definitions via mk/bsd.prefs.mk

diffstat:

 net/nagios-nrpe/Makefile |  11 +++++------
 1 files changed, 5 insertions(+), 6 deletions(-)

diffs (32 lines):

diff -r ebc86824921d -r aeaef80196c8 net/nagios-nrpe/Makefile
--- a/net/nagios-nrpe/Makefile  Mon Nov 26 22:14:13 2007 +0000
+++ b/net/nagios-nrpe/Makefile  Mon Nov 26 22:14:19 2007 +0000
@@ -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 @@
 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 @@
 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



Home | Main Index | Thread Index | Old Index