diff options
author | fhajny <fhajny@pkgsrc.org> | 2016-05-17 10:32:06 +0000 |
---|---|---|
committer | fhajny <fhajny@pkgsrc.org> | 2016-05-17 10:32:06 +0000 |
commit | 3c581072bdf4170a88e004c862f36c3e5826040c (patch) | |
tree | bb4a8c9947c804084004863ea06af206d79d402b /filesystems/openafs/Makefile | |
parent | 1b4694d98df4656434a6840b4e7c1c2d4bf07e94 (diff) | |
download | pkgsrc-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 'filesystems/openafs/Makefile')
-rw-r--r-- | filesystems/openafs/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/filesystems/openafs/Makefile b/filesystems/openafs/Makefile index 789396c5c6e..2658ed922bf 100644 --- a/filesystems/openafs/Makefile +++ b/filesystems/openafs/Makefile @@ -1,8 +1,8 @@ -# $NetBSD: Makefile,v 1.12 2016/04/04 12:48:29 jakllsch Exp $ +# $NetBSD: Makefile,v 1.13 2016/05/17 10:32:07 fhajny Exp $ DISTNAME= openafs-1.6.17-src PKGNAME= ${DISTNAME:C/-src//} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= filesystems net sysutils MASTER_SITES= http://www.openafs.org/dl/openafs/1.6.17/ EXTRACT_SUFX= .tar.bz2 @@ -36,10 +36,10 @@ WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} PLIST_SRC+= ${.CURDIR}/PLIST OWN_DIRS+= ${PKG_SYSCONFDIR}/openafs -OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${ROOT_USER} ${ROOT_GROUP} 775 -OWN_DIRS_PERMS+= ${VARBASE}/openafs ${ROOT_USER} ${ROOT_GROUP} 770 +OWN_DIRS_PERMS+= ${PKG_SYSCONFDIR}/openafs/server ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 775 +OWN_DIRS_PERMS+= ${VARBASE}/openafs ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 770 OWN_DIRS+= ${VARBASE}/openafs/logs -OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${ROOT_USER} ${ROOT_GROUP} 700 +OWN_DIRS_PERMS+= ${VARBASE}/openafs/db ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 700 FILES_SUBST+= HOSTNAME_CMD=${HOSTNAME_CMD:Q} |