licenses.conf 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  1. # These aren't actually used anywhere that I can tell
  2. # They may be in the future (or are used by someone else
  3. # For completion sake, I've updated them
  4. SRC_DISTRIBUTE_LICENSES += "AAL Adobe AFL-1.2 AFL-2.0 AFL-2.1 AFL-3.0"
  5. SRC_DISTRIBUTE_LICENSES += "AGPL-3.0 ANTLR-PD Apache-1.0 Apache-1.1 Apache-2.0"
  6. SRC_DISTRIBUTE_LICENSES += "APL-1.0 APSL-1.0 APSL-1.1 APSL-1.2 APSL-2.0"
  7. SRC_DISTRIBUTE_LICENSES += "Artistic-1.0 Artistic-2.0 BitstreamVera BSD"
  8. SRC_DISTRIBUTE_LICENSES += "BSD-2-Clause BSD-3-Clause BSD-4-Clause BSL-1.0"
  9. SRC_DISTRIBUTE_LICENSES += "CATOSL-1.1 CC0-1.0 CC-BY-1.0 CC-BY-2.0 CC-BY-2.5"
  10. SRC_DISTRIBUTE_LICENSES += "CC-BY-3.0 CC-BY-NC-1.0 CC-BY-NC-2.0 CC-BY-NC-2.5"
  11. SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-3.0 CC-BY-NC-ND-1.0 CC-BY-NC-ND-2.0"
  12. SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-ND-2.5 CC-BY-NC-ND-3.0 CC-BY-NC-SA-1.0"
  13. SRC_DISTRIBUTE_LICENSES += "CC-BY-NC-SA-2.0 CC-BY-NC-SA-2.5 CC-BY-NC-SA-3.0"
  14. SRC_DISTRIBUTE_LICENSES += "CC-BY-ND-1.0 CC-BY-ND-2.0 CC-BY-ND-2.5 CC-BY-ND-3.0"
  15. SRC_DISTRIBUTE_LICENSES += "CC-BY-SA-1.0 CC-BY-SA-2.0 CC-BY-SA-2.5 CC-BY-SA-3.0 CC-BY-SA-4.0"
  16. SRC_DISTRIBUTE_LICENSES += "CDDL-1.0 CECILL-1.0 CECILL-2.0 CECILL-B CECILL-C"
  17. SRC_DISTRIBUTE_LICENSES += "ClArtistic CPAL-1.0 CPL-1.0 CUA-OPL-1.0 DSSSL"
  18. SRC_DISTRIBUTE_LICENSES += "ECL-1.0 ECL-2.0 eCos-2.0 EDL-1.0 EFL-1.0 EFL-2.0"
  19. SRC_DISTRIBUTE_LICENSES += "Elfutils-Exception Entessa EPL-1.0 EPL-2.0 ErlPL-1.1"
  20. SRC_DISTRIBUTE_LICENSES += "EUDatagrid EUPL-1.0 EUPL-1.1 Fair Frameworx-1.0"
  21. SRC_DISTRIBUTE_LICENSES += "FreeType GFDL-1.1 GFDL-1.2 GFDL-1.3 GPL-1.0"
  22. SRC_DISTRIBUTE_LICENSES += "GPL-2.0 GPL-2.0-with-autoconf-exception"
  23. SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-classpath-exception"
  24. SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-font-exception"
  25. SRC_DISTRIBUTE_LICENSES += "GPL-2.0-with-GCC-exception"
  26. SRC_DISTRIBUTE_LICENSES += "GPL-2-with-bison-exception GPL-3.0"
  27. SRC_DISTRIBUTE_LICENSES += "GPL-3.0-with-autoconf-exception"
  28. SRC_DISTRIBUTE_LICENSES += "GPL-3.0-with-GCC-exception"
  29. SRC_DISTRIBUTE_LICENSES += "gSOAP-1 gSOAP-1.3b HPND IPA IPL-1.0 ISC LGPL-2.0"
  30. SRC_DISTRIBUTE_LICENSES += "LGPL-2.1 LGPL-3.0 Libpng LPL-1.02 LPPL-1.0 LPPL-1.1"
  31. SRC_DISTRIBUTE_LICENSES += "LPPL-1.2 LPPL-1.3c MirOS MIT Motosoto MPL-1.0"
  32. SRC_DISTRIBUTE_LICENSES += "MPL-1.1 MS-PL MS-RL Multics NASA-1.3 Nauman NCSA"
  33. SRC_DISTRIBUTE_LICENSES += "NGPL Nokia NPOSL-3.0 NTP OASIS OCLC-2.0 ODbL-1.0"
  34. SRC_DISTRIBUTE_LICENSES += "OFL-1.1 OGTSL OLDAP-2.8 OpenSSL OSL-1.0 OSL-2.0"
  35. SRC_DISTRIBUTE_LICENSES += "OSL-3.0 PD PHP-3.0 PostgreSQL Proprietary"
  36. SRC_DISTRIBUTE_LICENSES += "Python-2.0 QPL-1.0 RHeCos-1 RHeCos-1.1 RPL-1.5"
  37. SRC_DISTRIBUTE_LICENSES += "RPSL-1.0 RSCPL Ruby SAX-PD SGI-1 Simple-2.0 Sleepycat"
  38. SRC_DISTRIBUTE_LICENSES += "SPL-1.0 SugarCRM-1 SugarCRM-1.1.3 UCB VSL-1.0 W3C"
  39. SRC_DISTRIBUTE_LICENSES += "Watcom-1.0 WXwindows XFree86-1.0 XFree86-1.1 Xnet XSL YPL-1.1"
  40. SRC_DISTRIBUTE_LICENSES += "Zimbra-1.3 Zlib ZPL-1.1 ZPL-2.0 ZPL-2.1"
  41. # Standards are great! Everyone has their own. In an effort to standardize licensing
  42. # names, common-licenses will use the SPDX standard license names. In order to not
  43. # break the non-standardized license names that we find in LICENSE, we'll set
  44. # up a bunch of VarFlags to accomodate non-SPDX license names.
  45. #
  46. # We should really discuss standardizing this field, but that's a longer term goal.
  47. # For now, we can do this and it should grab the most common LICENSE naming variations.
  48. #
  49. # We should NEVER have a GPL/LGPL without a version!!!!
  50. # Any mapping to MPL/LGPL/GPL should be fixed
  51. # AGPL variations
  52. SPDXLICENSEMAP[AGPL-3] = "AGPL-3.0"
  53. SPDXLICENSEMAP[AGPLv3] = "AGPL-3.0"
  54. SPDXLICENSEMAP[AGPLv3.0] = "AGPL-3.0"
  55. # GPL variations
  56. SPDXLICENSEMAP[GPL-1] = "GPL-1.0"
  57. SPDXLICENSEMAP[GPLv1] = "GPL-1.0"
  58. SPDXLICENSEMAP[GPLv1.0] = "GPL-1.0"
  59. SPDXLICENSEMAP[GPL-2] = "GPL-2.0"
  60. SPDXLICENSEMAP[GPLv2] = "GPL-2.0"
  61. SPDXLICENSEMAP[GPLv2.0] = "GPL-2.0"
  62. SPDXLICENSEMAP[GPL-3] = "GPL-3.0"
  63. SPDXLICENSEMAP[GPLv3] = "GPL-3.0"
  64. SPDXLICENSEMAP[GPLv3.0] = "GPL-3.0"
  65. #LGPL variations
  66. SPDXLICENSEMAP[LGPLv2] = "LGPL-2.0"
  67. SPDXLICENSEMAP[LGPLv2.0] = "LGPL-2.0"
  68. SPDXLICENSEMAP[LGPL2.1] = "LGPL-2.1"
  69. SPDXLICENSEMAP[LGPLv2.1] = "LGPL-2.1"
  70. SPDXLICENSEMAP[LGPLv3] = "LGPL-3.0"
  71. #MPL variations
  72. SPDXLICENSEMAP[MPL-1] = "MPL-1.0"
  73. SPDXLICENSEMAP[MPLv1] = "MPL-1.0"
  74. SPDXLICENSEMAP[MPLv1.1] = "MPL-1.1"
  75. SPDXLICENSEMAP[MPLv2] = "MPL-2.0"
  76. #MIT variations
  77. SPDXLICENSEMAP[MIT-X] = "MIT"
  78. SPDXLICENSEMAP[MIT-style] = "MIT"
  79. #Openssl variations
  80. SPDXLICENSEMAP[openssl] = "OpenSSL"
  81. #Python variations
  82. SPDXLICENSEMAP[PSF] = "Python-2.0"
  83. SPDXLICENSEMAP[PSFv2] = "Python-2.0"
  84. SPDXLICENSEMAP[Python-2] = "Python-2.0"
  85. #Apache variations
  86. SPDXLICENSEMAP[Apachev2] = "Apache-2.0"
  87. SPDXLICENSEMAP[Apache-2] = "Apache-2.0"
  88. #Artistic variations
  89. SPDXLICENSEMAP[Artisticv1] = "Artistic-1.0"
  90. SPDXLICENSEMAP[Artistic-1] = "Artistic-1.0"
  91. #Academic variations
  92. SPDXLICENSEMAP[AFL-2] = "AFL-2.0"
  93. SPDXLICENSEMAP[AFL-1] = "AFL-1.2"
  94. SPDXLICENSEMAP[AFLv2] = "AFL-2.0"
  95. SPDXLICENSEMAP[AFLv1] = "AFL-1.2"
  96. #CDDL variations
  97. SPDXLICENSEMAP[CDDLv1] = "CDDL-1.0"
  98. SPDXLICENSEMAP[CDDL-1] = "CDDL-1.0"
  99. #Other variations
  100. SPDXLICENSEMAP[EPLv1.0] = "EPL-1.0"
  101. #Silicon Graphics variations
  102. SPDXLICENSEMAP[SGIv1] = "SGI-1"
  103. # Additional license directories. Add your custom licenses directories this path.
  104. # LICENSE_PATH += "${COREBASE}/custom-licenses"
  105. # Set if you want the license.manifest copied to the image
  106. #COPY_LIC_MANIFEST = "1"
  107. # If you want the pkg licenses copied over as well you must set
  108. # both COPY_LIC_MANIFEST and COPY_LIC_DIRS
  109. #COPY_LIC_DIRS = "1"
  110. ## SPDX temporary directory
  111. SPDX_TEMP_DIR = "${WORKDIR}/spdx_temp"
  112. SPDX_MANIFEST_DIR = "/home/yocto/fossology_scans"
  113. ## SPDX Format info
  114. SPDX_VERSION = "SPDX-1.1"
  115. DATA_LICENSE = "CC0-1.0"
  116. ## Fossology scan information
  117. # You can set option to control if the copyright information will be skipped
  118. # during the identification process.
  119. #
  120. # FOSS_NO_COPYRIGHT = "true"
  121. # NO copyright will be processed. That means only license information will be
  122. # identified and output to SPDX file
  123. # FOSS_NO_COPYRIGHT = "false"
  124. # Copyright will be identified and output to SPDX file along with license
  125. # information. The process will take more time than not processing copyright
  126. # information.
  127. #
  128. FOSS_NO_COPYRIGHT = "true"
  129. # A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is
  130. # used to control if FOSSology server need recursively unpack tar.gz file which
  131. # is sent from do_spdx task.
  132. #
  133. # FOSS_RECURSIVE_UNPACK = "false":
  134. # FOSSology server does NOT recursively unpack. In the current release, this
  135. # is the default choice because recursively unpack will not necessarily break
  136. # down original compressed files.
  137. # FOSS_RECURSIVE_UNPACK = "true":
  138. # FOSSology server recursively unpack components.
  139. #
  140. FOSS_RECURSIVE_UNPACK = "false"
  141. # An option defined as [FOSS_FULL_SPDX] in ./meta/conf/licenses.conf is used to
  142. # control what kind of SPDX output to get from the FOSSology server.
  143. #
  144. # FOSS_FULL_SPDX = "true":
  145. # Tell FOSSology server to return full SPDX output, like if the program was
  146. # run from the command line. This is needed in order to get license refs for
  147. # the full package rather than individual files only.
  148. #
  149. # FOSS_FULL_SPDX = "false":
  150. # Tell FOSSology to only process license information for files. All package
  151. # license tags in the report will be "NOASSERTION"
  152. #
  153. FOSS_FULL_SPDX = "true"
  154. # FOSSologySPDX instance server. http://localhost/repo is the default
  155. # installation location for FOSSology.
  156. #
  157. # For more information on FOSSologySPDX commandline:
  158. # https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API
  159. #
  160. FOSS_BASE_URL = "http://localhost/repo/?mod=spdx_license_once"
  161. FOSS_SERVER = "${FOSS_BASE_URL}&fullSPDXFlag=${FOSS_FULL_SPDX}&noCopyright=${FOSS_NO_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}"
  162. FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0"