diff options
author | joerg <joerg@pkgsrc.org> | 2015-05-03 19:46:35 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2015-05-03 19:46:35 +0000 |
commit | 429de19f1e1c050269c41cd49e8888d0df05918a (patch) | |
tree | 55925e5c0e6310c10b64a7e507184838a754fb41 /net | |
parent | e29c628590be1dc14e0341ae85b43f724dd3bdea (diff) | |
download | pkgsrc-429de19f1e1c050269c41cd49e8888d0df05918a.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/Makefile | 6 |
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 |