Date: Wed, 15 Feb 2006 05:14:10 -0800 From: Luigi Rizzo <rizzo@icir.org> To: Alexander Leidinger <Alexander@Leidinger.net> Cc: ports@freebsd.org, Doug Barton <dougb@freebsd.org> Subject: Re: please check your ports, pre-install vs pre-su-install Message-ID: <20060215051410.A22956@xorpc.icir.org> In-Reply-To: <20060215140409.aj8kd4jrgg48w0wo@netchild.homeip.net>; from Alexander@Leidinger.net on Wed, Feb 15, 2006 at 02:04:09PM %2B0100 References: <20060214112901.A74586@xorpc.icir.org> <43F2884E.1070006@FreeBSD.org> <20060214230933.B81035@xorpc.icir.org> <20060215110149.87695wiuas44g4co@netchild.homeip.net> <20060215024812.A20909@xorpc.icir.org> <20060215140409.aj8kd4jrgg48w0wo@netchild.homeip.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Feb 15, 2006 at 02:04:09PM +0100, Alexander Leidinger wrote: > Luigi Rizzo <rizzo@icir.org> wrote: ... > > The issue, as far as i can tell, is that we have two pre-install > > targets, one run before and one after the credentials switch, > > and the question was whether there is a real need to have both, > > or just the latter suffices. > > > > My position was that probably one can consider the pre-no-su-install > > step as part of the 'build' target, but maybe i am missing something ? > > An example of a pre-install target which needs root credentials and which > doesn't belong into the build target is "add user FOO" (you need to be root or the way more common "mkdir something" in a system's directory. We all agree that this is a very common case. > An example of a pre-install target which doesn't needs root credentials is a > target which gathers some information which the install script needs. Since this is a lot more questionable - there is no clear reason why you could not do this in pre-su-install. anyways, my initial point was to make maintainers aware of the pre-su-install target and check that their own ports use this feature (and install-as-used) properly. bye luigi
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060215051410.A22956>