summaryrefslogtreecommitdiff
path: root/meta/recipes-multimedia/flac/flac-1.2.1
diff options
context:
space:
mode:
authorEric Bénard <eric@eukrea.com>2012-04-02 22:37:09 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-04-04 16:50:34 +0100
commit987d06447d2eacf2e01f08e29469c00fbb0ef1db (patch)
tree4bdf46341b22b430ffecda8a62e0697236f4bc7a /meta/recipes-multimedia/flac/flac-1.2.1
parentfa51fe19a1dc1ddc4c9ec879a782953fd6a15117 (diff)
downloadopenembedded-core-987d06447d2eacf2e01f08e29469c00fbb0ef1db.tar.gz
openembedded-core-987d06447d2eacf2e01f08e29469c00fbb0ef1db.tar.bz2
openembedded-core-987d06447d2eacf2e01f08e29469c00fbb0ef1db.tar.xz
openembedded-core-987d06447d2eacf2e01f08e29469c00fbb0ef1db.zip
license.py: fix behaviour of copyleft_compliance
actually if a package has a license in its LICENSE variable which is not in the whitelist nor in the blacklist and even if an other license in this variable is in the whitelist, the package gets excluded and is not taken in account in the copyleft_compliance. This patch solves this by excluding a recipe _only_ if the LICENSE variable includes a pattern from the blacklist and including a recipe only if it includes a variable from the whitelist _and_ none from the blacklist. Example in busybox which has LICENSE="GPLv2 & BSD-4-Clause", with the actual behaviour (where he blacklist contains only CLOSED Proprietary) we get : DEBUG: copyleft: busybox-1.19.4 is excluded: recipe has excluded licenses: BSD-4-Clause which is not sane because busybox is covered by a copyleft license which is GPLv2 and should match the default whitelist which is GPL* LGPL*. Signed-off-by: Eric Bénard <eric@eukrea.com>
Diffstat (limited to 'meta/recipes-multimedia/flac/flac-1.2.1')
0 files changed, 0 insertions, 0 deletions