tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: documenting LICENSE scope and limitations for pkgsrc users



On Sun, Dec 18, 2011 at 12:51:20PM +0100, S.P.Zeidler wrote:
> If you use binary packages and the default list of acceptable licenses
> contains licenses not acceptable to you, remove them from the
> default_acceptable_licenses variable in
> pkgsrc/pkgtools/pkg_install/files/lib/license.c
> and rebuild the pkg_install package.

Ewww.

> 'X' above might be a 5.2. (and move the current chapters lower), any
> opinions? Modify the ACCEPTABLE_LICENSES entry in 5.1 to "see next
> paragraph"?

19.1.4 also describes quite a bit of the handling already, but from a developer 
POV.
Perhaps most of that can merged into your new section, and a cross-reference 
added.

> As far as I can see, in the pkg_add case you can add additional
> licenses by setting PKGSRC_DEFAULT_ACCEPTABLE_LICENSES in the environment
> (which you can also do by setting PKGSRC_ACCEPTABLE_LICENSES, so why does
> it exist?), but you cannot remove licenses from the default list without
> essentially editing source. This is inelegant.
> Are there reasons why we do not let setting of
> PKGSRC_DEFAULT_ACCEPTABLE_LICENSES (or DEFAULT_ACCEPTABLE_LICENSES if set
> in config files) override the shipped list?

I think that's plainly a bug.
 Thomas


Home | Main Index | Thread Index | Old Index