licensee 9.13.1 → 9.15.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (133) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +1 -1
  3. data/bin/licensee +1 -1
  4. data/lib/licensee.rb +4 -4
  5. data/lib/licensee/commands/detect.rb +3 -5
  6. data/lib/licensee/commands/diff.rb +3 -5
  7. data/lib/licensee/content_helper.rb +46 -42
  8. data/lib/licensee/hash_helper.rb +1 -1
  9. data/lib/licensee/license.rb +29 -15
  10. data/lib/licensee/matchers.rb +1 -0
  11. data/lib/licensee/matchers/cabal.rb +1 -1
  12. data/lib/licensee/matchers/cargo.rb +1 -1
  13. data/lib/licensee/matchers/copyright.rb +3 -8
  14. data/lib/licensee/matchers/cran.rb +1 -1
  15. data/lib/licensee/matchers/dice.rb +2 -2
  16. data/lib/licensee/matchers/dist_zilla.rb +1 -1
  17. data/lib/licensee/matchers/gemspec.rb +4 -4
  18. data/lib/licensee/matchers/npm_bower.rb +5 -2
  19. data/lib/licensee/matchers/nuget.rb +43 -0
  20. data/lib/licensee/matchers/spdx.rb +1 -1
  21. data/lib/licensee/project_files/license_file.rb +29 -22
  22. data/lib/licensee/project_files/package_manager_file.rb +3 -2
  23. data/lib/licensee/project_files/project_file.rb +3 -4
  24. data/lib/licensee/project_files/readme_file.rb +1 -1
  25. data/lib/licensee/projects/fs_project.rb +8 -5
  26. data/lib/licensee/projects/git_project.rb +6 -4
  27. data/lib/licensee/projects/github_project.rb +1 -1
  28. data/lib/licensee/projects/project.rb +11 -10
  29. data/lib/licensee/version.rb +1 -1
  30. data/licensee.gemspec +7 -8
  31. data/spec/fixture_spec.rb +3 -3
  32. data/spec/fixtures/bom/LICENSE.txt +21 -0
  33. data/spec/fixtures/bsd-3-authorowner/LICENSE +27 -0
  34. data/spec/fixtures/cc-by-sa-mdlinks/License.md +173 -0
  35. data/spec/fixtures/cc-by-sa-nocclicensor/License.md +425 -0
  36. data/spec/fixtures/crlf-bsd/LICENSE.md +27 -0
  37. data/spec/fixtures/detect.json +16 -22
  38. data/spec/fixtures/eupl-cal2017/LICENSE.txt +274 -0
  39. data/spec/fixtures/fixtures.yml +62 -22
  40. data/spec/fixtures/license-hashes.json +39 -38
  41. data/spec/fixtures/markdown-artistic/LICENSE.md +192 -0
  42. data/spec/fixtures/pixar-modified-apache/LICENSE.txt +174 -0
  43. data/spec/fixtures/readme-invalid-encoding/README.md +24 -0
  44. data/spec/fixtures/vim/LICENSE +78 -0
  45. data/spec/integration_spec.rb +86 -9
  46. data/spec/licensee/commands/detect_spec.rb +2 -2
  47. data/spec/licensee/content_helper_spec.rb +21 -21
  48. data/spec/licensee/hash_helper_spec.rb +22 -22
  49. data/spec/licensee/license_meta_spec.rb +5 -11
  50. data/spec/licensee/license_spec.rb +14 -10
  51. data/spec/licensee/matchers/dice_matcher_spec.rb +4 -11
  52. data/spec/licensee/matchers/matcher_spec.rb +6 -6
  53. data/spec/licensee/matchers/npm_bower_matcher_spec.rb +9 -0
  54. data/spec/licensee/matchers/nu_get_matcher_spec.rb +91 -0
  55. data/spec/licensee/project_files/license_file_spec.rb +34 -27
  56. data/spec/licensee/project_files/package_info_spec.rb +8 -0
  57. data/spec/licensee/project_spec.rb +1 -3
  58. data/spec/licensee/rule_spec.rb +1 -1
  59. data/spec/licensee_spec.rb +1 -1
  60. data/spec/spec_helper.rb +3 -3
  61. data/spec/vendored_license_spec.rb +2 -2
  62. data/vendor/choosealicense.com/_data/meta.yml +1 -1
  63. data/vendor/choosealicense.com/_data/rules.yml +13 -13
  64. data/vendor/choosealicense.com/_licenses/0bsd.txt +3 -3
  65. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +3 -3
  66. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +3 -3
  67. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +3 -3
  68. data/vendor/choosealicense.com/_licenses/bsd-4-clause.txt +3 -3
  69. data/vendor/choosealicense.com/_licenses/bsl-1.0.txt +3 -3
  70. data/vendor/choosealicense.com/_licenses/cc-by-4.0.txt +16 -16
  71. data/vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt +16 -16
  72. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +3 -3
  73. data/vendor/choosealicense.com/_licenses/cecill-2.1.txt +3 -3
  74. data/vendor/choosealicense.com/_licenses/ecl-2.0.txt +3 -3
  75. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +3 -3
  76. data/vendor/choosealicense.com/_licenses/epl-2.0.txt +3 -3
  77. data/vendor/choosealicense.com/_licenses/eupl-1.2.txt +77 -60
  78. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +3 -3
  79. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +3 -3
  80. data/vendor/choosealicense.com/_licenses/isc.txt +3 -3
  81. data/vendor/choosealicense.com/_licenses/mit-0.txt +45 -0
  82. data/vendor/choosealicense.com/_licenses/mit.txt +3 -3
  83. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +3 -3
  84. data/vendor/choosealicense.com/_licenses/ncsa.txt +3 -3
  85. data/vendor/choosealicense.com/_licenses/odbl-1.0.txt +3 -3
  86. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +3 -3
  87. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +3 -3
  88. data/vendor/choosealicense.com/_licenses/postgresql.txt +3 -3
  89. data/vendor/choosealicense.com/_licenses/unlicense.txt +3 -3
  90. data/vendor/choosealicense.com/_licenses/upl-1.0.txt +3 -3
  91. data/vendor/choosealicense.com/_licenses/vim.txt +3 -3
  92. data/vendor/choosealicense.com/_licenses/zlib.txt +3 -3
  93. data/vendor/license-list-XML/src/0BSD.xml +21 -0
  94. data/vendor/license-list-XML/src/AFL-3.0.xml +212 -0
  95. data/vendor/license-list-XML/src/AGPL-3.0.xml +852 -0
  96. data/vendor/license-list-XML/src/Apache-2.0.xml +223 -0
  97. data/vendor/license-list-XML/src/Artistic-2.0.xml +238 -0
  98. data/vendor/license-list-XML/src/BSD-2-Clause.xml +42 -0
  99. data/vendor/license-list-XML/src/BSD-3-Clause-Clear.xml +59 -0
  100. data/vendor/license-list-XML/src/BSD-3-Clause.xml +46 -0
  101. data/vendor/license-list-XML/src/BSD-4-Clause.xml +59 -0
  102. data/vendor/license-list-XML/src/BSL-1.0.xml +30 -0
  103. data/vendor/license-list-XML/src/CC-BY-4.0.xml +444 -0
  104. data/vendor/license-list-XML/src/CC-BY-SA-4.0.xml +475 -0
  105. data/vendor/license-list-XML/src/CC0-1.0.xml +153 -0
  106. data/vendor/license-list-XML/src/CECILL-2.1.xml +669 -0
  107. data/vendor/license-list-XML/src/ECL-2.0.xml +242 -0
  108. data/vendor/license-list-XML/src/EPL-1.0.xml +255 -0
  109. data/vendor/license-list-XML/src/EPL-2.0.xml +639 -0
  110. data/vendor/license-list-XML/src/EUPL-1.1.xml +337 -0
  111. data/vendor/license-list-XML/src/EUPL-1.2.xml +502 -0
  112. data/vendor/license-list-XML/src/GPL-2.0.xml +474 -0
  113. data/vendor/license-list-XML/src/GPL-3.0.xml +858 -0
  114. data/vendor/license-list-XML/src/ISC.xml +29 -0
  115. data/vendor/license-list-XML/src/LGPL-2.1.xml +662 -0
  116. data/vendor/license-list-XML/src/LGPL-3.0.xml +260 -0
  117. data/vendor/license-list-XML/src/LPPL-1.3c.xml +380 -0
  118. data/vendor/license-list-XML/src/MIT-0.xml +40 -0
  119. data/vendor/license-list-XML/src/MIT.xml +32 -0
  120. data/vendor/license-list-XML/src/MPL-2.0.xml +438 -0
  121. data/vendor/license-list-XML/src/MS-PL.xml +89 -0
  122. data/vendor/license-list-XML/src/MS-RL.xml +97 -0
  123. data/vendor/license-list-XML/src/NCSA.xml +60 -0
  124. data/vendor/license-list-XML/src/ODbL-1.0.xml +660 -0
  125. data/vendor/license-list-XML/src/OFL-1.1.xml +94 -0
  126. data/vendor/license-list-XML/src/OSL-3.0.xml +209 -0
  127. data/vendor/license-list-XML/src/PostgreSQL.xml +32 -0
  128. data/vendor/license-list-XML/src/UPL-1.0.xml +46 -0
  129. data/vendor/license-list-XML/src/Unlicense.xml +27 -0
  130. data/vendor/license-list-XML/src/Vim.xml +124 -0
  131. data/vendor/license-list-XML/src/WTFPL.xml +30 -0
  132. data/vendor/license-list-XML/src/Zlib.xml +38 -0
  133. metadata +97 -32
