Date: Thu, 10 Oct 2002 20:10:35 +0200 From: Neil Blakey-Milner <nbm@mithrandr.moria.org> To: Kris Kennaway <kris@obsecurity.org> Cc: ports@FreeBSD.org, eivind@FreeBSD.org Subject: Re: Updated dialog-based config patches Message-ID: <20021010181035.GA19338@mithrandr.moria.org> In-Reply-To: <20021010132556.GA17714@mithrandr.moria.org> References: <20020930062804.GA50001@xor.obsecurity.org> <20021006202120.GA96047@xor.obsecurity.org> <20021010132556.GA17714@mithrandr.moria.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu 2002-10-10 (15:25), Neil Blakey-Milner wrote: > I'd like to see the saved options be written either at install, or at a > specific "make saveoptions". This also means that people can do port > builds as user much easier. > > I'll follow up with code shortly. Here's the patch to implement the above. It'll also DTRT when there is an initial configuration or a reconfigure: ie, it'll actually make the configuration take effect without manually going 'make config && make'. It introduces the concept of 'reconfig' to reconfigure. I've subsequently wondered if that was necessary - comments welcome. ALWAYS_RECONFIG means that you'll get a chance to change the configuration whenever you build a new port, but not half-way through your build (hopefully). It stores the configuration in ${WRKDIR}/portoptions until a "saveconfig" or an install. CONFIG_NOSAVE won't save on install. Comments, please. I'm working on another patch that'll replace the options parsing within bsd.port.mk in favour of a more applicaiton-neutral way of doing it, so something like gportconf ("just a port configuration utility" - (http://people.FreeBSD.org/~nbm/portconf/gportconf.jpg) and gpkgman ("pib-like port builder and package manager" - (http://people.FreeBSD.org/~nbm/gpkgman2.jpeg) can be possible again in the future. Neil -- Neil Blakey-Milner nbm@mithrandr.moria.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021010181035.GA19338>