summaryrefslogtreecommitdiff
path: root/sysutils/slocate/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 /sysutils/slocate/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 'sysutils/slocate/Makefile')
-rw-r--r--sysutils/slocate/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/sysutils/slocate/Makefile b/sysutils/slocate/Makefile
index 93f66365d3f..96662cee089 100644
--- a/sysutils/slocate/Makefile
+++ b/sysutils/slocate/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2012/12/12 15:24:17 wiz Exp $
+# $NetBSD: Makefile,v 1.2 2016/05/17 10:32:09 fhajny Exp $
#
DISTNAME= slocate-3.1
+PKGREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= http://fossies.org/unix/misc/old/
@@ -23,9 +24,9 @@ EGDIR= ${PREFIX}/share/examples/slocate
MESSAGE_SUBST+= EGDIR=${EGDIR}
OWN_DIRS= ${PREFIX}/var/slocate
-OWN_DIRS_PERMS+= ${PREFIX}/var/slocate ${ROOT_USER} ${SLOCATE_GROUP} 0750
+OWN_DIRS_PERMS+= ${PREFIX}/var/slocate ${REAL_ROOT_USER} ${SLOCATE_GROUP} 0750
-SPECIAL_PERMS+= src/slocate ${ROOT_USER} ${SLOCATE_GROUP} 2755
+SPECIAL_PERMS+= src/slocate ${REAL_ROOT_USER} ${SLOCATE_GROUP} 2755
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/src/slocate ${DESTDIR}${PREFIX}/bin/