summaryrefslogtreecommitdiff
path: root/sysutils/grub2
diff options
context:
space:
mode:
authorfhajny <fhajny>2016-05-17 10:32:06 +0000
committerfhajny <fhajny>2016-05-17 10:32:06 +0000
commit519e34bafcc8eba73c0de68fc9d76b05483fa2dd (patch)
treebb4a8c9947c804084004863ea06af206d79d402b /sysutils/grub2
parent48b2ed488974cec05c61f8ce75956e5420f288ab (diff)
downloadpkgsrc-519e34bafcc8eba73c0de68fc9d76b05483fa2dd.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/grub2')
-rw-r--r--sysutils/grub2/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/sysutils/grub2/Makefile b/sysutils/grub2/Makefile
index 9dfd6e2f324..8a6349af010 100644
--- a/sysutils/grub2/Makefile
+++ b/sysutils/grub2/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.8 2016/05/03 10:54:56 wiz Exp $
+# $NetBSD: Makefile,v 1.9 2016/05/17 10:32:09 fhajny Exp $
DISTNAME= grub-2.00
PKGNAME= ${DISTNAME:S/grub/grub2/}
-PKGREVISION= 4
+PKGREVISION= 5
CATEGORIES= sysutils
MASTER_SITES= ftp://ftp.gnu.org/gnu/grub/
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
@@ -89,7 +89,7 @@ EGFILES+= 10_linux
EGFILES+= 10_netbsd
.endif
.for file in ${EGFILES}
-CONF_FILES_PERMS+= ${EGDIR}/${file} ${PKG_SYSCONFDIR}/${file} ${ROOT_USER} ${ROOT_GROUP} 0755
+CONF_FILES_PERMS+= ${EGDIR}/${file} ${PKG_SYSCONFDIR}/${file} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 0755
.endfor
CONF_FILES+= ${EGDIR}/README ${PKG_SYSCONFDIR}/README
CONF_FILES+= ${EGDIR}/default.conf.sample ${PKG_SYSCONFDIR}/default.conf