summaryrefslogtreecommitdiff
path: root/net/ocsinventory-agent/Makefile
diff options
context:
space:
mode:
authorfhajny <fhajny@pkgsrc.org>2016-05-17 10:32:06 +0000
committerfhajny <fhajny@pkgsrc.org>2016-05-17 10:32:06 +0000
commit3c581072bdf4170a88e004c862f36c3e5826040c (patch)
treebb4a8c9947c804084004863ea06af206d79d402b /net/ocsinventory-agent/Makefile
parent1b4694d98df4656434a6840b4e7c1c2d4bf07e94 (diff)
downloadpkgsrc-3c581072bdf4170a88e004c862f36c3e5826040c.tar.gz
Use REAL_ROOT_USER/REAL_ROOT_GROUP instead of ROOT_USER/ROOT_GROUP
for all pkgsrc dir/file ownership rules. Fixes unprivileged user/group names from leaking into binary packages, manifest as non-fatal chown/chgrp failure messages at pkg_add time. Bump respective packages' PKGREVISION.
Diffstat (limited to 'net/ocsinventory-agent/Makefile')
-rw-r--r--net/ocsinventory-agent/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/net/ocsinventory-agent/Makefile b/net/ocsinventory-agent/Makefile
index 73e49c787cf..003cc89ce42 100644
--- a/net/ocsinventory-agent/Makefile
+++ b/net/ocsinventory-agent/Makefile
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2015/06/12 10:50:43 wiz Exp $
+# $NetBSD: Makefile,v 1.13 2016/05/17 10:32:08 fhajny Exp $
#
VERS= 1.1.2.1
-PKGREVISION= 7
+PKGREVISION= 8
DISTNAME= Ocsinventory-Agent-${VERS}
PKGNAME= ocsinventory-agent-${VERS}
CATEGORIES= net
@@ -30,7 +30,7 @@ AUTO_MKDIRS=yes
.include "../../mk/bsd.prefs.mk"
EGDIR= ${PREFIX}/share/examples/ocsinventory-agent
-MAKE_DIRS_PERMS+= ${VARBASE}/db/ocsinventory ${ROOT_USER} ${ROOT_GROUP} 0700
+MAKE_DIRS_PERMS+= ${VARBASE}/db/ocsinventory ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0700
CONF_FILES+= ${EGDIR}/ocsinventory-agent.cfg ${PKG_SYSCONFDIR}/ocsinventory-agent.cfg
CONF_FILES+= ${EGDIR}/modules.conf ${PKG_SYSCONFDIR}/modules.conf