Skip to content

Commit

Permalink
Merge pull request #3006 from nscuro/update-license-list
Browse files Browse the repository at this point in the history
Update SPDX license list to v3.21
  • Loading branch information
nscuro authored Sep 21, 2023
2 parents fae11cb + 637ed91 commit 9e247fb
Show file tree
Hide file tree
Showing 618 changed files with 12,220 additions and 6,535 deletions.
17 changes: 17 additions & 0 deletions dev/scripts/update-spdx-license-list.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
#!/usr/bin/env bash

set -euxo pipefail

SCRIPT_DIR="$(cd -P -- "$(dirname "$0")" && pwd -P)"
LICENSE_LIST_DATA_DIR="$(cd -P -- "${SCRIPT_DIR}/../../src/main/resources/license-list-data" && pwd -P)"
TMP_DOWNLOAD_FILE="$(mktemp)"

gh -R spdx/license-list-data release download "v$1" \
--archive tar.gz --clobber --output "${TMP_DOWNLOAD_FILE}"

rm -rf "${LICENSE_LIST_DATA_DIR}/json"

tar -xvzf "${TMP_DOWNLOAD_FILE}" \
--strip-components "1" \
--directory "${LICENSE_LIST_DATA_DIR}" \
"license-list-data-$1/json"
27 changes: 19 additions & 8 deletions src/main/resources/license-list-data/json/details/0BSD.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,22 +1,33 @@
{
"isDeprecatedLicenseId": false,
"licenseText": "Copyright (C) 2006 by Rob Landley \u003c[email protected]\u003e\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n",
"standardLicenseTemplate": "\u003c\u003cvar;name\u003d\"copyright\";original\u003d\"Copyright (C) 2006 by Rob Landley \u003c[email protected]\u003e\";match\u003d\".{0,1000}\"\u003e\u003e\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.",
"licenseText": "Copyright (C) YEAR by AUTHOR EMAIL\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n",
"standardLicenseTemplate": "\u003c\u003cbeginOptional\u003e\u003e\u003c\u003cvar;name\u003d\"title\";original\u003d\"BSD Zero Clause License\";match\u003d\"(BSD Zero[ -]Clause|Zero[ -]Clause BSD)( License)?( \\(0BSD\\))?\"\u003e\u003e\n\n\u003c\u003cendOptional\u003e\u003e \u003c\u003cvar;name\u003d\"copyright\";original\u003d\"Copyright (C) YEAR by AUTHOR EMAIL \";match\u003d\".{0,5000}\"\u003e\u003e\n\nPermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\n\n",
"name": "BSD Zero Clause License",
"licenseId": "0BSD",
"crossRef": [
{
"isLive": true,
"match": "N/A",
"url": "https://opensource.org/licenses/0BSD",
"isValid": true,
"isLive": false,
"timestamp": "2023-06-18T16:51:58Z",
"isWayBackLink": false,
"match": "true",
"order": 1
},
{
"match": "false",
"url": "http://landley.net/toybox/license.html",
"order": 0,
"timestamp": "2020-11-25 - 21:52:30"
"isValid": true,
"isLive": true,
"timestamp": "2023-06-18T16:51:59Z",
"isWayBackLink": false,
"order": 0
}
],
"seeAlso": [
"http://landley.net/toybox/license.html"
"http://landley.net/toybox/license.html",
"https://opensource.org/licenses/0BSD"
],
"isOsiApproved": true
"isOsiApproved": true,
"licenseTextHtml": "\n \u003cdiv class\u003d\"optional-license-text\"\u003e \n \u003cp\u003e\u003cvar class\u003d\"replaceable-license-text\"\u003e BSD Zero Clause License\u003c/var\u003e\u003c/p\u003e\n\n \u003c/div\u003e\n \u003cdiv class\u003d\"replaceable-license-text\"\u003e \n \u003cp\u003eCopyright (C) YEAR by AUTHOR EMAIL\u003c/p\u003e\n\n \u003c/div\u003e\n\n \u003cp\u003ePermission to use, copy, modify, and/or distribute this software for any purpose with or without fee is\n hereby granted.\u003c/p\u003e\n\n \u003cp\u003eTHE SOFTWARE IS PROVIDED \u0026quot;AS IS\u0026quot; AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE\n INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE\n LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING\n FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS\n ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.\u003c/p\u003e\n\n "
}
15 changes: 8 additions & 7 deletions src/main/resources/license-list-data/json/details/AAL.json
100755 → 100644

Large diffs are not rendered by default.

15 changes: 8 additions & 7 deletions src/main/resources/license-list-data/json/details/ADSL.json
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,22 +1,23 @@
{
"isDeprecatedLicenseId": false,
"licenseText": "This software code is made available \"AS IS\" without warranties of any kind. You may copy, display, modify and redistribute the software code either by itself or as incorporated into your code; provided that you do not remove any proprietary notices. Your use of this software code is at your own risk and you waive any claim against Amazon Digital Services, Inc. or its affiliates with respect to your use of this software code. (c) 2006 Amazon Digital Services, Inc. or its affiliates.\n",
"standardLicenseTemplate": "This software code is made available \"AS IS\" without warranties of any kind. You may copy, display, modify and redistribute the software code either by itself or as incorporated into your code; provided that you do not remove any proprietary notices. Your use of this software code is at your own risk and you waive any claim against Amazon Digital Services, Inc. or its affiliates with respect to your use of this software code. (c) 2006 Amazon Digital Services, Inc. or its affiliates.",
"standardLicenseTemplate": "This software code is made available \"AS IS\" without warranties of any kind. You may copy, display, modify and redistribute the software code either by itself or as incorporated into your code; provided that you do not remove any proprietary notices. Your use of this software code is at your own risk and you waive any claim against Amazon Digital Services, Inc. or its affiliates with respect to your use of this software code. (c) 2006 Amazon Digital Services, Inc. or its affiliates.\n\n",
"name": "Amazon Digital Services License",
"licenseId": "ADSL",
"crossRef": [
{
"isLive": true,
"isValid": true,
"isWayBackLink": false,
"match": "false",
"url": "https://fedoraproject.org/wiki/Licensing/AmazonDigitalServicesLicense",
"order": 0,
"timestamp": "2020-11-25 - 21:52:01"
"isValid": true,
"isLive": true,
"timestamp": "2023-06-18T16:35:56Z",
"isWayBackLink": false,
"order": 0
}
],
"seeAlso": [
"https://fedoraproject.org/wiki/Licensing/AmazonDigitalServicesLicense"
],
"isOsiApproved": false
"isOsiApproved": false,
"licenseTextHtml": "\n \u003cp\u003eThis software code is made available \u0026quot;AS IS\u0026quot; without warranties of any kind. You may copy, display,\n modify and redistribute the software code either by itself or as incorporated into your code; provided\n that you do not remove any proprietary notices. Your use of this software code is at your own\n risk and you waive any claim against Amazon Digital Services, Inc. or its affiliates with respect to\n your use of this software code. (c) 2006 Amazon Digital Services, Inc. or its affiliates.\u003c/p\u003e\n\n "
}
Loading

0 comments on commit 9e247fb

Please sign in to comment.