@@ -12,9 +12,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
12
12
  note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
13
13
 
14
14
  using:
15
- - AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
16
- - Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
17
- - Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
15
+ AliSQL: https://github.com/alibaba/AliSQL/blob/master/COPYING
16
+ Discourse: https://github.com/discourse/discourse/blob/master/LICENSE.txt
17
+ Joomla!: https://github.com/joomla/joomla-cms/blob/staging/LICENSE.txt
18
18
 
19
19
  permissions:
20
20
  - commercial-use
@@ -13,9 +13,9 @@ how: Create a text file (typically named COPYING, as per GNU conventions) in the
13
13
  note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
14
14
 
15
15
  using:
16
- - Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
17
- - Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
18
- - GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
16
+ Ansible: https://github.com/ansible/ansible/blob/devel/COPYING
17
+ Bash: https://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
18
+ GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
19
19
 
20
20
  permissions:
21
21
  - commercial-use
@@ -7,9 +7,9 @@ description: A permissive license lets people do anything with your code with pr
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  using:
10
- - Helix: https://github.com/tildeio/helix/blob/master/LICENSE
11
- - Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
12
- - OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/master/LICENSE.md
10
+ Starship: https://github.com/starship/starship/blob/master/LICENSE
11
+ Node.js semver: https://github.com/npm/node-semver/blob/master/LICENSE
12
+ OpenStreetMap iD: https://github.com/openstreetmap/iD/blob/develop/LICENSE.md
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -0,0 +1,45 @@
1
+ ---
2
+ title: MIT No Attribution
3
+ spdx-id: MIT-0
4
+
5
+ description: A short and simple permissive license with no conditions, not even requiring preservation of copyright and license notices. Licensed works, modifications, and larger works may be distributed under different terms and without source code.
6
+
7
+ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
+
9
+ using:
10
+ rssfs: https://github.com/dertuxmalwieder/rssfs/blob/master/LICENSE
11
+ SOIL2: https://github.com/SpartanJ/SOIL2/blob/master/LICENSE
12
+ Units.NET: https://github.com/angularsen/UnitsNet/blob/master/LICENSE
13
+
14
+ permissions:
15
+ - commercial-use
16
+ - modifications
17
+ - distribution
18
+ - private-use
19
+
20
+ conditions: []
21
+
22
+ limitations:
23
+ - liability
24
+ - warranty
25
+
26
+ ---
27
+
28
+ MIT No Attribution
29
+
30
+ Copyright [year] [fullname]
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so.
38
+
39
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
40
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
41
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
42
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
43
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
44
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
45
+ SOFTWARE.
@@ -9,9 +9,9 @@ description: A short and simple permissive license with conditions only requirin
9
9
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
10
10
 
