💁 How to write license
SPDX-License-Identifier: [SPDX License Identifier]
ex 1. Apache-2.0
SPDX-License-Identifier: Apache-2.0
ex 2. LGE Proprietary License
Copyright (c) 2020 LG Electronics Inc.
SPDX-License-Identifier: LicenseRef-LGE-Proprietary
[⭐ This rule only applies if Open Source Software Package is included.]
Create a oss-pkg-info.yaml file (format : Yaml) and add it to the directory of the package, including the following information about the OSS Package. ex) oss-pkg-info.yaml
If a file (ex-requirements.txt, pom.xml) already containing such information is present in the OSS Package directory, it can be replaced with this file.
libidn:
- version: "1.5"
source name or path:
- a.c
- b.c
license:
- "GPL-3.0"
- "LGPL-2.1"
download location: "http://ftp.gnu.org/gnu/libidn"
homepage: "https://www.gnu.org/software/libidn"
copyright text: "Copyright (c) 2002-2007, Simon Josefsson"
node-backoff:
- version: "2.5.0"
source name or path: "src/*"
license: "MIT"
download location: "https://github.com/MathieuTurcotte/node-backoff"
homepage: "https://www.npmjs.com/package/backoff"
copyright text: "Copyright (c) 2012 Mathieu Turcotte"
exclude: True
rsync:
- version: "2.6.9"
source name or path: "test/tool"
license: "GPL-2.0"
download location: "https://download.samba.org/pub/rsync/src"
homepage: "http://rsync.samba.org"
- version: "3.1.2"
source name or path: "test/tool"
license: "GPL-3.0"
download location: "https://download.samba.org/pub/rsync/src"
homepage: "http://rsync.samba.org"
copyright text:
- "Copyright (c) 1996 Andrew Tridgell"
- "Copyright (c) 1996 Paul Mackerras"
- "Copyright (c) 2003-2015 Wayne Davison"
[⭐ This rule applies only when distributing source code.]