13.License
SPDX License (TYPE: NON_ENFORCED)
#Example ONLY
license:
- id: "MIT"
url: "https://raw.githubusercontent.com/pkgforge/soar/refs/heads/main/LICENSE" #Would be downloaded & saved as ${SBUILD_OUTDIR}/LICENSE
#Example ONLY
# (All paths are assumed to be inside ${SBUILD_OUTDIR} i.e ${SBUILD_OUTDIR} == /
license:
- id: "MIT"
file: "/MIT.license" #Is assumed as ${SBUILD_OUTDIR}/MIT.license & copied to ${SBUILD_OUTDIR}/LICENSE
- id: "GPL3"
file: "/SBUILD_TMPDIR/foo/bar.license" #Is assumed as ${SBUILD_OUTDIR}/SBUILD_TMPDIR/foo/bar.license & copied to ${SBUILD_OUTDIR}/LICENSE, IF & ONLY IF ${SBUILD_OUTDIR}/MIT.license wasn't found
If you can't find a direct URL to the LICENSE
file & it's also not produced during build anywhere inside ${SBUILD_OUTDIR}
, then you may use:
#Example ONLY
license:
- "GPL-2+"
- "GPL-2.0"
- "GPL-2.0-only"
- "GPL-2.0-or-later"
- "GPL2"
- "GPLv3"
- "Unfree"
Last updated
Was this helpful?