tech-pkg archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Licence handling: next steps
In article <20090330131219.GA8846%britannica.bec.de@localhost> Joerg wrote:
: On Mon, Mar 30, 2009 at 08:55:41AM -0400, Greg Troxel wrote:
: > > Given that we likely want to bump the required pkg_install, I am more
: > > than willing to add corresponding evaluation support to pkg_admin.
: > > It is needed for handling in pkg_add anyway.
: >
: > If source building can use pkg_admin to eval the expressions using the
: > same code as pkg_add, and it appears soonish, that's a huge win.
: We already do the same for processing dependency patterns by calling
: pkg_admin pmatch.
Yes, that approach sounds good, as it reduces code duplication.
: One big question is whether we want to handle
: migration of ACCEPTABLE_LICENSES to pkg_install.conf automatically or
: not, personally I tend to prefer manual processing and explicit checking
: for this.
I would say when building from source (i. e. pkgsrc infrastructure
call pkg_admin), pass in the setting of ACCEPTABLE_LICENSES from
mk.conf, if set. In pkg_admin, fall back to the variable from
pkg_install.conf if unset. That way, each user can migrate at their
own leisure.
yours,
dillo
Home |
Main Index |
Thread Index |
Old Index