11
11
  using:
12
- - Babel: https://github.com/babel/babel/blob/master/LICENSE
13
- - .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
14
- - Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
12
+ Babel: https://github.com/babel/babel/blob/master/LICENSE
13
+ .NET Core: https://github.com/dotnet/runtime/blob/master/LICENSE.TXT
14
+ Rails: https://github.com/rails/rails/blob/master/MIT-LICENSE
15
15
 
16
16
  permissions:
17
17
  - commercial-use
@@ -11,9 +11,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
11
11
  note: The Mozilla Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license (Exhibit A).
12
12
 
13
13
  using:
14
- - Servo: https://github.com/servo/servo/blob/master/LICENSE
15
- - Syncthing: https://github.com/syncthing/syncthing/blob/master/LICENSE
16
- - TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
14
+ Servo: https://github.com/servo/servo/blob/master/LICENSE
15
+ Syncthing: https://github.com/syncthing/syncthing/blob/main/LICENSE
16
+ TimelineJS3: https://github.com/NUKnightLab/TimelineJS3/blob/master/LICENSE
17
17
 
18
18
  permissions:
19
19
  - commercial-use
@@ -8,9 +8,9 @@ description: The University of Illinois/NCSA Open Source License, or UIUC licens
8
8
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace [project] with the project organization, if any, that sponsors this work.
9
9
 
