Skip to contentSkip to conversation

libvirt: update list of licenses

PATCH In review Mark Asselstine 2 participants 2 messages Aug 31, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 libvirt: update list of licenses

Apparently if a license is listed for a package it must be included in the overall LICENSE variable otherwise you will get WARNINGS such as:

WARNING: LICENSE_libvirt-ptest includes licenses (LGPLv2.1 GPLv2+) that are not listed in LICENSE

We ensure that the license string is consistent between the LICENSE variable and the subpackage license string to remove this warning. Since '2+' is a superset of '2', ie. "version 2 or later", and actually is more reflective of the text found on the file headers and such we use GPLv2+ and LGPLv2.1+.

---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt_1.3.5.bb +2 -2
index 6222b69..7271ebe 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "A toolkit to interact with the virtualization capabilities of recent versions of Linux." 
 HOMEPAGE = "http://libvirt.org"
-LICENSE = "LGPLv2.1+"
-LICENSE_${PN}-ptest = "GPLv2+ & LGPLv2.1"
+LICENSE = "LGPLv2.1+ & GPLv2+"
+LICENSE_${PN}-ptest = "GPLv2+ & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LESSER;md5=4b54a1fd55a448865a0b32d41598759d"
 SECTION = "console/tools"
Signature · 1 line
2.1.4
#1 lore raw
Quoted 11 lines · Mark Asselstine

Apparently if a license is listed for a package it must be included in the overall LICENSE variable otherwise you will get WARNINGS such as:

WARNING: LICENSE_libvirt-ptest includes licenses (LGPLv2.1 GPLv2+) that are not listed in LICENSE

We ensure that the license string is consistent between the LICENSE variable and the subpackage license string to remove this warning. Since '2+' is a superset of '2', ie. "version 2 or later", and actually is more reflective of the text found on the file headers and such we use GPLv2+ and LGPLv2.1+.

merged.

Bruce

Quoted 21 lines
---
 recipes-extended/libvirt/libvirt_1.3.5.bb | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
recipes-extended/libvirt/libvirt_1.3.5.bb +2 -2
index 6222b69..7271ebe 100644
@@ -1,7 +1,7 @@
 DESCRIPTION = "A toolkit to interact with the virtualization capabilities of recent versions of Linux."
 HOMEPAGE = "http://libvirt.org"
-LICENSE = "LGPLv2.1+"
-LICENSE_${PN}-ptest = "GPLv2+ & LGPLv2.1"
+LICENSE = "LGPLv2.1+ & GPLv2+"
+LICENSE_${PN}-ptest = "GPLv2+ & LGPLv2.1+"
 LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
                     file://COPYING.LESSER;md5=4b54a1fd55a448865a0b32d41598759d"
 SECTION = "console/tools"