diff options
author | shattered <shattered@pkgsrc.org> | 2011-10-23 11:39:04 +0000 |
---|---|---|
committer | shattered <shattered@pkgsrc.org> | 2011-10-23 11:39:04 +0000 |
commit | 9da9e0ef4b4a44c3e52d6787fc38fa53a69fe7b8 (patch) | |
tree | 7bf31b260cde2addd1742b6f46b245dbc983e0d1 /sysutils/munin-node | |
parent | 25ee94a9113c4bc458098916a9dfd1d04e6a02a1 (diff) | |
download | pkgsrc-9da9e0ef4b4a44c3e52d6787fc38fa53a69fe7b8.tar.gz |
- don't MAKE dirs that we OWN
- use values of STATEDIR and MUNIN_RUN in OWN_DIRS/OWN_DIRS_PERMS
Diffstat (limited to 'sysutils/munin-node')
-rw-r--r-- | sysutils/munin-node/Makefile | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/sysutils/munin-node/Makefile b/sysutils/munin-node/Makefile index fafdbece6c0..a1126b8e3df 100644 --- a/sysutils/munin-node/Makefile +++ b/sysutils/munin-node/Makefile @@ -1,10 +1,10 @@ -# $NetBSD: Makefile,v 1.22 2011/04/30 19:10:12 abs Exp $ +# $NetBSD: Makefile,v 1.23 2011/10/23 11:39:04 shattered Exp $ # DISTNAME= munin_${VER} VER= 1.3.2 PKGNAME= munin-node-${VER} -PKGREVISION= 9 +PKGREVISION= 10 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=munin/} @@ -62,20 +62,17 @@ REPLACE_PERL+= node/node.d/*.in STATEDIR?= ${VARBASE}/munin/plugin-state MUNIN_RUN?= ${VARBASE}/run/munin -MAKE_DIRS= ${VARBASE}/munin -MAKE_DIRS+= ${VARBASE}/run/munin -MAKE_DIRS+= ${VARBASE}/log/munin -MAKE_DIRS+= ${STATEDIR} +MAKE_DIRS+= ${PKG_SYSCONFDIR}/plugins -OWN_DIRS= ${VARBASE}/munin -OWN_DIRS+= ${VARBASE}/run/munin +OWN_DIRS+= ${VARBASE}/munin +OWN_DIRS+= ${MUNIN_RUN} OWN_DIRS+= ${VARBASE}/log/munin -OWN_DIRS+= ${VARBASE}/munin/plugin-state +OWN_DIRS+= ${STATEDIR} OWN_DIRS_PERMS+=${VARBASE}/munin ${MUNIN_USER} ${MUNIN_GROUP} 0755 -OWN_DIRS_PERMS+=${VARBASE}/run/munin ${MUNIN_USER} ${MUNIN_GROUP} 0755 +OWN_DIRS_PERMS+=${MUNIN_RUN} ${MUNIN_USER} ${MUNIN_GROUP} 0755 OWN_DIRS_PERMS+=${VARBASE}/log/munin ${MUNIN_USER} ${MUNIN_GROUP} 0755 -OWN_DIRS_PERMS+=${VARBASE}/munin/plugin-state ${MUNIN_USER} ${MUNIN_GROUP} 0775 +OWN_DIRS_PERMS+=${STATEDIR} ${MUNIN_USER} ${MUNIN_GROUP} 0775 INSTALL_TARGET= install-node install-node-plugins |