Difference between revisions of "Yocto Project licenses for LIC FILES CHKSUM"
From KoanSoftware Wiki
Line 6: | Line 6: | ||
meta/files/common-licenses | meta/files/common-licenses | ||
+ | |||
+ | The variable LIC_FILES_CHKSUM defines the URI pointing to the license file in the source code as well as its checksum. | ||
The licenses available are listed below (version dunfell): | The licenses available are listed below (version dunfell): | ||
Line 72: | Line 74: | ||
+ | License files must have their own checksum. | ||
The typical usage could be | The typical usage could be | ||
Line 79: | Line 82: | ||
or | or | ||
− | LICENSE | + | LICENSE = "GPLv2" |
LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6" | ||
+ | |||
+ | |||
+ | '''LIC_FILES_CHKSUM''' is mandatory in every recipe, unless '''LICENSE''' is set to '''CLOSED'''. | ||
+ | |||
+ | LICENSE = "CLOSED" | ||
+ | # No need for LIC_FILES_CHKSUM valiable in this case |
Latest revision as of 09:35, 13 May 2021
Yocto Project pre-defined licenses for LIC FILES CHKSUM
When a new Yocto Project recipe is created it is mandatory to specify the proper license and the checksum for the license description file.
All the pre-defined license files are provided by the OpenEmbedded Core component and are located into the Yocto Project directory
meta/files/common-licenses
The variable LIC_FILES_CHKSUM defines the URI pointing to the license file in the source code as well as its checksum.
The licenses available are listed below (version dunfell):
AAL CECILL-C MS-RL Adobe ClArtistic Multics AFL-1.2 CPAL-1.0 NASA-1.3 AFL-2.0 CPL-1.0 Nauman AFL-2.1 CUA-OPL-1.0 NCSA AFL-3.0 DSSSL NGPL AGPL-3.0 ECL-1.0 Nokia ANTLR-PD ECL-2.0 NPOSL-3.0 Apache-1.0 eCos-2.0 NTP Apache-1.1 EDL-1.0 OASIS Apache-2.0 EFL-1.0 OCLC-2.0 Apache-2.0-with-LLVM-exception EFL-2.0 ODbL-1.0 APL-1.0 Entessa OFL-1.1 APSL-1.0 EPL-1.0 OGTSL APSL-1.1 EPL-2.0 OLDAP-2.8 APSL-1.2 ErlPL-1.1 OpenSSL APSL-2.0 EUDatagrid OSL-1.0 Artistic-1.0 EUPL-1.0 OSL-2.0 Artistic-2.0 EUPL-1.1 OSL-3.0 BitstreamVera Fair ParaTypeFFL-1.3 BSD Frameworx-1.0 PD BSD-0-Clause FreeType PHP-3.0 BSD-1-Clause FSF-Unlimited pkgconf BSD-2-Clause GFDL-1.1 PostgreSQL BSD-2-Clause-Patent GFDL-1.2 Proprietary BSD-3-Clause GFDL-1.3 PSF-2.0 BSD-4-Clause GPL-1.0 Python-2.0 BSL-1.0 GPL-2.0 QPL-1.0 bzip2-1.0.4 GPL-2.0-with-autoconf-exception RHeCos-1 bzip2-1.0.6 GPL-2.0-with-classpath-exception RHeCos-1.1 CATOSL-1.1 GPL-2.0-with-font-exception RPL-1.5 CC0-1.0 GPL-2.0-with-GCC-exception RPSL-1.0 CC-BY-1.0 GPL-2.0-with-OpenSSL-exception RSCPL CC-BY-2.0 GPL-2-with-bison-exception Ruby CC-BY-2.5 GPL-3.0 SAX-PD CC-BY-3.0 GPL-3.0-with-autoconf-exception SGI-1 CC-BY-NC-1.0 GPL-3.0-with-GCC-exception Simple-2.0 CC-BY-NC-2.0 gSOAP-1 Sleepycat CC-BY-NC-2.5 gSOAP-1.3b SMAIL_GPL CC-BY-NC-3.0 HPND SPL-1.0 CC-BY-NC-ND-1.0 ICU SugarCRM-1 CC-BY-NC-ND-2.0 Intel SugarCRM-1.1.3 CC-BY-NC-ND-2.5 IPA tcl CC-BY-NC-ND-3.0 IPL-1.0 UCB CC-BY-NC-SA-1.0 ISC unfs3 CC-BY-NC-SA-2.0 LGPL-2.0 vim CC-BY-NC-SA-2.5 LGPL-2.1 VSL-1.0 CC-BY-NC-SA-3.0 LGPL-3.0 W3C CC-BY-ND-1.0 Libpng Watcom-1.0 CC-BY-ND-2.0 LPL-1.02 WXwindows CC-BY-ND-2.5 LPPL-1.0 XFree86-1.0 CC-BY-ND-3.0 LPPL-1.1 XFree86-1.1 CC-BY-SA-1.0 LPPL-1.2 Xnet CC-BY-SA-2.0 LPPL-1.3c XSL CC-BY-SA-2.5 MirOS YPL-1.1 CC-BY-SA-3.0 MIT Zimbra-1.3 CC-BY-SA-4.0 Motosoto Zlib CDDL-1.0 MPL-1.0 ZPL-1.1 CECILL-1.0 MPL-1.1 ZPL-2.0 CECILL-2.0 MPL-2.0 ZPL-2.1 CECILL-B MS-PL
License files must have their own checksum.
The typical usage could be
LICENSE = "GPLv2" LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
or
LICENSE = "GPLv2" LIC_FILES_CHKSUM ?= "file://${COMMON_LICENSE_DIR}/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"
LIC_FILES_CHKSUM is mandatory in every recipe, unless LICENSE is set to CLOSED.
LICENSE = "CLOSED" # No need for LIC_FILES_CHKSUM valiable in this case