pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/sysupgrade Fix ownership of ${VARBASE}/cache/...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c93f040bfe0d
branches:  trunk
changeset: 362984:c93f040bfe0d
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Mon May 29 18:56:49 2017 +0000

description:
Fix ownership of ${VARBASE}/cache/sysupgrade.

Fix case where OWN_DIRS_PERMS obviously was intended instead of OWN_DIRS.
Also use ${REAL_ROOT_USER}:${REAL_ROOT_GROUP} instead of hardcoding
root:wheel.

Bump PKGREVISION for fixes that changed binary package.

diffstat:

 sysutils/sysupgrade/Makefile |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r 916642761ff3 -r c93f040bfe0d sysutils/sysupgrade/Makefile
--- a/sysutils/sysupgrade/Makefile      Mon May 29 17:17:13 2017 +0000
+++ b/sysutils/sysupgrade/Makefile      Mon May 29 18:56:49 2017 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.11 2017/03/20 00:25:35 maya Exp $
+# $NetBSD: Makefile,v 1.12 2017/05/29 18:56:49 jlam Exp $
 
 DISTNAME=      sysupgrade-1.5
-PKGREVISION=   2
+PKGREVISION=   3
 CATEGORIES=    sysutils
 MASTER_SITES=  https://github.com/jmmv/sysupgrade/releases/download/sysupgrade-1.5/
 
@@ -16,7 +16,7 @@
 
 BUILD_DEFS+=           VARBASE
 SYSUPGRADE_CACHEDIR=   ${VARBASE}/cache/sysupgrade
-OWN_DIRS=              ${SYSUPGRADE_CACHEDIR} root wheel
+OWN_DIRS_PERMS=                ${SYSUPGRADE_CACHEDIR} ${REAL_ROOT_USER} ${REAL_ROOT_GROUP}
 CONFIGURE_ARGS+=       SYSUPGRADE_CACHEDIR=${SYSUPGRADE_CACHEDIR}
 
 CONFIGURE_ARGS+=       --sysconfdir=${PKG_SYSCONFDIR}



Home | Main Index | Thread Index | Old Index