Date: Wed, 13 Aug 2014 19:00:17 +0200 From: olli hauer <ohauer@gmx.de> To: ports@freebsd.org Cc: Kurt Jaeger <lists@opsec.eu>, Dennis Glatting <freebsd@pki2.com> Subject: Re: FreeBSD unmaintained ports which are currently scheduled for deletion Message-ID: <53EB99A1.2090101@gmx.de> In-Reply-To: <1407947824.3895.274.camel@btw.pki2.com> References: <201408070829.s778Tgbl017745@portsmon.freebsd.org> <1407425678.3895.159.camel@btw.pki2.com> <20140807153648.GO2644@home.opsec.eu> <1407811941.3895.236.camel@btw.pki2.com> <20140812045801.GC9400@home.opsec.eu> <1407863151.3895.237.camel@btw.pki2.com> <20140812193436.GE9400@home.opsec.eu> <1407891372.3895.266.camel@btw.pki2.com> <20140813041709.GF9400@home.opsec.eu> <1407904268.3895.270.camel@btw.pki2.com> <20140813044253.GA67425@over-yonder.net> <1407947824.3895.274.camel@btw.pki2.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2014-08-13 18:37, Dennis Glatting wrote: > On Tue, 2014-08-12 at 23:42 -0500, Matthew D. Fuller wrote: >> On Tue, Aug 12, 2014 at 09:31:08PM -0700 I heard the voice of >> Dennis Glatting, and lo! it spake thus: >>> >>> do_install in the Makefile does the chown. >> >> Generally you'd want to do something more like using @owner/@group in >> plist, rather than chown'ing in the stage. Doing that would break >> building as non-root, too. > > What's the order? plist cannot change owner/group unless it is defined. > Or, does plist execution happen /after/ the make process creates the > owner/group entries? > In case the port defines USERS and GROUPS from ports/(U|G)IDs, then this GROUPS/USERS are created in a early step during port / packet installation and they are available before pkg-plist is processed. USERS= $user (list) from UIDs GROUPS= $group (list) from GIDs In case the port requires user / group not in UIDs/GIDs then request an entry for them. -- olli
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?53EB99A1.2090101>