10
10
  using:
11
- - LLDB: https://github.com/llvm-mirror/lldb/blob/master/LICENSE.TXT
12
- - ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
13
- - RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
11
+ ROCR-Runtime: https://github.com/RadeonOpenCompute/ROCR-Runtime/blob/master/LICENSE.txt
12
+ RLTK: https://github.com/chriswailes/RLTK/blob/master/LICENSE
13
+ ToaruOS: https://github.com/klange/toaruos/blob/master/LICENSE
14
14
 
15
15
  permissions:
16
16
  - commercial-use
@@ -8,9 +8,9 @@ description: The Open Database License (ODbL) is a license agreement intended to
8
8
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
9
9
 
10
10
  using:
11
- - World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
12
- - OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
13
- - Public Zone Database: https://github.com/zonedb/zonedb/blob/master/LICENSE.md
11
+ World Countries: https://github.com/mledoze/countries/blob/master/LICENSE
12
+ OpenFlights: https://github.com/jpatokal/openflights/blob/master/data/LICENSE
13
+ Public Zone Database: https://github.com/zonedb/zonedb/blob/main/LICENSE.md
14
14
 
15
15
  permissions:
16
16
  - commercial-use
@@ -10,9 +10,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
10
10
  note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
11
11
 
12
12
  using:
13
- - FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
14
- - Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
15
- - Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
13
+ FiraCode: https://github.com/tonsky/FiraCode/blob/master/LICENSE
14
+ Noto fonts: https://github.com/googlefonts/noto-fonts/blob/master/LICENSE
15
+ Fantasque Sans Mono: https://github.com/belluzj/fantasque-sans/blob/master/LICENSE.txt
16
16
 
17
17
  permissions:
18
18
  - private-use
@@ -9,9 +9,9 @@ how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of
9
9
  note: OSL 3.0's author has <a href="https://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
10
10
 
11
11
  using:
12
- - appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
13
- - JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
14
- - Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
12
+ appserver.io: https://github.com/appserver-io/appserver/blob/master/LICENSE.txt
13
+ JsonMapper: https://github.com/cweiske/jsonmapper/blob/master/LICENSE
14
+ Restyaboard: https://github.com/RestyaPlatform/board/blob/master/LICENSE.txt
15
15
 
16
16
  permissions:
17
17
  - commercial-use
@@ -7,9 +7,9 @@ description: A very short, BSD-style license, used specifically for PostgreSQL.
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  using:
10
- - pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
11
- - pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
12
- - .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/dev/LICENSE
10
+ pgBadger: https://github.com/darold/pgbadger/blob/master/LICENSE
11
+ pgAdmin: https://github.com/postgres/pgadmin4/blob/master/LICENSE
12
+ .NET Access to PostgreSQL: https://github.com/npgsql/npgsql/blob/main/LICENSE
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -8,9 +8,9 @@ description: A license with no conditions whatsoever which dedicates works to th
8
8
  how: Create a text file (typically named UNLICENSE or UNLICENSE.txt) in the root of your source code and copy the text of the license disclaimer into the file.
9
9
 
10
10
  using:
11
- - youtube-dl: https://github.com/rg3/youtube-dl/blob/master/LICENSE
12
- - kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
13
- - RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
11
+ scoop: https://github.com/lukesampson/scoop/blob/master/LICENSE
12
+ kakoune: https://github.com/mawww/kakoune/blob/master/UNLICENSE
13
+ RDF.rb: https://github.com/ruby-rdf/rdf/blob/master/UNLICENSE
14
14
 
15
15
  permissions:
16
16
  - private-use
@@ -9,9 +9,9 @@ how: Insert the license or a link to it along with a copyright notice into your
9
9
  note: It is recommended to add a link to the license and copyright notice at the top of each source file, example text can be found at https://oss.oracle.com/licenses/upl/.
10
10
 
11
11
  using:
