summaryrefslogtreecommitdiffstats
path: root/meta/conf/licenses.conf
diff options
context:
space:
mode:
Diffstat (limited to 'meta/conf/licenses.conf')
-rw-r--r--meta/conf/licenses.conf24
1 files changed, 21 insertions, 3 deletions
diff --git a/meta/conf/licenses.conf b/meta/conf/licenses.conf
index fe96066e4e..629916b6a5 100644
--- a/meta/conf/licenses.conf
+++ b/meta/conf/licenses.conf
@@ -143,7 +143,7 @@ DATA_LICENSE = "CC0-1.0"
143# information. 143# information.
144# 144#
145 145
146FOSS_COPYRIGHT = "true" 146FOSS_NO_COPYRIGHT = "true"
147 147
148# A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is 148# A option defined as[FOSS_RECURSIVE_UNPACK] in ./meta/conf/licenses.conf. is
149# used to control if FOSSology server need recursively unpack tar.gz file which 149# used to control if FOSSology server need recursively unpack tar.gz file which
@@ -159,12 +159,30 @@ FOSS_COPYRIGHT = "true"
159 159
160FOSS_RECURSIVE_UNPACK = "false" 160FOSS_RECURSIVE_UNPACK = "false"
161 161
162# FOSSologySPDX instance server. 162# An option defined as [FOSS_FULL_SPDX] in ./meta/conf/licenses.conf is used to
163# control what kind of SPDX output to get from the FOSSology server.
164#
165# FOSS_FULL_SPDX = "true":
166# Tell FOSSology server to return full SPDX output, like if the program was
167# run from the command line. This is needed in order to get license refs for
168# the full package rather than individual files only.
169#
170# FOSS_FULL_SPDX = "false":
171# Tell FOSSology to only process license information for files. All package
172# license tags in the report will be "NOASSERTION"
173#
174
175FOSS_FULL_SPDX = "true"
176
177# FOSSologySPDX instance server. http://localhost/repo is the default
178# installation location for FOSSology.
179#
163# For more information on FOSSologySPDX commandline: 180# For more information on FOSSologySPDX commandline:
164# https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API 181# https://github.com/spdx-tools/fossology-spdx/wiki/Fossology-SPDX-Web-API
165# 182#
166 183
167FOSS_SERVER = "http://localhost//?mod=spdx_license_once&noCopyright=${FOSS_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}" 184FOSS_BASE_URL = "http://localhost/repo/?mod=spdx_license_once"
185FOSS_SERVER = "${FOSS_BASE_URL}&fullSPDXFlag=${FOSS_FULL_SPDX}&noCopyright=${FOSS_NO_COPYRIGHT}&recursiveUnpack=${FOSS_RECURSIVE_UNPACK}"
168 186
169FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0" 187FOSS_WGET_FLAGS = "-qO - --no-check-certificate --timeout=0"
170 188