[OE-core] [PATCH 1/1] default-distrovars: remove less from WHITELIST_GPL-3.0

Randy MacLeod randy.macleod at windriver.com
Mon Nov 2 21:16:32 UTC 2015


On 2015-11-02 02:12 AM, Hongxu Jia wrote:
> As oe-core commit 37c8c2c5f6937520eaf9f5d981f9315e36eba4bb and
> fa7bdf96b8eb8b5078db38249c5c60ec511c35c6 said, Mark Nudelman
> (author of less) has given permission to utilize a generic 2-clause
> BSD, so we remove it from WHITELIST_GPL-3.0 which caused
> a QA Warning while INCOMPATIBLE_LICENSE += "GPLv3 LGPLv3 GPLv3+ LGPLv3+"
> ...
> |NOTE: INCLUDING less as buildable despite INCOMPATIBLE_LICENSE
> because it has been whitelisted
> ...
>
> Signed-off-by: Hongxu Jia <hongxu.jia at windriver.com>
> ---
>   meta/conf/distro/include/default-distrovars.inc | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/meta/conf/distro/include/default-distrovars.inc b/meta/conf/distro/include/default-distrovars.inc
> index 8366904..8866f0d 100644
> --- a/meta/conf/distro/include/default-distrovars.inc
> +++ b/meta/conf/distro/include/default-distrovars.inc
> @@ -24,7 +24,7 @@ IMAGE_FEATURES ?= ""
>   # This is a list of packages that are used by the build system to build the distribution, they are not
>   # directly part of the distribution.
>   HOSTTOOLS_WHITELIST_GPL-3.0 ?= ""
> -WHITELIST_GPL-3.0 ?= "less"
> +WHITELIST_GPL-3.0 ?= ""
>   LGPLv2_WHITELIST_GPL-3.0 ?= "libassuan gnutls libtasn1 libidn"
>
>   COMMERCIAL_AUDIO_PLUGINS ?= ""
>

I've confirmed the license info below.

../Randy


$ head ifile.c
/*
* Copyright (C) 1984-2015 Mark Nudelman
*
* You may distribute under the terms of either the GNU General Public
* License or the Less License, as specified in the README file.
*
* For more information, see the README file.
*/


$ head README
Less, version 481

This is the distribution of less, version 481, released 31 Aug 2015.
This program is part of the GNU project (http://www.gnu.org).

This program is free software. You may redistribute it and/or
modify it under the terms of either:

1. The GNU General Public License, as published by the Free
Software Foundation; either version 3, or (at your option) any
later version. A copy of this license is in the file COPYING.
or
2. The Less License, in the file LICENSE.


$ find * -name "*\.[ch]" | xargs grep -L " terms of either"
funcs.h <-- generated, no copyright, not license
help.c <-- generated
regexp.c <-- BSD-like license
regexp.h <-- no copyright, not license, just interface for above.



regexp.c
/*
* regcomp and regexec -- regsub and regerror are elsewhere
*
* Copyright (c) 1986 by University of Toronto.
* Written by Henry Spencer. Not derived from licensed software.
*
* Permission is granted to anyone to use this software for any
* purpose on any computer system, and to redistribute it freely,
* subject to the following restrictions:
*
* 1. The author is not responsible for the consequences of use of
* this software, no matter how awful, even if they arise
* from defects in it.
*
* 2. The origin of this software must not be misrepresented, either
* by explicit claim or by omission.
*
* 3. Altered versions must be plainly marked as such, and must not
* be misrepresented as being the original software.
*
* Beware that some of this code is subtly aware of the way operator
* precedence is structured in regular expressions. Serious changes in
* regular-expression syntax might require a total rethink.
*
* *** NOTE: this code has been altered slightly for use in Tcl. ***
* Slightly modified by David MacKenzie to undo most of the changes for TCL.
* Added regexec2 with notbol parameter. -- 4/19/99 Mark Nudelman
*/


-- 
# Randy MacLeod. SMTS, Linux, Wind River
Direct: 613.963.1350 | 350 Terry Fox Drive, Suite 200, Ottawa, ON, 
Canada, K2K 2W5



More information about the Openembedded-core mailing list