12
- - Oracle Product Boxes for Vagrant: https://github.com/oracle/vagrant-boxes/blob/master/LICENSE
13
- - Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
14
- - Skater: https://github.com/oracle/Skater/blob/master/LICENSE
12
+ Oracle Product Images for Docker: https://github.com/oracle/docker-images/blob/master/LICENSE
13
+ Skater: https://github.com/oracle/Skater/blob/master/LICENSE
14
+ Soufflé: https://github.com/souffle-lang/souffle/blob/master/LICENSE
15
15
 
16
16
  permissions:
17
17
  - commercial-use
@@ -7,9 +7,9 @@ description: There are no restrictions on using or distributing an unmodified co
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [project] with the project name.
8
8
 
9
9
  using:
10
- - Vim: https://github.com/vim/vim/blob/master/LICENSE
11
- - Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
12
- - vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
10
+ Vim: https://github.com/vim/vim/blob/master/LICENSE
11
+ Pathogen: https://github.com/tpope/vim-pathogen/blob/master/LICENSE
12
+ vim-license-gen: https://github.com/othree/vim-license/blob/master/LICENSE
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -7,9 +7,9 @@ description: A short permissive license, compatible with GPL. Requires altered s
7
7
  how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
8
8
 
9
9
  using:
10
- - GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
11
- - Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
12
- - TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
10
+ GLFW: https://github.com/glfw/glfw/blob/master/LICENSE.md
11
+ Portainer: https://github.com/portainer/portainer/blob/develop/LICENSE
12
+ TinyXML-2: https://github.com/leethomason/tinyxml2/blob/master/LICENSE.txt
13
13
 
14
14
  permissions:
15
15
  - commercial-use
