Date: Fri, 29 Nov 2013 14:57:42 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335184 - head/Mk/Uses Message-ID: <201311291457.rATEvgHa080537@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Fri Nov 29 14:57:42 2013 New Revision: 335184 URL: http://svnweb.freebsd.org/changeset/ports/335184 Log: Allow a user non belonging to whell to create a package Modified: head/Mk/Uses/uidfix.mk Modified: head/Mk/Uses/uidfix.mk ============================================================================== --- head/Mk/Uses/uidfix.mk Fri Nov 29 14:53:25 2013 (r335183) +++ head/Mk/Uses/uidfix.mk Fri Nov 29 14:57:42 2013 (r335184) @@ -11,9 +11,16 @@ .if !defined(_INCLUDE_USES_UIDFIX_MK) _INCLUDE_USES_UIDFIX_MK= yes .if ${UID} != 0 +.if !defined(GID) +GID!= id -g +.endif MAKE_ENV+= BINOWN=${UID} SHAREOWN=${UID} CONFOWN=${UID} +MAKE_ENV+= BINGRP=${GID} SHAREGRP=${GID} CONFGRP=${GID} BINOWN= ${UID} SHAREOWN= ${UID} WWWOWN= ${UID} +BINGRP= ${GID} +SHAREGRP= ${GID} +WWWGRP= ${GID} .endif .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201311291457.rATEvgHa080537>