summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjoerg <joerg>2015-05-03 19:46:35 +0000
committerjoerg <joerg>2015-05-03 19:46:35 +0000
commitc9fb5a05262acc3d7a2654185dd2c78b01ac9cb7 (patch)
tree55925e5c0e6310c10b64a7e507184838a754fb41 /net
parent1abcee7ec3c49a54973c7a8e1ebfd6f9927cd11f (diff)
downloadpkgsrc-c9fb5a05262acc3d7a2654185dd2c78b01ac9cb7.tar.gz
Downgrade to destdir installation as chown/chgrp is used during
installation. Require users/groups to be created before install as well.
Diffstat (limited to 'net')
-rw-r--r--net/nagios-base/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/net/nagios-base/Makefile b/net/nagios-base/Makefile
index d692c248cb9..84ce3db423a 100644
--- a/net/nagios-base/Makefile
+++ b/net/nagios-base/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.57 2015/04/12 23:33:06 rodent Exp $
+# $NetBSD: Makefile,v 1.58 2015/05/03 19:46:35 joerg Exp $
#
DISTNAME= nagios-4.0.8
@@ -14,6 +14,8 @@ HOMEPAGE= http://www.nagios.org/
COMMENT= Network monitor
LICENSE= gnu-gpl-v2
+PKG_DESTDIR_SUPPORT= destdir
+
.include "../../mk/bsd.prefs.mk"
.include "../../net/nagios-base/Makefile.common"
.include "options.mk"
@@ -49,6 +51,8 @@ BUILD_DEFS+= NAGIOSDIR
PKG_GROUPS+= ${NAGIOS_GROUP}
PKG_GROUPS+= ${NAGIOSCMD_GROUP}
+USERGROUP_PHASE+= pre-install
+
PKG_USERS+= ${NAGIOS_USER}:${NAGIOS_GROUP}
PKG_GECOS.${NAGIOS_USER}= Nagios Runtime User