From owner-svn-ports-head@FreeBSD.ORG Fri Nov 29 14:57:43 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 067CEB6; Fri, 29 Nov 2013 14:57:43 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id E702D1B1B; Fri, 29 Nov 2013 14:57:42 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id rATEvguK080538; Fri, 29 Nov 2013 14:57:42 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id rATEvgHa080537; Fri, 29 Nov 2013 14:57:42 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201311291457.rATEvgHa080537@svn.freebsd.org> From: Baptiste Daroussin Date: Fri, 29 Nov 2013 14:57:42 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r335184 - head/Mk/Uses X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.16 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Nov 2013 14:57:43 -0000 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