summaryrefslogtreecommitdiff
path: root/net/sendfile
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/sendfile
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/sendfile')
-rw-r--r--net/sendfile/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/net/sendfile/Makefile b/net/sendfile/Makefile
index 0adaca81657..bfa8472fb40 100644
--- a/net/sendfile/Makefile
+++ b/net/sendfile/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.35 2016/04/21 16:28:44 jperkin Exp $
+# $NetBSD: Makefile,v 1.36 2016/05/17 10:32:08 fhajny Exp $
#
DISTNAME= sendfile-2.1b
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= net
MASTER_SITES= http://fex.rus.uni-stuttgart.de/download/
@@ -27,7 +27,7 @@ post-configure:
cd ${WRKSRC} &&${SETENV} ${MAKE_ENV} ${MAKE_PROGRAM} config
OWN_DIRS+= ${VARBASE}/spool/sendfile
-OWN_DIRS_PERMS+=${VARBASE}/spool/sendfile/LOG ${ROOT_USER} ${ROOT_GROUP} 700
-OWN_DIRS_PERMS+=${VARBASE}/spool/sendfile/OUTGOING ${ROOT_USER} ${ROOT_GROUP} 1777
+OWN_DIRS_PERMS+=${VARBASE}/spool/sendfile/LOG ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 700
+OWN_DIRS_PERMS+=${VARBASE}/spool/sendfile/OUTGOING ${REAL_ROOT_USER} ${REAL_ROOT_GROUP} 1777
.include "../../mk/bsd.pkg.mk"