@@ -0,0 +1,21 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="0BSD" name="BSD Zero Clause License">
4
+ <crossRefs>
5
+ <crossRef>http://landley.net/toybox/license.html</crossRef>
6
+ </crossRefs>
7
+ <text>
8
+ <copyrightText>
9
+ <p>Copyright (C) 2006 by Rob Landley &lt;rob@landley.net&gt;</p>
10
+ </copyrightText>
11
+
12
+ <p>Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is
13
+ hereby granted.</p>
14
+ <p>THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE
15
+ INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE
16
+ LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
17
+ FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS
18
+ ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.</p>
19
+ </text>
20
+ </license>
21
+ </SPDXLicenseCollection>
@@ -0,0 +1,212 @@
1
+ <?xml version="1.0" encoding="UTF-8"?>
2
+ <SPDXLicenseCollection xmlns="http://www.spdx.org/license">
3
+ <license isOsiApproved="true" licenseId="AFL-3.0" name="Academic Free License v3.0">
4
+ <crossRefs>
5
+ <crossRef>http://www.rosenlaw.com/AFL3.0.htm</crossRef>
6
+ <crossRef>https://opensource.org/licenses/afl-3.0</crossRef>
7
+ </crossRefs>
8
+ <text>
9
+ <titleText>
10
+ <p>Academic Free License ("AFL") v. 3.0</p>
11
+ </titleText>
12
+ <optional>
13
+ <p>This Academic Free License (the "License") applies to any original work of authorship (the
14
+ "Original Work") whose owner (the "Licensor") has placed the following licensing
15
+ notice adjacent to the copyright notice for the Original Work:</p>
16
+ <standardLicenseHeader>
17
+ <p>Licensed under the Academic Free License version 3.0</p>
18
+ </standardLicenseHeader>
19
+ </optional>
20
+
21
+ <list>
22
+ <item>
23
+ <bullet>1)</bullet>
24
+ Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive,
25
+ sublicensable license, for the duration of the copyright, to do the following:
26
+ <list>
27
+ <item>
28
+ <bullet>a)</bullet>
29
+ to reproduce the Original Work in copies, either alone or as part of a collective work;
30
+ </item>
31
+ <item>
32
+ <bullet>b)</bullet>
33
+ to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating
34
+ derivative works ("Derivative Works") based upon the Original Work;
35
+ </item>
36
+ <item>
37
+ <bullet>c)</bullet>
38
+ to distribute or communicate copies of the Original Work and Derivative Works to the public,
39
+ under any license of your choice that does not contradict the terms and conditions,
40
+ including Licensor's reserved rights and remedies, in this Academic Free
41
+ License;
42
+ </item>
43
+ <item>
44
+ <bullet>d)</bullet>
45
+ to perform the Original Work publicly; and
46
+ </item>
47
+ <item>
48
+ <bullet>e)</bullet>
49
+ to display the Original Work publicly.
50
+ </item>
51
+ </list>
52
+ </item>
53
+ <item>
54
+ <bullet>2)</bullet>
55
+ Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive,
56
+ sublicensable license, under patent claims owned or controlled by the Licensor that are
57
+ embodied in the Original Work as furnished by the Licensor, for the duration of the patents,
58
+ to make, use, sell, offer for sale, have made, and import the Original Work and Derivative
59
+ Works.
60
+ </item>
61
+ <item>
62
+ <bullet>3)</bullet>
63
+ Grant of Source Code License. The term "Source Code" means the preferred form of the
64
+ Original Work for making modifications to it and all available documentation describing how to
65
+ modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source
66
+ Code of the Original Work along with each copy of the Original Work that Licensor distributes.
67
+ Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of
68
+ the Source Code in an information repository reasonably calculated to permit inexpensive and
69
+ convenient access by You for as long as Licensor continues to distribute the Original
70
+ Work.
71
+ </item>
72
+ <item>
73
+ <bullet>4)</bullet>
74
+ Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors
75
+ to the Original Work, nor any of their trademarks or service marks, may be used to endorse or
76
+ promote products derived from this Original Work without express prior permission of the
77
+ Licensor. Except as expressly stated herein, nothing in this License grants any license to
78
+ Licensor's trademarks, copyrights, patents, trade secrets or any other intellectual
79
+ property. No patent license is granted to make, use, sell, offer for sale, have made, or
80
+ import embodiments of any patent claims other than the licensed claims defined in Section 2.
81
+ No license is granted to the trademarks of Licensor even if such marks are included in the
82
+ Original Work. Nothing in this License shall be interpreted to prohibit Licensor from
83
+ licensing under terms different from this License any Original Work that Licensor otherwise
84
+ would have a right to license.
85
+ </item>
86
+ <item>
87
+ <bullet>5)</bullet>
88
+ External Deployment. The term "External Deployment" means the use, distribution, or
89
+ communication of the Original Work or Derivative Works in any way such that the Original Work
90
+ or Derivative Works may be used by anyone other than You, whether those works are distributed
91
+ or communicated to those persons or made available as an application intended for use over a
92
+ network. As an express condition for the grants of license hereunder, You must treat any
93
+ External Deployment by You of the Original Work or a Derivative Work as a distribution under
94
+ section 1(c).
95
+ </item>
96
+ <item>
97
+ <bullet>6)</bullet>
98
+ Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create,
99
+ all copyright, patent, or trademark notices from the Source Code of the Original Work, as well
100
+ as any notices of licensing and any descriptive text identified therein as an
101
+ "Attribution Notice." You must cause the Source Code for any Derivative Works that
102
+ You create to carry a prominent Attribution Notice reasonably calculated to inform recipients
103
+ that You have modified the Original Work.
104
+ </item>
105
+ <item>
106
+ <bullet>7)</bullet>
107
+ Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to
108
+ the Original Work and the patent rights granted herein by Licensor are owned by the Licensor
109
+ or are sublicensed to You under the terms of this License with the permission of the
110
+ contributor(s) of those copyrights and patent rights. Except as expressly stated in the
111
+ immediately preceding sentence, the Original Work is provided under this License on an
112
+ "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without
113
+ limitation, the warranties of non-infringement, merchantability or fitness for a particular
114
+ purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER
115
+ OF WARRANTY constitutes an essential part of this License. No license to the Original Work is
116
+ granted by this License except under this disclaimer.
117
+ </item>
118
+ <item>
119
+ <bullet>8)</bullet>
120
+ Limitation of Liability. Under no circumstances and under no legal theory, whether in tort
121
+ (including negligence), contract, or otherwise, shall the Licensor be liable to anyone for any
122
+ indirect, special, incidental, or consequential damages of any character arising as a result
123
+ of this License or the use of the Original Work including, without limitation, damages for
124
+ loss of goodwill, work stoppage, computer failure or malfunction, or any and all other
125
+ commercial damages or losses. This limitation of liability shall not apply to the extent
126
+ applicable law prohibits such limitation.
127
+ </item>
128
+ <item>
129
+ <bullet>9)</bullet>
130
+ Acceptance and Termination. If, at any time, You expressly assented to this License, that assent
131
+ indicates your clear and irrevocable acceptance of this License and all of its terms and
132
+ conditions. If You distribute or communicate copies of the Original Work or a Derivative Work,
133
+ You must make a reasonable effort under the circumstances to obtain the express assent of
134
+ recipients to the terms of this License. This License conditions your rights to undertake the
135
+ activities listed in Section 1, including your right to create Derivative Works based upon the
136
+ Original Work, and doing so without honoring these terms and conditions is prohibited by
137
+ copyright law and international treaty. Nothing in this License is intended to affect
138
+ copyright exceptions and limitations (including "fair use" or "fair
139
+ dealing"). This License shall terminate immediately and You may no longer exercise any
140
+ of the rights granted to You by this License upon your failure to honor the conditions in
141
+ Section 1(c).
142
+ </item>
143
+ <item>
144
+ <bullet>10)</bullet>
145
+ Termination for Patent Action. This License shall terminate automatically and You may no longer
146
+ exercise any of the rights granted to You by this License as of the date You commence an
147
+ action, including a cross-claim or counterclaim, against Licensor or any licensee alleging
148
+ that the Original Work infringes a patent. This termination provision shall not apply for an
149
+ action alleging patent infringement by combinations of the Original Work with other software
150
+ or hardware.
151
+ </item>
152
+ <item>
153
+ <bullet>11)</bullet>
154
+ Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought
155
+ only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor
156
+ conducts its primary business, and under the laws of that jurisdiction excluding its
157
+ conflict-of-law provisions. The application of the United Nations Convention on Contracts for
158
+ the International Sale of Goods is expressly excluded. Any use of the Original Work outside
159
+ the scope of this License or after its termination shall be subject to the requirements and
160
+ penalties of copyright or patent law in the appropriate jurisdiction. This section shall
161
+ survive the termination of this License.
162
+ </item>
163
+ <item>
164
+ <bullet>12)</bullet>
165
+ Attorneys' Fees. In any action to enforce the terms of this License or seeking damages
166
+ relating thereto, the prevailing party shall be entitled to recover its costs and expenses,
167
+ including, without limitation, reasonable attorneys' fees and costs incurred in
168
+ connection with such action, including any appeal of such action. This section shall survive
169
+ the termination of this License.
170
+ </item>
171
+ <item>
172
+ <bullet>13)</bullet>
173
+ Miscellaneous. If any provision of this License is held to be unenforceable, such provision shall
174
+ be reformed only to the extent necessary to make it enforceable.
175
+ </item>
176
+ <item>
177
+ <bullet>14)</bullet>
178
+ Definition of "You" in This License. "You" throughout this License, whether
179
+ in upper or lower case, means an individual or a legal entity exercising rights under, and
180
+ complying with all of the terms of, this License. For legal entities, "You" includes
181
+ any entity that controls, is controlled by, or is under common control with you. For purposes
182
+ of this definition, "control" means (i) the power, direct or indirect, to cause the
183
+ direction or management of such entity, whether by contract or otherwise, or (ii) ownership of
184
+ fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such
185
+ entity.
186
+ </item>
187
+ <item>
188
+ <bullet>15)</bullet>
189
+ Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned
190
+ by this License or by law, and Licensor promises not to interfere with or be responsible for
191
+ such uses by You.
192
+ </item>
193
+ <item>
194
+ <bullet>16)</bullet>
195
+ Modification of This License. This License is Copyright © 2005 Lawrence Rosen. Permission is
196
+ granted to copy, distribute, or communicate this License without modification. Nothing in this
197
+ License permits You to modify this License as applied to the Original Work or to Derivative
198
+ Works. However, You may modify the text of this License and copy, distribute or communicate
199
+ your modified version (the "Modified License") and apply it to other original works
200
+ of authorship subject to the following conditions: (i) You may not indicate in any way that
201
+ your Modified License is the "Academic Free License" or "AFL" and you may
202
+ not use those names in the name of your Modified License; (ii) You must replace the notice
203
+ specified in the first paragraph above with the notice "Licensed under &lt;insert your
204
+ license name here&gt;" or with a notice of your own that is not confusingly similar to
205
+ the notice in this License; and (iii) You may not claim that your original works are open
206
+ source software unless your Modified License has been approved by Open Source Initiative (OSI)
207
+ and You comply with its license review and certification process.
208
+ </item>
209
+ </list>
210
+ </text>
211
+ </license>
212
+ </SPDXLicenseCollection>