Codebase list ruby-licensee / 3268cec
Imported Upstream version 8.0.0 Praveen Arimbrathodiyil 7 years ago
127 changed file(s) with 7946 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
0 The MIT License (MIT)
1
2 Copyright (c) 2014-2015 Ben Balter
3
4 Permission is hereby granted, free of charge, to any person obtaining a copy
5 of this software and associated documentation files (the "Software"), to deal
6 in the Software without restriction, including without limitation the rights
7 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
8 copies of the Software, and to permit persons to whom the Software is
9 furnished to do so, subject to the following conditions:
10
11 The above copyright notice and this permission notice shall be included in all
12 copies or substantial portions of the Software.
13
14 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
20 SOFTWARE.
0 # Licensee
1 _A Ruby Gem to detect under what license a project is distributed._
2
3 [![Build Status](https://travis-ci.org/benbalter/licensee.svg?branch=master)](https://travis-ci.org/benbalter/licensee) [![Gem Version](https://badge.fury.io/rb/licensee.svg)](http://badge.fury.io/rb/licensee)
4
5 ## The problem
6 - You've got an open source project. How do you know what you can and can't do with the software?
7 - You've got a bunch of open source projects, how do you know what their licenses are?
8 - You've got a project with a license file, but which license is it? Has it been modified?
9
10 ## The solution
11 Licensee automates the process of reading `LICENSE` files and compares their contents to known licenses using a several strategies (which we call "Matchers"). It attempts to determine a project's license in the following order:
12 - If the license file has an explicit copyright notice, and nothing more (e.g., `Copyright (c) 2015 Ben Balter`), we'll assume the author intends to retain all rights, and thus the project isn't licensed.
13 - If the license is an exact match to a known license. If we strip away whitespace and copyright notice, we might get lucky, and direct string comparison in Ruby is cheap.
14 - If we still can't match the license, we use a fancy math thing called the [Sørensen–Dice coefficient](https://en.wikipedia.org/wiki/S%C3%B8rensen%E2%80%93Dice_coefficient), which is really good at calculating the similarity between two strings. By calculating the percent changed from the known license to the license file, you can tell, e.g., that a given license is 90% similar to the MIT license, that 10% likely representing the copyright line being properly adapted to the project.
15
16 _Special thanks to [@vmg](https://github.com/vmg) for his Git and algorithmic prowess._
17
18 ## Installation
19 `gem install licensee` or add `gem 'licensee'` to your project's `Gemfile`.
20
21 ## Command line usage
22 1. `cd` into a project directory
23 2. execute the `licensee` command
24
25 You'll get an output that looks like:
26
27 ```
28 License: MIT
29 Confidence: 98.42%
30 Matcher: Licensee::GitMatcher
31 ```
32
33 ## License API
34
35 ```ruby
36 license = Licensee.license "/path/to/a/project"
37 => #<Licensee::License name="MIT" match=0.9842154131847726>
38
39 license.key
40 => "mit"
41
42 license.name
43 => "MIT License"
44
45 license.meta["source"]
46 => "http://opensource.org/licenses/MIT"
47
48 license.meta["description"]
49 => "A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty."
50
51 license.meta["permitted"]
52 => ["commercial-use","modifications","distribution","sublicense","private-use"]
53 ```
54
55 ## More API
56 You can gather more information by working with the project object, and the top level Licensee class.
57
58 ```ruby
59 Licensee::VERSION # The Licensee version
60 Licensee.licenses # All the licenses Licensee knows about
61
62 project=Licensee.project "/path/to/a/project" # Get a Project (Git checkout or just local Filesystem) (post 6.0.0)
63
64 project.license # The matched license
65 project.matched_file # Object for the particular file containing the apparent license
66 project.matched_file.filename # Its filename
67 project.matched_file.confidence # The confidence level in the license matching
68 project.matched_file.content # The content of your license file
69 project.license.content # The Open Source License text it matched against
70 ```
71
72 ## What it looks at
73 - `LICENSE`, `LICENSE.txt`, `COPYING`, etc. files in the root of the project, comparing the body to known licenses
74 - Crowdsourced license content and metadata from [`choosealicense.com`](http://choosealicense.com)
75
76 ## What it doesn't look at
77 - Dependency licensing
78 - References to licenses in `README`, `README.md`, etc.
79 - Every single possible license (just the most popular ones)
80 - Compliance (e.g., whitelisting certain licenses)
81
82 If you're looking for dependency license checking and compliance, take a look at [LicenseFinder](https://github.com/pivotal/LicenseFinder).
83
84 ## Huh? Why don't you look at X?
85 Because reasons.
86
87 ### Why not just look at the "license" field of [insert package manager here]?
88 Because it's not legally binding. A license is a legal contract. You give up certain rights (e.g., the right to sue the author) in exchange for the right to use the software.
89
90 Most popular licenses today _require_ that the license itself be distributed along side the software. Simply putting the letters "MIT" or "GPL" in a configuration file doesn't really meet that requirement.
91
92 Not to mention, it doesn't tell you much about your rights as a user. Is it GPLv2? GPLv2 or later? Those files are designed to be read by computers (who can't enter into contracts), not humans (who can). It's great metadata, but that's about it.
93
94 ### What about looking to see if the author said something in the readme?
95 You could make an argument that, when linked or sufficiently identified, the terms of the license are incorporated by reference, or at least that the author's intent is there. There's a handful of reasons why this isn't ideal. For one, if you're using the MIT or BSD (ISC) license, along with a few others, there's templematic language, like the copyright notice, which would go unfilled.
96
97 ### What about checking every single file for a copyright header?
98 Because that's silly in the context of how software is developed today. You wouldn't put a copyright notice on each page of a book. Besides, it's a lot of work, as there's no standardized, cross-platform way to describe a project's license within a comment.
99
100 Checking the actual text into version control is definitive, so that's what this project looks at.
101
102 ## Bootstrapping a local development environment
103 `script/bootstrap`
104
105 ## Running tests
106 `script/cibuild`
107
108 ## Updating the licenses
109 License data is pulled from `choosealicense.com`. To update the license data, simple run `script/vendor-licenses`.
110
111 ## Roadmap
112 See [proposed enhancements](https://github.com/benbalter/licensee/labels/enhancement).
0 require 'rake'
1 require 'rake/testtask'
2
3 Rake::TestTask.new(:test) do |test|
4 test.libs << 'lib' << 'test'
5 test.pattern = 'test/**/test_licensee*.rb'
6 end
7
8 desc 'Open console with Licensee loaded'
9 task :console do
10 exec 'pry -r ./lib/licensee.rb'
11 end
0 #!/usr/bin/env ruby
1 require_relative '../lib/licensee'
2
3 path = ARGV[0] || Dir.pwd
4
5 options = { detect_packages: true, detect_readme: true }
6 project = Licensee::GitProject.new(path, options)
7 file = project.matched_file
8
9 if project.license_file
10 puts "License file: #{project.license_file.filename}"
11 if project.license_file.attribution
12 puts "Attribution: #{project.license_file.attribution}"
13 end
14 end
15
16 if file
17 puts "License: #{file.license ? file.license.meta['title'] : 'no license'}"
18 puts "Confidence: #{file.confidence}%"
19 puts "Method: #{file.matcher.class}"
20 else
21 puts 'Unknown'
22 end
0 require 'set'
1 require 'digest'
2
3 module Licensee
4 module ContentHelper
5 DIGEST = Digest::SHA1
6
7 def wordset
8 @wordset ||= if content_normalized
9 content_normalized.scan(/[\w']+/).to_set
10 end
11 end
12
13 def hash
14 @hash ||= DIGEST.hexdigest content_normalized
15 end
16
17 def content_normalized
18 return unless content
19 @content_normalized ||= begin
20 content_normalized = content.downcase.strip
21 content_normalized.gsub!(/^#{Matchers::Copyright::REGEX}$/i, '')
22 content_normalized.tr("\n", ' ').squeeze(' ')
23 end
24 end
25 end
26 end
0 require 'uri'
1 require 'yaml'
2
3 module Licensee
4 class InvalidLicense < ArgumentError; end
5 class License
6 class << self
7 # All license objects defined via Licensee (via choosealicense.com)
8 #
9 # Options:
10 # - :hidden - boolean, return hidden licenses (default: false)
11 # - :featured - boolean, return only (non)featured licenses (default: all)
12 #
13 # Returns an Array of License objects.
14 def all(options = {})
15 options = { hidden: false, featured: nil }.merge(options)
16 output = licenses.dup
17 output.reject!(&:hidden?) unless options[:hidden]
18 return output if options[:featured].nil?
19 output.select { |l| l.featured? == options[:featured] }
20 end
21
22 def keys
23 @keys ||= license_files.map do |license_file|
24 File.basename(license_file, '.txt').downcase
25 end + PSEUDO_LICENSES
26 end
27
28 def find(key, options = {})
29 options = { hidden: true }.merge(options)
30 all(options).find { |license| key.casecmp(license.key).zero? }
31 end
32 alias [] find
33 alias find_by_key find
34
35 def license_dir
36 dir = File.dirname(__FILE__)
37 File.expand_path '../../vendor/choosealicense.com/_licenses', dir
38 end
39
40 def license_files
41 @license_files ||= Dir.glob("#{license_dir}/*.txt")
42 end
43
44 private
45
46 def licenses
47 @licenses ||= keys.map { |key| new(key) }
48 end
49 end
50
51 attr_reader :key
52
53 # These should be in sync with choosealicense.com's collection defaults
54 YAML_DEFAULTS = {
55 'featured' => false,
56 'hidden' => true,
57 'variant' => false
58 }.freeze
59
60 # Pseudo-license are license placeholders with no content
61 #
62 # `other` - The project had a license, but we were not able to detect it
63 # `no-license` - The project is not licensed (e.g., all rights reserved)
64 #
65 # Note: A lack of detected license will be a nil license
66 PSEUDO_LICENSES = %w(other no-license).freeze
67
68 include Licensee::ContentHelper
69
70 def initialize(key)
71 @key = key.downcase
72 end
73
74 # Path to vendored license file on disk
75 def path
76 @path ||= File.expand_path "#{@key}.txt", Licensee::License.license_dir
77 end
78
79 # License metadata from YAML front matter
80 def meta
81 @meta ||= if parts && parts[1]
82 meta = if YAML.respond_to? :safe_load
83 YAML.safe_load(parts[1])
84 else
85 YAML.load(parts[1])
86 end
87 YAML_DEFAULTS.merge(meta)
88 end
89 end
90
91 # Returns the human-readable license name
92 def name
93 meta.nil? ? key.capitalize : meta['title']
94 end
95
96 def nickname
97 meta['nickname'] if meta
98 end
99
100 def name_without_version
101 /(.+?)(( v?\d\.\d)|$)/.match(name)[1]
102 end
103
104 def featured?
105 return YAML_DEFAULTS['featured'] unless meta
106 meta['featured']
107 end
108 alias featured featured?
109
110 def hidden?
111 return true if PSEUDO_LICENSES.include?(key)
112 return YAML_DEFAULTS['hidden'] unless meta
113 meta['hidden']
114 end
115
116 # The license body (e.g., contents - frontmatter)
117 def content
118 @content ||= parts[2] if parts && parts[2]
119 end
120 alias to_s content
121 alias text content
122 alias body content
123
124 def url
125 URI.join(Licensee::DOMAIN, "/licenses/#{key}/").to_s
126 end
127
128 def ==(other)
129 !other.nil? && key == other.key
130 end
131
132 private
133
134 def pseudo_license?
135 PSEUDO_LICENSES.include?(key)
136 end
137
138 # Raw content of license file, including YAML front matter
139 def raw_content
140 return if pseudo_license?
141 @raw_content ||= if File.exist?(path)
142 File.open(path).read
143 else
144 raise Licensee::InvalidLicense, "'#{key}' is not a valid license key"
145 end
146 end
147
148 def parts
149 return unless raw_content
150 @parts ||= raw_content.match(/\A(---\n.*\n---\n+)?(.*)/m).to_a
151 end
152 end
153 end
0 # encoding=utf-8
1 module Licensee
2 module Matchers
3 class Copyright
4 REGEX = /\s*Copyright (©|\(c\)|\xC2\xA9)? ?(\d{4}|\[year\])(.*)?\s*/i
5
6 def initialize(file)
7 @file = file
8 end
9
10 def match
11 # Note: must use content, and not content_normalized here
12 if @file.content.strip =~ /\A#{REGEX}\z/i
13 Licensee::License.find('no-license')
14 end
15 rescue
16 nil
17 end
18
19 def confidence
20 100
21 end
22 end
23 end
24 end
0 module Licensee
1 module Matchers
2 class Dice
3 def initialize(file)
4 @file = file
5 end
6
7 # Return the first potential license that is more similar
8 # than the confidence threshold
9 def match
10 return @match if defined? @match
11 matches = potential_licenses.map do |license|
12 if (sim = similarity(license)) >= Licensee.confidence_threshold
13 [license, sim]
14 end
15 end
16 matches.compact!
17 @match = if matches.empty?
18 nil
19 else
20 matches.max_by { |_l, sim| sim }.first
21 end
22 end
23
24 # Sort all licenses, in decending order, by difference in
25 # length to the file
26 # Difference in lengths cannot exceed the file's length *
27 # the confidence threshold / 100
28 def potential_licenses
29 @potential_licenses ||= begin
30 licenses = Licensee.licenses(hidden: true)
31 licenses = licenses.select do |license|
32 license.wordset && length_delta(license) <= max_delta
33 end
34 licenses.sort_by { |l| length_delta(l) }
35 end
36 end
37
38 # Calculate the difference between the file length and a given
39 # license's length
40 def length_delta(license)
41 (@file.wordset.size - license.wordset.size).abs
42 end
43
44 # Maximum possible difference between file length and license length
45 # for a license to be a potential license to be matched
46 def max_delta
47 @max_delta ||= (
48 @file.wordset.size * (Licensee.confidence_threshold / 100.0)
49 )
50 end
51
52 # Confidence that the matched license is a match
53 def confidence
54 @confidence ||= match ? similarity(match) : 0
55 end
56
57 private
58
59 # Calculate percent changed between file and potential license
60 def similarity(license)
61 overlap = (@file.wordset & license.wordset).size
62 total = @file.wordset.size + license.wordset.size
63 100.0 * (overlap * 2.0 / total)
64 end
65 end
66 end
67 end
0 module Licensee
1 module Matchers
2 class Exact
3 def initialize(file)
4 @file = file
5 end
6
7 def match
8 Licensee.licenses(hidden: true).find { |l| l.wordset == @file.wordset }
9 end
10
11 def confidence
12 100
13 end
14 end
15 end
16 end
0 module Licensee
1 module Matchers
2 class Gemspec < Package
3 # We definitely don't want to be evaling arbitrary Gemspec files
4 # While not 100% accurate, use some lenient regex to try to grep the
5 # license declaration from the Gemspec as a string, if any
6 LICENSE_REGEX = /
7 ^\s*[a-z0-9_]+\.license\s*\=\s*[\'\"]([a-z\-0-9\.]+)[\'\"]\s*$
8 /ix
9
10 private
11
12 def license_property
13 match = @file.content.match LICENSE_REGEX
14 match[1].downcase if match && match[1]
15 end
16 end
17 end
18 end
0 module Licensee
1 module Matchers
2 class NpmBower < Package
3 # While we could parse the package.json or bower.json file, prefer
4 # a lenient regex for speed and security. Moar parsing moar problems.
5 LICENSE_REGEX = /
6 s*[\"\']license[\"\']\s*\:\s*[\'\"]([a-z\-0-9\.]+)[\'\"],?\s*
7 /ix
8
9 private
10
11 def license_property
12 match = @file.content.match LICENSE_REGEX
13 match[1].downcase if match && match[1]
14 end
15 end
16 end
17 end
0 module Licensee
1 module Matchers
2 class Package
3 def initialize(file)
4 @file = file
5 end
6
7 def match
8 Licensee.licenses(hidden: true).find { |l| l.key == license_property }
9 end
10
11 def confidence
12 90
13 end
14 end
15 end
16 end
0 require 'rugged'
1
2 module Licensee
3 class Project
4 attr_reader :detect_readme, :detect_packages
5 alias detect_readme? detect_readme
6 alias detect_packages? detect_packages
7
8 def initialize(detect_packages: false, detect_readme: false)
9 @detect_packages = detect_packages
10 @detect_readme = detect_readme
11 end
12
13 # Returns the matching License instance if a license can be detected
14 def license
15 @license ||= matched_file && matched_file.license
16 end
17
18 def matched_file
19 @matched_file ||= (license_file || readme || package_file)
20 end
21
22 def license_file
23 return @license_file if defined? @license_file
24 @license_file = begin
25 content, name = find_file { |name| LicenseFile.name_score(name) }
26 LicenseFile.new(content, name) if content && name
27 end
28 end
29
30 def readme
31 return unless detect_readme?
32 return @readme if defined? @readme
33 @readme = begin
34 content, name = find_file { |name| Readme.name_score(name) }
35 content = Readme.license_content(content)
36 Readme.new(content, name) if content && name
37 end
38 end
39
40 def package_file
41 return unless detect_packages?
42 return @package_file if defined? @package_file
43 @package_file = begin
44 content, name = find_file { |name| PackageInfo.name_score(name) }
45 PackageInfo.new(content, name) if content && name
46 end
47 end
48 end
49 end
0 module Licensee
1 class Project
2 class File
3 attr_reader :content, :filename
4
5 def initialize(content, filename = nil)
6 @content = content
7 options = { invalid: :replace, undef: :replace, replace: '' }
8 @content.encode!(Encoding::UTF_8, options)
9 @filename = filename
10 end
11
12 def matcher
13 @matcher ||= possible_matchers.map { |m| m.new(self) }.find(&:match)
14 end
15
16 # Returns the percent confident with the match
17 def confidence
18 matcher && matcher.confidence
19 end
20
21 def license
22 matcher && matcher.match
23 end
24
25 alias match license
26 alias path filename
27 end
28 end
29 end
0 module Licensee
1 class Project
2 class LicenseFile < Licensee::Project::File
3 include Licensee::ContentHelper
4
5 def possible_matchers
6 [Matchers::Copyright, Matchers::Exact, Matchers::Dice]
7 end
8
9 def attribution
10 matches = /^#{Matchers::Copyright::REGEX}$/i.match(content)
11 matches[0].strip if matches
12 end
13
14 def self.name_score(filename)
15 return 1.0 if filename =~ /\A(un)?licen[sc]e\z/i
16 return 0.9 if filename =~ /\A(un)?licen[sc]e\.(md|markdown|txt)\z/i
17 return 0.8 if filename =~ /\Acopy(ing|right)(\.[^.]+)?\z/i
18 return 0.7 if filename =~ /\A(un)?licen[sc]e\.[^.]+\z/i
19 return 0.5 if filename =~ /licen[sc]e/i
20 0.0
21 end
22 end
23 end
24 end
0 module Licensee
1 class Project
2 class PackageInfo < Licensee::Project::File
3 def possible_matchers
4 case ::File.extname(filename)
5 when '.gemspec'
6 [Matchers::Gemspec]
7 when '.json'
8 [Matchers::NpmBower]
9 else
10 []
11 end
12 end
13
14 def self.name_score(filename)
15 return 1.0 if ::File.extname(filename) == '.gemspec'
16 return 1.0 if filename == 'package.json'
17 return 0.75 if filename == 'bower.json'
18 0.0
19 end
20 end
21 end
22 end
0 module Licensee
1 class Project
2 class Readme < LicenseFile
3 SCORES = {
4 /\AREADME\z/i => 1.0,
5 /\AREADME\.(md|markdown|txt)\z/i => 0.9
6 }.freeze
7
8 CONTENT_REGEX = /^#+ Licen[sc]e$(.*?)(?=#+|\z)/im
9
10 def self.name_score(filename)
11 SCORES.each do |pattern, score|
12 return score if pattern =~ filename
13 end
14 0.0
15 end
16
17 def self.license_content(content)
18 match = CONTENT_REGEX.match(content)
19 match[1].strip if match
20 end
21 end
22 end
23 end
0 # Filesystem-based project
1 #
2 # Analyze a folder on the filesystem for license information
3 module Licensee
4 class FSProject < Project
5 attr_reader :path
6
7 def initialize(path, **args)
8 @path = path
9 super(**args)
10 end
11
12 private
13
14 def find_file
15 files = []
16
17 Dir.foreach(path) do |file|
18 next unless ::File.file?(::File.join(path, file))
19 if (score = yield file) > 0
20 files.push(name: file, score: score)
21 end
22 end
23
24 return if files.empty?
25 files.sort! { |a, b| b[:score] <=> a[:score] }
26
27 f = files.first
28 [::File.read(::File.join(path, f[:name])), f[:name]]
29 end
30 end
31 end
0 # Git-based project
1 #
2 # analyze a given git repository for license information
3 module Licensee
4 class GitProject < Licensee::Project
5 attr_reader :repository, :revision
6
7 class InvalidRepository < ArgumentError; end
8
9 def initialize(repo, revision: nil, **args)
10 @repository = if repo.is_a? Rugged::Repository
11 repo
12 else
13 Rugged::Repository.new(repo)
14 end
15
16 @revision = revision
17 super(**args)
18 rescue Rugged::RepositoryError
19 raise InvalidRepository
20 end
21
22 private
23
24 def commit
25 @commit ||= if revision
26 repository.lookup(revision)
27 else
28 repository.last_commit
29 end
30 end
31
32 MAX_LICENSE_SIZE = 64 * 1024
33
34 def load_blob_data(oid)
35 data, = Rugged::Blob.to_buffer(repository, oid, MAX_LICENSE_SIZE)
36 data
37 end
38
39 def find_file
40 files = commit.tree.map do |entry|
41 next unless entry[:type] == :blob
42 if (score = yield entry[:name]) > 0
43 { name: entry[:name], oid: entry[:oid], score: score }
44 end
45 end.compact
46
47 return if files.empty?
48 files.sort! { |a, b| b[:score] <=> a[:score] }
49
50 f = files.first
51 [load_blob_data(f[:oid]), f[:name]]
52 end
53 end
54 end
0 module Licensee
1 VERSION = '8.0.0'.freeze
2 end
0 require_relative 'licensee/version'
1 require_relative 'licensee/content_helper'
2 require_relative 'licensee/license'
3
4 # Projects
5 require_relative 'licensee/project'
6 require_relative 'licensee/projects/git_project'
7 require_relative 'licensee/projects/fs_project'
8
9 # Project files
10 require_relative 'licensee/project_file'
11 require_relative 'licensee/project_files/license_file'
12 require_relative 'licensee/project_files/package_info'
13 require_relative 'licensee/project_files/readme'
14
15 # Matchers
16 require_relative 'licensee/matchers/exact_matcher'
17 require_relative 'licensee/matchers/copyright_matcher'
18 require_relative 'licensee/matchers/dice_matcher'
19 require_relative 'licensee/matchers/package_matcher'
20 require_relative 'licensee/matchers/gemspec_matcher'
21 require_relative 'licensee/matchers/npm_bower_matcher'
22
23 module Licensee
24 # Over which percent is a match considered a match by default
25 CONFIDENCE_THRESHOLD = 90
26
27 # Base domain from which to build license URLs
28 DOMAIN = 'http://choosealicense.com'.freeze
29
30 class << self
31 attr_writer :confidence_threshold
32
33 # Returns an array of Licensee::License instances
34 def licenses(options = {})
35 Licensee::License.all(options)
36 end
37
38 # Returns the license for a given path
39 def license(path)
40 Licensee.project(path).license
41 end
42
43 def project(path)
44 Licensee::GitProject.new(path)
45 rescue Licensee::GitProject::InvalidRepository
46 Licensee::FSProject.new(path)
47 end
48
49 def confidence_threshold
50 @confidence_threshold ||= CONFIDENCE_THRESHOLD
51 end
52 end
53 end
0 #########################################################
1 # This file has been automatically generated by gem2tgz #
2 #########################################################
3 # -*- encoding: utf-8 -*-
4 # stub: licensee 8.0.0 ruby lib
5
6 Gem::Specification.new do |s|
7 s.name = "licensee"
8 s.version = "8.0.0"
9
10 s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11 s.require_paths = ["lib"]
12 s.authors = ["Ben Balter"]
13 s.date = "2016-03-10"
14 s.description = " Licensee automates the process of reading LICENSE files and\n compares their contents to known licenses using a fancy maths.\n"
15 s.email = "ben.balter@github.com"
16 s.executables = ["licensee"]
17 s.files = ["LICENSE.md", "README.md", "Rakefile", "bin/licensee", "lib/licensee.rb", "lib/licensee/content_helper.rb", "lib/licensee/license.rb", "lib/licensee/matchers/copyright_matcher.rb", "lib/licensee/matchers/dice_matcher.rb", "lib/licensee/matchers/exact_matcher.rb", "lib/licensee/matchers/gemspec_matcher.rb", "lib/licensee/matchers/npm_bower_matcher.rb", "lib/licensee/matchers/package_matcher.rb", "lib/licensee/project.rb", "lib/licensee/project_file.rb", "lib/licensee/project_files/license_file.rb", "lib/licensee/project_files/package_info.rb", "lib/licensee/project_files/readme.rb", "lib/licensee/projects/fs_project.rb", "lib/licensee/projects/git_project.rb", "lib/licensee/version.rb", "test/fixtures/bower-with-readme/README.md", "test/fixtures/bower-with-readme/bower.json", "test/fixtures/bower/bower.json", "test/fixtures/case-sensitive.git/HEAD", "test/fixtures/case-sensitive.git/config", "test/fixtures/case-sensitive.git/objects/01/7b4f1eebd1dcb735e950b1d01093e3e2bf85e9", "test/fixtures/case-sensitive.git/objects/2c/b878e0851c5cf53d7455d9018baa6755a38bd7", "test/fixtures/case-sensitive.git/objects/fb/ddf40ba5f30225af7cd9841afe374ca5800cb9", "test/fixtures/case-sensitive.git/refs/heads/master", "test/fixtures/licence.git/HEAD", "test/fixtures/licence.git/config", "test/fixtures/licence.git/objects/66/0c086dc25f9f3b96e7afd9dee8a11b4e614543", "test/fixtures/licence.git/objects/68/804815597f79aa323de3257a8fd7b76449943c", "test/fixtures/licence.git/objects/dd/59aed84c5aa4dff7ceda11a1c045f831194067", "test/fixtures/licence.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391", "test/fixtures/licence.git/refs/heads/master", "test/fixtures/license-folder.git/HEAD", "test/fixtures/license-folder.git/config", "test/fixtures/license-folder.git/objects/32/6d0761f0c54d54327ea9e127e02d9bae14d2c8", "test/fixtures/license-folder.git/objects/93/109217bbe2937fc3a8d8933fddd80ed6292481", "test/fixtures/license-folder.git/objects/c6/6e45436e4f3fda934dc7268bccbc59c37a67b4", "test/fixtures/license-folder.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391", "test/fixtures/license-folder.git/refs/heads/master", "test/fixtures/licenses.git/HEAD", "test/fixtures/licenses.git/config", "test/fixtures/licenses.git/objects/51/a11d50f29a14774ded8f7b90ba9938dce78a92", "test/fixtures/licenses.git/objects/5e/df454e6517673d5e64a33cf284308b9c6b1075", "test/fixtures/licenses.git/objects/e1/b4dc13f4bf683ce8f2943e051c3e91e778d043", "test/fixtures/licenses.git/objects/info/packs", "test/fixtures/licenses.git/objects/pack/pack-4a7088171ae3ca900f010a4be6f1c2c96490c338.idx", "test/fixtures/licenses.git/objects/pack/pack-4a7088171ae3ca900f010a4be6f1c2c96490c338.pack", "test/fixtures/licenses.git/packed-refs", "test/fixtures/licenses.git/refs/heads/master", "test/fixtures/mit-without-title-rewrapped/mit.txt", "test/fixtures/mit-without-title/mit.txt", "test/fixtures/named-license-file-prefix.git/HEAD", "test/fixtures/named-license-file-prefix.git/config", "test/fixtures/named-license-file-prefix.git/objects/64/3983d3f82ecc2a7d8e4227946220ebffd477d2", "test/fixtures/named-license-file-prefix.git/objects/c9/b229e500e529fdbd4f50746ba207e91d0677b6", "test/fixtures/named-license-file-prefix.git/objects/d1/9223f355283b3ce0c51a2c527f685d0f403157", "test/fixtures/named-license-file-prefix.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391", "test/fixtures/named-license-file-prefix.git/refs/heads/master", "test/fixtures/named-license-file-suffix.git/HEAD", "test/fixtures/named-license-file-suffix.git/config", "test/fixtures/named-license-file-suffix.git/objects/36/465372136f81a2089f486298ca77ef41611198", "test/fixtures/named-license-file-suffix.git/objects/4a/2a139e7fbd24eef5c5ef3d22f490e89405f6a3", "test/fixtures/named-license-file-suffix.git/objects/c9/b229e500e529fdbd4f50746ba207e91d0677b6", "test/fixtures/named-license-file-suffix.git/objects/e6/9de29bb2d1d6434b8b29ae775ad8c2e48c5391", "test/fixtures/named-license-file-suffix.git/refs/heads/master", "test/fixtures/no-license.git/HEAD", "test/fixtures/no-license.git/config", "test/fixtures/no-license.git/objects/82/0c999cf27a6f71431646c404274c578f7a2869", "test/fixtures/no-license.git/objects/e1/d9b2a3d41c2ea74a520e66da2b5c63b2f6202f", "test/fixtures/no-license.git/objects/ff/1592f44259635df9feda5e02853964b26f9e4d", "test/fixtures/no-license.git/refs/heads/master", "test/fixtures/npm-non-spdx/package.json", "test/fixtures/npm.git/HEAD", "test/fixtures/npm.git/config", "test/fixtures/npm.git/objects/info/packs", "test/fixtures/npm.git/objects/pack/pack-03c0879445cabcc37f91d97c7955465adef26f4a.idx", "test/fixtures/npm.git/objects/pack/pack-03c0879445cabcc37f91d97c7955465adef26f4a.pack", "test/fixtures/npm.git/packed-refs", "test/fixtures/npm/package.json", "test/functions.rb", "test/helper.rb", "test/test_licensee.rb", "test/test_licensee_bin.rb", "test/test_licensee_copyright_matcher.rb", "test/test_licensee_dice_matcher.rb", "test/test_licensee_exact_matcher.rb", "test/test_licensee_gemspec_matcher.rb", "test/test_licensee_license.rb", "test/test_licensee_license_file.rb", "test/test_licensee_npm_bower_matcher.rb", "test/test_licensee_package_info.rb", "test/test_licensee_project.rb", "test/test_licensee_project_file.rb", "test/test_licensee_readme.rb", "test/test_licensee_vendor.rb", "vendor/choosealicense.com/_licenses/afl-3.0.txt", "vendor/choosealicense.com/_licenses/agpl-3.0.txt", "vendor/choosealicense.com/_licenses/apache-2.0.txt", "vendor/choosealicense.com/_licenses/artistic-2.0.txt", "vendor/choosealicense.com/_licenses/bsd-2-clause.txt", "vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt", "vendor/choosealicense.com/_licenses/bsd-3-clause.txt", "vendor/choosealicense.com/_licenses/cc-by-4.0.txt", "vendor/choosealicense.com/_licenses/cc-by-sa-4.0.txt", "vendor/choosealicense.com/_licenses/cc0-1.0.txt", "vendor/choosealicense.com/_licenses/epl-1.0.txt", "vendor/choosealicense.com/_licenses/eupl-1.1.txt", "vendor/choosealicense.com/_licenses/gpl-2.0.txt", "vendor/choosealicense.com/_licenses/gpl-3.0.txt", "vendor/choosealicense.com/_licenses/isc.txt", "vendor/choosealicense.com/_licenses/lgpl-2.1.txt", "vendor/choosealicense.com/_licenses/lgpl-3.0.txt", "vendor/choosealicense.com/_licenses/lppl-1.3c.txt", "vendor/choosealicense.com/_licenses/mit.txt", "vendor/choosealicense.com/_licenses/mpl-2.0.txt", "vendor/choosealicense.com/_licenses/ms-pl.txt", "vendor/choosealicense.com/_licenses/ms-rl.txt", "vendor/choosealicense.com/_licenses/ofl-1.1.txt", "vendor/choosealicense.com/_licenses/osl-3.0.txt", "vendor/choosealicense.com/_licenses/unlicense.txt", "vendor/choosealicense.com/_licenses/wtfpl.txt"]
18 s.homepage = "https://github.com/benbalter/licensee"
19 s.licenses = ["MIT"]
20 s.rubygems_version = "2.5.1"
21 s.summary = "A Ruby Gem to detect open source project licenses"
22
23 if s.respond_to? :specification_version then
24 s.specification_version = 4
25
26 if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
27 s.add_development_dependency(%q<pry>, ["~> 0.9"])
28 s.add_development_dependency(%q<rake>, ["~> 10.3"])
29 s.add_development_dependency(%q<rubocop>, ["~> 0.35"])
30 s.add_development_dependency(%q<ruby-prof>, ["~> 0.15"])
31 s.add_runtime_dependency(%q<rugged>, [">= 0.24b"])
32 s.add_development_dependency(%q<shoulda>, ["~> 3.5"])
33 else
34 s.add_dependency(%q<pry>, ["~> 0.9"])
35 s.add_dependency(%q<rake>, ["~> 10.3"])
36 s.add_dependency(%q<rubocop>, ["~> 0.35"])
37 s.add_dependency(%q<ruby-prof>, ["~> 0.15"])
38 s.add_dependency(%q<rugged>, [">= 0.24b"])
39 s.add_dependency(%q<shoulda>, ["~> 3.5"])
40 end
41 else
42 s.add_dependency(%q<pry>, ["~> 0.9"])
43 s.add_dependency(%q<rake>, ["~> 10.3"])
44 s.add_dependency(%q<rubocop>, ["~> 0.35"])
45 s.add_dependency(%q<ruby-prof>, ["~> 0.15"])
46 s.add_dependency(%q<rugged>, [">= 0.24b"])
47 s.add_dependency(%q<shoulda>, ["~> 3.5"])
48 end
49 end
0 {
1 "license": "mit"
2 }
0 This readme doesn't have a license, so detected the license from bower.
0 ref: refs/heads/master
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
4 ignorecase = true
5 precomposeunicode = true
0 017b4f1eebd1dcb735e950b1d01093e3e2bf85e9
0 ref: refs/heads/master
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
4 ignorecase = true
5 precomposeunicode = true
0 660c086dc25f9f3b96e7afd9dee8a11b4e614543
0 ref: refs/heads/master
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
4 ignorecase = true
5 precomposeunicode = true
0 xQ
1 Г Dын)ц
2 &»j¡”ÜÄݘFˆÄÜ¿¶½A†ÇÀ›‘œR¬Ðx«%k–n«ŸVqƒY„ÅL‚Î[ǤüU÷\` ',þ¨¡ÀÌáìøËÏW¬ûŝäô€ž£:¸k£µjmûü(ÿØ*ž±FÀoF½ˏ;½
0 326d0761f0c54d54327ea9e127e02d9bae14d2c8
0 ref: refs/heads/master
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
0 xŽK
1 Г0 »ц)tЃd;ЃRJnbKrИЏа,zы¦=BwomЛ2U°oх/\РЈob€ЋЅLОQ±-:ЭжЋB6:zµ§CЦ
2 Y[ʉ;¶
3 ›À>ÈÅ�-Épëba•Î:nô²BŸæ*<²¬Mşí×0ÕñÌ
4 mЋ ЇИV;аЃQkuўлг7щІVЙhџяuZ(”,к$TJ
0 P pack-4a7088171ae3ca900f010a4be6f1c2c96490c338.pack
1
0 # pack-refs with: peeled fully-peeled
1 4eae7505fa5ab2d4d0a8bae6c36c5e5783dc2ac5 refs/heads/markdown
2 b02cbad9d254c41d16d56ed9d6d2cf07c1d837fd refs/heads/master
3 acb5bbe355f4ccac4b32fdefa6f31fe008857de3 refs/heads/text
0 51a11d50f29a14774ded8f7b90ba9938dce78a92
0 Copyright (c) 2015 Ben Balter
1
2 Permission is hereby granted, free of charge, to any person obtaining a copy
3 of this software and associated documentation files (the "Software"), to deal
4 in the Software without restriction, including without limitation the rights
5 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
6 copies of the Software, and to permit persons to whom the Software is
7 furnished to do so, subject to the following conditions:
8
9 The above copyright notice and this permission notice shall be included in all
10 copies or substantial portions of the Software.
11
12 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
13 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
15 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
16 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
17 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
18 SOFTWARE.
0 Copyright (c) 2015 Ben Balter
1
2 Permission is hereby granted, free of charge, to any person obtaining a
3 copy of this software and associated documentation files (the "Software"),
4 to deal in the Software without restriction, including without limitation
5 the rights to use, copy, modify, merge, publish, distribute, sublicense,
6 and/or sell copies of the Software, and to permit persons to whom the
7 Software is furnished to do so, subject to the following conditions:
8
9 The above copyright notice and this permission notice shall be included
10 in all copies or substantial portions of the Software.
11
12 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
13 OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
14 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
15 THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR
16 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
17 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
18 OTHER DEALINGS IN THE SOFTWARE.
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
4 ignorecase = true
5 precomposeunicode = true
0 xQ
1 Г ын)ц
2 »k¶Z¥ä&j´b1÷oÚÞ Ãyj)¹Y}é-FXèά“a«½ƒã lÒÍʂiDMb”;úZÌq‡Ùm=6˜|Üÿåç+÷õðC¨å4² !+
3 ¢:׳ùQþ±UÞsÏnƒßz
4 d:x
0 x]RKã€0ÓYøb»iÃv∑P
1 ½)¶¼u,#+›æ臫8V°ä†ý÷9ɖ F£™ï5jÛÀËó·/ŸT¯aÃä¦Õ£Óð€‡GBb{~ŸÌ±÷ðÐ>—痯Íõ„”z:çŒÁ8èõ¤›w8NõèuÁaÒìÚ¾žŽ:o¡ßá¬'‡¶ñµÍx„Zd Øé{„qöà/õ¤±¹ƒÚ9ۚñ ³í|Ò£¯}à;˜A;xð(yUÝ&V I§ë˜Ñ4ܯàb|og“v~2mÀˆÀŒí0wAÃýz0'scã‹mGPùìÐAÐÁÉvæþz±už›Á¸>‚ÎèföØéBqI1
2 >>Û œ‚u/^ÿª[zB>˜
3 òß"r¡réíé_'ƑÃ<H‰¡`Gg1²…ñ—n}¨å; ö¬µvìLðë¾¢ðªnìo½x¹nu´¥.q/ XD\·z»r}= Ðè[`ȋñbéú›çqñ¦àl§…ï›Oȟ1¨DªvT2à”R¼ñ„%°¢žWì¸ÊÄVvHZ¨=ˆh±‡¼H"`?Kɪ
4 „$|Sæœaq¾Mxñ
5 k�+>`�/A•€@xƒβ ηRΨ0g�LΧ<ηj‘”«"`¦B…’JΕγmN%”[Y��!}‚°/R‰,lΓ
6 õ„¬Xö†¨2šçŠÐ-ª—AÄ¢ÜKþš)ÈDž0,®*£ëœ]©ÐTœS¾‰ ¡úÔIˆ"Ih»ªƒ]ÆB)ðQübÅElÄ¢Pº”êctÇ+•¼
7 ¤Rl"âÄ DGœ+Ø%D½ô±l mÑô] $Œæˆ…ë)‹÷æ'ò‰¡W
0 643983d3f82ecc2a7d8e4227946220ebffd477d2
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
4 ignorecase = true
5 precomposeunicode = true
0 xùç[
1 Г Dын*ојѕЎ”мDE!*ИНюkЫфg8 њ™Шk-идЌFJ Ќ2ZZЃТd‡^p·fеЊX]фЦ¦¬Р вк�їиицФ`ч'Ґ[Hm _~ѕ
2 WXb¯@%4·3
3 ܹæœÍv~~”lVZ¡âOøÍ°7¢19Ú
0 x]RKã€0ÓYøb»iÃv∑P
1 ½)¶¼u,#+›æ臫8V°ä†ý÷9ɖ F£™ï5jÛÀËó·/ŸT¯aÃä¦Õ£Óð€‡GBb{~ŸÌ±÷ðÐ>—痯Íõ„”z:çŒÁ8èõ¤›w8NõèuÁaÒìÚ¾žŽ:o¡ßá¬'‡¶ñµÍx„Zd Øé{„qöà/õ¤±¹ƒÚ9ۚñ ³í|Ò£¯}à;˜A;xð(yUÝ&V I§ë˜Ñ4ܯàb|og“v~2mÀˆÀŒí0wAÃýz0'scã‹mGPùìÐAÐÁÉvæþz±už›Á¸>‚ÎèföØéBqI1
2 >>Û œ‚u/^ÿª[zB>˜
3 òß"r¡réíé_'ƑÃ<H‰¡`Gg1²…ñ—n}¨å; ö¬µvìLðë¾¢ðªnìo½x¹nu´¥.q/ XD\·z»r}= Ðè[`ȋñbéú›çqñ¦àl§…ï›Oȟ1¨DªvT2à”R¼ñ„%°¢žWì¸ÊÄVvHZ¨=ˆh±‡¼H"`?Kɪ
4 „$|Sæœaq¾Mxñ
5 k�+>`�/A•€@xƒβ ηRΨ0g�LΧ<ηj‘”«"`¦B…’JΕγmN%”[Y��!}‚°/R‰,lΓ
6 õ„¬Xö†¨2šçŠÐ-ª—AÄ¢ÜKþš)ÈDž0,®*£ëœ]©ÐTœS¾‰ ¡úÔIˆ"Ih»ªƒ]ÆB)ðQübÅElÄ¢Pº”êctÇ+•¼
7 ¤Rl"âÄ DGœ+Ø%D½ô±l mÑô] $Œæˆ…ë)‹÷æ'ò‰¡W
0 4a2a139e7fbd24eef5c5ef3d22f490e89405f6a3
0 ref: refs/heads/master
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
4 ignorecase = true
5 precomposeunicode = true
0 e1d9b2a3d41c2ea74a520e66da2b5c63b2f6202f
0 {
1 "license": "mit"
2 }
0 {
1 "license": "mit-1.0"
2 }
0 ref: refs/heads/master
0 [core]
1 repositoryformatversion = 0
2 filemode = true
3 bare = true
0 P pack-03c0879445cabcc37f91d97c7955465adef26f4a.pack
1
0 # pack-refs with: peeled fully-peeled
1 0a3da38fcc340e45990520699bc3ec5570e60c11 refs/heads/master
0 # Pulled from helper.rb because something in the test suite monkey patches benchmarking
1
2 require 'securerandom'
3 require_relative '../lib/licensee'
4
5 def fixtures_base
6 File.expand_path 'fixtures', File.dirname(__FILE__)
7 end
8
9 def fixture_path(fixture)
10 File.expand_path fixture, fixtures_base
11 end
12
13 def license_from_path(path)
14 license = File.open(path).read.match(/\A(---\n.*\n---\n+)?(.*)/m).to_a[2]
15 license.sub! '[fullname]', 'Ben Balter'
16 license.sub! '[year]', '2014'
17 license.sub! '[email]', 'ben@github.invalid'
18 license
19 end
20
21 def chaos_monkey(string)
22 Random.rand(3).times do
23 string[Random.rand(string.length)] = SecureRandom.base64(Random.rand(3))
24 end
25 string
26 end
27
28 def verify_license_file(license, chaos = false, wrap = false)
29 expected = File.basename(license, '.txt')
30
31 text = license_from_path(license)
32 text = chaos_monkey(text) if chaos
33 text = wrap(text, wrap) if wrap
34
35 license_file = Licensee::Project::LicenseFile.new(text)
36
37 actual = license_file.license
38 msg = "No match for #{expected}."
39
40 assert actual, msg
41
42 msg = "Expeceted #{expected} but got #{actual.key} for .match. "
43 msg << "Confidence: #{license_file.confidence}. "
44 msg << "Method: #{license_file.matcher.class}"
45 assert_equal expected, actual.key, msg
46 end
47
48 def wrap(text, line_width = 80)
49 text = text.clone
50 copyright = /^#{Licensee::Matchers::Copyright::REGEX}$/i.match(text)
51 if copyright
52 text.gsub!(/^#{Licensee::Matchers::Copyright::REGEX}$/i, '[COPYRIGHT]')
53 end
54 text.gsub!(/([^\n])\n([^\n])/, '\1 \2')
55
56 text = text.split("\n").collect do |line|
57 if line.length > line_width
58 line.gsub(/(.{1,#{line_width}})(\s+|$)/, "\\1\n").strip
59 else
60 line
61 end
62 end * "\n"
63 text.gsub! '[COPYRIGHT]', "\n#{copyright}\n" if copyright
64 text.strip
65 end
0 require 'rubygems'
1 require 'bundler'
2 require 'minitest/autorun'
3 require 'shoulda'
4 require 'open3'
5 require_relative 'functions'
6 require_relative '../lib/licensee'
7
8 def assert_license_content(expected, readme)
9 content = Licensee::Project::Readme.license_content(readme)
10 assert_equal expected, content
11 end
0 require 'helper'
1
2 class TestLicensee < Minitest::Test
3 should 'know the licenses' do
4 assert_equal Array, Licensee.licenses.class
5 assert_equal 15, Licensee.licenses.size
6 assert_equal 28, Licensee.licenses(hidden: true).size
7 assert_equal Licensee::License, Licensee.licenses.first.class
8 end
9
10 should "detect a project's license" do
11 assert_equal 'mit', Licensee.license(fixture_path('licenses.git')).key
12 end
13
14 should 'init a project' do
15 project = Licensee.project(fixture_path('licenses.git'))
16 assert_equal Licensee::GitProject, project.class
17 end
18
19 context 'confidence threshold' do
20 should 'return the confidence threshold' do
21 assert_equal 90, Licensee.confidence_threshold
22 end
23
24 should 'let the user override the confidence threshold' do
25 Licensee.confidence_threshold = 50
26 assert_equal 50, Licensee.confidence_threshold
27 Licensee.confidence_threshold = 90
28 end
29 end
30 end
0 require 'helper'
1
2 class TestLicenseeBin < Minitest::Test
3 should 'work via commandline' do
4 root = File.expand_path '..', File.dirname(__FILE__)
5 Dir.chdir root
6 stdout, stderr, status = Open3.capture3("#{root}/bin/licensee")
7
8 msg = "expected #{stdout} to include `License: MIT`"
9 assert stdout.include?('License: MIT'), msg
10
11 msg = "expected #{stdout} to include `Matched file: LICENSE.md`"
12 assert stdout.include?('License file: LICENSE.md'), msg
13
14 assert_equal 0, status
15 assert stderr.empty?
16 end
17 end
0 # encoding=utf-8
1 require 'helper'
2
3 class TestLicenseeCopyrightMatchers < Minitest::Test
4 should 'match the license' do
5 text = 'Copyright 2015 Ben Balter'
6 file = Licensee::Project::LicenseFile.new(text)
7 assert_equal 'no-license', Licensee::Matchers::Copyright.new(file).match.key
8 end
9
10 should 'know the match confidence' do
11 text = 'Copyright 2015 Ben Balter'
12 file = Licensee::Project::LicenseFile.new(text)
13 assert_equal 100, Licensee::Matchers::Copyright.new(file).confidence
14 end
15
16 should 'match Copyright (C) copyright notices' do
17 text = 'Copyright (C) 2015 Ben Balter'
18 file = Licensee::Project::LicenseFile.new(text)
19 assert_equal 'no-license', Licensee::Matchers::Copyright.new(file).match.key
20 end
21
22 should 'match Copyright © copyright notices' do
23 text = 'copyright © 2015 Ben Balter'
24 file = Licensee::Project::LicenseFile.new(text)
25 assert_equal 'no-license', Licensee::Matchers::Copyright.new(file).match.key
26 end
27
28 should 'not false positive' do
29 text = File.open(Licensee::License.find('mit').path).read.split('---').last
30 file = Licensee::Project::LicenseFile.new(text)
31 assert_equal nil, Licensee::Matchers::Copyright.new(file).match
32 end
33
34 should 'handle UTF-8 encoded copyright notices' do
35 text = 'Copyright (c) 2010-2014 Simon Hürlimann'
36 file = Licensee::Project::LicenseFile.new(text)
37 assert_equal 'no-license', Licensee::Matchers::Copyright.new(file).match.key
38 end
39
40 should 'handle ASCII-8BIT encoded copyright notices' do
41 text = "Copyright \xC2\xA92015 Ben Balter`".force_encoding('ASCII-8BIT')
42 file = Licensee::Project::LicenseFile.new(text)
43 assert_equal 'no-license', Licensee::Matchers::Copyright.new(file).match.key
44 end
45
46 should 'match comma, separated dates' do
47 text = 'Copyright (c) 2003, 2004 Ben Balter'
48 file = Licensee::Project::LicenseFile.new(text)
49 assert_equal 'no-license', Licensee::Matchers::Copyright.new(file).match.key
50 end
51 end
0 require 'helper'
1
2 class TestLicenseeDiceMatchers < Minitest::Test
3 def setup
4 text = license_from_path(Licensee::License.find('mit').path)
5 @mit = Licensee::Project::LicenseFile.new(text)
6 end
7
8 should 'match the license' do
9 assert_equal 'mit', Licensee::Matchers::Dice.new(@mit).match.key
10 end
11
12 should 'know the match confidence' do
13 matcher = Licensee::Matchers::Dice.new(@mit)
14 assert matcher.confidence > 95, "#{matcher.confidence} < 95"
15 end
16
17 should 'calculate max delta' do
18 assert_equal 83.7, Licensee::Matchers::Dice.new(@mit).max_delta
19 end
20 end
0 require 'helper'
1
2 class TestLicenseeExactMatchers < Minitest::Test
3 def setup
4 text = File.open(Licensee::License.find('mit').path).read.split('---').last
5 @mit = Licensee::Project::LicenseFile.new(text)
6 end
7
8 should 'match the license' do
9 assert_equal 'mit', Licensee::Matchers::Exact.new(@mit).match.key
10 end
11
12 should 'know the match confidence' do
13 assert_equal 100, Licensee::Matchers::Exact.new(@mit).confidence
14 end
15 end
0 require 'helper'
1
2 class TestLicenseeGemspecMatchers < Minitest::Test
3 should 'detect its own license' do
4 root = File.expand_path '../', File.dirname(__FILE__)
5 project = Licensee::GitProject.new(root, detect_packages: true)
6 matcher = Licensee::Matchers::Gemspec.new(project.package_file)
7 assert_equal 'mit', matcher.send(:license_property)
8 assert_equal 'mit', matcher.match.key
9 end
10 end
0 require 'helper'
1
2 class TestLicenseeLicense < Minitest::Test
3 def setup
4 @license = Licensee::License.new 'MIT'
5 end
6
7 should 'read the license body' do
8 assert @license.body
9 msg = "Expected the following to contain MIT:\n#{@license.body}"
10 assert @license.text =~ /MIT/, msg
11 end
12
13 should 'read the license body if it contains `---`' do
14 license = Licensee::License.new 'MIT'
15 content = "---\nfoo: bar\n---\nSome license\n---------\nsome text\n"
16 license.instance_variable_set(:@raw_content, content)
17 assert_equal "Some license\n---------\nsome text\n", license.body
18 end
19
20 should 'read the license meta' do
21 assert_equal 'MIT License', @license.meta['title']
22 end
23
24 should 'know the license path' do
25 path = File.expand_path('./vendor/choosealicense.com/_licenses/mit.txt')
26 assert_equal path, @license.path
27 end
28
29 should 'know the license name' do
30 assert_equal 'MIT License', @license.name
31 end
32
33 should 'know the license nickname' do
34 expected = 'GNU AGPLv3'
35 assert_equal expected, Licensee::License.find('agpl-3.0').nickname
36 end
37
38 should 'know the license ID' do
39 assert_equal 'mit', @license.key
40 end
41
42 should 'know the other license' do
43 assert_equal 'other', Licensee::License.find_by_key('other').key
44 end
45
46 should 'know license equality' do
47 assert @license == Licensee::License.new('MIT')
48 refute @license == Licensee::License.new('ISC')
49 refute @license.nil?
50 end
51
52 should 'know if the license is featured' do
53 assert @license.featured?
54 assert_equal TrueClass, @license.featured?.class
55 refute Licensee::License.new('cc0-1.0').featured?
56 assert_equal FalseClass, Licensee::License.new('cc0-1.0').featured?.class
57 end
58
59 should 'inject default meta without overriding' do
60 license = Licensee::License.new('cc0-1.0')
61
62 assert license.meta.key? 'featured'
63 assert_equal false, license.meta['featured']
64
65 assert license.meta.key? 'hidden'
66 assert_equal false, license.meta['hidden']
67
68 assert license.meta.key? 'variant'
69 assert_equal true, license.meta['variant']
70 end
71
72 should 'know when the license is hidden' do
73 refute @license.hidden?
74 assert Licensee::License.new('ofl-1.1').hidden?
75 assert Licensee::License.new('no-license').hidden?
76 end
77
78 should 'parse the license parts' do
79 assert_equal 3, @license.send(:parts).size
80 end
81
82 should 'build the license URL' do
83 assert_equal 'http://choosealicense.com/licenses/mit/', @license.url
84 end
85
86 should 'return all licenses' do
87 assert_equal Array, Licensee::License.all.class
88 assert Licensee::License.all.size > 3
89 end
90
91 should 'strip leading newlines from the license' do
92 assert_equal 'T', @license.body[0]
93 end
94
95 should 'fail loudly for invalid licenses' do
96 assert_raises(Licensee::InvalidLicense) do
97 Licensee::License.new('foo').name
98 end
99 end
100
101 should "support 'other' licenses" do
102 license = Licensee::License.new('other')
103 assert_equal nil, license.content
104 assert_equal 'Other', license.name
105 refute license.featured?
106 end
107
108 should 'know the license hash' do
109 assert_equal 'fb278496ea4663dfcf41ed672eb7e56eb70de798', @license.hash
110 end
111
112 describe 'name without version' do
113 should 'strip the version from the license name' do
114 expected = 'GNU Affero General Public License'
115 name = Licensee::License.find('agpl-3.0').name_without_version
116 assert_equal expected, name
117
118 expected = 'GNU General Public License'
119 name = Licensee::License.find('gpl-2.0').name_without_version
120 assert_equal expected, name
121
122 name = Licensee::License.find('gpl-3.0').name_without_version
123 assert_equal expected, name
124 end
125
126 Licensee.licenses.each do |license|
127 should "strip the version number from the #{license.name} license" do
128 assert license.name_without_version
129 end
130 end
131 end
132
133 describe 'class methods' do
134 should 'know license names' do
135 assert_equal Array, Licensee::License.keys.class
136 assert_equal 28, Licensee::License.keys.size
137 end
138
139 should 'load the licenses' do
140 assert_equal Array, Licensee::License.all.class
141 assert_equal 15, Licensee::License.all.size
142 assert_equal Licensee::License, Licensee::License.all.first.class
143 end
144
145 should 'find a license' do
146 assert_equal 'mit', Licensee::License.find('mit').key
147 assert_equal 'mit', Licensee::License.find('MIT').key
148 assert_equal 'mit', Licensee::License['mit'].key
149 end
150
151 should 'filter the licenses' do
152 assert_equal 28, Licensee::License.all(hidden: true).size
153 assert_equal 3, Licensee::License.all(featured: true).size
154 assert_equal 12, Licensee::License.all(featured: false).size
155
156 licenses = Licensee::License.all(featured: false, hidden: true)
157 assert_equal 25, licenses.size
158
159 licenses = Licensee::License.all(featured: false, hidden: false)
160 assert_equal 12, licenses.size
161 end
162 end
163 end
0 require 'helper'
1
2 class TestLicenseeLicenseFile < Minitest::Test
3 def setup
4 @repo = Rugged::Repository.new(fixture_path('licenses.git'))
5 ref = 'bcb552d06d9cf1cd4c048a6d3bf716849c2216cc'
6 blob, = Rugged::Blob.to_buffer(@repo, ref)
7 @file = Licensee::Project::LicenseFile.new(blob)
8 end
9
10 context 'content' do
11 should 'parse the attribution' do
12 assert_equal 'Copyright (c) 2014 Ben Balter', @file.attribution
13 end
14
15 should 'not choke on non-UTF-8 licenses' do
16 text = "\x91License\x93".force_encoding('windows-1251')
17 file = Licensee::Project::LicenseFile.new(text)
18 assert_equal nil, file.attribution
19 end
20
21 should 'create the wordset' do
22 assert_equal 93, @file.wordset.count
23 assert_equal 'the', @file.wordset.first
24 end
25
26 should 'create the hash' do
27 assert_equal 'fb278496ea4663dfcf41ed672eb7e56eb70de798', @file.hash
28 end
29 end
30
31 context 'license filename scoring' do
32 EXPECTATIONS = {
33 'license' => 1.0,
34 'LICENCE' => 1.0,
35 'unLICENSE' => 1.0,
36 'unlicence' => 1.0,
37 'license.md' => 0.9,
38 'LICENSE.md' => 0.9,
39 'license.txt' => 0.9,
40 'COPYING' => 0.8,
41 'copyRIGHT' => 0.8,
42 'COPYRIGHT.txt' => 0.8,
43 'LICENSE.php' => 0.7,
44 'LICENSE-MIT' => 0.5,
45 'MIT-LICENSE.txt' => 0.5,
46 'mit-license-foo.md' => 0.5,
47 'README.txt' => 0.0
48 }.freeze
49
50 EXPECTATIONS.each do |filename, expected|
51 should "score a license named `#{filename}` as `#{expected}`" do
52 score = Licensee::Project::LicenseFile.name_score(filename)
53 assert_equal expected, score
54 end
55 end
56 end
57 end
0 require 'helper'
1
2 class TestLicenseeNpmBowerMatchers < Minitest::Test
3 should 'detect NPM files' do
4 pkg = File.read fixture_path('npm/package.json')
5 pkgfile = Licensee::Project::PackageInfo.new(pkg)
6 matcher = Licensee::Matchers::NpmBower.new(pkgfile)
7 assert_equal 'mit', matcher.send(:license_property)
8 assert_equal 'mit', matcher.match.key
9 end
10
11 should 'detect Bower files' do
12 pkg = File.read fixture_path('bower/bower.json')
13 pkgfile = Licensee::Project::PackageInfo.new(pkg)
14 matcher = Licensee::Matchers::NpmBower.new(pkgfile)
15 assert_equal 'mit', matcher.send(:license_property)
16 assert_equal 'mit', matcher.match.key
17 end
18
19 should 'not err on non-spdx licenses' do
20 pkg = File.read fixture_path('npm-non-spdx/package.json')
21 pkgfile = Licensee::Project::PackageInfo.new(pkg)
22 matcher = Licensee::Matchers::NpmBower.new(pkgfile)
23 assert_equal 'mit-1.0', matcher.send(:license_property)
24 assert_equal nil, matcher.match
25 end
26 end
0 require 'helper'
1
2 class TestLicenseePackageInfo < Minitest::Test
3 context 'license filename scoring' do
4 EXPECTATIONS = {
5 'licensee.gemspec' => 1.0,
6 'package.json' => 1.0,
7 'bower.json' => 0.75,
8 'README.md' => 0.0
9 }.freeze
10
11 EXPECTATIONS.each do |filename, expected|
12 should "score a license named `#{filename}` as `#{expected}`" do
13 score = Licensee::Project::PackageInfo.name_score(filename)
14 assert_equal expected, score
15 end
16 end
17 end
18 end
0 require 'helper'
1 require 'fileutils'
2
3 class TestLicenseeProject < Minitest::Test
4 %w(git filesystem).each do |project_type|
5 describe("#{project_type} repository project") do
6 if project_type == 'git'
7 def make_project(fixture_name)
8 fixture = fixture_path fixture_name
9 Licensee::GitProject.new(fixture)
10 end
11 else
12 def make_project(fixture_name)
13 dest = File.join('tmp', 'fixtures', fixture_name)
14 FileUtils.mkdir_p File.dirname(dest)
15 system 'git', 'clone', '-q', fixture_path(fixture_name), dest
16 FileUtils.rm_r File.join(dest, '.git')
17
18 Licensee::FSProject.new(dest)
19 end
20
21 def teardown
22 FileUtils.rm_rf 'tmp/fixtures'
23 end
24 end
25
26 should 'detect the license file' do
27 project = make_project 'licenses.git'
28 assert_instance_of Licensee::Project::LicenseFile, project.license_file
29 end
30
31 should 'detect the license' do
32 project = make_project 'licenses.git'
33 assert_equal 'mit', project.license.key
34 end
35
36 should 'detect an atypically cased license file' do
37 project = make_project 'case-sensitive.git'
38 assert_instance_of Licensee::Project::LicenseFile, project.license_file
39 end
40
41 should 'detect MIT-LICENSE licensed projects' do
42 project = make_project 'named-license-file-prefix.git'
43 assert_equal 'mit', project.license.key
44 end
45
46 should 'detect LICENSE-MIT licensed projects' do
47 project = make_project 'named-license-file-suffix.git'
48 assert_equal 'mit', project.license.key
49 end
50
51 should 'not error out on repos with folders names license' do
52 project = make_project 'license-folder.git'
53 assert_equal nil, project.license
54 end
55
56 should 'detect licence files' do
57 project = make_project 'licence.git'
58 assert_equal 'mit', project.license.key
59 end
60
61 should 'detect an unlicensed project' do
62 project = make_project 'no-license.git'
63 assert_equal nil, project.license
64 end
65 end
66 end
67
68 describe 'mit license with title removed' do
69 should 'detect the MIT license' do
70 verify_license_file fixture_path('mit-without-title/mit.txt')
71 end
72
73 should 'should detect the MIT license when rewrapped' do
74 verify_license_file fixture_path('mit-without-title-rewrapped/mit.txt')
75 end
76 end
77
78 describe 'packages' do
79 should 'detect a package file' do
80 path = fixture_path('npm.git')
81 options = { detect_packages: true }
82 project = Licensee::GitProject.new(path, options)
83 assert_equal 'package.json', project.package_file.filename
84 assert_equal 'mit', project.license.key
85 end
86
87 should 'skip readme if no license content' do
88 path = fixture_path('bower-with-readme')
89 options = { detect_packages: true, detect_readme: true }
90 project = Licensee::FSProject.new(path, options)
91 assert_equal 'mit', project.license.key
92 end
93 end
94 end
0 require 'helper'
1
2 class TestLicenseeProjectFile < Minitest::Test
3 def setup
4 @repo = Rugged::Repository.new(fixture_path('licenses.git'))
5 ref = 'bcb552d06d9cf1cd4c048a6d3bf716849c2216cc'
6 blob, = Rugged::Blob.to_buffer(@repo, ref)
7 @file = Licensee::Project::LicenseFile.new(blob)
8 @gpl = Licensee::License.find 'GPL-3.0'
9 @mit = Licensee::License.find 'MIT'
10 end
11
12 should 'read the file' do
13 assert @file.content =~ /MIT/
14 end
15
16 should 'match the license' do
17 assert_equal 'mit', @file.license.key
18 end
19
20 should 'calculate confidence' do
21 assert_equal 100, @file.confidence
22 end
23 end
0 require 'helper'
1
2 class TestLicenseeReadme < Minitest::Test
3 context 'readme filename scoring' do
4 EXPECTATIONS = {
5 'readme' => 1.0,
6 'README' => 1.0,
7 'readme.md' => 0.9,
8 'README.md' => 0.9,
9 'readme.txt' => 0.9,
10 'LICENSE' => 0.0
11 }.freeze
12
13 EXPECTATIONS.each do |filename, expected|
14 should "score a readme named `#{filename}` as `#{expected}`" do
15 assert_equal expected, Licensee::Project::Readme.name_score(filename)
16 end
17 end
18 end
19
20 context 'readme content' do
21 should 'be blank if not license text' do
22 assert_license_content nil, 'There is no License in this README'
23 end
24
25 should 'get content after h1' do
26 assert_license_content 'hello world', "# License\n\nhello world"
27 end
28
29 should 'get content after h2' do
30 assert_license_content 'hello world', "## License\n\nhello world"
31 end
32
33 should 'be case-insensitive' do
34 assert_license_content 'hello world', "## LICENSE\n\nhello world"
35 end
36
37 should 'be british' do
38 assert_license_content 'hello world', "## Licence\n\nhello world"
39 end
40
41 should 'not include trailing content' do
42 readme = "## License\n\nhello world\n\n# Contributing"
43 assert_license_content 'hello world', readme
44 end
45 end
46 end
0 require 'helper'
1
2 class TestLicenseeVendor < Minitest::Test
3 SKIP = %(wtfpl no-license).freeze
4
5 Licensee::License.send(:license_files).shuffle.each do |license|
6 should "detect the #{license} license" do
7 verify_license_file(license)
8 end
9
10 context 'when modified' do
11 should "detect the #{license} license" do
12 unless SKIP.include?(File.basename(license, '.txt'))
13 verify_license_file(license, true)
14 end
15 end
16 end
17
18 context 'different line lengths' do
19 should "detect the #{license} license" do
20 verify_license_file(license, false, 50)
21 end
22
23 context 'when modified' do
24 should "detect the #{license} license" do
25 unless SKIP.include?(File.basename(license, '.txt'))
26 verify_license_file(license, true, 50)
27 end
28 end
29 end
30 end
31 end
32 end
0 ---
1 title: Academic Free License v3.0
2 source: http://opensource.org/licenses/afl-3.0
3
4 description: The Academic Free License is a variant of the Open Source License that does not require that the source code of derivative works be disclosed. It contains explicit copyright and patent grants and reserves trademark rights in the author.
5
6 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. Files licensed under OSL 3.0 must also include the notice "Licensed under the Academic Free License version 3.0" adjacent to the copyright notice.
7
8 conditions:
9 - include-copyright
10
11 permissions:
12 - commercial-use
13 - modifications
14 - distribution
15 - private-use
16 - patent-use
17
18 limitations:
19 - trademark-use
20 - no-liability
21
22 ---
23 Academic Free License (“AFL”) v. 3.0
24
25 This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following licensing notice adjacent to the copyright notice for the Original Work:
26
27 Licensed under the Academic Free License version 3.0
28
29 1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, for the duration of the copyright, to do the following:
30
31 a) to reproduce the Original Work in copies, either alone or as part of a collective work;
32 b) to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work;
33 c) to distribute or communicate copies of the Original Work and Derivative Works to the public, under any license of your choice that does not contradict the terms and conditions, including Licensor’s reserved rights and remedies, in this Academic Free License;
34 d) to perform the Original Work publicly; and
35 e) to display the Original Work publicly.
36
37 2) Grant of Patent License. Licensor grants You a worldwide, royalty-free, non-exclusive, sublicensable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, for the duration of the patents, to make, use, sell, offer for sale, have made, and import the Original Work and Derivative Works.
38
39 3) Grant of Source Code License. The term "Source Code" means the preferred form of the Original Work for making modifications to it and all available documentation describing how to modify the Original Work. Licensor agrees to provide a machine-readable copy of the Source Code of the Original Work along with each copy of the Original Work that Licensor distributes. Licensor reserves the right to satisfy this obligation by placing a machine-readable copy of the Source Code in an information repository reasonably calculated to permit inexpensive and convenient access by You for as long as Licensor continues to distribute the Original Work.
40
41 4) Exclusions From License Grant. Neither the names of Licensor, nor the names of any contributors to the Original Work, nor any of their trademarks or service marks, may be used to endorse or promote products derived from this Original Work without express prior permission of the Licensor. Except as expressly stated herein, nothing in this License grants any license to Licensor’s trademarks, copyrights, patents, trade secrets or any other intellectual property. No patent license is granted to make, use, sell, offer for sale, have made, or import embodiments of any patent claims other than the licensed claims defined in Section 2. No license is granted to the trademarks of Licensor even if such marks are included in the Original Work. Nothing in this License shall be interpreted to prohibit Licensor from licensing under terms different from this License any Original Work that Licensor otherwise would have a right to license.
42
43 5) External Deployment. The term "External Deployment" means the use, distribution, or communication of the Original Work or Derivative Works in any way such that the Original Work or Derivative Works may be used by anyone other than You, whether those works are distributed or communicated to those persons or made available as an application intended for use over a network. As an express condition for the grants of license hereunder, You must treat any External Deployment by You of the Original Work or a Derivative Work as a distribution under section 1(c).
44
45 6) Attribution Rights. You must retain, in the Source Code of any Derivative Works that You create, all copyright, patent, or trademark notices from the Source Code of the Original Work, as well as any notices of licensing and any descriptive text identified therein as an "Attribution Notice." You must cause the Source Code for any Derivative Works that You create to carry a prominent Attribution Notice reasonably calculated to inform recipients that You have modified the Original Work.
46
47 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that the copyright in and to the Original Work and the patent rights granted herein by Licensor are owned by the Licensor or are sublicensed to You under the terms of this License with the permission of the contributor(s) of those copyrights and patent rights. Except as expressly stated in the immediately preceding sentence, the Original Work is provided under this License on an "AS IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without limitation, the warranties of non-infringement, merchantability or fitness for a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this License. No license to the Original Work is granted by this License except under this disclaimer.
48
49 8) Limitation of Liability. Under no circumstances and under no legal theory, whether in tort (including negligence), contract, or otherwise, shall the Licensor be liable to anyone for any indirect, special, incidental, or consequential damages of any character arising as a result of this License or the use of the Original Work including, without limitation, damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses. This limitation of liability shall not apply to the extent applicable law prohibits such limitation.
50
51 9) Acceptance and Termination. If, at any time, You expressly assented to this License, that assent indicates your clear and irrevocable acceptance of this License and all of its terms and conditions. If You distribute or communicate copies of the Original Work or a Derivative Work, You must make a reasonable effort under the circumstances to obtain the express assent of recipients to the terms of this License. This License conditions your rights to undertake the activities listed in Section 1, including your right to create Derivative Works based upon the Original Work, and doing so without honoring these terms and conditions is prohibited by copyright law and international treaty. Nothing in this License is intended to affect copyright exceptions and limitations (including “fair use” or “fair dealing”). This License shall terminate immediately and You may no longer exercise any of the rights granted to You by this License upon your failure to honor the conditions in Section 1(c).
52
53 10) Termination for Patent Action. This License shall terminate automatically and You may no longer exercise any of the rights granted to You by this License as of the date You commence an action, including a cross-claim or counterclaim, against Licensor or any licensee alleging that the Original Work infringes a patent. This termination provision shall not apply for an action alleging patent infringement by combinations of the Original Work with other software or hardware.
54
55 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this License may be brought only in the courts of a jurisdiction wherein the Licensor resides or in which Licensor conducts its primary business, and under the laws of that jurisdiction excluding its conflict-of-law provisions. The application of the United Nations Convention on Contracts for the International Sale of Goods is expressly excluded. Any use of the Original Work outside the scope of this License or after its termination shall be subject to the requirements and penalties of copyright or patent law in the appropriate jurisdiction. This section shall survive the termination of this License.
56
57 12) Attorneys’ Fees. In any action to enforce the terms of this License or seeking damages relating thereto, the prevailing party shall be entitled to recover its costs and expenses, including, without limitation, reasonable attorneys' fees and costs incurred in connection with such action, including any appeal of such action. This section shall survive the termination of this License.
58
59 13) Miscellaneous. If any provision of this License is held to be unenforceable, such provision shall be reformed only to the extent necessary to make it enforceable.
60
61 14) Definition of "You" in This License. "You" throughout this License, whether in upper or lower case, means an individual or a legal entity exercising rights under, and complying with all of the terms of, this License. For legal entities, "You" includes any entity that controls, is controlled by, or is under common control with you. For purposes of this definition, "control" means (i) the power, direct or indirect, to cause the direction or management of such entity, whether by contract or otherwise, or (ii) ownership of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial ownership of such entity.
62
63 15) Right to Use. You may use the Original Work in all ways not otherwise restricted or conditioned by this License or by law, and Licensor promises not to interfere with or be responsible for such uses by You.
64
65 16) Modification of This License. This License is Copyright © 2005 Lawrence Rosen. Permission is granted to copy, distribute, or communicate this License without modification. Nothing in this License permits You to modify this License as applied to the Original Work or to Derivative Works. However, You may modify the text of this License and copy, distribute or communicate your modified version (the "Modified License") and apply it to other original works of authorship subject to the following conditions: (i) You may not indicate in any way that your Modified License is the "Academic Free License" or "AFL" and you may not use those names in the name of your Modified License; (ii) You must replace the notice specified in the first paragraph above with the notice "Licensed under <insert your license name here>" or with a notice of your own that is not confusingly similar to the notice in this License; and (iii) You may not claim that your original works are open source software unless your Modified License has been approved by Open Source Initiative (OSI) and You comply with its license review and certification process.
0 ---
1 title: GNU Affero General Public License v3.0
2 nickname: GNU AGPLv3
3 redirect_from: /licenses/agpl/
4 family: GNU GPL
5 variant: true
6 source: http://www.gnu.org/licenses/agpl-3.0.txt
7
8 description: "The GNU GPL family of licenses is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. GNU AGPLv3 is distinguished from GNU GPLv3 in that hosted services using the code are considered distribution and trigger the copyleft requirements."
9
10 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.
11
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
14 conditions:
15 - include-copyright
16 - document-changes
17 - disclose-source
18 - network-use-disclose
19 - same-license
20
21 permissions:
22 - commercial-use
23 - modifications
24 - distribution
25 - patent-use
26 - private-use
27
28 limitations:
29 - no-liability
30
31 hidden: false
32 ---
33
34 GNU AFFERO GENERAL PUBLIC LICENSE
35 Version 3, 19 November 2007
36
37 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
38 Everyone is permitted to copy and distribute verbatim copies
39 of this license document, but changing it is not allowed.
40
41 Preamble
42
43 The GNU Affero General Public License is a free, copyleft license for
44 software and other kinds of works, specifically designed to ensure
45 cooperation with the community in the case of network server software.
46
47 The licenses for most software and other practical works are designed
48 to take away your freedom to share and change the works. By contrast,
49 our General Public Licenses are intended to guarantee your freedom to
50 share and change all versions of a program--to make sure it remains free
51 software for all its users.
52
53 When we speak of free software, we are referring to freedom, not
54 price. Our General Public Licenses are designed to make sure that you
55 have the freedom to distribute copies of free software (and charge for
56 them if you wish), that you receive source code or can get it if you
57 want it, that you can change the software or use pieces of it in new
58 free programs, and that you know you can do these things.
59
60 Developers that use our General Public Licenses protect your rights
61 with two steps: (1) assert copyright on the software, and (2) offer
62 you this License which gives you legal permission to copy, distribute
63 and/or modify the software.
64
65 A secondary benefit of defending all users' freedom is that
66 improvements made in alternate versions of the program, if they
67 receive widespread use, become available for other developers to
68 incorporate. Many developers of free software are heartened and
69 encouraged by the resulting cooperation. However, in the case of
70 software used on network servers, this result may fail to come about.
71 The GNU General Public License permits making a modified version and
72 letting the public access it on a server without ever releasing its
73 source code to the public.
74
75 The GNU Affero General Public License is designed specifically to
76 ensure that, in such cases, the modified source code becomes available
77 to the community. It requires the operator of a network server to
78 provide the source code of the modified version running there to the
79 users of that server. Therefore, public use of a modified version, on
80 a publicly accessible server, gives the public access to the source
81 code of the modified version.
82
83 An older license, called the Affero General Public License and
84 published by Affero, was designed to accomplish similar goals. This is
85 a different license, not a version of the Affero GPL, but Affero has
86 released a new version of the Affero GPL which permits relicensing under
87 this license.
88
89 The precise terms and conditions for copying, distribution and
90 modification follow.
91
92 TERMS AND CONDITIONS
93
94 0. Definitions.
95
96 "This License" refers to version 3 of the GNU Affero General Public License.
97
98 "Copyright" also means copyright-like laws that apply to other kinds of
99 works, such as semiconductor masks.
100
101 "The Program" refers to any copyrightable work licensed under this
102 License. Each licensee is addressed as "you". "Licensees" and
103 "recipients" may be individuals or organizations.
104
105 To "modify" a work means to copy from or adapt all or part of the work
106 in a fashion requiring copyright permission, other than the making of an
107 exact copy. The resulting work is called a "modified version" of the
108 earlier work or a work "based on" the earlier work.
109
110 A "covered work" means either the unmodified Program or a work based
111 on the Program.
112
113 To "propagate" a work means to do anything with it that, without
114 permission, would make you directly or secondarily liable for
115 infringement under applicable copyright law, except executing it on a
116 computer or modifying a private copy. Propagation includes copying,
117 distribution (with or without modification), making available to the
118 public, and in some countries other activities as well.
119
120 To "convey" a work means any kind of propagation that enables other
121 parties to make or receive copies. Mere interaction with a user through
122 a computer network, with no transfer of a copy, is not conveying.
123
124 An interactive user interface displays "Appropriate Legal Notices"
125 to the extent that it includes a convenient and prominently visible
126 feature that (1) displays an appropriate copyright notice, and (2)
127 tells the user that there is no warranty for the work (except to the
128 extent that warranties are provided), that licensees may convey the
129 work under this License, and how to view a copy of this License. If
130 the interface presents a list of user commands or options, such as a
131 menu, a prominent item in the list meets this criterion.
132
133 1. Source Code.
134
135 The "source code" for a work means the preferred form of the work
136 for making modifications to it. "Object code" means any non-source
137 form of a work.
138
139 A "Standard Interface" means an interface that either is an official
140 standard defined by a recognized standards body, or, in the case of
141 interfaces specified for a particular programming language, one that
142 is widely used among developers working in that language.
143
144 The "System Libraries" of an executable work include anything, other
145 than the work as a whole, that (a) is included in the normal form of
146 packaging a Major Component, but which is not part of that Major
147 Component, and (b) serves only to enable use of the work with that
148 Major Component, or to implement a Standard Interface for which an
149 implementation is available to the public in source code form. A
150 "Major Component", in this context, means a major essential component
151 (kernel, window system, and so on) of the specific operating system
152 (if any) on which the executable work runs, or a compiler used to
153 produce the work, or an object code interpreter used to run it.
154
155 The "Corresponding Source" for a work in object code form means all
156 the source code needed to generate, install, and (for an executable
157 work) run the object code and to modify the work, including scripts to
158 control those activities. However, it does not include the work's
159 System Libraries, or general-purpose tools or generally available free
160 programs which are used unmodified in performing those activities but
161 which are not part of the work. For example, Corresponding Source
162 includes interface definition files associated with source files for
163 the work, and the source code for shared libraries and dynamically
164 linked subprograms that the work is specifically designed to require,
165 such as by intimate data communication or control flow between those
166 subprograms and other parts of the work.
167
168 The Corresponding Source need not include anything that users
169 can regenerate automatically from other parts of the Corresponding
170 Source.
171
172 The Corresponding Source for a work in source code form is that
173 same work.
174
175 2. Basic Permissions.
176
177 All rights granted under this License are granted for the term of
178 copyright on the Program, and are irrevocable provided the stated
179 conditions are met. This License explicitly affirms your unlimited
180 permission to run the unmodified Program. The output from running a
181 covered work is covered by this License only if the output, given its
182 content, constitutes a covered work. This License acknowledges your
183 rights of fair use or other equivalent, as provided by copyright law.
184
185 You may make, run and propagate covered works that you do not
186 convey, without conditions so long as your license otherwise remains
187 in force. You may convey covered works to others for the sole purpose
188 of having them make modifications exclusively for you, or provide you
189 with facilities for running those works, provided that you comply with
190 the terms of this License in conveying all material for which you do
191 not control copyright. Those thus making or running the covered works
192 for you must do so exclusively on your behalf, under your direction
193 and control, on terms that prohibit them from making any copies of
194 your copyrighted material outside their relationship with you.
195
196 Conveying under any other circumstances is permitted solely under
197 the conditions stated below. Sublicensing is not allowed; section 10
198 makes it unnecessary.
199
200 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
201
202 No covered work shall be deemed part of an effective technological
203 measure under any applicable law fulfilling obligations under article
204 11 of the WIPO copyright treaty adopted on 20 December 1996, or
205 similar laws prohibiting or restricting circumvention of such
206 measures.
207
208 When you convey a covered work, you waive any legal power to forbid
209 circumvention of technological measures to the extent such circumvention
210 is effected by exercising rights under this License with respect to
211 the covered work, and you disclaim any intention to limit operation or
212 modification of the work as a means of enforcing, against the work's
213 users, your or third parties' legal rights to forbid circumvention of
214 technological measures.
215
216 4. Conveying Verbatim Copies.
217
218 You may convey verbatim copies of the Program's source code as you
219 receive it, in any medium, provided that you conspicuously and
220 appropriately publish on each copy an appropriate copyright notice;
221 keep intact all notices stating that this License and any
222 non-permissive terms added in accord with section 7 apply to the code;
223 keep intact all notices of the absence of any warranty; and give all
224 recipients a copy of this License along with the Program.
225
226 You may charge any price or no price for each copy that you convey,
227 and you may offer support or warranty protection for a fee.
228
229 5. Conveying Modified Source Versions.
230
231 You may convey a work based on the Program, or the modifications to
232 produce it from the Program, in the form of source code under the
233 terms of section 4, provided that you also meet all of these conditions:
234
235 a) The work must carry prominent notices stating that you modified
236 it, and giving a relevant date.
237
238 b) The work must carry prominent notices stating that it is
239 released under this License and any conditions added under section
240 7. This requirement modifies the requirement in section 4 to
241 "keep intact all notices".
242
243 c) You must license the entire work, as a whole, under this
244 License to anyone who comes into possession of a copy. This
245 License will therefore apply, along with any applicable section 7
246 additional terms, to the whole of the work, and all its parts,
247 regardless of how they are packaged. This License gives no
248 permission to license the work in any other way, but it does not
249 invalidate such permission if you have separately received it.
250
251 d) If the work has interactive user interfaces, each must display
252 Appropriate Legal Notices; however, if the Program has interactive
253 interfaces that do not display Appropriate Legal Notices, your
254 work need not make them do so.
255
256 A compilation of a covered work with other separate and independent
257 works, which are not by their nature extensions of the covered work,
258 and which are not combined with it such as to form a larger program,
259 in or on a volume of a storage or distribution medium, is called an
260 "aggregate" if the compilation and its resulting copyright are not
261 used to limit the access or legal rights of the compilation's users
262 beyond what the individual works permit. Inclusion of a covered work
263 in an aggregate does not cause this License to apply to the other
264 parts of the aggregate.
265
266 6. Conveying Non-Source Forms.
267
268 You may convey a covered work in object code form under the terms
269 of sections 4 and 5, provided that you also convey the
270 machine-readable Corresponding Source under the terms of this License,
271 in one of these ways:
272
273 a) Convey the object code in, or embodied in, a physical product
274 (including a physical distribution medium), accompanied by the
275 Corresponding Source fixed on a durable physical medium
276 customarily used for software interchange.
277
278 b) Convey the object code in, or embodied in, a physical product
279 (including a physical distribution medium), accompanied by a
280 written offer, valid for at least three years and valid for as
281 long as you offer spare parts or customer support for that product
282 model, to give anyone who possesses the object code either (1) a
283 copy of the Corresponding Source for all the software in the
284 product that is covered by this License, on a durable physical
285 medium customarily used for software interchange, for a price no
286 more than your reasonable cost of physically performing this
287 conveying of source, or (2) access to copy the
288 Corresponding Source from a network server at no charge.
289
290 c) Convey individual copies of the object code with a copy of the
291 written offer to provide the Corresponding Source. This
292 alternative is allowed only occasionally and noncommercially, and
293 only if you received the object code with such an offer, in accord
294 with subsection 6b.
295
296 d) Convey the object code by offering access from a designated
297 place (gratis or for a charge), and offer equivalent access to the
298 Corresponding Source in the same way through the same place at no
299 further charge. You need not require recipients to copy the
300 Corresponding Source along with the object code. If the place to
301 copy the object code is a network server, the Corresponding Source
302 may be on a different server (operated by you or a third party)
303 that supports equivalent copying facilities, provided you maintain
304 clear directions next to the object code saying where to find the
305 Corresponding Source. Regardless of what server hosts the
306 Corresponding Source, you remain obligated to ensure that it is
307 available for as long as needed to satisfy these requirements.
308
309 e) Convey the object code using peer-to-peer transmission, provided
310 you inform other peers where the object code and Corresponding
311 Source of the work are being offered to the general public at no
312 charge under subsection 6d.
313
314 A separable portion of the object code, whose source code is excluded
315 from the Corresponding Source as a System Library, need not be
316 included in conveying the object code work.
317
318 A "User Product" is either (1) a "consumer product", which means any
319 tangible personal property which is normally used for personal, family,
320 or household purposes, or (2) anything designed or sold for incorporation
321 into a dwelling. In determining whether a product is a consumer product,
322 doubtful cases shall be resolved in favor of coverage. For a particular
323 product received by a particular user, "normally used" refers to a
324 typical or common use of that class of product, regardless of the status
325 of the particular user or of the way in which the particular user
326 actually uses, or expects or is expected to use, the product. A product
327 is a consumer product regardless of whether the product has substantial
328 commercial, industrial or non-consumer uses, unless such uses represent
329 the only significant mode of use of the product.
330
331 "Installation Information" for a User Product means any methods,
332 procedures, authorization keys, or other information required to install
333 and execute modified versions of a covered work in that User Product from
334 a modified version of its Corresponding Source. The information must
335 suffice to ensure that the continued functioning of the modified object
336 code is in no case prevented or interfered with solely because
337 modification has been made.
338
339 If you convey an object code work under this section in, or with, or
340 specifically for use in, a User Product, and the conveying occurs as
341 part of a transaction in which the right of possession and use of the
342 User Product is transferred to the recipient in perpetuity or for a
343 fixed term (regardless of how the transaction is characterized), the
344 Corresponding Source conveyed under this section must be accompanied
345 by the Installation Information. But this requirement does not apply
346 if neither you nor any third party retains the ability to install
347 modified object code on the User Product (for example, the work has
348 been installed in ROM).
349
350 The requirement to provide Installation Information does not include a
351 requirement to continue to provide support service, warranty, or updates
352 for a work that has been modified or installed by the recipient, or for
353 the User Product in which it has been modified or installed. Access to a
354 network may be denied when the modification itself materially and
355 adversely affects the operation of the network or violates the rules and
356 protocols for communication across the network.
357
358 Corresponding Source conveyed, and Installation Information provided,
359 in accord with this section must be in a format that is publicly
360 documented (and with an implementation available to the public in
361 source code form), and must require no special password or key for
362 unpacking, reading or copying.
363
364 7. Additional Terms.
365
366 "Additional permissions" are terms that supplement the terms of this
367 License by making exceptions from one or more of its conditions.
368 Additional permissions that are applicable to the entire Program shall
369 be treated as though they were included in this License, to the extent
370 that they are valid under applicable law. If additional permissions
371 apply only to part of the Program, that part may be used separately
372 under those permissions, but the entire Program remains governed by
373 this License without regard to the additional permissions.
374
375 When you convey a copy of a covered work, you may at your option
376 remove any additional permissions from that copy, or from any part of
377 it. (Additional permissions may be written to require their own
378 removal in certain cases when you modify the work.) You may place
379 additional permissions on material, added by you to a covered work,
380 for which you have or can give appropriate copyright permission.
381
382 Notwithstanding any other provision of this License, for material you
383 add to a covered work, you may (if authorized by the copyright holders of
384 that material) supplement the terms of this License with terms:
385
386 a) Disclaiming warranty or limiting liability differently from the
387 terms of sections 15 and 16 of this License; or
388
389 b) Requiring preservation of specified reasonable legal notices or
390 author attributions in that material or in the Appropriate Legal
391 Notices displayed by works containing it; or
392
393 c) Prohibiting misrepresentation of the origin of that material, or
394 requiring that modified versions of such material be marked in
395 reasonable ways as different from the original version; or
396
397 d) Limiting the use for publicity purposes of names of licensors or
398 authors of the material; or
399
400 e) Declining to grant rights under trademark law for use of some
401 trade names, trademarks, or service marks; or
402
403 f) Requiring indemnification of licensors and authors of that
404 material by anyone who conveys the material (or modified versions of
405 it) with contractual assumptions of liability to the recipient, for
406 any liability that these contractual assumptions directly impose on
407 those licensors and authors.
408
409 All other non-permissive additional terms are considered "further
410 restrictions" within the meaning of section 10. If the Program as you
411 received it, or any part of it, contains a notice stating that it is
412 governed by this License along with a term that is a further
413 restriction, you may remove that term. If a license document contains
414 a further restriction but permits relicensing or conveying under this
415 License, you may add to a covered work material governed by the terms
416 of that license document, provided that the further restriction does
417 not survive such relicensing or conveying.
418
419 If you add terms to a covered work in accord with this section, you
420 must place, in the relevant source files, a statement of the
421 additional terms that apply to those files, or a notice indicating
422 where to find the applicable terms.
423
424 Additional terms, permissive or non-permissive, may be stated in the
425 form of a separately written license, or stated as exceptions;
426 the above requirements apply either way.
427
428 8. Termination.
429
430 You may not propagate or modify a covered work except as expressly
431 provided under this License. Any attempt otherwise to propagate or
432 modify it is void, and will automatically terminate your rights under
433 this License (including any patent licenses granted under the third
434 paragraph of section 11).
435
436 However, if you cease all violation of this License, then your
437 license from a particular copyright holder is reinstated (a)
438 provisionally, unless and until the copyright holder explicitly and
439 finally terminates your license, and (b) permanently, if the copyright
440 holder fails to notify you of the violation by some reasonable means
441 prior to 60 days after the cessation.
442
443 Moreover, your license from a particular copyright holder is
444 reinstated permanently if the copyright holder notifies you of the
445 violation by some reasonable means, this is the first time you have
446 received notice of violation of this License (for any work) from that
447 copyright holder, and you cure the violation prior to 30 days after
448 your receipt of the notice.
449
450 Termination of your rights under this section does not terminate the
451 licenses of parties who have received copies or rights from you under
452 this License. If your rights have been terminated and not permanently
453 reinstated, you do not qualify to receive new licenses for the same
454 material under section 10.
455
456 9. Acceptance Not Required for Having Copies.
457
458 You are not required to accept this License in order to receive or
459 run a copy of the Program. Ancillary propagation of a covered work
460 occurring solely as a consequence of using peer-to-peer transmission
461 to receive a copy likewise does not require acceptance. However,
462 nothing other than this License grants you permission to propagate or
463 modify any covered work. These actions infringe copyright if you do
464 not accept this License. Therefore, by modifying or propagating a
465 covered work, you indicate your acceptance of this License to do so.
466
467 10. Automatic Licensing of Downstream Recipients.
468
469 Each time you convey a covered work, the recipient automatically
470 receives a license from the original licensors, to run, modify and
471 propagate that work, subject to this License. You are not responsible
472 for enforcing compliance by third parties with this License.
473
474 An "entity transaction" is a transaction transferring control of an
475 organization, or substantially all assets of one, or subdividing an
476 organization, or merging organizations. If propagation of a covered
477 work results from an entity transaction, each party to that
478 transaction who receives a copy of the work also receives whatever
479 licenses to the work the party's predecessor in interest had or could
480 give under the previous paragraph, plus a right to possession of the
481 Corresponding Source of the work from the predecessor in interest, if
482 the predecessor has it or can get it with reasonable efforts.
483
484 You may not impose any further restrictions on the exercise of the
485 rights granted or affirmed under this License. For example, you may
486 not impose a license fee, royalty, or other charge for exercise of
487 rights granted under this License, and you may not initiate litigation
488 (including a cross-claim or counterclaim in a lawsuit) alleging that
489 any patent claim is infringed by making, using, selling, offering for
490 sale, or importing the Program or any portion of it.
491
492 11. Patents.
493
494 A "contributor" is a copyright holder who authorizes use under this
495 License of the Program or a work on which the Program is based. The
496 work thus licensed is called the contributor's "contributor version".
497
498 A contributor's "essential patent claims" are all patent claims
499 owned or controlled by the contributor, whether already acquired or
500 hereafter acquired, that would be infringed by some manner, permitted
501 by this License, of making, using, or selling its contributor version,
502 but do not include claims that would be infringed only as a
503 consequence of further modification of the contributor version. For
504 purposes of this definition, "control" includes the right to grant
505 patent sublicenses in a manner consistent with the requirements of
506 this License.
507
508 Each contributor grants you a non-exclusive, worldwide, royalty-free
509 patent license under the contributor's essential patent claims, to
510 make, use, sell, offer for sale, import and otherwise run, modify and
511 propagate the contents of its contributor version.
512
513 In the following three paragraphs, a "patent license" is any express
514 agreement or commitment, however denominated, not to enforce a patent
515 (such as an express permission to practice a patent or covenant not to
516 sue for patent infringement). To "grant" such a patent license to a
517 party means to make such an agreement or commitment not to enforce a
518 patent against the party.
519
520 If you convey a covered work, knowingly relying on a patent license,
521 and the Corresponding Source of the work is not available for anyone
522 to copy, free of charge and under the terms of this License, through a
523 publicly available network server or other readily accessible means,
524 then you must either (1) cause the Corresponding Source to be so
525 available, or (2) arrange to deprive yourself of the benefit of the
526 patent license for this particular work, or (3) arrange, in a manner
527 consistent with the requirements of this License, to extend the patent
528 license to downstream recipients. "Knowingly relying" means you have
529 actual knowledge that, but for the patent license, your conveying the
530 covered work in a country, or your recipient's use of the covered work
531 in a country, would infringe one or more identifiable patents in that
532 country that you have reason to believe are valid.
533
534 If, pursuant to or in connection with a single transaction or
535 arrangement, you convey, or propagate by procuring conveyance of, a
536 covered work, and grant a patent license to some of the parties
537 receiving the covered work authorizing them to use, propagate, modify
538 or convey a specific copy of the covered work, then the patent license
539 you grant is automatically extended to all recipients of the covered
540 work and works based on it.
541
542 A patent license is "discriminatory" if it does not include within
543 the scope of its coverage, prohibits the exercise of, or is
544 conditioned on the non-exercise of one or more of the rights that are
545 specifically granted under this License. You may not convey a covered
546 work if you are a party to an arrangement with a third party that is
547 in the business of distributing software, under which you make payment
548 to the third party based on the extent of your activity of conveying
549 the work, and under which the third party grants, to any of the
550 parties who would receive the covered work from you, a discriminatory
551 patent license (a) in connection with copies of the covered work
552 conveyed by you (or copies made from those copies), or (b) primarily
553 for and in connection with specific products or compilations that
554 contain the covered work, unless you entered into that arrangement,
555 or that patent license was granted, prior to 28 March 2007.
556
557 Nothing in this License shall be construed as excluding or limiting
558 any implied license or other defenses to infringement that may
559 otherwise be available to you under applicable patent law.
560
561 12. No Surrender of Others' Freedom.
562
563 If conditions are imposed on you (whether by court order, agreement or
564 otherwise) that contradict the conditions of this License, they do not
565 excuse you from the conditions of this License. If you cannot convey a
566 covered work so as to satisfy simultaneously your obligations under this
567 License and any other pertinent obligations, then as a consequence you may
568 not convey it at all. For example, if you agree to terms that obligate you
569 to collect a royalty for further conveying from those to whom you convey
570 the Program, the only way you could satisfy both those terms and this
571 License would be to refrain entirely from conveying the Program.
572
573 13. Remote Network Interaction; Use with the GNU General Public License.
574
575 Notwithstanding any other provision of this License, if you modify the
576 Program, your modified version must prominently offer all users
577 interacting with it remotely through a computer network (if your version
578 supports such interaction) an opportunity to receive the Corresponding
579 Source of your version by providing access to the Corresponding Source
580 from a network server at no charge, through some standard or customary
581 means of facilitating copying of software. This Corresponding Source
582 shall include the Corresponding Source for any work covered by version 3
583 of the GNU General Public License that is incorporated pursuant to the
584 following paragraph.
585
586 Notwithstanding any other provision of this License, you have
587 permission to link or combine any covered work with a work licensed
588 under version 3 of the GNU General Public License into a single
589 combined work, and to convey the resulting work. The terms of this
590 License will continue to apply to the part which is the covered work,
591 but the work with which it is combined will remain governed by version
592 3 of the GNU General Public License.
593
594 14. Revised Versions of this License.
595
596 The Free Software Foundation may publish revised and/or new versions of
597 the GNU Affero General Public License from time to time. Such new versions
598 will be similar in spirit to the present version, but may differ in detail to
599 address new problems or concerns.
600
601 Each version is given a distinguishing version number. If the
602 Program specifies that a certain numbered version of the GNU Affero General
603 Public License "or any later version" applies to it, you have the
604 option of following the terms and conditions either of that numbered
605 version or of any later version published by the Free Software
606 Foundation. If the Program does not specify a version number of the
607 GNU Affero General Public License, you may choose any version ever published
608 by the Free Software Foundation.
609
610 If the Program specifies that a proxy can decide which future
611 versions of the GNU Affero General Public License can be used, that proxy's
612 public statement of acceptance of a version permanently authorizes you
613 to choose that version for the Program.
614
615 Later license versions may give you additional or different
616 permissions. However, no additional obligations are imposed on any
617 author or copyright holder as a result of your choosing to follow a
618 later version.
619
620 15. Disclaimer of Warranty.
621
622 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
623 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
624 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
625 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
626 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
627 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
628 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
629 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
630
631 16. Limitation of Liability.
632
633 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
634 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
635 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
636 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
637 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
638 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
639 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
640 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
641 SUCH DAMAGES.
642
643 17. Interpretation of Sections 15 and 16.
644
645 If the disclaimer of warranty and limitation of liability provided
646 above cannot be given local legal effect according to their terms,
647 reviewing courts shall apply local law that most closely approximates
648 an absolute waiver of all civil liability in connection with the
649 Program, unless a warranty or assumption of liability accompanies a
650 copy of the Program in return for a fee.
651
652 END OF TERMS AND CONDITIONS
653
654 How to Apply These Terms to Your New Programs
655
656 If you develop a new program, and you want it to be of the greatest
657 possible use to the public, the best way to achieve this is to make it
658 free software which everyone can redistribute and change under these terms.
659
660 To do so, attach the following notices to the program. It is safest
661 to attach them to the start of each source file to most effectively
662 state the exclusion of warranty; and each file should have at least
663 the "copyright" line and a pointer to where the full notice is found.
664
665 <one line to give the program's name and a brief idea of what it does.>
666 Copyright (C) <year> <name of author>
667
668 This program is free software: you can redistribute it and/or modify
669 it under the terms of the GNU Affero General Public License as published
670 by the Free Software Foundation, either version 3 of the License, or
671 (at your option) any later version.
672
673 This program is distributed in the hope that it will be useful,
674 but WITHOUT ANY WARRANTY; without even the implied warranty of
675 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
676 GNU Affero General Public License for more details.
677
678 You should have received a copy of the GNU Affero General Public License
679 along with this program. If not, see <http://www.gnu.org/licenses/>.
680
681 Also add information on how to contact you by electronic and paper mail.
682
683 If your software can interact with users remotely through a computer
684 network, you should also make sure that it provides a way for users to
685 get its source. For example, if your program is a web application, its
686 interface could display a "Source" link that leads users to an archive
687 of the code. There are many ways you could offer source, and different
688 solutions will be better for different programs; see section 13 for the
689 specific requirements.
690
691 You should also get your employer (if you work as a programmer) or school,
692 if any, to sign a "copyright disclaimer" for the program, if necessary.
693 For more information on this, and how to apply and follow the GNU AGPL, see
694 <http://www.gnu.org/licenses/>.
0 ---
1 title: Apache License 2.0
2 redirect_from: /licenses/apache/
3 featured: true
4 source: http://www.apache.org/licenses/LICENSE-2.0.html
5
6 description: A permissive license that also provides an express grant of patent rights from contributors to users.
7
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
10 note: The Apache Foundation recommends taking the additional step of adding a boilerplate notice to the header of each source file. You can find the notice at the very end of the license in the appendix.
11
12 using:
13 - Android: https://github.com/android/platform_system_core/blob/master/NOTICE
14 - Apache: https://svn.apache.org/viewvc/httpd/httpd/trunk/LICENSE?view=markup
15 - Swift: https://github.com/apple/swift/blob/master/LICENSE.txt
16
17 conditions:
18 - include-copyright
19 - document-changes
20
21 permissions:
22 - commercial-use
23 - modifications
24 - distribution
25 - patent-use
26 - private-use
27
28 limitations:
29 - trademark-use
30 - no-liability
31
32 hidden: false
33 ---
34
35 Apache License
36 Version 2.0, January 2004
37 http://www.apache.org/licenses/
38
39 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
40
41 1. Definitions.
42
43 "License" shall mean the terms and conditions for use, reproduction,
44 and distribution as defined by Sections 1 through 9 of this document.
45
46 "Licensor" shall mean the copyright owner or entity authorized by
47 the copyright owner that is granting the License.
48
49 "Legal Entity" shall mean the union of the acting entity and all
50 other entities that control, are controlled by, or are under common
51 control with that entity. For the purposes of this definition,
52 "control" means (i) the power, direct or indirect, to cause the
53 direction or management of such entity, whether by contract or
54 otherwise, or (ii) ownership of fifty percent (50%) or more of the
55 outstanding shares, or (iii) beneficial ownership of such entity.
56
57 "You" (or "Your") shall mean an individual or Legal Entity
58 exercising permissions granted by this License.
59
60 "Source" form shall mean the preferred form for making modifications,
61 including but not limited to software source code, documentation
62 source, and configuration files.
63
64 "Object" form shall mean any form resulting from mechanical
65 transformation or translation of a Source form, including but
66 not limited to compiled object code, generated documentation,
67 and conversions to other media types.
68
69 "Work" shall mean the work of authorship, whether in Source or
70 Object form, made available under the License, as indicated by a
71 copyright notice that is included in or attached to the work
72 (an example is provided in the Appendix below).
73
74 "Derivative Works" shall mean any work, whether in Source or Object
75 form, that is based on (or derived from) the Work and for which the
76 editorial revisions, annotations, elaborations, or other modifications
77 represent, as a whole, an original work of authorship. For the purposes
78 of this License, Derivative Works shall not include works that remain
79 separable from, or merely link (or bind by name) to the interfaces of,
80 the Work and Derivative Works thereof.
81
82 "Contribution" shall mean any work of authorship, including
83 the original version of the Work and any modifications or additions
84 to that Work or Derivative Works thereof, that is intentionally
85 submitted to Licensor for inclusion in the Work by the copyright owner
86 or by an individual or Legal Entity authorized to submit on behalf of
87 the copyright owner. For the purposes of this definition, "submitted"
88 means any form of electronic, verbal, or written communication sent
89 to the Licensor or its representatives, including but not limited to
90 communication on electronic mailing lists, source code control systems,
91 and issue tracking systems that are managed by, or on behalf of, the
92 Licensor for the purpose of discussing and improving the Work, but
93 excluding communication that is conspicuously marked or otherwise
94 designated in writing by the copyright owner as "Not a Contribution."
95
96 "Contributor" shall mean Licensor and any individual or Legal Entity
97 on behalf of whom a Contribution has been received by Licensor and
98 subsequently incorporated within the Work.
99
100 2. Grant of Copyright License. Subject to the terms and conditions of
101 this License, each Contributor hereby grants to You a perpetual,
102 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
103 copyright license to reproduce, prepare Derivative Works of,
104 publicly display, publicly perform, sublicense, and distribute the
105 Work and such Derivative Works in Source or Object form.
106
107 3. Grant of Patent License. Subject to the terms and conditions of
108 this License, each Contributor hereby grants to You a perpetual,
109 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
110 (except as stated in this section) patent license to make, have made,
111 use, offer to sell, sell, import, and otherwise transfer the Work,
112 where such license applies only to those patent claims licensable
113 by such Contributor that are necessarily infringed by their
114 Contribution(s) alone or by combination of their Contribution(s)
115 with the Work to which such Contribution(s) was submitted. If You
116 institute patent litigation against any entity (including a
117 cross-claim or counterclaim in a lawsuit) alleging that the Work
118 or a Contribution incorporated within the Work constitutes direct
119 or contributory patent infringement, then any patent licenses
120 granted to You under this License for that Work shall terminate
121 as of the date such litigation is filed.
122
123 4. Redistribution. You may reproduce and distribute copies of the
124 Work or Derivative Works thereof in any medium, with or without
125 modifications, and in Source or Object form, provided that You
126 meet the following conditions:
127
128 (a) You must give any other recipients of the Work or
129 Derivative Works a copy of this License; and
130
131 (b) You must cause any modified files to carry prominent notices
132 stating that You changed the files; and
133
134 (c) You must retain, in the Source form of any Derivative Works
135 that You distribute, all copyright, patent, trademark, and
136 attribution notices from the Source form of the Work,
137 excluding those notices that do not pertain to any part of
138 the Derivative Works; and
139
140 (d) If the Work includes a "NOTICE" text file as part of its
141 distribution, then any Derivative Works that You distribute must
142 include a readable copy of the attribution notices contained
143 within such NOTICE file, excluding those notices that do not
144 pertain to any part of the Derivative Works, in at least one
145 of the following places: within a NOTICE text file distributed
146 as part of the Derivative Works; within the Source form or
147 documentation, if provided along with the Derivative Works; or,
148 within a display generated by the Derivative Works, if and
149 wherever such third-party notices normally appear. The contents
150 of the NOTICE file are for informational purposes only and
151 do not modify the License. You may add Your own attribution
152 notices within Derivative Works that You distribute, alongside
153 or as an addendum to the NOTICE text from the Work, provided
154 that such additional attribution notices cannot be construed
155 as modifying the License.
156
157 You may add Your own copyright statement to Your modifications and
158 may provide additional or different license terms and conditions
159 for use, reproduction, or distribution of Your modifications, or
160 for any such Derivative Works as a whole, provided Your use,
161 reproduction, and distribution of the Work otherwise complies with
162 the conditions stated in this License.
163
164 5. Submission of Contributions. Unless You explicitly state otherwise,
165 any Contribution intentionally submitted for inclusion in the Work
166 by You to the Licensor shall be under the terms and conditions of
167 this License, without any additional terms or conditions.
168 Notwithstanding the above, nothing herein shall supersede or modify
169 the terms of any separate license agreement you may have executed
170 with Licensor regarding such Contributions.
171
172 6. Trademarks. This License does not grant permission to use the trade
173 names, trademarks, service marks, or product names of the Licensor,
174 except as required for reasonable and customary use in describing the
175 origin of the Work and reproducing the content of the NOTICE file.
176
177 7. Disclaimer of Warranty. Unless required by applicable law or
178 agreed to in writing, Licensor provides the Work (and each
179 Contributor provides its Contributions) on an "AS IS" BASIS,
180 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
181 implied, including, without limitation, any warranties or conditions
182 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
183 PARTICULAR PURPOSE. You are solely responsible for determining the
184 appropriateness of using or redistributing the Work and assume any
185 risks associated with Your exercise of permissions under this License.
186
187 8. Limitation of Liability. In no event and under no legal theory,
188 whether in tort (including negligence), contract, or otherwise,
189 unless required by applicable law (such as deliberate and grossly
190 negligent acts) or agreed to in writing, shall any Contributor be
191 liable to You for damages, including any direct, indirect, special,
192 incidental, or consequential damages of any character arising as a
193 result of this License or out of the use or inability to use the
194 Work (including but not limited to damages for loss of goodwill,
195 work stoppage, computer failure or malfunction, or any and all
196 other commercial damages or losses), even if such Contributor
197 has been advised of the possibility of such damages.
198
199 9. Accepting Warranty or Additional Liability. While redistributing
200 the Work or Derivative Works thereof, You may choose to offer,
201 and charge a fee for, acceptance of support, warranty, indemnity,
202 or other liability obligations and/or rights consistent with this
203 License. However, in accepting such obligations, You may act only
204 on Your own behalf and on Your sole responsibility, not on behalf
205 of any other Contributor, and only if You agree to indemnify,
206 defend, and hold each Contributor harmless for any liability
207 incurred by, or claims asserted against, such Contributor by reason
208 of your accepting any such warranty or additional liability.
209
210 END OF TERMS AND CONDITIONS
211
212 APPENDIX: How to apply the Apache License to your work.
213
214 To apply the Apache License to your work, attach the following
215 boilerplate notice, with the fields enclosed by brackets "{}"
216 replaced with your own identifying information. (Don't include
217 the brackets!) The text should be enclosed in the appropriate
218 comment syntax for the file format. We also recommend that a
219 file or class name and description of purpose be included on the
220 same "printed page" as the copyright notice for easier
221 identification within third-party archives.
222
223 Copyright {yyyy} {name of copyright owner}
224
225 Licensed under the Apache License, Version 2.0 (the "License");
226 you may not use this file except in compliance with the License.
227 You may obtain a copy of the License at
228
229 http://www.apache.org/licenses/LICENSE-2.0
230
231 Unless required by applicable law or agreed to in writing, software
232 distributed under the License is distributed on an "AS IS" BASIS,
233 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
234 See the License for the specific language governing permissions and
235 limitations under the License.
0 ---
1 title: Artistic License 2.0
2 redirect_from: /licenses/artistic/
3 source: http://www.perlfoundation.org/attachment/legal/artistic-2_0.txt
4
5 description: Heavily favored by the Perl community, the Artistic license requires that modified versions of the software do not prevent users from running the standard version.
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 conditions:
10 - include-copyright
11 - document-changes
12
13 permissions:
14 - commercial-use
15 - modifications
16 - distribution
17 - patent-use
18 - private-use
19
20 limitations:
21 - no-liability
22 - trademark-use
23
24 hidden: false
25 ---
26
27 The Artistic License 2.0
28
29 Copyright (c) 2000-2006, The Perl Foundation.
30
31 Everyone is permitted to copy and distribute verbatim copies
32 of this license document, but changing it is not allowed.
33
34 Preamble
35
36 This license establishes the terms under which a given free software
37 Package may be copied, modified, distributed, and/or redistributed.
38 The intent is that the Copyright Holder maintains some artistic
39 control over the development of that Package while still keeping the
40 Package available as open source and free software.
41
42 You are always permitted to make arrangements wholly outside of this
43 license directly with the Copyright Holder of a given Package. If the
44 terms of this license do not permit the full use that you propose to
45 make of the Package, you should contact the Copyright Holder and seek
46 a different licensing arrangement.
47
48 Definitions
49
50 "Copyright Holder" means the individual(s) or organization(s)
51 named in the copyright notice for the entire Package.
52
53 "Contributor" means any party that has contributed code or other
54 material to the Package, in accordance with the Copyright Holder's
55 procedures.
56
57 "You" and "your" means any person who would like to copy,
58 distribute, or modify the Package.
59
60 "Package" means the collection of files distributed by the
61 Copyright Holder, and derivatives of that collection and/or of
62 those files. A given Package may consist of either the Standard
63 Version, or a Modified Version.
64
65 "Distribute" means providing a copy of the Package or making it
66 accessible to anyone else, or in the case of a company or
67 organization, to others outside of your company or organization.
68
69 "Distributor Fee" means any fee that you charge for Distributing
70 this Package or providing support for this Package to another
71 party. It does not mean licensing fees.
72
73 "Standard Version" refers to the Package if it has not been
74 modified, or has been modified only in ways explicitly requested
75 by the Copyright Holder.
76
77 "Modified Version" means the Package, if it has been changed, and
78 such changes were not explicitly requested by the Copyright
79 Holder.
80
81 "Original License" means this Artistic License as Distributed with
82 the Standard Version of the Package, in its current version or as
83 it may be modified by The Perl Foundation in the future.
84
85 "Source" form means the source code, documentation source, and
86 configuration files for the Package.
87
88 "Compiled" form means the compiled bytecode, object code, binary,
89 or any other form resulting from mechanical transformation or
90 translation of the Source form.
91
92
93 Permission for Use and Modification Without Distribution
94
95 (1) You are permitted to use the Standard Version and create and use
96 Modified Versions for any purpose without restriction, provided that
97 you do not Distribute the Modified Version.
98
99
100 Permissions for Redistribution of the Standard Version
101
102 (2) You may Distribute verbatim copies of the Source form of the
103 Standard Version of this Package in any medium without restriction,
104 either gratis or for a Distributor Fee, provided that you duplicate
105 all of the original copyright notices and associated disclaimers. At
106 your discretion, such verbatim copies may or may not include a
107 Compiled form of the Package.
108
109 (3) You may apply any bug fixes, portability changes, and other
110 modifications made available from the Copyright Holder. The resulting
111 Package will still be considered the Standard Version, and as such
112 will be subject to the Original License.
113
114
115 Distribution of Modified Versions of the Package as Source
116
117 (4) You may Distribute your Modified Version as Source (either gratis
118 or for a Distributor Fee, and with or without a Compiled form of the
119 Modified Version) provided that you clearly document how it differs
120 from the Standard Version, including, but not limited to, documenting
121 any non-standard features, executables, or modules, and provided that
122 you do at least ONE of the following:
123
124 (a) make the Modified Version available to the Copyright Holder
125 of the Standard Version, under the Original License, so that the
126 Copyright Holder may include your modifications in the Standard
127 Version.
128
129 (b) ensure that installation of your Modified Version does not
130 prevent the user installing or running the Standard Version. In
131 addition, the Modified Version must bear a name that is different
132 from the name of the Standard Version.
133
134 (c) allow anyone who receives a copy of the Modified Version to
135 make the Source form of the Modified Version available to others
136 under
137
138 (i) the Original License or
139
140 (ii) a license that permits the licensee to freely copy,
141 modify and redistribute the Modified Version using the same
142 licensing terms that apply to the copy that the licensee
143 received, and requires that the Source form of the Modified
144 Version, and of any works derived from it, be made freely
145 available in that license fees are prohibited but Distributor
146 Fees are allowed.
147
148
149 Distribution of Compiled Forms of the Standard Version
150 or Modified Versions without the Source
151
152 (5) You may Distribute Compiled forms of the Standard Version without
153 the Source, provided that you include complete instructions on how to
154 get the Source of the Standard Version. Such instructions must be
155 valid at the time of your distribution. If these instructions, at any
156 time while you are carrying out such distribution, become invalid, you
157 must provide new instructions on demand or cease further distribution.
158 If you provide valid instructions or cease distribution within thirty
159 days after you become aware that the instructions are invalid, then
160 you do not forfeit any of your rights under this license.
161
162 (6) You may Distribute a Modified Version in Compiled form without
163 the Source, provided that you comply with Section 4 with respect to
164 the Source of the Modified Version.
165
166
167 Aggregating or Linking the Package
168
169 (7) You may aggregate the Package (either the Standard Version or
170 Modified Version) with other packages and Distribute the resulting
171 aggregation provided that you do not charge a licensing fee for the
172 Package. Distributor Fees are permitted, and licensing fees for other
173 components in the aggregation are permitted. The terms of this license
174 apply to the use and Distribution of the Standard or Modified Versions
175 as included in the aggregation.
176
177 (8) You are permitted to link Modified and Standard Versions with
178 other works, to embed the Package in a larger work of your own, or to
179 build stand-alone binary or bytecode versions of applications that
180 include the Package, and Distribute the result without restriction,
181 provided the result does not expose a direct interface to the Package.
182
183
184 Items That are Not Considered Part of a Modified Version
185
186 (9) Works (including, but not limited to, modules and scripts) that
187 merely extend or make use of the Package, do not, by themselves, cause
188 the Package to be a Modified Version. In addition, such works are not
189 considered parts of the Package itself, and are not subject to the
190 terms of this license.
191
192
193 General Provisions
194
195 (10) Any use, modification, and distribution of the Standard or
196 Modified Versions is governed by this Artistic License. By using,
197 modifying or distributing the Package, you accept this license. Do not
198 use, modify, or distribute the Package, if you do not accept this
199 license.
200
201 (11) If your Modified Version has been derived from a Modified
202 Version made by someone other than you, you are nevertheless required
203 to ensure that your Modified Version complies with the requirements of
204 this license.
205
206 (12) This license does not grant you the right to use any trademark,
207 service mark, tradename, or logo of the Copyright Holder.
208
209 (13) This license includes the non-exclusive, worldwide,
210 free-of-charge patent license to make, have made, use, offer to sell,
211 sell, import and otherwise transfer the Package with respect to any
212 patent claims licensable by the Copyright Holder that are necessarily
213 infringed by the Package. If you institute patent litigation
214 (including a cross-claim or counterclaim) against any party alleging
215 that the Package constitutes direct or contributory patent
216 infringement, then this Artistic License to you shall terminate on the
217 date that such litigation is filed.
218
219 (14) Disclaimer of Warranty:
220 THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS
221 IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED
222 WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR
223 NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL
224 LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL
225 BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
226 DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF
227 ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 ---
1 title: BSD 2-clause "Simplified" License
2 nickname: BSD 2-Clause
3 redirect_from: /licenses/bsd/
4 family: BSD
5 variant: true
6 source: http://opensource.org/licenses/BSD-2-Clause
7
8 description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
9
10 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.
11
12 conditions:
13 - include-copyright
14
15 permissions:
16 - commercial-use
17 - modifications
18 - distribution
19 - private-use
20
21 limitations:
22 - no-liability
23
24 hidden: false
25 ---
26
27 Copyright (c) [year], [fullname]
28 All rights reserved.
29
30 Redistribution and use in source and binary forms, with or without
31 modification, are permitted provided that the following conditions are met:
32
33 * Redistributions of source code must retain the above copyright notice, this
34 list of conditions and the following disclaimer.
35
36 * Redistributions in binary form must reproduce the above copyright notice,
37 this list of conditions and the following disclaimer in the documentation
38 and/or other materials provided with the distribution.
39
40 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
41 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
42 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
43 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
44 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
45 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
46 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
47 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
48 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
49 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 ---
1 title: BSD 3-clause Clear License
2 family: BSD
3 variant: true
4
5 description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license. The three clause variant prohibits others from using the name of the project or its contributors to promote derivative works without written consent.
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. Replace [project] with the project organization, if any, that sponsors this work.
8
9 source: https://spdx.org/licenses/BSD-3-Clause-Clear.html
10
11 conditions:
12 - include-copyright
13
14 permissions:
15 - commercial-use
16 - modifications
17 - distribution
18 - private-use
19
20 limitations:
21 - no-liability
22 - patent-use
23
24 ---
25
26 The Clear BSD License
27
28 Copyright (c) [year], [fullname]
29 All rights reserved.
30
31 Redistribution and use in source and binary forms, with or without
32 modification, are permitted (subject to the limitations in the disclaimer
33 below) provided that the following conditions are met:
34
35 * Redistributions of source code must retain the above copyright notice, this
36 list of conditions and the following disclaimer.
37
38 * Redistributions in binary form must reproduce the above copyright notice,
39 this list of conditions and the following disclaimer in the documentation
40 and/or other materials provided with the distribution.
41
42 * Neither the name of [project] nor the names of its contributors may be used
43 to endorse or promote products derived from this software without specific
44 prior written permission.
45
46 NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY'S PATENT RIGHTS ARE GRANTED BY THIS
47 LICENSE. THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
48 "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
49 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
50 ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE
51 LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
52 CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
53 GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
54 HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
55 LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
56 OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
57 DAMAGE.
0 ---
1 title: BSD 3-clause "New" or "Revised" License
2 nickname: BSD 3-Clause
3 family: BSD
4 variant: true
5 source: http://opensource.org/licenses/BSD-3-Clause
6
7 description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license. The three clause variant prohibits others from using the name of the project or its contributors to promote derivative works without written consent.
8
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. Replace [project] with the project organization, if any, that sponsors this work.
10
11 conditions:
12 - include-copyright
13
14 permissions:
15 - commercial-use
16 - modifications
17 - distribution
18 - private-use
19
20 limitations:
21 - no-liability
22
23 hidden: false
24 ---
25
26 Copyright (c) [year], [fullname]
27 All rights reserved.
28
29 Redistribution and use in source and binary forms, with or without
30 modification, are permitted provided that the following conditions are met:
31
32 * Redistributions of source code must retain the above copyright notice, this
33 list of conditions and the following disclaimer.
34
35 * Redistributions in binary form must reproduce the above copyright notice,
36 this list of conditions and the following disclaimer in the documentation
37 and/or other materials provided with the distribution.
38
39 * Neither the name of [project] nor the names of its
40 contributors may be used to endorse or promote products derived from
41 this software without specific prior written permission.
42
43 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
44 AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
45 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
46 DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
47 FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
48 DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
49 SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
50 CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
51 OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
52 OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
0 ---
1 title: Creative Commons Attribution 4.0
2 nickname: CC-BY-4.0
3 source: https://creativecommons.org/licenses/by/4.0/legalcode.txt
4
5 description: Permits almost any use subject to providing credit and license notice. Frequently used for media assets and educational materials. The most common license for Open Access scientific publications. Not recommended for software.
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. It is also acceptable to soley supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by/4.0/'>canonical URL for the license</a>.
8
9 conditions:
10 - include-copyright
11 - document-changes
12
13 permissions:
14 - commercial-use
15 - modifications
16 - distribution
17 - private-use
18
19 limitations:
20 - no-liability
21 - trademark-use
22 - patent-use
23 ---
24
25 Attribution 4.0 International
26
27 =======================================================================
28
29 Creative Commons Corporation ("Creative Commons") is not a law firm and
30 does not provide legal services or legal advice. Distribution of
31 Creative Commons public licenses does not create a lawyer-client or
32 other relationship. Creative Commons makes its licenses and related
33 information available on an "as-is" basis. Creative Commons gives no
34 warranties regarding its licenses, any material licensed under their
35 terms and conditions, or any related information. Creative Commons
36 disclaims all liability for damages resulting from their use to the
37 fullest extent possible.
38
39 Using Creative Commons Public Licenses
40
41 Creative Commons public licenses provide a standard set of terms and
42 conditions that creators and other rights holders may use to share
43 original works of authorship and other material subject to copyright
44 and certain other rights specified in the public license below. The
45 following considerations are for informational purposes only, are not
46 exhaustive, and do not form part of our licenses.
47
48 Considerations for licensors: Our public licenses are
49 intended for use by those authorized to give the public
50 permission to use material in ways otherwise restricted by
51 copyright and certain other rights. Our licenses are
52 irrevocable. Licensors should read and understand the terms
53 and conditions of the license they choose before applying it.
54 Licensors should also secure all rights necessary before
55 applying our licenses so that the public can reuse the
56 material as expected. Licensors should clearly mark any
57 material not subject to the license. This includes other CC-
58 licensed material, or material used under an exception or
59 limitation to copyright. More considerations for licensors:
60 wiki.creativecommons.org/Considerations_for_licensors
61
62 Considerations for the public: By using one of our public
63 licenses, a licensor grants the public permission to use the
64 licensed material under specified terms and conditions. If
65 the licensor's permission is not necessary for any reason--for
66 example, because of any applicable exception or limitation to
67 copyright--then that use is not regulated by the license. Our
68 licenses grant only permissions under copyright and certain
69 other rights that a licensor has authority to grant. Use of
70 the licensed material may still be restricted for other
71 reasons, including because others have copyright or other
72 rights in the material. A licensor may make special requests,
73 such as asking that all changes be marked or described.
74 Although not required by our licenses, you are encouraged to
75 respect those requests where reasonable. More_considerations
76 for the public:
77 wiki.creativecommons.org/Considerations_for_licensees
78
79 =======================================================================
80
81 Creative Commons Attribution 4.0 International Public License
82
83 By exercising the Licensed Rights (defined below), You accept and agree
84 to be bound by the terms and conditions of this Creative Commons
85 Attribution 4.0 International Public License ("Public License"). To the
86 extent this Public License may be interpreted as a contract, You are
87 granted the Licensed Rights in consideration of Your acceptance of
88 these terms and conditions, and the Licensor grants You such rights in
89 consideration of benefits the Licensor receives from making the
90 Licensed Material available under these terms and conditions.
91
92
93 Section 1 -- Definitions.
94
95 a. Adapted Material means material subject to Copyright and Similar
96 Rights that is derived from or based upon the Licensed Material
97 and in which the Licensed Material is translated, altered,
98 arranged, transformed, or otherwise modified in a manner requiring
99 permission under the Copyright and Similar Rights held by the
100 Licensor. For purposes of this Public License, where the Licensed
101 Material is a musical work, performance, or sound recording,
102 Adapted Material is always produced where the Licensed Material is
103 synched in timed relation with a moving image.
104
105 b. Adapter's License means the license You apply to Your Copyright
106 and Similar Rights in Your contributions to Adapted Material in
107 accordance with the terms and conditions of this Public License.
108
109 c. Copyright and Similar Rights means copyright and/or similar rights
110 closely related to copyright including, without limitation,
111 performance, broadcast, sound recording, and Sui Generis Database
112 Rights, without regard to how the rights are labeled or
113 categorized. For purposes of this Public License, the rights
114 specified in Section 2(b)(1)-(2) are not Copyright and Similar
115 Rights.
116
117 d. Effective Technological Measures means those measures that, in the
118 absence of proper authority, may not be circumvented under laws
119 fulfilling obligations under Article 11 of the WIPO Copyright
120 Treaty adopted on December 20, 1996, and/or similar international
121 agreements.
122
123 e. Exceptions and Limitations means fair use, fair dealing, and/or
124 any other exception or limitation to Copyright and Similar Rights
125 that applies to Your use of the Licensed Material.
126
127 f. Licensed Material means the artistic or literary work, database,
128 or other material to which the Licensor applied this Public
129 License.
130
131 g. Licensed Rights means the rights granted to You subject to the
132 terms and conditions of this Public License, which are limited to
133 all Copyright and Similar Rights that apply to Your use of the
134 Licensed Material and that the Licensor has authority to license.
135
136 h. Licensor means the individual(s) or entity(ies) granting rights
137 under this Public License.
138
139 i. Share means to provide material to the public by any means or
140 process that requires permission under the Licensed Rights, such
141 as reproduction, public display, public performance, distribution,
142 dissemination, communication, or importation, and to make material
143 available to the public including in ways that members of the
144 public may access the material from a place and at a time
145 individually chosen by them.
146
147 j. Sui Generis Database Rights means rights other than copyright
148 resulting from Directive 96/9/EC of the European Parliament and of
149 the Council of 11 March 1996 on the legal protection of databases,
150 as amended and/or succeeded, as well as other essentially
151 equivalent rights anywhere in the world.
152
153 k. You means the individual or entity exercising the Licensed Rights
154 under this Public License. Your has a corresponding meaning.
155
156
157 Section 2 -- Scope.
158
159 a. License grant.
160
161 1. Subject to the terms and conditions of this Public License,
162 the Licensor hereby grants You a worldwide, royalty-free,
163 non-sublicensable, non-exclusive, irrevocable license to
164 exercise the Licensed Rights in the Licensed Material to:
165
166 a. reproduce and Share the Licensed Material, in whole or
167 in part; and
168
169 b. produce, reproduce, and Share Adapted Material.
170
171 2. Exceptions and Limitations. For the avoidance of doubt, where
172 Exceptions and Limitations apply to Your use, this Public
173 License does not apply, and You do not need to comply with
174 its terms and conditions.
175
176 3. Term. The term of this Public License is specified in Section
177 6(a).
178
179 4. Media and formats; technical modifications allowed. The
180 Licensor authorizes You to exercise the Licensed Rights in
181 all media and formats whether now known or hereafter created,
182 and to make technical modifications necessary to do so. The
183 Licensor waives and/or agrees not to assert any right or
184 authority to forbid You from making technical modifications
185 necessary to exercise the Licensed Rights, including
186 technical modifications necessary to circumvent Effective
187 Technological Measures. For purposes of this Public License,
188 simply making modifications authorized by this Section 2(a)
189 (4) never produces Adapted Material.
190
191 5. Downstream recipients.
192
193 a. Offer from the Licensor -- Licensed Material. Every
194 recipient of the Licensed Material automatically
195 receives an offer from the Licensor to exercise the
196 Licensed Rights under the terms and conditions of this
197 Public License.
198
199 b. No downstream restrictions. You may not offer or impose
200 any additional or different terms or conditions on, or
201 apply any Effective Technological Measures to, the
202 Licensed Material if doing so restricts exercise of the
203 Licensed Rights by any recipient of the Licensed
204 Material.
205
206 6. No endorsement. Nothing in this Public License constitutes or
207 may be construed as permission to assert or imply that You
208 are, or that Your use of the Licensed Material is, connected
209 with, or sponsored, endorsed, or granted official status by,
210 the Licensor or others designated to receive attribution as
211 provided in Section 3(a)(1)(A)(i).
212
213 b. Other rights.
214
215 1. Moral rights, such as the right of integrity, are not
216 licensed under this Public License, nor are publicity,
217 privacy, and/or other similar personality rights; however, to
218 the extent possible, the Licensor waives and/or agrees not to
219 assert any such rights held by the Licensor to the limited
220 extent necessary to allow You to exercise the Licensed
221 Rights, but not otherwise.
222
223 2. Patent and trademark rights are not licensed under this
224 Public License.
225
226 3. To the extent possible, the Licensor waives any right to
227 collect royalties from You for the exercise of the Licensed
228 Rights, whether directly or through a collecting society
229 under any voluntary or waivable statutory or compulsory
230 licensing scheme. In all other cases the Licensor expressly
231 reserves any right to collect such royalties.
232
233
234 Section 3 -- License Conditions.
235
236 Your exercise of the Licensed Rights is expressly made subject to the
237 following conditions.
238
239 a. Attribution.
240
241 1. If You Share the Licensed Material (including in modified
242 form), You must:
243
244 a. retain the following if it is supplied by the Licensor
245 with the Licensed Material:
246
247 i. identification of the creator(s) of the Licensed
248 Material and any others designated to receive
249 attribution, in any reasonable manner requested by
250 the Licensor (including by pseudonym if
251 designated);
252
253 ii. a copyright notice;
254
255 iii. a notice that refers to this Public License;
256
257 iv. a notice that refers to the disclaimer of
258 warranties;
259
260 v. a URI or hyperlink to the Licensed Material to the
261 extent reasonably practicable;
262
263 b. indicate if You modified the Licensed Material and
264 retain an indication of any previous modifications; and
265
266 c. indicate the Licensed Material is licensed under this
267 Public License, and include the text of, or the URI or
268 hyperlink to, this Public License.
269
270 2. You may satisfy the conditions in Section 3(a)(1) in any
271 reasonable manner based on the medium, means, and context in
272 which You Share the Licensed Material. For example, it may be
273 reasonable to satisfy the conditions by providing a URI or
274 hyperlink to a resource that includes the required
275 information.
276
277 3. If requested by the Licensor, You must remove any of the
278 information required by Section 3(a)(1)(A) to the extent
279 reasonably practicable.
280
281 4. If You Share Adapted Material You produce, the Adapter's
282 License You apply must not prevent recipients of the Adapted
283 Material from complying with this Public License.
284
285
286 Section 4 -- Sui Generis Database Rights.
287
288 Where the Licensed Rights include Sui Generis Database Rights that
289 apply to Your use of the Licensed Material:
290
291 a. for the avoidance of doubt, Section 2(a)(1) grants You the right
292 to extract, reuse, reproduce, and Share all or a substantial
293 portion of the contents of the database;
294
295 b. if You include all or a substantial portion of the database
296 contents in a database in which You have Sui Generis Database
297 Rights, then the database in which You have Sui Generis Database
298 Rights (but not its individual contents) is Adapted Material; and
299
300 c. You must comply with the conditions in Section 3(a) if You Share
301 all or a substantial portion of the contents of the database.
302
303 For the avoidance of doubt, this Section 4 supplements and does not
304 replace Your obligations under this Public License where the Licensed
305 Rights include other Copyright and Similar Rights.
306
307
308 Section 5 -- Disclaimer of Warranties and Limitation of Liability.
309
310 a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
311 EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
312 AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
313 ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
314 IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
315 WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
316 PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
317 ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
318 KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
319 ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
320
321 b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
322 TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
323 NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
324 INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
325 COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
326 USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
327 ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
328 DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
329 IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
330
331 c. The disclaimer of warranties and limitation of liability provided
332 above shall be interpreted in a manner that, to the extent
333 possible, most closely approximates an absolute disclaimer and
334 waiver of all liability.
335
336
337 Section 6 -- Term and Termination.
338
339 a. This Public License applies for the term of the Copyright and
340 Similar Rights licensed here. However, if You fail to comply with
341 this Public License, then Your rights under this Public License
342 terminate automatically.
343
344 b. Where Your right to use the Licensed Material has terminated under
345 Section 6(a), it reinstates:
346
347 1. automatically as of the date the violation is cured, provided
348 it is cured within 30 days of Your discovery of the
349 violation; or
350
351 2. upon express reinstatement by the Licensor.
352
353 For the avoidance of doubt, this Section 6(b) does not affect any
354 right the Licensor may have to seek remedies for Your violations
355 of this Public License.
356
357 c. For the avoidance of doubt, the Licensor may also offer the
358 Licensed Material under separate terms or conditions or stop
359 distributing the Licensed Material at any time; however, doing so
360 will not terminate this Public License.
361
362 d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
363 License.
364
365
366 Section 7 -- Other Terms and Conditions.
367
368 a. The Licensor shall not be bound by any additional or different
369 terms or conditions communicated by You unless expressly agreed.
370
371 b. Any arrangements, understandings, or agreements regarding the
372 Licensed Material not stated herein are separate from and
373 independent of the terms and conditions of this Public License.
374
375
376 Section 8 -- Interpretation.
377
378 a. For the avoidance of doubt, this Public License does not, and
379 shall not be interpreted to, reduce, limit, restrict, or impose
380 conditions on any use of the Licensed Material that could lawfully
381 be made without permission under this Public License.
382
383 b. To the extent possible, if any provision of this Public License is
384 deemed unenforceable, it shall be automatically reformed to the
385 minimum extent necessary to make it enforceable. If the provision
386 cannot be reformed, it shall be severed from this Public License
387 without affecting the enforceability of the remaining terms and
388 conditions.
389
390 c. No term or condition of this Public License will be waived and no
391 failure to comply consented to unless expressly agreed to by the
392 Licensor.
393
394 d. Nothing in this Public License constitutes or may be interpreted
395 as a limitation upon, or waiver of, any privileges and immunities
396 that apply to the Licensor or You, including from the legal
397 processes of any jurisdiction or authority.
398
399
400 =======================================================================
401
402 Creative Commons is not a party to its public
403 licenses. Notwithstanding, Creative Commons may elect to apply one of
404 its public licenses to material it publishes and in those instances
405 will be considered the “Licensor.” The text of the Creative Commons
406 public licenses is dedicated to the public domain under the CC0 Public
407 Domain Dedication. Except for the limited purpose of indicating that
408 material is shared under a Creative Commons public license or as
409 otherwise permitted by the Creative Commons policies published at
410 creativecommons.org/policies, Creative Commons does not authorize the
411 use of the trademark "Creative Commons" or any other trademark or logo
412 of Creative Commons without its prior written consent including,
413 without limitation, in connection with any unauthorized modifications
414 to any of its public licenses or any other arrangements,
415 understandings, or agreements concerning use of licensed material. For
416 the avoidance of doubt, this paragraph does not form part of the
417 public licenses.
418
419 Creative Commons may be contacted at creativecommons.org.
0 ---
1 title: Creative Commons Attribution Share Alike 4.0
2 nickname: CC-BY-SA-4.0
3 source: https://creativecommons.org/licenses/by-sa/4.0/legalcode.txt
4
5 description: Similar to <a href='/licenses/cc-by-4.0/'>CC-BY-4.0</a> but requires derivatives be distributed under the same or a similar, <a href="https://creativecommons.org/compatiblelicenses/">compatible</a> license. Frequently used for media assets and educational materials. A previous version is the default license for Wikipedia and other Wikimedia projects. Not recommended for software.
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. It is also acceptable to soley supply a link to a copy of the license, usually to the <a href='https://creativecommons.org/licenses/by-sa/4.0/'>canonical URL for the license</a>.
8
9 conditions:
10 - include-copyright
11 - document-changes
12 - same-license
13
14 permissions:
15 - commercial-use
16 - modifications
17 - distribution
18 - private-use
19
20 limitations:
21 - no-liability
22 - trademark-use
23 - patent-use
24 ---
25
26 Attribution-ShareAlike 4.0 International
27
28 =======================================================================
29
30 Creative Commons Corporation ("Creative Commons") is not a law firm and
31 does not provide legal services or legal advice. Distribution of
32 Creative Commons public licenses does not create a lawyer-client or
33 other relationship. Creative Commons makes its licenses and related
34 information available on an "as-is" basis. Creative Commons gives no
35 warranties regarding its licenses, any material licensed under their
36 terms and conditions, or any related information. Creative Commons
37 disclaims all liability for damages resulting from their use to the
38 fullest extent possible.
39
40 Using Creative Commons Public Licenses
41
42 Creative Commons public licenses provide a standard set of terms and
43 conditions that creators and other rights holders may use to share
44 original works of authorship and other material subject to copyright
45 and certain other rights specified in the public license below. The
46 following considerations are for informational purposes only, are not
47 exhaustive, and do not form part of our licenses.
48
49 Considerations for licensors: Our public licenses are
50 intended for use by those authorized to give the public
51 permission to use material in ways otherwise restricted by
52 copyright and certain other rights. Our licenses are
53 irrevocable. Licensors should read and understand the terms
54 and conditions of the license they choose before applying it.
55 Licensors should also secure all rights necessary before
56 applying our licenses so that the public can reuse the
57 material as expected. Licensors should clearly mark any
58 material not subject to the license. This includes other CC-
59 licensed material, or material used under an exception or
60 limitation to copyright. More considerations for licensors:
61 wiki.creativecommons.org/Considerations_for_licensors
62
63 Considerations for the public: By using one of our public
64 licenses, a licensor grants the public permission to use the
65 licensed material under specified terms and conditions. If
66 the licensor's permission is not necessary for any reason--for
67 example, because of any applicable exception or limitation to
68 copyright--then that use is not regulated by the license. Our
69 licenses grant only permissions under copyright and certain
70 other rights that a licensor has authority to grant. Use of
71 the licensed material may still be restricted for other
72 reasons, including because others have copyright or other
73 rights in the material. A licensor may make special requests,
74 such as asking that all changes be marked or described.
75 Although not required by our licenses, you are encouraged to
76 respect those requests where reasonable. More_considerations
77 for the public:
78 wiki.creativecommons.org/Considerations_for_licensees
79
80 =======================================================================
81
82 Creative Commons Attribution-ShareAlike 4.0 International Public
83 License
84
85 By exercising the Licensed Rights (defined below), You accept and agree
86 to be bound by the terms and conditions of this Creative Commons
87 Attribution-ShareAlike 4.0 International Public License ("Public
88 License"). To the extent this Public License may be interpreted as a
89 contract, You are granted the Licensed Rights in consideration of Your
90 acceptance of these terms and conditions, and the Licensor grants You
91 such rights in consideration of benefits the Licensor receives from
92 making the Licensed Material available under these terms and
93 conditions.
94
95
96 Section 1 -- Definitions.
97
98 a. Adapted Material means material subject to Copyright and Similar
99 Rights that is derived from or based upon the Licensed Material
100 and in which the Licensed Material is translated, altered,
101 arranged, transformed, or otherwise modified in a manner requiring
102 permission under the Copyright and Similar Rights held by the
103 Licensor. For purposes of this Public License, where the Licensed
104 Material is a musical work, performance, or sound recording,
105 Adapted Material is always produced where the Licensed Material is
106 synched in timed relation with a moving image.
107
108 b. Adapter's License means the license You apply to Your Copyright
109 and Similar Rights in Your contributions to Adapted Material in
110 accordance with the terms and conditions of this Public License.
111
112 c. BY-SA Compatible License means a license listed at
113 creativecommons.org/compatiblelicenses, approved by Creative
114 Commons as essentially the equivalent of this Public License.
115
116 d. Copyright and Similar Rights means copyright and/or similar rights
117 closely related to copyright including, without limitation,
118 performance, broadcast, sound recording, and Sui Generis Database
119 Rights, without regard to how the rights are labeled or
120 categorized. For purposes of this Public License, the rights
121 specified in Section 2(b)(1)-(2) are not Copyright and Similar
122 Rights.
123
124 e. Effective Technological Measures means those measures that, in the
125 absence of proper authority, may not be circumvented under laws
126 fulfilling obligations under Article 11 of the WIPO Copyright
127 Treaty adopted on December 20, 1996, and/or similar international
128 agreements.
129
130 f. Exceptions and Limitations means fair use, fair dealing, and/or
131 any other exception or limitation to Copyright and Similar Rights
132 that applies to Your use of the Licensed Material.
133
134 g. License Elements means the license attributes listed in the name
135 of a Creative Commons Public License. The License Elements of this
136 Public License are Attribution and ShareAlike.
137
138 h. Licensed Material means the artistic or literary work, database,
139 or other material to which the Licensor applied this Public
140 License.
141
142 i. Licensed Rights means the rights granted to You subject to the
143 terms and conditions of this Public License, which are limited to
144 all Copyright and Similar Rights that apply to Your use of the
145 Licensed Material and that the Licensor has authority to license.
146
147 j. Licensor means the individual(s) or entity(ies) granting rights
148 under this Public License.
149
150 k. Share means to provide material to the public by any means or
151 process that requires permission under the Licensed Rights, such
152 as reproduction, public display, public performance, distribution,
153 dissemination, communication, or importation, and to make material
154 available to the public including in ways that members of the
155 public may access the material from a place and at a time
156 individually chosen by them.
157
158 l. Sui Generis Database Rights means rights other than copyright
159 resulting from Directive 96/9/EC of the European Parliament and of
160 the Council of 11 March 1996 on the legal protection of databases,
161 as amended and/or succeeded, as well as other essentially
162 equivalent rights anywhere in the world.
163
164 m. You means the individual or entity exercising the Licensed Rights
165 under this Public License. Your has a corresponding meaning.
166
167
168 Section 2 -- Scope.
169
170 a. License grant.
171
172 1. Subject to the terms and conditions of this Public License,
173 the Licensor hereby grants You a worldwide, royalty-free,
174 non-sublicensable, non-exclusive, irrevocable license to
175 exercise the Licensed Rights in the Licensed Material to:
176
177 a. reproduce and Share the Licensed Material, in whole or
178 in part; and
179
180 b. produce, reproduce, and Share Adapted Material.
181
182 2. Exceptions and Limitations. For the avoidance of doubt, where
183 Exceptions and Limitations apply to Your use, this Public
184 License does not apply, and You do not need to comply with
185 its terms and conditions.
186
187 3. Term. The term of this Public License is specified in Section
188 6(a).
189
190 4. Media and formats; technical modifications allowed. The
191 Licensor authorizes You to exercise the Licensed Rights in
192 all media and formats whether now known or hereafter created,
193 and to make technical modifications necessary to do so. The
194 Licensor waives and/or agrees not to assert any right or
195 authority to forbid You from making technical modifications
196 necessary to exercise the Licensed Rights, including
197 technical modifications necessary to circumvent Effective
198 Technological Measures. For purposes of this Public License,
199 simply making modifications authorized by this Section 2(a)
200 (4) never produces Adapted Material.
201
202 5. Downstream recipients.
203
204 a. Offer from the Licensor -- Licensed Material. Every
205 recipient of the Licensed Material automatically
206 receives an offer from the Licensor to exercise the
207 Licensed Rights under the terms and conditions of this
208 Public License.
209
210 b. Additional offer from the Licensor -- Adapted Material.
211 Every recipient of Adapted Material from You
212 automatically receives an offer from the Licensor to
213 exercise the Licensed Rights in the Adapted Material
214 under the conditions of the Adapter's License You apply.
215
216 c. No downstream restrictions. You may not offer or impose
217 any additional or different terms or conditions on, or
218 apply any Effective Technological Measures to, the
219 Licensed Material if doing so restricts exercise of the
220 Licensed Rights by any recipient of the Licensed
221 Material.
222
223 6. No endorsement. Nothing in this Public License constitutes or
224 may be construed as permission to assert or imply that You
225 are, or that Your use of the Licensed Material is, connected
226 with, or sponsored, endorsed, or granted official status by,
227 the Licensor or others designated to receive attribution as
228 provided in Section 3(a)(1)(A)(i).
229
230 b. Other rights.
231
232 1. Moral rights, such as the right of integrity, are not
233 licensed under this Public License, nor are publicity,
234 privacy, and/or other similar personality rights; however, to
235 the extent possible, the Licensor waives and/or agrees not to
236 assert any such rights held by the Licensor to the limited
237 extent necessary to allow You to exercise the Licensed
238 Rights, but not otherwise.
239
240 2. Patent and trademark rights are not licensed under this
241 Public License.
242
243 3. To the extent possible, the Licensor waives any right to
244 collect royalties from You for the exercise of the Licensed
245 Rights, whether directly or through a collecting society
246 under any voluntary or waivable statutory or compulsory
247 licensing scheme. In all other cases the Licensor expressly
248 reserves any right to collect such royalties.
249
250
251 Section 3 -- License Conditions.
252
253 Your exercise of the Licensed Rights is expressly made subject to the
254 following conditions.
255
256 a. Attribution.
257
258 1. If You Share the Licensed Material (including in modified
259 form), You must:
260
261 a. retain the following if it is supplied by the Licensor
262 with the Licensed Material:
263
264 i. identification of the creator(s) of the Licensed
265 Material and any others designated to receive
266 attribution, in any reasonable manner requested by
267 the Licensor (including by pseudonym if
268 designated);
269
270 ii. a copyright notice;
271
272 iii. a notice that refers to this Public License;
273
274 iv. a notice that refers to the disclaimer of
275 warranties;
276
277 v. a URI or hyperlink to the Licensed Material to the
278 extent reasonably practicable;
279
280 b. indicate if You modified the Licensed Material and
281 retain an indication of any previous modifications; and
282
283 c. indicate the Licensed Material is licensed under this
284 Public License, and include the text of, or the URI or
285 hyperlink to, this Public License.
286
287 2. You may satisfy the conditions in Section 3(a)(1) in any
288 reasonable manner based on the medium, means, and context in
289 which You Share the Licensed Material. For example, it may be
290 reasonable to satisfy the conditions by providing a URI or
291 hyperlink to a resource that includes the required
292 information.
293
294 3. If requested by the Licensor, You must remove any of the
295 information required by Section 3(a)(1)(A) to the extent
296 reasonably practicable.
297
298 b. ShareAlike.
299
300 In addition to the conditions in Section 3(a), if You Share
301 Adapted Material You produce, the following conditions also apply.
302
303 1. The Adapter's License You apply must be a Creative Commons
304 license with the same License Elements, this version or
305 later, or a BY-SA Compatible License.
306
307 2. You must include the text of, or the URI or hyperlink to, the
308 Adapter's License You apply. You may satisfy this condition
309 in any reasonable manner based on the medium, means, and
310 context in which You Share Adapted Material.
311
312 3. You may not offer or impose any additional or different terms
313 or conditions on, or apply any Effective Technological
314 Measures to, Adapted Material that restrict exercise of the
315 rights granted under the Adapter's License You apply.
316
317
318 Section 4 -- Sui Generis Database Rights.
319
320 Where the Licensed Rights include Sui Generis Database Rights that
321 apply to Your use of the Licensed Material:
322
323 a. for the avoidance of doubt, Section 2(a)(1) grants You the right
324 to extract, reuse, reproduce, and Share all or a substantial
325 portion of the contents of the database;
326
327 b. if You include all or a substantial portion of the database
328 contents in a database in which You have Sui Generis Database
329 Rights, then the database in which You have Sui Generis Database
330 Rights (but not its individual contents) is Adapted Material,
331
332 including for purposes of Section 3(b); and
333 c. You must comply with the conditions in Section 3(a) if You Share
334 all or a substantial portion of the contents of the database.
335
336 For the avoidance of doubt, this Section 4 supplements and does not
337 replace Your obligations under this Public License where the Licensed
338 Rights include other Copyright and Similar Rights.
339
340
341 Section 5 -- Disclaimer of Warranties and Limitation of Liability.
342
343 a. UNLESS OTHERWISE SEPARATELY UNDERTAKEN BY THE LICENSOR, TO THE
344 EXTENT POSSIBLE, THE LICENSOR OFFERS THE LICENSED MATERIAL AS-IS
345 AND AS-AVAILABLE, AND MAKES NO REPRESENTATIONS OR WARRANTIES OF
346 ANY KIND CONCERNING THE LICENSED MATERIAL, WHETHER EXPRESS,
347 IMPLIED, STATUTORY, OR OTHER. THIS INCLUDES, WITHOUT LIMITATION,
348 WARRANTIES OF TITLE, MERCHANTABILITY, FITNESS FOR A PARTICULAR
349 PURPOSE, NON-INFRINGEMENT, ABSENCE OF LATENT OR OTHER DEFECTS,
350 ACCURACY, OR THE PRESENCE OR ABSENCE OF ERRORS, WHETHER OR NOT
351 KNOWN OR DISCOVERABLE. WHERE DISCLAIMERS OF WARRANTIES ARE NOT
352 ALLOWED IN FULL OR IN PART, THIS DISCLAIMER MAY NOT APPLY TO YOU.
353
354 b. TO THE EXTENT POSSIBLE, IN NO EVENT WILL THE LICENSOR BE LIABLE
355 TO YOU ON ANY LEGAL THEORY (INCLUDING, WITHOUT LIMITATION,
356 NEGLIGENCE) OR OTHERWISE FOR ANY DIRECT, SPECIAL, INDIRECT,
357 INCIDENTAL, CONSEQUENTIAL, PUNITIVE, EXEMPLARY, OR OTHER LOSSES,
358 COSTS, EXPENSES, OR DAMAGES ARISING OUT OF THIS PUBLIC LICENSE OR
359 USE OF THE LICENSED MATERIAL, EVEN IF THE LICENSOR HAS BEEN
360 ADVISED OF THE POSSIBILITY OF SUCH LOSSES, COSTS, EXPENSES, OR
361 DAMAGES. WHERE A LIMITATION OF LIABILITY IS NOT ALLOWED IN FULL OR
362 IN PART, THIS LIMITATION MAY NOT APPLY TO YOU.
363
364 c. The disclaimer of warranties and limitation of liability provided
365 above shall be interpreted in a manner that, to the extent
366 possible, most closely approximates an absolute disclaimer and
367 waiver of all liability.
368
369
370 Section 6 -- Term and Termination.
371
372 a. This Public License applies for the term of the Copyright and
373 Similar Rights licensed here. However, if You fail to comply with
374 this Public License, then Your rights under this Public License
375 terminate automatically.
376
377 b. Where Your right to use the Licensed Material has terminated under
378 Section 6(a), it reinstates:
379
380 1. automatically as of the date the violation is cured, provided
381 it is cured within 30 days of Your discovery of the
382 violation; or
383
384 2. upon express reinstatement by the Licensor.
385
386 For the avoidance of doubt, this Section 6(b) does not affect any
387 right the Licensor may have to seek remedies for Your violations
388 of this Public License.
389
390 c. For the avoidance of doubt, the Licensor may also offer the
391 Licensed Material under separate terms or conditions or stop
392 distributing the Licensed Material at any time; however, doing so
393 will not terminate this Public License.
394
395 d. Sections 1, 5, 6, 7, and 8 survive termination of this Public
396 License.
397
398
399 Section 7 -- Other Terms and Conditions.
400
401 a. The Licensor shall not be bound by any additional or different
402 terms or conditions communicated by You unless expressly agreed.
403
404 b. Any arrangements, understandings, or agreements regarding the
405 Licensed Material not stated herein are separate from and
406 independent of the terms and conditions of this Public License.
407
408
409 Section 8 -- Interpretation.
410
411 a. For the avoidance of doubt, this Public License does not, and
412 shall not be interpreted to, reduce, limit, restrict, or impose
413 conditions on any use of the Licensed Material that could lawfully
414 be made without permission under this Public License.
415
416 b. To the extent possible, if any provision of this Public License is
417 deemed unenforceable, it shall be automatically reformed to the
418 minimum extent necessary to make it enforceable. If the provision
419 cannot be reformed, it shall be severed from this Public License
420 without affecting the enforceability of the remaining terms and
421 conditions.
422
423 c. No term or condition of this Public License will be waived and no
424 failure to comply consented to unless expressly agreed to by the
425 Licensor.
426
427 d. Nothing in this Public License constitutes or may be interpreted
428 as a limitation upon, or waiver of, any privileges and immunities
429 that apply to the Licensor or You, including from the legal
430 processes of any jurisdiction or authority.
431
432
433 =======================================================================
434
435 Creative Commons is not a party to its public
436 licenses. Notwithstanding, Creative Commons may elect to apply one of
437 its public licenses to material it publishes and in those instances
438 will be considered the “Licensor.” The text of the Creative Commons
439 public licenses is dedicated to the public domain under the CC0 Public
440 Domain Dedication. Except for the limited purpose of indicating that
441 material is shared under a Creative Commons public license or as
442 otherwise permitted by the Creative Commons policies published at
443 creativecommons.org/policies, Creative Commons does not authorize the
444 use of the trademark "Creative Commons" or any other trademark or logo
445 of Creative Commons without its prior written consent including,
446 without limitation, in connection with any unauthorized modifications
447 to any of its public licenses or any other arrangements,
448 understandings, or agreements concerning use of licensed material. For
449 the avoidance of doubt, this paragraph does not form part of the
450 public licenses.
451
452 Creative Commons may be contacted at creativecommons.org.
0 ---
1 title: Creative Commons Zero v1.0 Universal
2 nickname: CC0 1.0 Universal
3 redirect_from: /licenses/cc0/
4 family: Public Domain
5 variant: true
6 source: http://creativecommons.org/publicdomain/zero/1.0/
7
8 description: The <a href="http://creativecommons.org/publicdomain/zero/1.0/">Creative Commons CC0 Public Domain Dedication</a> waives copyright interest in any a work you've created and dedicates it to the world-wide public domain. Use CC0 to opt out of copyright entirely and ensure your work has the widest reach. As with the Unlicense and typical software licenses, CC0 disclaims warranties. CC0 is very similar to the Unlicense.
9
10 how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the CC0 into the file.
11
12 note: Creative Commons recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be <a href="https://wiki.creativecommons.org/wiki/CC0_FAQ#May_I_apply_CC0_to_computer_software.3F_If_so.2C_is_there_a_recommended_implementation.3F">found on their website</a>.
13
14 permissions:
15 - commercial-use
16 - modifications
17 - distribution
18 - private-use
19
20 conditions: []
21
22 limitations:
23 - no-liability
24 - trademark-use
25 - patent-use
26
27 hidden: false
28 ---
29
30 CC0 1.0 Universal
31
32 Statement of Purpose
33
34 The laws of most jurisdictions throughout the world automatically confer
35 exclusive Copyright and Related Rights (defined below) upon the creator and
36 subsequent owner(s) (each and all, an "owner") of an original work of
37 authorship and/or a database (each, a "Work").
38
39 Certain owners wish to permanently relinquish those rights to a Work for the
40 purpose of contributing to a commons of creative, cultural and scientific
41 works ("Commons") that the public can reliably and without fear of later
42 claims of infringement build upon, modify, incorporate in other works, reuse
43 and redistribute as freely as possible in any form whatsoever and for any
44 purposes, including without limitation commercial purposes. These owners may
45 contribute to the Commons to promote the ideal of a free culture and the
46 further production of creative, cultural and scientific works, or to gain
47 reputation or greater distribution for their Work in part through the use and
48 efforts of others.
49
50 For these and/or other purposes and motivations, and without any expectation
51 of additional consideration or compensation, the person associating CC0 with a
52 Work (the "Affirmer"), to the extent that he or she is an owner of Copyright
53 and Related Rights in the Work, voluntarily elects to apply CC0 to the Work
54 and publicly distribute the Work under its terms, with knowledge of his or her
55 Copyright and Related Rights in the Work and the meaning and intended legal
56 effect of CC0 on those rights.
57
58 1. Copyright and Related Rights. A Work made available under CC0 may be
59 protected by copyright and related or neighboring rights ("Copyright and
60 Related Rights"). Copyright and Related Rights include, but are not limited
61 to, the following:
62
63 i. the right to reproduce, adapt, distribute, perform, display, communicate,
64 and translate a Work;
65
66 ii. moral rights retained by the original author(s) and/or performer(s);
67
68 iii. publicity and privacy rights pertaining to a person's image or likeness
69 depicted in a Work;
70
71 iv. rights protecting against unfair competition in regards to a Work,
72 subject to the limitations in paragraph 4(a), below;
73
74 v. rights protecting the extraction, dissemination, use and reuse of data in
75 a Work;
76
77 vi. database rights (such as those arising under Directive 96/9/EC of the
78 European Parliament and of the Council of 11 March 1996 on the legal
79 protection of databases, and under any national implementation thereof,
80 including any amended or successor version of such directive); and
81
82 vii. other similar, equivalent or corresponding rights throughout the world
83 based on applicable law or treaty, and any national implementations thereof.
84
85 2. Waiver. To the greatest extent permitted by, but not in contravention of,
86 applicable law, Affirmer hereby overtly, fully, permanently, irrevocably and
87 unconditionally waives, abandons, and surrenders all of Affirmer's Copyright
88 and Related Rights and associated claims and causes of action, whether now
89 known or unknown (including existing as well as future claims and causes of
90 action), in the Work (i) in all territories worldwide, (ii) for the maximum
91 duration provided by applicable law or treaty (including future time
92 extensions), (iii) in any current or future medium and for any number of
93 copies, and (iv) for any purpose whatsoever, including without limitation
94 commercial, advertising or promotional purposes (the "Waiver"). Affirmer makes
95 the Waiver for the benefit of each member of the public at large and to the
96 detriment of Affirmer's heirs and successors, fully intending that such Waiver
97 shall not be subject to revocation, rescission, cancellation, termination, or
98 any other legal or equitable action to disrupt the quiet enjoyment of the Work
99 by the public as contemplated by Affirmer's express Statement of Purpose.
100
101 3. Public License Fallback. Should any part of the Waiver for any reason be
102 judged legally invalid or ineffective under applicable law, then the Waiver
103 shall be preserved to the maximum extent permitted taking into account
104 Affirmer's express Statement of Purpose. In addition, to the extent the Waiver
105 is so judged Affirmer hereby grants to each affected person a royalty-free,
106 non transferable, non sublicensable, non exclusive, irrevocable and
107 unconditional license to exercise Affirmer's Copyright and Related Rights in
108 the Work (i) in all territories worldwide, (ii) for the maximum duration
109 provided by applicable law or treaty (including future time extensions), (iii)
110 in any current or future medium and for any number of copies, and (iv) for any
111 purpose whatsoever, including without limitation commercial, advertising or
112 promotional purposes (the "License"). The License shall be deemed effective as
113 of the date CC0 was applied by Affirmer to the Work. Should any part of the
114 License for any reason be judged legally invalid or ineffective under
115 applicable law, such partial invalidity or ineffectiveness shall not
116 invalidate the remainder of the License, and in such case Affirmer hereby
117 affirms that he or she will not (i) exercise any of his or her remaining
118 Copyright and Related Rights in the Work or (ii) assert any associated claims
119 and causes of action with respect to the Work, in either case contrary to
120 Affirmer's express Statement of Purpose.
121
122 4. Limitations and Disclaimers.
123
124 a. No trademark or patent rights held by Affirmer are waived, abandoned,
125 surrendered, licensed or otherwise affected by this document.
126
127 b. Affirmer offers the Work as-is and makes no representations or warranties
128 of any kind concerning the Work, express, implied, statutory or otherwise,
129 including without limitation warranties of title, merchantability, fitness
130 for a particular purpose, non infringement, or the absence of latent or
131 other defects, accuracy, or the present or absence of errors, whether or not
132 discoverable, all to the greatest extent permissible under applicable law.
133
134 c. Affirmer disclaims responsibility for clearing rights of other persons
135 that may apply to the Work or any use thereof, including without limitation
136 any person's Copyright and Related Rights in the Work. Further, Affirmer
137 disclaims responsibility for obtaining any necessary consents, permissions
138 or other rights required for any use of the Work.
139
140 d. Affirmer understands and acknowledges that Creative Commons is not a
141 party to this document and has no duty or obligation with respect to this
142 CC0 or use of the Work.
143
144 For more information, please see
145 <http://creativecommons.org/publicdomain/zero/1.0/>
0 ---
1 title: Eclipse Public License 1.0
2 redirect_from: /licenses/eclipse/
3 source: http://www.eclipse.org/legal/epl-v10.html
4
5 description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
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.
8
9 using:
10 - The Eclipse Foundation: "http://www.eclipse.org"
11 - OpenDaylight: "http://www.opendaylight.org/"
12 - Clojure: "http://clojure.org/"
13 - JUnit: "http://junit.org/"
14 - Ruby: "https://github.com/jruby/jruby"
15 - Mondrian: "https://en.wikipedia.org/wiki/Mondrian_OLAP_server"
16
17 conditions:
18 - disclose-source
19 - include-copyright
20 - same-license
21
22 permissions:
23 - commercial-use
24 - distribution
25 - modifications
26 - patent-use
27 - private-use
28
29 limitations:
30 - no-liability
31
32 hidden: false
33 ---
34
35 Eclipse Public License - v 1.0
36
37 THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
38 LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
39 CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
40
41 1. DEFINITIONS
42
43 "Contribution" means:
44
45 a) in the case of the initial Contributor, the initial code and documentation
46 distributed under this Agreement, and
47 b) in the case of each subsequent Contributor:
48 i) changes to the Program, and
49 ii) additions to the Program;
50
51 where such changes and/or additions to the Program originate from and are
52 distributed by that particular Contributor. A Contribution 'originates'
53 from a Contributor if it was added to the Program by such Contributor
54 itself or anyone acting on such Contributor's behalf. Contributions do not
55 include additions to the Program which: (i) are separate modules of
56 software distributed in conjunction with the Program under their own
57 license agreement, and (ii) are not derivative works of the Program.
58
59 "Contributor" means any person or entity that distributes the Program.
60
61 "Licensed Patents" mean patent claims licensable by a Contributor which are
62 necessarily infringed by the use or sale of its Contribution alone or when
63 combined with the Program.
64
65 "Program" means the Contributions distributed in accordance with this
66 Agreement.
67
68 "Recipient" means anyone who receives the Program under this Agreement,
69 including all Contributors.
70
71 2. GRANT OF RIGHTS
72 a) Subject to the terms of this Agreement, each Contributor hereby grants
73 Recipient a non-exclusive, worldwide, royalty-free copyright license to
74 reproduce, prepare derivative works of, publicly display, publicly
75 perform, distribute and sublicense the Contribution of such Contributor,
76 if any, and such derivative works, in source code and object code form.
77 b) Subject to the terms of this Agreement, each Contributor hereby grants
78 Recipient a non-exclusive, worldwide, royalty-free patent license under
79 Licensed Patents to make, use, sell, offer to sell, import and otherwise
80 transfer the Contribution of such Contributor, if any, in source code and
81 object code form. This patent license shall apply to the combination of
82 the Contribution and the Program if, at the time the Contribution is
83 added by the Contributor, such addition of the Contribution causes such
84 combination to be covered by the Licensed Patents. The patent license
85 shall not apply to any other combinations which include the Contribution.
86 No hardware per se is licensed hereunder.
87 c) Recipient understands that although each Contributor grants the licenses
88 to its Contributions set forth herein, no assurances are provided by any
89 Contributor that the Program does not infringe the patent or other
90 intellectual property rights of any other entity. Each Contributor
91 disclaims any liability to Recipient for claims brought by any other
92 entity based on infringement of intellectual property rights or
93 otherwise. As a condition to exercising the rights and licenses granted
94 hereunder, each Recipient hereby assumes sole responsibility to secure
95 any other intellectual property rights needed, if any. For example, if a
96 third party patent license is required to allow Recipient to distribute
97 the Program, it is Recipient's responsibility to acquire that license
98 before distributing the Program.
99 d) Each Contributor represents that to its knowledge it has sufficient
100 copyright rights in its Contribution, if any, to grant the copyright
101 license set forth in this Agreement.
102
103 3. REQUIREMENTS
104
105 A Contributor may choose to distribute the Program in object code form under
106 its own license agreement, provided that:
107
108 a) it complies with the terms and conditions of this Agreement; and
109 b) its license agreement:
110 i) effectively disclaims on behalf of all Contributors all warranties
111 and conditions, express and implied, including warranties or
112 conditions of title and non-infringement, and implied warranties or
113 conditions of merchantability and fitness for a particular purpose;
114 ii) effectively excludes on behalf of all Contributors all liability for
115 damages, including direct, indirect, special, incidental and
116 consequential damages, such as lost profits;
117 iii) states that any provisions which differ from this Agreement are
118 offered by that Contributor alone and not by any other party; and
119 iv) states that source code for the Program is available from such
120 Contributor, and informs licensees how to obtain it in a reasonable
121 manner on or through a medium customarily used for software exchange.
122
123 When the Program is made available in source code form:
124
125 a) it must be made available under this Agreement; and
126 b) a copy of this Agreement must be included with each copy of the Program.
127 Contributors may not remove or alter any copyright notices contained
128 within the Program.
129
130 Each Contributor must identify itself as the originator of its Contribution,
131 if
132 any, in a manner that reasonably allows subsequent Recipients to identify the
133 originator of the Contribution.
134
135 4. COMMERCIAL DISTRIBUTION
136
137 Commercial distributors of software may accept certain responsibilities with
138 respect to end users, business partners and the like. While this license is
139 intended to facilitate the commercial use of the Program, the Contributor who
140 includes the Program in a commercial product offering should do so in a manner
141 which does not create potential liability for other Contributors. Therefore,
142 if a Contributor includes the Program in a commercial product offering, such
143 Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
144 every other Contributor ("Indemnified Contributor") against any losses,
145 damages and costs (collectively "Losses") arising from claims, lawsuits and
146 other legal actions brought by a third party against the Indemnified
147 Contributor to the extent caused by the acts or omissions of such Commercial
148 Contributor in connection with its distribution of the Program in a commercial
149 product offering. The obligations in this section do not apply to any claims
150 or Losses relating to any actual or alleged intellectual property
151 infringement. In order to qualify, an Indemnified Contributor must:
152 a) promptly notify the Commercial Contributor in writing of such claim, and
153 b) allow the Commercial Contributor to control, and cooperate with the
154 Commercial Contributor in, the defense and any related settlement
155 negotiations. The Indemnified Contributor may participate in any such claim at
156 its own expense.
157
158 For example, a Contributor might include the Program in a commercial product
159 offering, Product X. That Contributor is then a Commercial Contributor. If
160 that Commercial Contributor then makes performance claims, or offers
161 warranties related to Product X, those performance claims and warranties are
162 such Commercial Contributor's responsibility alone. Under this section, the
163 Commercial Contributor would have to defend claims against the other
164 Contributors related to those performance claims and warranties, and if a
165 court requires any other Contributor to pay any damages as a result, the
166 Commercial Contributor must pay those damages.
167
168 5. NO WARRANTY
169
170 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
171 "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
172 IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
173 NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
174 Recipient is solely responsible for determining the appropriateness of using
175 and distributing the Program and assumes all risks associated with its
176 exercise of rights under this Agreement , including but not limited to the
177 risks and costs of program errors, compliance with applicable laws, damage to
178 or loss of data, programs or equipment, and unavailability or interruption of
179 operations.
180
181 6. DISCLAIMER OF LIABILITY
182
183 EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
184 CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
185 SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
186 LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
187 CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
188 ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
189 EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
190 OF SUCH DAMAGES.
191
192 7. GENERAL
193
194 If any provision of this Agreement is invalid or unenforceable under
195 applicable law, it shall not affect the validity or enforceability of the
196 remainder of the terms of this Agreement, and without further action by the
197 parties hereto, such provision shall be reformed to the minimum extent
198 necessary to make such provision valid and enforceable.
199
200 If Recipient institutes patent litigation against any entity (including a
201 cross-claim or counterclaim in a lawsuit) alleging that the Program itself
202 (excluding combinations of the Program with other software or hardware)
203 infringes such Recipient's patent(s), then such Recipient's rights granted
204 under Section 2(b) shall terminate as of the date such litigation is filed.
205
206 All Recipient's rights under this Agreement shall terminate if it fails to
207 comply with any of the material terms or conditions of this Agreement and does
208 not cure such failure in a reasonable period of time after becoming aware of
209 such noncompliance. If all Recipient's rights under this Agreement terminate,
210 Recipient agrees to cease use and distribution of the Program as soon as
211 reasonably practicable. However, Recipient's obligations under this Agreement
212 and any licenses granted by Recipient relating to the Program shall continue
213 and survive.
214
215 Everyone is permitted to copy and distribute copies of this Agreement, but in
216 order to avoid inconsistency the Agreement is copyrighted and may only be
217 modified in the following manner. The Agreement Steward reserves the right to
218 publish new versions (including revisions) of this Agreement from time to
219 time. No one other than the Agreement Steward has the right to modify this
220 Agreement. The Eclipse Foundation is the initial Agreement Steward. The
221 Eclipse Foundation may assign the responsibility to serve as the Agreement
222 Steward to a suitable separate entity. Each new version of the Agreement will
223 be given a distinguishing version number. The Program (including
224 Contributions) may always be distributed subject to the version of the
225 Agreement under which it was received. In addition, after a new version of the
226 Agreement is published, Contributor may elect to distribute the Program
227 (including its Contributions) under the new version. Except as expressly
228 stated in Sections 2(a) and 2(b) above, Recipient receives no rights or
229 licenses to the intellectual property of any Contributor under this Agreement,
230 whether expressly, by implication, estoppel or otherwise. All rights in the
231 Program not expressly granted under this Agreement are reserved.
232
233 This Agreement is governed by the laws of the State of New York and the
234 intellectual property laws of the United States of America. No party to this
235 Agreement will bring a legal action under this Agreement more than one year
236 after the cause of action arose. Each party waives its rights to a jury trial in
237 any resulting litigation.
0 ---
1 title: European Union Public License 1.1
2 nickname: EUPL-1.1
3 redirect_from: /licenses/eupl-v1.1/
4 family: EUPL
5 featured: false
6 source: https://joinup.ec.europa.eu/community/eupl/og_page/european-union-public-licence-eupl-v11
7
8 description: The “European Union Public Licence” (EUPL) is a copyleft free/open source software license created on the initiative of and approved by the European Commission in 22 official languages of the European Union.
9
10 how: Create a text file (typically named COPYING or LICENCE.txt) in the root of your source code and copy the text of the license into the file.
11
12 note: The European Commission recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at https://joinup.ec.europa.eu/sites/default/files/ckeditor_files/files/EUPL%201_1%20Guidelines%20EN%20Joinup.pdf
13
14 conditions:
15 - include-copyright
16 - disclose-source
17 - document-changes
18 - network-use-disclose
19 - same-license
20
21 permissions:
22 - commercial-use
23 - modifications
24 - distribution
25 - patent-use
26 - private-use
27
28 limitations:
29 - no-liability
30 - trademark-use
31
32 ---
33
34 European Union Public Licence
35 V. 1.1
36
37
38 EUPL © the European Community 2007
39
40
41 This European Union Public Licence (the “EUPL”) applies to the
42 Work or Software (as defined below) which is provided under the terms of this
43 Licence. Any use of the Work, other than as authorised under this Licence is
44 prohibited (to the extent such use is covered by a right of the copyright
45 holder of the Work).
46
47 The Original Work is provided under the terms of this
48 Licence when the Licensor (as defined below) has placed the following notice
49 immediately following the copyright notice for the Original Work:
50
51 Licensed under the EUPL V.1.1
52
53 or has expressed by any other mean his willingness to license under the EUPL.
54
55
56 1. Definitions
57
58 In this Licence, the
59 following terms have the following meaning:
60
61 - The Licence: this Licence.
62
63 - The Original Work or the Software: the software distributed
64 and/or communicated by the Licensor under this Licence, available as Source
65 Code and also as Executable Code as the case may be.
66
67 - Derivative Works:
68 the works or software that could be created by the Licensee, based upon the
69 Original Work or modifications thereof. This Licence does not define the
70 extent of modification or dependence on the Original Work required in order to
71 classify a work as a Derivative Work; this extent is determined by copyright
72 law applicable in the country mentioned in Article 15.
73
74 - The Work: the Original Work and/or its Derivative Works.
75
76 - The Source Code: the human-readable form of the Work which is the most
77 convenient for people to study and modify.
78
79 - The Executable Code: any code which has generally been compiled and which
80 is meant to be interpreted by a computer as a program.
81
82 - The Licensor: the natural or legal person that distributes and/or
83 communicates the Work under the Licence.
84
85 - Contributor(s): any natural or legal person who modifies the Work under the
86 Licence, or otherwise contributes to the creation of a Derivative Work.
87
88 - The Licensee or “You”: any natural or legal person who makes any usage of
89 the Software under the terms of the Licence.
90
91 - Distribution and/or Communication: any act of selling, giving, lending,
92 renting, distributing, communicating, transmitting, or otherwise
93 making available, on-line or off-line, copies of the Work or providing access
94 to its essential functionalities at the disposal of any other natural or legal
95 person.
96
97
98 2. Scope of the rights granted by the Licence
99
100 The Licensor hereby grants You a world-wide, royalty-free, non-exclusive,
101 sub-licensable licence to do the following, for the duration of copyright
102 vested in the Original Work:
103
104 - use the Work in any circumstance and for all usage,
105 - reproduce the Work,
106 - modify the Original Work, and make Derivative Works
107 based upon the Work,
108 - communicate to the public, including the right to make available or display
109 the Work or copies thereof to the public and perform publicly, as the case
110 may be, the Work,
111 - distribute the Work or copies thereof,
112 - lend and rent the Work or copies thereof,
113 - sub-license rights in the Work or copies thereof.
114
115 Those rights can be exercised on any media, supports and formats, whether now
116 known or later invented, as far as the applicable law permits so.
117
118 In the countries where moral rights apply, the Licensor waives his right to
119 exercise his moral right to the extent allowed by law in order to make
120 effective the licence of the economic rights here above listed.
121
122 The Licensor grants to the Licensee royalty-free, non exclusive usage rights
123 to any patents held by the Licensor, to the extent necessary to make use of
124 the rights granted on the Work under this Licence.
125
126
127 3. Communication of the Source Code
128
129 The Licensor may provide the Work either
130 in its Source Code form, or as Executable Code. If the Work is provided as
131 Executable Code, the Licensor provides in addition a machine-readable copy of
132 the Source Code of the Work along with each copy of the Work that the Licensor
133 distributes or indicates, in a notice following the copyright notice attached
134 to the Work, a repository where the Source Code is easily and freely
135 accessible for as long as the Licensor continues to distribute and/or
136 communicate the Work.
137
138
139 4. Limitations on copyright
140
141 Nothing in this Licence is intended to deprive the Licensee of the benefits
142 from any exception or limitation to the exclusive rights of the rights owners
143 in the Original Work or Software, of the exhaustion of those rights or of
144 other applicable limitations thereto.
145
146
147 5. Obligations of the Licensee
148
149 The grant of the rights mentioned above is subject to some restrictions and
150 obligations imposed on the Licensee. Those obligations are the following:
151
152 Attribution right:
153 the Licensee shall keep intact all copyright, patent or trademarks notices and
154 all notices that refer to the Licence and to the disclaimer of warranties. The
155 Licensee must include a copy of such notices and a copy of the Licence with
156 every copy of the Work he/she distributes and/or communicates. The Licensee
157 must cause any Derivative Work to carry prominent notices stating that the
158 Work has been modified and the date of modification.
159
160 Copyleft clause:
161 If the Licensee distributes and/or communicates copies of the Original Works
162 or Derivative Works based upon the Original Work, this Distribution and/or
163 Communication will be done under the terms of this Licence or of a later
164 version of this Licence unless the Original Work is expressly distributed only
165 under this version of the Licence. The Licensee (becoming Licensor) cannot
166 offer or impose any additional terms or conditions on the Work or Derivative
167 Work that alter or restrict the terms of the Licence.
168
169 Compatibility clause:
170 If the Licensee Distributes and/or Communicates Derivative Works or copies
171 thereof based upon both the Original Work and another work licensed under a
172 Compatible Licence, this Distribution and/or Communication can be done under
173 the terms of this Compatible Licence. For the sake of this clause,
174 “Compatible Licence” refers to the licences listed in the appendix
175 attached to this Licence. Should the Licensee’s obligations under the
176 Compatible Licence conflict with his/her obligations under this Licence, the
177 obligations of the Compatible Licence shall prevail.
178
179 Provision of Source Code:
180 When distributing and/or communicating copies of the Work, the Licensee
181 will provide a machine-readable copy of the Source Code or indicate a
182 repository where this Source will be easily and freely available for as long
183 as the Licensee continues to distribute and/or communicate the Work.
184
185 Legal Protection:
186 This Licence does not grant permission to use the trade names,
187 trademarks, service marks, or names of the Licensor, except as required for
188 reasonable and customary use in describing the origin of the Work and
189 reproducing the content of the copyright notice.
190
191
192 6. Chain of Authorship
193
194 The original Licensor warrants that the copyright in the Original Work
195 granted hereunder is owned by him/her or licensed to him/her and
196 that he/she has the power and authority to grant the Licence.
197
198 Each Contributor warrants that the copyright in the modifications he/she
199 brings to the Work are owned by him/her or licensed to him/her and that
200 he/she has the power and authority to grant the Licence.
201
202 Each time You accept the Licence, the original Licensor and subsequent
203 Contributors grant You a licence to their contributions to the Work, under
204 the terms of this Licence.
205
206
207 7. Disclaimer of Warranty
208
209 The Work is a work in progress, which is continuously improved by numerous
210 contributors. It is not a finished work and may therefore contain defects or
211 “bugs” inherent to this type of software development.
212
213 For the above reason, the Work is provided under the Licence on an “as is”
214 basis and without warranties of any kind concerning the Work, including
215 without limitation merchantability, fitness for a particular purpose, absence
216 of defects or errors, accuracy, non-infringement of intellectual property
217 rights other than copyright as stated in Article 6 of this Licence.
218
219 This disclaimer of warranty is an essential part of the Licence and a
220 condition for the grant of any rights to the Work.
221
222
223 8. Disclaimer of Liability
224
225 Except in the cases of wilful misconduct or damages directly caused to
226 natural persons, the Licensor will in no event be liable for any direct or
227 indirect, material or moral, damages of any kind, arising out of the Licence
228 or of the use of the Work, including without limitation,
229 damages for loss of goodwill, work stoppage, computer failure or malfunction,
230 loss of data or any commercial damage, even if the Licensor has been advised
231 of the possibility of such damage. However, the Licensor will be liable under
232 statutory product liability laws as far such laws apply to the Work.
233
234
235 9. Additional agreements
236
237 While distributing the Original Work or Derivative Works, You may choose
238 to conclude an additional agreement to offer, and charge a fee for,
239 acceptance of support, warranty, indemnity, or other liability
240 obligations and/or services consistent with this Licence. However, in
241 accepting such obligations, You may act only on your own behalf and on your
242 sole responsibility, not on behalf of the original Licensor or any other
243 Contributor, and only if You agree to indemnify, defend, and hold each
244 Contributor harmless for any liability incurred by, or claims asserted against
245 such Contributor by the fact You have accepted any such warranty or additional
246 liability.
247
248
249 10. Acceptance of the Licence
250
251 The provisions of this Licence can be accepted by clicking on
252 an icon “I agree” placed under the bottom of a window displaying the text of
253 this Licence or by affirming consent in any other similar way, in accordance
254 with the rules of applicable law. Clicking on that icon indicates your clear
255 and irrevocable acceptance of this Licence and
256 all of its terms and conditions.
257
258 Similarly, you irrevocably accept this Licence and
259 all of its terms and conditions by exercising any rights granted to You
260 by Article 2 of this Licence, such as the use of the Work,
261 the creation by You of a Derivative Work or the Distribution and/or
262 Communication by You of the Work or copies thereof.
263
264
265 11. Information to the public
266
267 In case of any Distribution and/or Communication of the Work by means of
268 electronic communication by You (for example, by offering to download
269 the Work from a remote location) the distribution channel or media (for
270 example, a website) must at least provide to the public the information
271 requested by the applicable law regarding the Licensor, the Licence and the
272 way it may be accessible, concluded, stored and reproduced by the
273 Licensee.
274
275
276 12. Termination of the Licence
277
278 The Licence and the rights granted hereunder will terminate automatically
279 upon any breach by the Licensee of the terms of the Licence.
280
281 Such a termination will not terminate the licences of any person who has
282 received the Work from the Licensee under the Licence, provided such persons
283 remain in full compliance with the Licence.
284
285
286 13. Miscellaneous
287
288 Without prejudice of Article 9 above, the Licence represents the complete
289 agreement between the Parties as to the Work licensed hereunder.
290
291 If any provision of the Licence is invalid or unenforceable under applicable
292 law, this will not affect the validity or enforceability of the Licence as a
293 whole. Such provision will be construed and/or reformed so as necessary
294 to make it valid and enforceable.
295
296 The European Commission may publish other linguistic versions and/or new
297 versions of this Licence, so far this is required and reasonable, without
298 reducing the scope of the rights granted by the Licence.
299 New versions of the Licence will be published with a unique version number.
300
301 All linguistic versions of this Licence, approved by the European Commission,
302 have identical value. Parties can take advantage of the linguistic version
303 of their choice.
304
305
306 14. Jurisdiction
307
308 Any litigation resulting from the interpretation of this License, arising
309 between the European Commission, as a Licensor, and any Licensee,
310 will be subject to the jurisdiction of the Court of Justice of the
311 European Communities, as laid down in article 238 of the Treaty establishing
312 the European Community.
313
314 Any litigation arising between Parties, other than the European Commission,
315 and resulting from the interpretation of this License, will be subject to the
316 exclusive jurisdiction of the competent court where the Licensor resides or
317 conducts its primary business.
318
319
320 15. Applicable Law
321
322 This Licence shall be governed by the law of the European Union country where
323 the Licensor resides or has his registered office.
324
325 This licence shall be governed by the Belgian law if:
326
327 - a litigation arises between the European Commission, as a Licensor, and any
328 Licensee;
329 - the Licensor, other than the European Commission, has no residence or
330 registered office inside a European Union country.
331
332
333 ===
334
335
336 Appendix
337
338
339 “Compatible Licences” according to article 5 EUPL are:
340 - GNU General Public License (GNU GPL) v. 2
341 - Open Software License (OSL) v. 2.1, v. 3.0
342 - Common Public License v. 1.0
343 - Eclipse Public License v. 1.0
344 - Cecill v. 2.0
0 ---
1 title: GNU General Public License v2.0
2 nickname: GNU GPLv2
3 redirect_from: /licenses/gpl-v2/
4 family: GNU GPL
5 variant: true
6 source: http://www.gnu.org/licenses/gpl-2.0.txt
7
8 description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.
9
10 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.
11
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
14 using:
15 - Linux: https://git.kernel.org/cgit/linux/kernel/git/torvalds/linux.git/tree/COPYING
16 - WordPress: https://github.com/WordPress/WordPress/blob/master/license.txt
17
18 conditions:
19 - include-copyright
20 - document-changes
21 - disclose-source
22 - same-license
23
24 permissions:
25 - commercial-use
26 - modifications
27 - distribution
28 - patent-use
29 - private-use
30
31 limitations:
32 - no-liability
33
34 hidden: false
35 ---
36
37 GNU GENERAL PUBLIC LICENSE
38 Version 2, June 1991
39
40 Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
41 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
42 Everyone is permitted to copy and distribute verbatim copies
43 of this license document, but changing it is not allowed.
44
45 Preamble
46
47 The licenses for most software are designed to take away your
48 freedom to share and change it. By contrast, the GNU General Public
49 License is intended to guarantee your freedom to share and change free
50 software--to make sure the software is free for all its users. This
51 General Public License applies to most of the Free Software
52 Foundation's software and to any other program whose authors commit to
53 using it. (Some other Free Software Foundation software is covered by
54 the GNU Lesser General Public License instead.) You can apply it to
55 your programs, too.
56
57 When we speak of free software, we are referring to freedom, not
58 price. Our General Public Licenses are designed to make sure that you
59 have the freedom to distribute copies of free software (and charge for
60 this service if you wish), that you receive source code or can get it
61 if you want it, that you can change the software or use pieces of it
62 in new free programs; and that you know you can do these things.
63
64 To protect your rights, we need to make restrictions that forbid
65 anyone to deny you these rights or to ask you to surrender the rights.
66 These restrictions translate to certain responsibilities for you if you
67 distribute copies of the software, or if you modify it.
68
69 For example, if you distribute copies of such a program, whether
70 gratis or for a fee, you must give the recipients all the rights that
71 you have. You must make sure that they, too, receive or can get the
72 source code. And you must show them these terms so they know their
73 rights.
74
75 We protect your rights with two steps: (1) copyright the software, and
76 (2) offer you this license which gives you legal permission to copy,
77 distribute and/or modify the software.
78
79 Also, for each author's protection and ours, we want to make certain
80 that everyone understands that there is no warranty for this free
81 software. If the software is modified by someone else and passed on, we
82 want its recipients to know that what they have is not the original, so
83 that any problems introduced by others will not reflect on the original
84 authors' reputations.
85
86 Finally, any free program is threatened constantly by software
87 patents. We wish to avoid the danger that redistributors of a free
88 program will individually obtain patent licenses, in effect making the
89 program proprietary. To prevent this, we have made it clear that any
90 patent must be licensed for everyone's free use or not licensed at all.
91
92 The precise terms and conditions for copying, distribution and
93 modification follow.
94
95 GNU GENERAL PUBLIC LICENSE
96 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
97
98 0. This License applies to any program or other work which contains
99 a notice placed by the copyright holder saying it may be distributed
100 under the terms of this General Public License. The "Program", below,
101 refers to any such program or work, and a "work based on the Program"
102 means either the Program or any derivative work under copyright law:
103 that is to say, a work containing the Program or a portion of it,
104 either verbatim or with modifications and/or translated into another
105 language. (Hereinafter, translation is included without limitation in
106 the term "modification".) Each licensee is addressed as "you".
107
108 Activities other than copying, distribution and modification are not
109 covered by this License; they are outside its scope. The act of
110 running the Program is not restricted, and the output from the Program
111 is covered only if its contents constitute a work based on the
112 Program (independent of having been made by running the Program).
113 Whether that is true depends on what the Program does.
114
115 1. You may copy and distribute verbatim copies of the Program's
116 source code as you receive it, in any medium, provided that you
117 conspicuously and appropriately publish on each copy an appropriate
118 copyright notice and disclaimer of warranty; keep intact all the
119 notices that refer to this License and to the absence of any warranty;
120 and give any other recipients of the Program a copy of this License
121 along with the Program.
122
123 You may charge a fee for the physical act of transferring a copy, and
124 you may at your option offer warranty protection in exchange for a fee.
125
126 2. You may modify your copy or copies of the Program or any portion
127 of it, thus forming a work based on the Program, and copy and
128 distribute such modifications or work under the terms of Section 1
129 above, provided that you also meet all of these conditions:
130
131 a) You must cause the modified files to carry prominent notices
132 stating that you changed the files and the date of any change.
133
134 b) You must cause any work that you distribute or publish, that in
135 whole or in part contains or is derived from the Program or any
136 part thereof, to be licensed as a whole at no charge to all third
137 parties under the terms of this License.
138
139 c) If the modified program normally reads commands interactively
140 when run, you must cause it, when started running for such
141 interactive use in the most ordinary way, to print or display an
142 announcement including an appropriate copyright notice and a
143 notice that there is no warranty (or else, saying that you provide
144 a warranty) and that users may redistribute the program under
145 these conditions, and telling the user how to view a copy of this
146 License. (Exception: if the Program itself is interactive but
147 does not normally print such an announcement, your work based on
148 the Program is not required to print an announcement.)
149
150 These requirements apply to the modified work as a whole. If
151 identifiable sections of that work are not derived from the Program,
152 and can be reasonably considered independent and separate works in
153 themselves, then this License, and its terms, do not apply to those
154 sections when you distribute them as separate works. But when you
155 distribute the same sections as part of a whole which is a work based
156 on the Program, the distribution of the whole must be on the terms of
157 this License, whose permissions for other licensees extend to the
158 entire whole, and thus to each and every part regardless of who wrote it.
159
160 Thus, it is not the intent of this section to claim rights or contest
161 your rights to work written entirely by you; rather, the intent is to
162 exercise the right to control the distribution of derivative or
163 collective works based on the Program.
164
165 In addition, mere aggregation of another work not based on the Program
166 with the Program (or with a work based on the Program) on a volume of
167 a storage or distribution medium does not bring the other work under
168 the scope of this License.
169
170 3. You may copy and distribute the Program (or a work based on it,
171 under Section 2) in object code or executable form under the terms of
172 Sections 1 and 2 above provided that you also do one of the following:
173
174 a) Accompany it with the complete corresponding machine-readable
175 source code, which must be distributed under the terms of Sections
176 1 and 2 above on a medium customarily used for software interchange; or,
177
178 b) Accompany it with a written offer, valid for at least three
179 years, to give any third party, for a charge no more than your
180 cost of physically performing source distribution, a complete
181 machine-readable copy of the corresponding source code, to be
182 distributed under the terms of Sections 1 and 2 above on a medium
183 customarily used for software interchange; or,
184
185 c) Accompany it with the information you received as to the offer
186 to distribute corresponding source code. (This alternative is
187 allowed only for noncommercial distribution and only if you
188 received the program in object code or executable form with such
189 an offer, in accord with Subsection b above.)
190
191 The source code for a work means the preferred form of the work for
192 making modifications to it. For an executable work, complete source
193 code means all the source code for all modules it contains, plus any
194 associated interface definition files, plus the scripts used to
195 control compilation and installation of the executable. However, as a
196 special exception, the source code distributed need not include
197 anything that is normally distributed (in either source or binary
198 form) with the major components (compiler, kernel, and so on) of the
199 operating system on which the executable runs, unless that component
200 itself accompanies the executable.
201
202 If distribution of executable or object code is made by offering
203 access to copy from a designated place, then offering equivalent
204 access to copy the source code from the same place counts as
205 distribution of the source code, even though third parties are not
206 compelled to copy the source along with the object code.
207
208 4. You may not copy, modify, sublicense, or distribute the Program
209 except as expressly provided under this License. Any attempt
210 otherwise to copy, modify, sublicense or distribute the Program is
211 void, and will automatically terminate your rights under this License.
212 However, parties who have received copies, or rights, from you under
213 this License will not have their licenses terminated so long as such
214 parties remain in full compliance.
215
216 5. You are not required to accept this License, since you have not
217 signed it. However, nothing else grants you permission to modify or
218 distribute the Program or its derivative works. These actions are
219 prohibited by law if you do not accept this License. Therefore, by
220 modifying or distributing the Program (or any work based on the
221 Program), you indicate your acceptance of this License to do so, and
222 all its terms and conditions for copying, distributing or modifying
223 the Program or works based on it.
224
225 6. Each time you redistribute the Program (or any work based on the
226 Program), the recipient automatically receives a license from the
227 original licensor to copy, distribute or modify the Program subject to
228 these terms and conditions. You may not impose any further
229 restrictions on the recipients' exercise of the rights granted herein.
230 You are not responsible for enforcing compliance by third parties to
231 this License.
232
233 7. If, as a consequence of a court judgment or allegation of patent
234 infringement or for any other reason (not limited to patent issues),
235 conditions are imposed on you (whether by court order, agreement or
236 otherwise) that contradict the conditions of this License, they do not
237 excuse you from the conditions of this License. If you cannot
238 distribute so as to satisfy simultaneously your obligations under this
239 License and any other pertinent obligations, then as a consequence you
240 may not distribute the Program at all. For example, if a patent
241 license would not permit royalty-free redistribution of the Program by
242 all those who receive copies directly or indirectly through you, then
243 the only way you could satisfy both it and this License would be to
244 refrain entirely from distribution of the Program.
245
246 If any portion of this section is held invalid or unenforceable under
247 any particular circumstance, the balance of the section is intended to
248 apply and the section as a whole is intended to apply in other
249 circumstances.
250
251 It is not the purpose of this section to induce you to infringe any
252 patents or other property right claims or to contest validity of any
253 such claims; this section has the sole purpose of protecting the
254 integrity of the free software distribution system, which is
255 implemented by public license practices. Many people have made
256 generous contributions to the wide range of software distributed
257 through that system in reliance on consistent application of that
258 system; it is up to the author/donor to decide if he or she is willing
259 to distribute software through any other system and a licensee cannot
260 impose that choice.
261
262 This section is intended to make thoroughly clear what is believed to
263 be a consequence of the rest of this License.
264
265 8. If the distribution and/or use of the Program is restricted in
266 certain countries either by patents or by copyrighted interfaces, the
267 original copyright holder who places the Program under this License
268 may add an explicit geographical distribution limitation excluding
269 those countries, so that distribution is permitted only in or among
270 countries not thus excluded. In such case, this License incorporates
271 the limitation as if written in the body of this License.
272
273 9. The Free Software Foundation may publish revised and/or new versions
274 of the General Public License from time to time. Such new versions will
275 be similar in spirit to the present version, but may differ in detail to
276 address new problems or concerns.
277
278 Each version is given a distinguishing version number. If the Program
279 specifies a version number of this License which applies to it and "any
280 later version", you have the option of following the terms and conditions
281 either of that version or of any later version published by the Free
282 Software Foundation. If the Program does not specify a version number of
283 this License, you may choose any version ever published by the Free Software
284 Foundation.
285
286 10. If you wish to incorporate parts of the Program into other free
287 programs whose distribution conditions are different, write to the author
288 to ask for permission. For software which is copyrighted by the Free
289 Software Foundation, write to the Free Software Foundation; we sometimes
290 make exceptions for this. Our decision will be guided by the two goals
291 of preserving the free status of all derivatives of our free software and
292 of promoting the sharing and reuse of software generally.
293
294 NO WARRANTY
295
296 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
297 FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
298 OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
299 PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
300 OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
301 MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
302 TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
303 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
304 REPAIR OR CORRECTION.
305
306 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
307 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
308 REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
309 INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
310 OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
311 TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
312 YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
313 PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
314 POSSIBILITY OF SUCH DAMAGES.
315
316 END OF TERMS AND CONDITIONS
317
318 How to Apply These Terms to Your New Programs
319
320 If you develop a new program, and you want it to be of the greatest
321 possible use to the public, the best way to achieve this is to make it
322 free software which everyone can redistribute and change under these terms.
323
324 To do so, attach the following notices to the program. It is safest
325 to attach them to the start of each source file to most effectively
326 convey the exclusion of warranty; and each file should have at least
327 the "copyright" line and a pointer to where the full notice is found.
328
329 {description}
330 Copyright (C) {year} {fullname}
331
332 This program is free software; you can redistribute it and/or modify
333 it under the terms of the GNU General Public License as published by
334 the Free Software Foundation; either version 2 of the License, or
335 (at your option) any later version.
336
337 This program is distributed in the hope that it will be useful,
338 but WITHOUT ANY WARRANTY; without even the implied warranty of
339 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
340 GNU General Public License for more details.
341
342 You should have received a copy of the GNU General Public License along
343 with this program; if not, write to the Free Software Foundation, Inc.,
344 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
345
346 Also add information on how to contact you by electronic and paper mail.
347
348 If the program is interactive, make it output a short notice like this
349 when it starts in an interactive mode:
350
351 Gnomovision version 69, Copyright (C) year name of author
352 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
353 This is free software, and you are welcome to redistribute it
354 under certain conditions; type `show c' for details.
355
356 The hypothetical commands `show w' and `show c' should show the appropriate
357 parts of the General Public License. Of course, the commands you use may
358 be called something other than `show w' and `show c'; they could even be
359 mouse-clicks or menu items--whatever suits your program.
360
361 You should also get your employer (if you work as a programmer) or your
362 school, if any, to sign a "copyright disclaimer" for the program, if
363 necessary. Here is a sample; alter the names:
364
365 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
366 `Gnomovision' (which makes passes at compilers) written by James Hacker.
367
368 {signature of Ty Coon}, 1 April 1989
369 Ty Coon, President of Vice
370
371 This General Public License does not permit incorporating your program into
372 proprietary programs. If your program is a subroutine library, you may
373 consider it more useful to permit linking proprietary applications with the
374 library. If this is what you want to do, use the GNU Lesser General
375 Public License instead of this License.
0 ---
1 title: GNU General Public License v3.0
2 nickname: GNU GPLv3
3 redirect_from: /licenses/gpl-v3/
4 family: GNU GPL
5 featured: true
6 source: http://www.gnu.org/licenses/gpl-3.0.txt
7
8 description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license.
9
10 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.
11
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
14 using:
15 - Bash: http://git.savannah.gnu.org/cgit/bash.git/tree/COPYING
16 - GIMP: https://git.gnome.org/browse/gimp/tree/COPYING
17 - Privacy Badger: https://github.com/EFForg/privacybadgerfirefox/blob/master/LICENSE
18
19 conditions:
20 - include-copyright
21 - document-changes
22 - disclose-source
23 - same-license
24
25 permissions:
26 - commercial-use
27 - modifications
28 - distribution
29 - patent-use
30 - private-use
31
32 limitations:
33 - no-liability
34
35 hidden: false
36 ---
37
38 GNU GENERAL PUBLIC LICENSE
39 Version 3, 29 June 2007
40
41 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
42 Everyone is permitted to copy and distribute verbatim copies
43 of this license document, but changing it is not allowed.
44
45 Preamble
46
47 The GNU General Public License is a free, copyleft license for
48 software and other kinds of works.
49
50 The licenses for most software and other practical works are designed
51 to take away your freedom to share and change the works. By contrast,
52 the GNU General Public License is intended to guarantee your freedom to
53 share and change all versions of a program--to make sure it remains free
54 software for all its users. We, the Free Software Foundation, use the
55 GNU General Public License for most of our software; it applies also to
56 any other work released this way by its authors. You can apply it to
57 your programs, too.
58
59 When we speak of free software, we are referring to freedom, not
60 price. Our General Public Licenses are designed to make sure that you
61 have the freedom to distribute copies of free software (and charge for
62 them if you wish), that you receive source code or can get it if you
63 want it, that you can change the software or use pieces of it in new
64 free programs, and that you know you can do these things.
65
66 To protect your rights, we need to prevent others from denying you
67 these rights or asking you to surrender the rights. Therefore, you have
68 certain responsibilities if you distribute copies of the software, or if
69 you modify it: responsibilities to respect the freedom of others.
70
71 For example, if you distribute copies of such a program, whether
72 gratis or for a fee, you must pass on to the recipients the same
73 freedoms that you received. You must make sure that they, too, receive
74 or can get the source code. And you must show them these terms so they
75 know their rights.
76
77 Developers that use the GNU GPL protect your rights with two steps:
78 (1) assert copyright on the software, and (2) offer you this License
79 giving you legal permission to copy, distribute and/or modify it.
80
81 For the developers' and authors' protection, the GPL clearly explains
82 that there is no warranty for this free software. For both users' and
83 authors' sake, the GPL requires that modified versions be marked as
84 changed, so that their problems will not be attributed erroneously to
85 authors of previous versions.
86
87 Some devices are designed to deny users access to install or run
88 modified versions of the software inside them, although the manufacturer
89 can do so. This is fundamentally incompatible with the aim of
90 protecting users' freedom to change the software. The systematic
91 pattern of such abuse occurs in the area of products for individuals to
92 use, which is precisely where it is most unacceptable. Therefore, we
93 have designed this version of the GPL to prohibit the practice for those
94 products. If such problems arise substantially in other domains, we
95 stand ready to extend this provision to those domains in future versions
96 of the GPL, as needed to protect the freedom of users.
97
98 Finally, every program is threatened constantly by software patents.
99 States should not allow patents to restrict development and use of
100 software on general-purpose computers, but in those that do, we wish to
101 avoid the special danger that patents applied to a free program could
102 make it effectively proprietary. To prevent this, the GPL assures that
103 patents cannot be used to render the program non-free.
104
105 The precise terms and conditions for copying, distribution and
106 modification follow.
107
108 TERMS AND CONDITIONS
109
110 0. Definitions.
111
112 "This License" refers to version 3 of the GNU General Public License.
113
114 "Copyright" also means copyright-like laws that apply to other kinds of
115 works, such as semiconductor masks.
116
117 "The Program" refers to any copyrightable work licensed under this
118 License. Each licensee is addressed as "you". "Licensees" and
119 "recipients" may be individuals or organizations.
120
121 To "modify" a work means to copy from or adapt all or part of the work
122 in a fashion requiring copyright permission, other than the making of an
123 exact copy. The resulting work is called a "modified version" of the
124 earlier work or a work "based on" the earlier work.
125
126 A "covered work" means either the unmodified Program or a work based
127 on the Program.
128
129 To "propagate" a work means to do anything with it that, without
130 permission, would make you directly or secondarily liable for
131 infringement under applicable copyright law, except executing it on a
132 computer or modifying a private copy. Propagation includes copying,
133 distribution (with or without modification), making available to the
134 public, and in some countries other activities as well.
135
136 To "convey" a work means any kind of propagation that enables other
137 parties to make or receive copies. Mere interaction with a user through
138 a computer network, with no transfer of a copy, is not conveying.
139
140 An interactive user interface displays "Appropriate Legal Notices"
141 to the extent that it includes a convenient and prominently visible
142 feature that (1) displays an appropriate copyright notice, and (2)
143 tells the user that there is no warranty for the work (except to the
144 extent that warranties are provided), that licensees may convey the
145 work under this License, and how to view a copy of this License. If
146 the interface presents a list of user commands or options, such as a
147 menu, a prominent item in the list meets this criterion.
148
149 1. Source Code.
150
151 The "source code" for a work means the preferred form of the work
152 for making modifications to it. "Object code" means any non-source
153 form of a work.
154
155 A "Standard Interface" means an interface that either is an official
156 standard defined by a recognized standards body, or, in the case of
157 interfaces specified for a particular programming language, one that
158 is widely used among developers working in that language.
159
160 The "System Libraries" of an executable work include anything, other
161 than the work as a whole, that (a) is included in the normal form of
162 packaging a Major Component, but which is not part of that Major
163 Component, and (b) serves only to enable use of the work with that
164 Major Component, or to implement a Standard Interface for which an
165 implementation is available to the public in source code form. A
166 "Major Component", in this context, means a major essential component
167 (kernel, window system, and so on) of the specific operating system
168 (if any) on which the executable work runs, or a compiler used to
169 produce the work, or an object code interpreter used to run it.
170
171 The "Corresponding Source" for a work in object code form means all
172 the source code needed to generate, install, and (for an executable
173 work) run the object code and to modify the work, including scripts to
174 control those activities. However, it does not include the work's
175 System Libraries, or general-purpose tools or generally available free
176 programs which are used unmodified in performing those activities but
177 which are not part of the work. For example, Corresponding Source
178 includes interface definition files associated with source files for
179 the work, and the source code for shared libraries and dynamically
180 linked subprograms that the work is specifically designed to require,
181 such as by intimate data communication or control flow between those
182 subprograms and other parts of the work.
183
184 The Corresponding Source need not include anything that users
185 can regenerate automatically from other parts of the Corresponding
186 Source.
187
188 The Corresponding Source for a work in source code form is that
189 same work.
190
191 2. Basic Permissions.
192
193 All rights granted under this License are granted for the term of
194 copyright on the Program, and are irrevocable provided the stated
195 conditions are met. This License explicitly affirms your unlimited
196 permission to run the unmodified Program. The output from running a
197 covered work is covered by this License only if the output, given its
198 content, constitutes a covered work. This License acknowledges your
199 rights of fair use or other equivalent, as provided by copyright law.
200
201 You may make, run and propagate covered works that you do not
202 convey, without conditions so long as your license otherwise remains
203 in force. You may convey covered works to others for the sole purpose
204 of having them make modifications exclusively for you, or provide you
205 with facilities for running those works, provided that you comply with
206 the terms of this License in conveying all material for which you do
207 not control copyright. Those thus making or running the covered works
208 for you must do so exclusively on your behalf, under your direction
209 and control, on terms that prohibit them from making any copies of
210 your copyrighted material outside their relationship with you.
211
212 Conveying under any other circumstances is permitted solely under
213 the conditions stated below. Sublicensing is not allowed; section 10
214 makes it unnecessary.
215
216 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
217
218 No covered work shall be deemed part of an effective technological
219 measure under any applicable law fulfilling obligations under article
220 11 of the WIPO copyright treaty adopted on 20 December 1996, or
221 similar laws prohibiting or restricting circumvention of such
222 measures.
223
224 When you convey a covered work, you waive any legal power to forbid
225 circumvention of technological measures to the extent such circumvention
226 is effected by exercising rights under this License with respect to
227 the covered work, and you disclaim any intention to limit operation or
228 modification of the work as a means of enforcing, against the work's
229 users, your or third parties' legal rights to forbid circumvention of
230 technological measures.
231
232 4. Conveying Verbatim Copies.
233
234 You may convey verbatim copies of the Program's source code as you
235 receive it, in any medium, provided that you conspicuously and
236 appropriately publish on each copy an appropriate copyright notice;
237 keep intact all notices stating that this License and any
238 non-permissive terms added in accord with section 7 apply to the code;
239 keep intact all notices of the absence of any warranty; and give all
240 recipients a copy of this License along with the Program.
241
242 You may charge any price or no price for each copy that you convey,
243 and you may offer support or warranty protection for a fee.
244
245 5. Conveying Modified Source Versions.
246
247 You may convey a work based on the Program, or the modifications to
248 produce it from the Program, in the form of source code under the
249 terms of section 4, provided that you also meet all of these conditions:
250
251 a) The work must carry prominent notices stating that you modified
252 it, and giving a relevant date.
253
254 b) The work must carry prominent notices stating that it is
255 released under this License and any conditions added under section
256 7. This requirement modifies the requirement in section 4 to
257 "keep intact all notices".
258
259 c) You must license the entire work, as a whole, under this
260 License to anyone who comes into possession of a copy. This
261 License will therefore apply, along with any applicable section 7
262 additional terms, to the whole of the work, and all its parts,
263 regardless of how they are packaged. This License gives no
264 permission to license the work in any other way, but it does not
265 invalidate such permission if you have separately received it.
266
267 d) If the work has interactive user interfaces, each must display
268 Appropriate Legal Notices; however, if the Program has interactive
269 interfaces that do not display Appropriate Legal Notices, your
270 work need not make them do so.
271
272 A compilation of a covered work with other separate and independent
273 works, which are not by their nature extensions of the covered work,
274 and which are not combined with it such as to form a larger program,
275 in or on a volume of a storage or distribution medium, is called an
276 "aggregate" if the compilation and its resulting copyright are not
277 used to limit the access or legal rights of the compilation's users
278 beyond what the individual works permit. Inclusion of a covered work
279 in an aggregate does not cause this License to apply to the other
280 parts of the aggregate.
281
282 6. Conveying Non-Source Forms.
283
284 You may convey a covered work in object code form under the terms
285 of sections 4 and 5, provided that you also convey the
286 machine-readable Corresponding Source under the terms of this License,
287 in one of these ways:
288
289 a) Convey the object code in, or embodied in, a physical product
290 (including a physical distribution medium), accompanied by the
291 Corresponding Source fixed on a durable physical medium
292 customarily used for software interchange.
293
294 b) Convey the object code in, or embodied in, a physical product
295 (including a physical distribution medium), accompanied by a
296 written offer, valid for at least three years and valid for as
297 long as you offer spare parts or customer support for that product
298 model, to give anyone who possesses the object code either (1) a
299 copy of the Corresponding Source for all the software in the
300 product that is covered by this License, on a durable physical
301 medium customarily used for software interchange, for a price no
302 more than your reasonable cost of physically performing this
303 conveying of source, or (2) access to copy the
304 Corresponding Source from a network server at no charge.
305
306 c) Convey individual copies of the object code with a copy of the
307 written offer to provide the Corresponding Source. This
308 alternative is allowed only occasionally and noncommercially, and
309 only if you received the object code with such an offer, in accord
310 with subsection 6b.
311
312 d) Convey the object code by offering access from a designated
313 place (gratis or for a charge), and offer equivalent access to the
314 Corresponding Source in the same way through the same place at no
315 further charge. You need not require recipients to copy the
316 Corresponding Source along with the object code. If the place to
317 copy the object code is a network server, the Corresponding Source
318 may be on a different server (operated by you or a third party)
319 that supports equivalent copying facilities, provided you maintain
320 clear directions next to the object code saying where to find the
321 Corresponding Source. Regardless of what server hosts the
322 Corresponding Source, you remain obligated to ensure that it is
323 available for as long as needed to satisfy these requirements.
324
325 e) Convey the object code using peer-to-peer transmission, provided
326 you inform other peers where the object code and Corresponding
327 Source of the work are being offered to the general public at no
328 charge under subsection 6d.
329
330 A separable portion of the object code, whose source code is excluded
331 from the Corresponding Source as a System Library, need not be
332 included in conveying the object code work.
333
334 A "User Product" is either (1) a "consumer product", which means any
335 tangible personal property which is normally used for personal, family,
336 or household purposes, or (2) anything designed or sold for incorporation
337 into a dwelling. In determining whether a product is a consumer product,
338 doubtful cases shall be resolved in favor of coverage. For a particular
339 product received by a particular user, "normally used" refers to a
340 typical or common use of that class of product, regardless of the status
341 of the particular user or of the way in which the particular user
342 actually uses, or expects or is expected to use, the product. A product
343 is a consumer product regardless of whether the product has substantial
344 commercial, industrial or non-consumer uses, unless such uses represent
345 the only significant mode of use of the product.
346
347 "Installation Information" for a User Product means any methods,
348 procedures, authorization keys, or other information required to install
349 and execute modified versions of a covered work in that User Product from
350 a modified version of its Corresponding Source. The information must
351 suffice to ensure that the continued functioning of the modified object
352 code is in no case prevented or interfered with solely because
353 modification has been made.
354
355 If you convey an object code work under this section in, or with, or
356 specifically for use in, a User Product, and the conveying occurs as
357 part of a transaction in which the right of possession and use of the
358 User Product is transferred to the recipient in perpetuity or for a
359 fixed term (regardless of how the transaction is characterized), the
360 Corresponding Source conveyed under this section must be accompanied
361 by the Installation Information. But this requirement does not apply
362 if neither you nor any third party retains the ability to install
363 modified object code on the User Product (for example, the work has
364 been installed in ROM).
365
366 The requirement to provide Installation Information does not include a
367 requirement to continue to provide support service, warranty, or updates
368 for a work that has been modified or installed by the recipient, or for
369 the User Product in which it has been modified or installed. Access to a
370 network may be denied when the modification itself materially and
371 adversely affects the operation of the network or violates the rules and
372 protocols for communication across the network.
373
374 Corresponding Source conveyed, and Installation Information provided,
375 in accord with this section must be in a format that is publicly
376 documented (and with an implementation available to the public in
377 source code form), and must require no special password or key for
378 unpacking, reading or copying.
379
380 7. Additional Terms.
381
382 "Additional permissions" are terms that supplement the terms of this
383 License by making exceptions from one or more of its conditions.
384 Additional permissions that are applicable to the entire Program shall
385 be treated as though they were included in this License, to the extent
386 that they are valid under applicable law. If additional permissions
387 apply only to part of the Program, that part may be used separately
388 under those permissions, but the entire Program remains governed by
389 this License without regard to the additional permissions.
390
391 When you convey a copy of a covered work, you may at your option
392 remove any additional permissions from that copy, or from any part of
393 it. (Additional permissions may be written to require their own
394 removal in certain cases when you modify the work.) You may place
395 additional permissions on material, added by you to a covered work,
396 for which you have or can give appropriate copyright permission.
397
398 Notwithstanding any other provision of this License, for material you
399 add to a covered work, you may (if authorized by the copyright holders of
400 that material) supplement the terms of this License with terms:
401
402 a) Disclaiming warranty or limiting liability differently from the
403 terms of sections 15 and 16 of this License; or
404
405 b) Requiring preservation of specified reasonable legal notices or
406 author attributions in that material or in the Appropriate Legal
407 Notices displayed by works containing it; or
408
409 c) Prohibiting misrepresentation of the origin of that material, or
410 requiring that modified versions of such material be marked in
411 reasonable ways as different from the original version; or
412
413 d) Limiting the use for publicity purposes of names of licensors or
414 authors of the material; or
415
416 e) Declining to grant rights under trademark law for use of some
417 trade names, trademarks, or service marks; or
418
419 f) Requiring indemnification of licensors and authors of that
420 material by anyone who conveys the material (or modified versions of
421 it) with contractual assumptions of liability to the recipient, for
422 any liability that these contractual assumptions directly impose on
423 those licensors and authors.
424
425 All other non-permissive additional terms are considered "further
426 restrictions" within the meaning of section 10. If the Program as you
427 received it, or any part of it, contains a notice stating that it is
428 governed by this License along with a term that is a further
429 restriction, you may remove that term. If a license document contains
430 a further restriction but permits relicensing or conveying under this
431 License, you may add to a covered work material governed by the terms
432 of that license document, provided that the further restriction does
433 not survive such relicensing or conveying.
434
435 If you add terms to a covered work in accord with this section, you
436 must place, in the relevant source files, a statement of the
437 additional terms that apply to those files, or a notice indicating
438 where to find the applicable terms.
439
440 Additional terms, permissive or non-permissive, may be stated in the
441 form of a separately written license, or stated as exceptions;
442 the above requirements apply either way.
443
444 8. Termination.
445
446 You may not propagate or modify a covered work except as expressly
447 provided under this License. Any attempt otherwise to propagate or
448 modify it is void, and will automatically terminate your rights under
449 this License (including any patent licenses granted under the third
450 paragraph of section 11).
451
452 However, if you cease all violation of this License, then your
453 license from a particular copyright holder is reinstated (a)
454 provisionally, unless and until the copyright holder explicitly and
455 finally terminates your license, and (b) permanently, if the copyright
456 holder fails to notify you of the violation by some reasonable means
457 prior to 60 days after the cessation.
458
459 Moreover, your license from a particular copyright holder is
460 reinstated permanently if the copyright holder notifies you of the
461 violation by some reasonable means, this is the first time you have
462 received notice of violation of this License (for any work) from that
463 copyright holder, and you cure the violation prior to 30 days after
464 your receipt of the notice.
465
466 Termination of your rights under this section does not terminate the
467 licenses of parties who have received copies or rights from you under
468 this License. If your rights have been terminated and not permanently
469 reinstated, you do not qualify to receive new licenses for the same
470 material under section 10.
471
472 9. Acceptance Not Required for Having Copies.
473
474 You are not required to accept this License in order to receive or
475 run a copy of the Program. Ancillary propagation of a covered work
476 occurring solely as a consequence of using peer-to-peer transmission
477 to receive a copy likewise does not require acceptance. However,
478 nothing other than this License grants you permission to propagate or
479 modify any covered work. These actions infringe copyright if you do
480 not accept this License. Therefore, by modifying or propagating a
481 covered work, you indicate your acceptance of this License to do so.
482
483 10. Automatic Licensing of Downstream Recipients.
484
485 Each time you convey a covered work, the recipient automatically
486 receives a license from the original licensors, to run, modify and
487 propagate that work, subject to this License. You are not responsible
488 for enforcing compliance by third parties with this License.
489
490 An "entity transaction" is a transaction transferring control of an
491 organization, or substantially all assets of one, or subdividing an
492 organization, or merging organizations. If propagation of a covered
493 work results from an entity transaction, each party to that
494 transaction who receives a copy of the work also receives whatever
495 licenses to the work the party's predecessor in interest had or could
496 give under the previous paragraph, plus a right to possession of the
497 Corresponding Source of the work from the predecessor in interest, if
498 the predecessor has it or can get it with reasonable efforts.
499
500 You may not impose any further restrictions on the exercise of the
501 rights granted or affirmed under this License. For example, you may
502 not impose a license fee, royalty, or other charge for exercise of
503 rights granted under this License, and you may not initiate litigation
504 (including a cross-claim or counterclaim in a lawsuit) alleging that
505 any patent claim is infringed by making, using, selling, offering for
506 sale, or importing the Program or any portion of it.
507
508 11. Patents.
509
510 A "contributor" is a copyright holder who authorizes use under this
511 License of the Program or a work on which the Program is based. The
512 work thus licensed is called the contributor's "contributor version".
513
514 A contributor's "essential patent claims" are all patent claims
515 owned or controlled by the contributor, whether already acquired or
516 hereafter acquired, that would be infringed by some manner, permitted
517 by this License, of making, using, or selling its contributor version,
518 but do not include claims that would be infringed only as a
519 consequence of further modification of the contributor version. For
520 purposes of this definition, "control" includes the right to grant
521 patent sublicenses in a manner consistent with the requirements of
522 this License.
523
524 Each contributor grants you a non-exclusive, worldwide, royalty-free
525 patent license under the contributor's essential patent claims, to
526 make, use, sell, offer for sale, import and otherwise run, modify and
527 propagate the contents of its contributor version.
528
529 In the following three paragraphs, a "patent license" is any express
530 agreement or commitment, however denominated, not to enforce a patent
531 (such as an express permission to practice a patent or covenant not to
532 sue for patent infringement). To "grant" such a patent license to a
533 party means to make such an agreement or commitment not to enforce a
534 patent against the party.
535
536 If you convey a covered work, knowingly relying on a patent license,
537 and the Corresponding Source of the work is not available for anyone
538 to copy, free of charge and under the terms of this License, through a
539 publicly available network server or other readily accessible means,
540 then you must either (1) cause the Corresponding Source to be so
541 available, or (2) arrange to deprive yourself of the benefit of the
542 patent license for this particular work, or (3) arrange, in a manner
543 consistent with the requirements of this License, to extend the patent
544 license to downstream recipients. "Knowingly relying" means you have
545 actual knowledge that, but for the patent license, your conveying the
546 covered work in a country, or your recipient's use of the covered work
547 in a country, would infringe one or more identifiable patents in that
548 country that you have reason to believe are valid.
549
550 If, pursuant to or in connection with a single transaction or
551 arrangement, you convey, or propagate by procuring conveyance of, a
552 covered work, and grant a patent license to some of the parties
553 receiving the covered work authorizing them to use, propagate, modify
554 or convey a specific copy of the covered work, then the patent license
555 you grant is automatically extended to all recipients of the covered
556 work and works based on it.
557
558 A patent license is "discriminatory" if it does not include within
559 the scope of its coverage, prohibits the exercise of, or is
560 conditioned on the non-exercise of one or more of the rights that are
561 specifically granted under this License. You may not convey a covered
562 work if you are a party to an arrangement with a third party that is
563 in the business of distributing software, under which you make payment
564 to the third party based on the extent of your activity of conveying
565 the work, and under which the third party grants, to any of the
566 parties who would receive the covered work from you, a discriminatory
567 patent license (a) in connection with copies of the covered work
568 conveyed by you (or copies made from those copies), or (b) primarily
569 for and in connection with specific products or compilations that
570 contain the covered work, unless you entered into that arrangement,
571 or that patent license was granted, prior to 28 March 2007.
572
573 Nothing in this License shall be construed as excluding or limiting
574 any implied license or other defenses to infringement that may
575 otherwise be available to you under applicable patent law.
576
577 12. No Surrender of Others' Freedom.
578
579 If conditions are imposed on you (whether by court order, agreement or
580 otherwise) that contradict the conditions of this License, they do not
581 excuse you from the conditions of this License. If you cannot convey a
582 covered work so as to satisfy simultaneously your obligations under this
583 License and any other pertinent obligations, then as a consequence you may
584 not convey it at all. For example, if you agree to terms that obligate you
585 to collect a royalty for further conveying from those to whom you convey
586 the Program, the only way you could satisfy both those terms and this
587 License would be to refrain entirely from conveying the Program.
588
589 13. Use with the GNU Affero General Public License.
590
591 Notwithstanding any other provision of this License, you have
592 permission to link or combine any covered work with a work licensed
593 under version 3 of the GNU Affero General Public License into a single
594 combined work, and to convey the resulting work. The terms of this
595 License will continue to apply to the part which is the covered work,
596 but the special requirements of the GNU Affero General Public License,
597 section 13, concerning interaction through a network will apply to the
598 combination as such.
599
600 14. Revised Versions of this License.
601
602 The Free Software Foundation may publish revised and/or new versions of
603 the GNU General Public License from time to time. Such new versions will
604 be similar in spirit to the present version, but may differ in detail to
605 address new problems or concerns.
606
607 Each version is given a distinguishing version number. If the
608 Program specifies that a certain numbered version of the GNU General
609 Public License "or any later version" applies to it, you have the
610 option of following the terms and conditions either of that numbered
611 version or of any later version published by the Free Software
612 Foundation. If the Program does not specify a version number of the
613 GNU General Public License, you may choose any version ever published
614 by the Free Software Foundation.
615
616 If the Program specifies that a proxy can decide which future
617 versions of the GNU General Public License can be used, that proxy's
618 public statement of acceptance of a version permanently authorizes you
619 to choose that version for the Program.
620
621 Later license versions may give you additional or different
622 permissions. However, no additional obligations are imposed on any
623 author or copyright holder as a result of your choosing to follow a
624 later version.
625
626 15. Disclaimer of Warranty.
627
628 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
629 APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
630 HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
631 OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
632 THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
633 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
634 IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
635 ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
636
637 16. Limitation of Liability.
638
639 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
640 WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
641 THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
642 GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
643 USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
644 DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
645 PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
646 EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
647 SUCH DAMAGES.
648
649 17. Interpretation of Sections 15 and 16.
650
651 If the disclaimer of warranty and limitation of liability provided
652 above cannot be given local legal effect according to their terms,
653 reviewing courts shall apply local law that most closely approximates
654 an absolute waiver of all civil liability in connection with the
655 Program, unless a warranty or assumption of liability accompanies a
656 copy of the Program in return for a fee.
657
658 END OF TERMS AND CONDITIONS
659
660 How to Apply These Terms to Your New Programs
661
662 If you develop a new program, and you want it to be of the greatest
663 possible use to the public, the best way to achieve this is to make it
664 free software which everyone can redistribute and change under these terms.
665
666 To do so, attach the following notices to the program. It is safest
667 to attach them to the start of each source file to most effectively
668 state the exclusion of warranty; and each file should have at least
669 the "copyright" line and a pointer to where the full notice is found.
670
671 {one line to give the program's name and a brief idea of what it does.}
672 Copyright (C) {year} {name of author}
673
674 This program is free software: you can redistribute it and/or modify
675 it under the terms of the GNU General Public License as published by
676 the Free Software Foundation, either version 3 of the License, or
677 (at your option) any later version.
678
679 This program is distributed in the hope that it will be useful,
680 but WITHOUT ANY WARRANTY; without even the implied warranty of
681 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
682 GNU General Public License for more details.
683
684 You should have received a copy of the GNU General Public License
685 along with this program. If not, see <http://www.gnu.org/licenses/>.
686
687 Also add information on how to contact you by electronic and paper mail.
688
689 If the program does terminal interaction, make it output a short
690 notice like this when it starts in an interactive mode:
691
692 {project} Copyright (C) {year} {fullname}
693 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
694 This is free software, and you are welcome to redistribute it
695 under certain conditions; type `show c' for details.
696
697 The hypothetical commands `show w' and `show c' should show the appropriate
698 parts of the General Public License. Of course, your program's commands
699 might be different; for a GUI interface, you would use an "about box".
700
701 You should also get your employer (if you work as a programmer) or school,
702 if any, to sign a "copyright disclaimer" for the program, if necessary.
703 For more information on this, and how to apply and follow the GNU GPL, see
704 <http://www.gnu.org/licenses/>.
705
706 The GNU General Public License does not permit incorporating your program
707 into proprietary programs. If your program is a subroutine library, you
708 may consider it more useful to permit linking proprietary applications with
709 the library. If this is what you want to do, use the GNU Lesser General
710 Public License instead of this License. But first, please read
711 <http://www.gnu.org/philosophy/why-not-lgpl.html>.
0 ---
1 title: ISC License
2 family: BSD
3 source: http://opensource.org/licenses/isc-license
4
5 description: A permissive license lets people do anything with your code with proper attribution and without warranty. The ISC license is functionally equivalent to the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/mit">MIT</a> licenses, removing some language that is no longer necessary.
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 conditions:
10 - include-copyright
11
12 permissions:
13 - commercial-use
14 - distribution
15 - modifications
16 - private-use
17
18 limitations:
19 - no-liability
20
21 hidden: false
22 ---
23
24 Copyright (c) [year], [fullname]
25
26 Permission to use, copy, modify, and/or distribute this software for any
27 purpose with or without fee is hereby granted, provided that the above
28 copyright notice and this permission notice appear in all copies.
29
30 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
31 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
32 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
33 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
34 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
35 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
36 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
0 ---
1 title: GNU Lesser General Public License v2.1
2 nickname: GNU LGPLv2.1
3 redirect_from: /licenses/lgpl-v2.1/
4 family: GNU LGPL
5 variant: true
6 source: http://www.gnu.org/licenses/lgpl-2.1.txt
7
8 description: Primarily used for software libraries, the GNU LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the GNU LGPL.
9
10 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.
11
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
14 conditions:
15 - include-copyright
16 - disclose-source
17 - same-license
18
19 permissions:
20 - commercial-use
21 - modifications
22 - distribution
23 - patent-use
24 - private-use
25
26 limitations:
27 - no-liability
28
29 hidden: false
30 ---
31
32 GNU LESSER GENERAL PUBLIC LICENSE
33 Version 2.1, February 1999
34
35 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
36 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
37 Everyone is permitted to copy and distribute verbatim copies
38 of this license document, but changing it is not allowed.
39
40 (This is the first released version of the Lesser GPL. It also counts
41 as the successor of the GNU Library Public License, version 2, hence
42 the version number 2.1.)
43
44 Preamble
45
46 The licenses for most software are designed to take away your
47 freedom to share and change it. By contrast, the GNU General Public
48 Licenses are intended to guarantee your freedom to share and change
49 free software--to make sure the software is free for all its users.
50
51 This license, the Lesser General Public License, applies to some
52 specially designated software packages--typically libraries--of the
53 Free Software Foundation and other authors who decide to use it. You
54 can use it too, but we suggest you first think carefully about whether
55 this license or the ordinary General Public License is the better
56 strategy to use in any particular case, based on the explanations below.
57
58 When we speak of free software, we are referring to freedom of use,
59 not price. Our General Public Licenses are designed to make sure that
60 you have the freedom to distribute copies of free software (and charge
61 for this service if you wish); that you receive source code or can get
62 it if you want it; that you can change the software and use pieces of
63 it in new free programs; and that you are informed that you can do
64 these things.
65
66 To protect your rights, we need to make restrictions that forbid
67 distributors to deny you these rights or to ask you to surrender these
68 rights. These restrictions translate to certain responsibilities for
69 you if you distribute copies of the library or if you modify it.
70
71 For example, if you distribute copies of the library, whether gratis
72 or for a fee, you must give the recipients all the rights that we gave
73 you. You must make sure that they, too, receive or can get the source
74 code. If you link other code with the library, you must provide
75 complete object files to the recipients, so that they can relink them
76 with the library after making changes to the library and recompiling
77 it. And you must show them these terms so they know their rights.
78
79 We protect your rights with a two-step method: (1) we copyright the
80 library, and (2) we offer you this license, which gives you legal
81 permission to copy, distribute and/or modify the library.
82
83 To protect each distributor, we want to make it very clear that
84 there is no warranty for the free library. Also, if the library is
85 modified by someone else and passed on, the recipients should know
86 that what they have is not the original version, so that the original
87 author's reputation will not be affected by problems that might be
88 introduced by others.
89
90 Finally, software patents pose a constant threat to the existence of
91 any free program. We wish to make sure that a company cannot
92 effectively restrict the users of a free program by obtaining a
93 restrictive license from a patent holder. Therefore, we insist that
94 any patent license obtained for a version of the library must be
95 consistent with the full freedom of use specified in this license.
96
97 Most GNU software, including some libraries, is covered by the
98 ordinary GNU General Public License. This license, the GNU Lesser
99 General Public License, applies to certain designated libraries, and
100 is quite different from the ordinary General Public License. We use
101 this license for certain libraries in order to permit linking those
102 libraries into non-free programs.
103
104 When a program is linked with a library, whether statically or using
105 a shared library, the combination of the two is legally speaking a
106 combined work, a derivative of the original library. The ordinary
107 General Public License therefore permits such linking only if the
108 entire combination fits its criteria of freedom. The Lesser General
109 Public License permits more lax criteria for linking other code with
110 the library.
111
112 We call this license the "Lesser" General Public License because it
113 does Less to protect the user's freedom than the ordinary General
114 Public License. It also provides other free software developers Less
115 of an advantage over competing non-free programs. These disadvantages
116 are the reason we use the ordinary General Public License for many
117 libraries. However, the Lesser license provides advantages in certain
118 special circumstances.
119
120 For example, on rare occasions, there may be a special need to
121 encourage the widest possible use of a certain library, so that it becomes
122 a de-facto standard. To achieve this, non-free programs must be
123 allowed to use the library. A more frequent case is that a free
124 library does the same job as widely used non-free libraries. In this
125 case, there is little to gain by limiting the free library to free
126 software only, so we use the Lesser General Public License.
127
128 In other cases, permission to use a particular library in non-free
129 programs enables a greater number of people to use a large body of
130 free software. For example, permission to use the GNU C Library in
131 non-free programs enables many more people to use the whole GNU
132 operating system, as well as its variant, the GNU/Linux operating
133 system.
134
135 Although the Lesser General Public License is Less protective of the
136 users' freedom, it does ensure that the user of a program that is
137 linked with the Library has the freedom and the wherewithal to run
138 that program using a modified version of the Library.
139
140 The precise terms and conditions for copying, distribution and
141 modification follow. Pay close attention to the difference between a
142 "work based on the library" and a "work that uses the library". The
143 former contains code derived from the library, whereas the latter must
144 be combined with the library in order to run.
145
146 GNU LESSER GENERAL PUBLIC LICENSE
147 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
148
149 0. This License Agreement applies to any software library or other
150 program which contains a notice placed by the copyright holder or
151 other authorized party saying it may be distributed under the terms of
152 this Lesser General Public License (also called "this License").
153 Each licensee is addressed as "you".
154
155 A "library" means a collection of software functions and/or data
156 prepared so as to be conveniently linked with application programs
157 (which use some of those functions and data) to form executables.
158
159 The "Library", below, refers to any such software library or work
160 which has been distributed under these terms. A "work based on the
161 Library" means either the Library or any derivative work under
162 copyright law: that is to say, a work containing the Library or a
163 portion of it, either verbatim or with modifications and/or translated
164 straightforwardly into another language. (Hereinafter, translation is
165 included without limitation in the term "modification".)
166
167 "Source code" for a work means the preferred form of the work for
168 making modifications to it. For a library, complete source code means
169 all the source code for all modules it contains, plus any associated
170 interface definition files, plus the scripts used to control compilation
171 and installation of the library.
172
173 Activities other than copying, distribution and modification are not
174 covered by this License; they are outside its scope. The act of
175 running a program using the Library is not restricted, and output from
176 such a program is covered only if its contents constitute a work based
177 on the Library (independent of the use of the Library in a tool for
178 writing it). Whether that is true depends on what the Library does
179 and what the program that uses the Library does.
180
181 1. You may copy and distribute verbatim copies of the Library's
182 complete source code as you receive it, in any medium, provided that
183 you conspicuously and appropriately publish on each copy an
184 appropriate copyright notice and disclaimer of warranty; keep intact
185 all the notices that refer to this License and to the absence of any
186 warranty; and distribute a copy of this License along with the
187 Library.
188
189 You may charge a fee for the physical act of transferring a copy,
190 and you may at your option offer warranty protection in exchange for a
191 fee.
192
193 2. You may modify your copy or copies of the Library or any portion
194 of it, thus forming a work based on the Library, and copy and
195 distribute such modifications or work under the terms of Section 1
196 above, provided that you also meet all of these conditions:
197
198 a) The modified work must itself be a software library.
199
200 b) You must cause the files modified to carry prominent notices
201 stating that you changed the files and the date of any change.
202
203 c) You must cause the whole of the work to be licensed at no
204 charge to all third parties under the terms of this License.
205
206 d) If a facility in the modified Library refers to a function or a
207 table of data to be supplied by an application program that uses
208 the facility, other than as an argument passed when the facility
209 is invoked, then you must make a good faith effort to ensure that,
210 in the event an application does not supply such function or
211 table, the facility still operates, and performs whatever part of
212 its purpose remains meaningful.
213
214 (For example, a function in a library to compute square roots has
215 a purpose that is entirely well-defined independent of the
216 application. Therefore, Subsection 2d requires that any
217 application-supplied function or table used by this function must
218 be optional: if the application does not supply it, the square
219 root function must still compute square roots.)
220
221 These requirements apply to the modified work as a whole. If
222 identifiable sections of that work are not derived from the Library,
223 and can be reasonably considered independent and separate works in
224 themselves, then this License, and its terms, do not apply to those
225 sections when you distribute them as separate works. But when you
226 distribute the same sections as part of a whole which is a work based
227 on the Library, the distribution of the whole must be on the terms of
228 this License, whose permissions for other licensees extend to the
229 entire whole, and thus to each and every part regardless of who wrote
230 it.
231
232 Thus, it is not the intent of this section to claim rights or contest
233 your rights to work written entirely by you; rather, the intent is to
234 exercise the right to control the distribution of derivative or
235 collective works based on the Library.
236
237 In addition, mere aggregation of another work not based on the Library
238 with the Library (or with a work based on the Library) on a volume of
239 a storage or distribution medium does not bring the other work under
240 the scope of this License.
241
242 3. You may opt to apply the terms of the ordinary GNU General Public
243 License instead of this License to a given copy of the Library. To do
244 this, you must alter all the notices that refer to this License, so
245 that they refer to the ordinary GNU General Public License, version 2,
246 instead of to this License. (If a newer version than version 2 of the
247 ordinary GNU General Public License has appeared, then you can specify
248 that version instead if you wish.) Do not make any other change in
249 these notices.
250
251 Once this change is made in a given copy, it is irreversible for
252 that copy, so the ordinary GNU General Public License applies to all
253 subsequent copies and derivative works made from that copy.
254
255 This option is useful when you wish to copy part of the code of
256 the Library into a program that is not a library.
257
258 4. You may copy and distribute the Library (or a portion or
259 derivative of it, under Section 2) in object code or executable form
260 under the terms of Sections 1 and 2 above provided that you accompany
261 it with the complete corresponding machine-readable source code, which
262 must be distributed under the terms of Sections 1 and 2 above on a
263 medium customarily used for software interchange.
264
265 If distribution of object code is made by offering access to copy
266 from a designated place, then offering equivalent access to copy the
267 source code from the same place satisfies the requirement to
268 distribute the source code, even though third parties are not
269 compelled to copy the source along with the object code.
270
271 5. A program that contains no derivative of any portion of the
272 Library, but is designed to work with the Library by being compiled or
273 linked with it, is called a "work that uses the Library". Such a
274 work, in isolation, is not a derivative work of the Library, and
275 therefore falls outside the scope of this License.
276
277 However, linking a "work that uses the Library" with the Library
278 creates an executable that is a derivative of the Library (because it
279 contains portions of the Library), rather than a "work that uses the
280 library". The executable is therefore covered by this License.
281 Section 6 states terms for distribution of such executables.
282
283 When a "work that uses the Library" uses material from a header file
284 that is part of the Library, the object code for the work may be a
285 derivative work of the Library even though the source code is not.
286 Whether this is true is especially significant if the work can be
287 linked without the Library, or if the work is itself a library. The
288 threshold for this to be true is not precisely defined by law.
289
290 If such an object file uses only numerical parameters, data
291 structure layouts and accessors, and small macros and small inline
292 functions (ten lines or less in length), then the use of the object
293 file is unrestricted, regardless of whether it is legally a derivative
294 work. (Executables containing this object code plus portions of the
295 Library will still fall under Section 6.)
296
297 Otherwise, if the work is a derivative of the Library, you may
298 distribute the object code for the work under the terms of Section 6.
299 Any executables containing that work also fall under Section 6,
300 whether or not they are linked directly with the Library itself.
301
302 6. As an exception to the Sections above, you may also combine or
303 link a "work that uses the Library" with the Library to produce a
304 work containing portions of the Library, and distribute that work
305 under terms of your choice, provided that the terms permit
306 modification of the work for the customer's own use and reverse
307 engineering for debugging such modifications.
308
309 You must give prominent notice with each copy of the work that the
310 Library is used in it and that the Library and its use are covered by
311 this License. You must supply a copy of this License. If the work
312 during execution displays copyright notices, you must include the
313 copyright notice for the Library among them, as well as a reference
314 directing the user to the copy of this License. Also, you must do one
315 of these things:
316
317 a) Accompany the work with the complete corresponding
318 machine-readable source code for the Library including whatever
319 changes were used in the work (which must be distributed under
320 Sections 1 and 2 above); and, if the work is an executable linked
321 with the Library, with the complete machine-readable "work that
322 uses the Library", as object code and/or source code, so that the
323 user can modify the Library and then relink to produce a modified
324 executable containing the modified Library. (It is understood
325 that the user who changes the contents of definitions files in the
326 Library will not necessarily be able to recompile the application
327 to use the modified definitions.)
328
329 b) Use a suitable shared library mechanism for linking with the
330 Library. A suitable mechanism is one that (1) uses at run time a
331 copy of the library already present on the user's computer system,
332 rather than copying library functions into the executable, and (2)
333 will operate properly with a modified version of the library, if
334 the user installs one, as long as the modified version is
335 interface-compatible with the version that the work was made with.
336
337 c) Accompany the work with a written offer, valid for at
338 least three years, to give the same user the materials
339 specified in Subsection 6a, above, for a charge no more
340 than the cost of performing this distribution.
341
342 d) If distribution of the work is made by offering access to copy
343 from a designated place, offer equivalent access to copy the above
344 specified materials from the same place.
345
346 e) Verify that the user has already received a copy of these
347 materials or that you have already sent this user a copy.
348
349 For an executable, the required form of the "work that uses the
350 Library" must include any data and utility programs needed for
351 reproducing the executable from it. However, as a special exception,
352 the materials to be distributed need not include anything that is
353 normally distributed (in either source or binary form) with the major
354 components (compiler, kernel, and so on) of the operating system on
355 which the executable runs, unless that component itself accompanies
356 the executable.
357
358 It may happen that this requirement contradicts the license
359 restrictions of other proprietary libraries that do not normally
360 accompany the operating system. Such a contradiction means you cannot
361 use both them and the Library together in an executable that you
362 distribute.
363
364 7. You may place library facilities that are a work based on the
365 Library side-by-side in a single library together with other library
366 facilities not covered by this License, and distribute such a combined
367 library, provided that the separate distribution of the work based on
368 the Library and of the other library facilities is otherwise
369 permitted, and provided that you do these two things:
370
371 a) Accompany the combined library with a copy of the same work
372 based on the Library, uncombined with any other library
373 facilities. This must be distributed under the terms of the
374 Sections above.
375
376 b) Give prominent notice with the combined library of the fact
377 that part of it is a work based on the Library, and explaining
378 where to find the accompanying uncombined form of the same work.
379
380 8. You may not copy, modify, sublicense, link with, or distribute
381 the Library except as expressly provided under this License. Any
382 attempt otherwise to copy, modify, sublicense, link with, or
383 distribute the Library is void, and will automatically terminate your
384 rights under this License. However, parties who have received copies,
385 or rights, from you under this License will not have their licenses
386 terminated so long as such parties remain in full compliance.
387
388 9. You are not required to accept this License, since you have not
389 signed it. However, nothing else grants you permission to modify or
390 distribute the Library or its derivative works. These actions are
391 prohibited by law if you do not accept this License. Therefore, by
392 modifying or distributing the Library (or any work based on the
393 Library), you indicate your acceptance of this License to do so, and
394 all its terms and conditions for copying, distributing or modifying
395 the Library or works based on it.
396
397 10. Each time you redistribute the Library (or any work based on the
398 Library), the recipient automatically receives a license from the
399 original licensor to copy, distribute, link with or modify the Library
400 subject to these terms and conditions. You may not impose any further
401 restrictions on the recipients' exercise of the rights granted herein.
402 You are not responsible for enforcing compliance by third parties with
403 this License.
404
405 11. If, as a consequence of a court judgment or allegation of patent
406 infringement or for any other reason (not limited to patent issues),
407 conditions are imposed on you (whether by court order, agreement or
408 otherwise) that contradict the conditions of this License, they do not
409 excuse you from the conditions of this License. If you cannot
410 distribute so as to satisfy simultaneously your obligations under this
411 License and any other pertinent obligations, then as a consequence you
412 may not distribute the Library at all. For example, if a patent
413 license would not permit royalty-free redistribution of the Library by
414 all those who receive copies directly or indirectly through you, then
415 the only way you could satisfy both it and this License would be to
416 refrain entirely from distribution of the Library.
417
418 If any portion of this section is held invalid or unenforceable under any
419 particular circumstance, the balance of the section is intended to apply,
420 and the section as a whole is intended to apply in other circumstances.
421
422 It is not the purpose of this section to induce you to infringe any
423 patents or other property right claims or to contest validity of any
424 such claims; this section has the sole purpose of protecting the
425 integrity of the free software distribution system which is
426 implemented by public license practices. Many people have made
427 generous contributions to the wide range of software distributed
428 through that system in reliance on consistent application of that
429 system; it is up to the author/donor to decide if he or she is willing
430 to distribute software through any other system and a licensee cannot
431 impose that choice.
432
433 This section is intended to make thoroughly clear what is believed to
434 be a consequence of the rest of this License.
435
436 12. If the distribution and/or use of the Library is restricted in
437 certain countries either by patents or by copyrighted interfaces, the
438 original copyright holder who places the Library under this License may add
439 an explicit geographical distribution limitation excluding those countries,
440 so that distribution is permitted only in or among countries not thus
441 excluded. In such case, this License incorporates the limitation as if
442 written in the body of this License.
443
444 13. The Free Software Foundation may publish revised and/or new
445 versions of the Lesser General Public License from time to time.
446 Such new versions will be similar in spirit to the present version,
447 but may differ in detail to address new problems or concerns.
448
449 Each version is given a distinguishing version number. If the Library
450 specifies a version number of this License which applies to it and
451 "any later version", you have the option of following the terms and
452 conditions either of that version or of any later version published by
453 the Free Software Foundation. If the Library does not specify a
454 license version number, you may choose any version ever published by
455 the Free Software Foundation.
456
457 14. If you wish to incorporate parts of the Library into other free
458 programs whose distribution conditions are incompatible with these,
459 write to the author to ask for permission. For software which is
460 copyrighted by the Free Software Foundation, write to the Free
461 Software Foundation; we sometimes make exceptions for this. Our
462 decision will be guided by the two goals of preserving the free status
463 of all derivatives of our free software and of promoting the sharing
464 and reuse of software generally.
465
466 NO WARRANTY
467
468 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
469 WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
470 EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
471 OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
472 KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
473 IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
474 PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
475 LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
476 THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
477
478 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
479 WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
480 AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
481 FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
482 CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
483 LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
484 RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
485 FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
486 SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
487 DAMAGES.
488
489 END OF TERMS AND CONDITIONS
490
491 How to Apply These Terms to Your New Libraries
492
493 If you develop a new library, and you want it to be of the greatest
494 possible use to the public, we recommend making it free software that
495 everyone can redistribute and change. You can do so by permitting
496 redistribution under these terms (or, alternatively, under the terms of the
497 ordinary General Public License).
498
499 To apply these terms, attach the following notices to the library. It is
500 safest to attach them to the start of each source file to most effectively
501 convey the exclusion of warranty; and each file should have at least the
502 "copyright" line and a pointer to where the full notice is found.
503
504 {description}
505 Copyright (C) {year} {fullname}
506
507 This library is free software; you can redistribute it and/or
508 modify it under the terms of the GNU Lesser General Public
509 License as published by the Free Software Foundation; either
510 version 2.1 of the License, or (at your option) any later version.
511
512 This library is distributed in the hope that it will be useful,
513 but WITHOUT ANY WARRANTY; without even the implied warranty of
514 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
515 Lesser General Public License for more details.
516
517 You should have received a copy of the GNU Lesser General Public
518 License along with this library; if not, write to the Free Software
519 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301
520 USA
521
522 Also add information on how to contact you by electronic and paper mail.
523
524 You should also get your employer (if you work as a programmer) or your
525 school, if any, to sign a "copyright disclaimer" for the library, if
526 necessary. Here is a sample; alter the names:
527
528 Yoyodyne, Inc., hereby disclaims all copyright interest in the
529 library `Frob' (a library for tweaking knobs) written by James Random
530 Hacker.
531
532 {signature of Ty Coon}, 1 April 1990
533 Ty Coon, President of Vice
534
535 That's all there is to it!
0 ---
1 title: GNU Lesser General Public License v3.0
2 nickname: GNU LGPLv3
3 redirect_from: /licenses/lgpl-v3/
4 family: GNU LGPL
5 source: http://www.gnu.org/licenses/lgpl-3.0.txt
6
7 description: Version 3 of the GNU LGPL is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3 license</a> that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.
8
9 how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3. Then either paste this text to the bottom of the created file OR add a separate file (typically named COPYING.lesser or LICENSE.lesser) in the root of your source code and copy the text.
10
11 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 <a href="/licenses/gpl-3.0">GNU GPLv3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the GNU LGPLv3 and not the GNU GPLv3.
12
13 conditions:
14 - include-copyright
15 - disclose-source
16 - same-license
17
18
19 permissions:
20 - commercial-use
21 - modifications
22 - distribution
23 - patent-use
24 - private-use
25
26 limitations:
27 - no-liability
28
29 hidden: false
30 ---
31
32 GNU LESSER GENERAL PUBLIC LICENSE
33 Version 3, 29 June 2007
34
35 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
36 Everyone is permitted to copy and distribute verbatim copies
37 of this license document, but changing it is not allowed.
38
39
40 This version of the GNU Lesser General Public License incorporates
41 the terms and conditions of version 3 of the GNU General Public
42 License, supplemented by the additional permissions listed below.
43
44 0. Additional Definitions.
45
46 As used herein, "this License" refers to version 3 of the GNU Lesser
47 General Public License, and the "GNU GPL" refers to version 3 of the GNU
48 General Public License.
49
50 "The Library" refers to a covered work governed by this License,
51 other than an Application or a Combined Work as defined below.
52
53 An "Application" is any work that makes use of an interface provided
54 by the Library, but which is not otherwise based on the Library.
55 Defining a subclass of a class defined by the Library is deemed a mode
56 of using an interface provided by the Library.
57
58 A "Combined Work" is a work produced by combining or linking an
59 Application with the Library. The particular version of the Library
60 with which the Combined Work was made is also called the "Linked
61 Version".
62
63 The "Minimal Corresponding Source" for a Combined Work means the
64 Corresponding Source for the Combined Work, excluding any source code
65 for portions of the Combined Work that, considered in isolation, are
66 based on the Application, and not on the Linked Version.
67
68 The "Corresponding Application Code" for a Combined Work means the
69 object code and/or source code for the Application, including any data
70 and utility programs needed for reproducing the Combined Work from the
71 Application, but excluding the System Libraries of the Combined Work.
72
73 1. Exception to Section 3 of the GNU GPL.
74
75 You may convey a covered work under sections 3 and 4 of this License
76 without being bound by section 3 of the GNU GPL.
77
78 2. Conveying Modified Versions.
79
80 If you modify a copy of the Library, and, in your modifications, a
81 facility refers to a function or data to be supplied by an Application
82 that uses the facility (other than as an argument passed when the
83 facility is invoked), then you may convey a copy of the modified
84 version:
85
86 a) under this License, provided that you make a good faith effort to
87 ensure that, in the event an Application does not supply the
88 function or data, the facility still operates, and performs
89 whatever part of its purpose remains meaningful, or
90
91 b) under the GNU GPL, with none of the additional permissions of
92 this License applicable to that copy.
93
94 3. Object Code Incorporating Material from Library Header Files.
95
96 The object code form of an Application may incorporate material from
97 a header file that is part of the Library. You may convey such object
98 code under terms of your choice, provided that, if the incorporated
99 material is not limited to numerical parameters, data structure
100 layouts and accessors, or small macros, inline functions and templates
101 (ten or fewer lines in length), you do both of the following:
102
103 a) Give prominent notice with each copy of the object code that the
104 Library is used in it and that the Library and its use are
105 covered by this License.
106
107 b) Accompany the object code with a copy of the GNU GPL and this license
108 document.
109
110 4. Combined Works.
111
112 You may convey a Combined Work under terms of your choice that,
113 taken together, effectively do not restrict modification of the
114 portions of the Library contained in the Combined Work and reverse
115 engineering for debugging such modifications, if you also do each of
116 the following:
117
118 a) Give prominent notice with each copy of the Combined Work that
119 the Library is used in it and that the Library and its use are
120 covered by this License.
121
122 b) Accompany the Combined Work with a copy of the GNU GPL and this license
123 document.
124
125 c) For a Combined Work that displays copyright notices during
126 execution, include the copyright notice for the Library among
127 these notices, as well as a reference directing the user to the
128 copies of the GNU GPL and this license document.
129
130 d) Do one of the following:
131
132 0) Convey the Minimal Corresponding Source under the terms of this
133 License, and the Corresponding Application Code in a form
134 suitable for, and under terms that permit, the user to
135 recombine or relink the Application with a modified version of
136 the Linked Version to produce a modified Combined Work, in the
137 manner specified by section 6 of the GNU GPL for conveying
138 Corresponding Source.
139
140 1) Use a suitable shared library mechanism for linking with the
141 Library. A suitable mechanism is one that (a) uses at run time
142 a copy of the Library already present on the user's computer
143 system, and (b) will operate properly with a modified version
144 of the Library that is interface-compatible with the Linked
145 Version.
146
147 e) Provide Installation Information, but only if you would otherwise
148 be required to provide such information under section 6 of the
149 GNU GPL, and only to the extent that such information is
150 necessary to install and execute a modified version of the
151 Combined Work produced by recombining or relinking the
152 Application with a modified version of the Linked Version. (If
153 you use option 4d0, the Installation Information must accompany
154 the Minimal Corresponding Source and Corresponding Application
155 Code. If you use option 4d1, you must provide the Installation
156 Information in the manner specified by section 6 of the GNU GPL
157 for conveying Corresponding Source.)
158
159 5. Combined Libraries.
160
161 You may place library facilities that are a work based on the
162 Library side by side in a single library together with other library
163 facilities that are not Applications and are not covered by this
164 License, and convey such a combined library under terms of your
165 choice, if you do both of the following:
166
167 a) Accompany the combined library with a copy of the same work based
168 on the Library, uncombined with any other library facilities,
169 conveyed under the terms of this License.
170
171 b) Give prominent notice with the combined library that part of it
172 is a work based on the Library, and explaining where to find the
173 accompanying uncombined form of the same work.
174
175 6. Revised Versions of the GNU Lesser General Public License.
176
177 The Free Software Foundation may publish revised and/or new versions
178 of the GNU Lesser General Public License from time to time. Such new
179 versions will be similar in spirit to the present version, but may
180 differ in detail to address new problems or concerns.
181
182 Each version is given a distinguishing version number. If the
183 Library as you received it specifies that a certain numbered version
184 of the GNU Lesser General Public License "or any later version"
185 applies to it, you have the option of following the terms and
186 conditions either of that published version or of any later version
187 published by the Free Software Foundation. If the Library as you
188 received it does not specify a version number of the GNU Lesser
189 General Public License, you may choose any version of the GNU Lesser
190 General Public License ever published by the Free Software Foundation.
191
192 If the Library as you received it specifies that a proxy can decide
193 whether future versions of the GNU Lesser General Public License shall
194 apply, that proxy's public statement of acceptance of any version is
195 permanent authorization for you to choose that version for the
196 Library.
0 ---
1 title: LaTeX Project Public License v1.3c
2 hidden: true
3 nickname: LPPL-1.3c
4 family: LPPL
5 source: https://latex-project.org/lppl/lppl-1-3c.html
6
7 description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
8
9 how: To use this license, place in each of the components of your work both an explicit copyright notice including your name and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
10
11 note: An example boilerplate and more information about how to use the license can be found at the end of the license.
12
13 conditions:
14 - include-copyright
15 - document-changes
16 - disclose-source
17
18 permissions:
19 - commercial-use
20 - modifications
21 - distribution
22 - private-use
23
24 limitations:
25 - no-liability
26
27 ---
28
29 The LaTeX Project Public License
30 =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
31
32 LPPL Version 1.3c 2008-05-04
33
34 Copyright 1999 2002-2008 LaTeX3 Project
35 Everyone is allowed to distribute verbatim copies of this
36 license document, but modification of it is not allowed.
37
38
39 PREAMBLE
40 ========
41
42 The LaTeX Project Public License (LPPL) is the primary license under
43 which the LaTeX kernel and the base LaTeX packages are distributed.
44
45 You may use this license for any work of which you hold the copyright
46 and which you wish to distribute. This license may be particularly
47 suitable if your work is TeX-related (such as a LaTeX package), but
48 it is written in such a way that you can use it even if your work is
49 unrelated to TeX.
50
51 The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
52 below, gives instructions, examples, and recommendations for authors
53 who are considering distributing their works under this license.
54
55 This license gives conditions under which a work may be distributed
56 and modified, as well as conditions under which modified versions of
57 that work may be distributed.
58
59 We, the LaTeX3 Project, believe that the conditions below give you
60 the freedom to make and distribute modified versions of your work
61 that conform with whatever technical specifications you wish while
62 maintaining the availability, integrity, and reliability of
63 that work. If you do not see how to achieve your goal while
64 meeting these conditions, then read the document `cfgguide.tex'
65 and `modguide.tex' in the base LaTeX distribution for suggestions.
66
67
68 DEFINITIONS
69 ===========
70
71 In this license document the following terms are used:
72
73 `Work'
74 Any work being distributed under this License.
75
76 `Derived Work'
77 Any work that under any applicable law is derived from the Work.
78
79 `Modification'
80 Any procedure that produces a Derived Work under any applicable
81 law -- for example, the production of a file containing an
82 original file associated with the Work or a significant portion of
83 such a file, either verbatim or with modifications and/or
84 translated into another language.
85
86 `Modify'
87 To apply any procedure that produces a Derived Work under any
88 applicable law.
89
90 `Distribution'
91 Making copies of the Work available from one person to another, in
92 whole or in part. Distribution includes (but is not limited to)
93 making any electronic components of the Work accessible by
94 file transfer protocols such as FTP or HTTP or by shared file
95 systems such as Sun's Network File System (NFS).
96
97 `Compiled Work'
98 A version of the Work that has been processed into a form where it
99 is directly usable on a computer system. This processing may
100 include using installation facilities provided by the Work,
101 transformations of the Work, copying of components of the Work, or
102 other activities. Note that modification of any installation
103 facilities provided by the Work constitutes modification of the Work.
104
105 `Current Maintainer'
106 A person or persons nominated as such within the Work. If there is
107 no such explicit nomination then it is the `Copyright Holder' under
108 any applicable law.
109
110 `Base Interpreter'
111 A program or process that is normally needed for running or
112 interpreting a part or the whole of the Work.
113
114 A Base Interpreter may depend on external components but these
115 are not considered part of the Base Interpreter provided that each
116 external component clearly identifies itself whenever it is used
117 interactively. Unless explicitly specified when applying the
118 license to the Work, the only applicable Base Interpreter is a
119 `LaTeX-Format' or in the case of files belonging to the
120 `LaTeX-format' a program implementing the `TeX language'.
121
122
123
124 CONDITIONS ON DISTRIBUTION AND MODIFICATION
125 ===========================================
126
127 1. Activities other than distribution and/or modification of the Work
128 are not covered by this license; they are outside its scope. In
129 particular, the act of running the Work is not restricted and no
130 requirements are made concerning any offers of support for the Work.
131
132 2. You may distribute a complete, unmodified copy of the Work as you
133 received it. Distribution of only part of the Work is considered
134 modification of the Work, and no right to distribute such a Derived
135 Work may be assumed under the terms of this clause.
136
137 3. You may distribute a Compiled Work that has been generated from a
138 complete, unmodified copy of the Work as distributed under Clause 2
139 above, as long as that Compiled Work is distributed in such a way that
140 the recipients may install the Compiled Work on their system exactly
141 as it would have been installed if they generated a Compiled Work
142 directly from the Work.
143
144 4. If you are the Current Maintainer of the Work, you may, without
145 restriction, modify the Work, thus creating a Derived Work. You may
146 also distribute the Derived Work without restriction, including
147 Compiled Works generated from the Derived Work. Derived Works
148 distributed in this manner by the Current Maintainer are considered to
149 be updated versions of the Work.
150
151 5. If you are not the Current Maintainer of the Work, you may modify
152 your copy of the Work, thus creating a Derived Work based on the Work,
153 and compile this Derived Work, thus creating a Compiled Work based on
154 the Derived Work.
155
156 6. If you are not the Current Maintainer of the Work, you may
157 distribute a Derived Work provided the following conditions are met
158 for every component of the Work unless that component clearly states
159 in the copyright notice that it is exempt from that condition. Only
160 the Current Maintainer is allowed to add such statements of exemption
161 to a component of the Work.
162
163 a. If a component of this Derived Work can be a direct replacement
164 for a component of the Work when that component is used with the
165 Base Interpreter, then, wherever this component of the Work
166 identifies itself to the user when used interactively with that
167 Base Interpreter, the replacement component of this Derived Work
168 clearly and unambiguously identifies itself as a modified version
169 of this component to the user when used interactively with that
170 Base Interpreter.
171
172 b. Every component of the Derived Work contains prominent notices
173 detailing the nature of the changes to that component, or a
174 prominent reference to another file that is distributed as part
175 of the Derived Work and that contains a complete and accurate log
176 of the changes.
177
178 c. No information in the Derived Work implies that any persons,
179 including (but not limited to) the authors of the original version
180 of the Work, provide any support, including (but not limited to)
181 the reporting and handling of errors, to recipients of the
182 Derived Work unless those persons have stated explicitly that
183 they do provide such support for the Derived Work.
184
185 d. You distribute at least one of the following with the Derived Work:
186
187 1. A complete, unmodified copy of the Work;
188 if your distribution of a modified component is made by
189 offering access to copy the modified component from a
190 designated place, then offering equivalent access to copy
191 the Work from the same or some similar place meets this
192 condition, even though third parties are not compelled to
193 copy the Work along with the modified component;
194
195 2. Information that is sufficient to obtain a complete,
196 unmodified copy of the Work.
197
198 7. If you are not the Current Maintainer of the Work, you may
199 distribute a Compiled Work generated from a Derived Work, as long as
200 the Derived Work is distributed to all recipients of the Compiled
201 Work, and as long as the conditions of Clause 6, above, are met with
202 regard to the Derived Work.
203
204 8. The conditions above are not intended to prohibit, and hence do not
205 apply to, the modification, by any method, of any component so that it
206 becomes identical to an updated version of that component of the Work as
207 it is distributed by the Current Maintainer under Clause 4, above.
208
209 9. Distribution of the Work or any Derived Work in an alternative
210 format, where the Work or that Derived Work (in whole or in part) is
211 then produced by applying some process to that format, does not relax or
212 nullify any sections of this license as they pertain to the results of
213 applying that process.
214
215 10. a. A Derived Work may be distributed under a different license
216 provided that license itself honors the conditions listed in
217 Clause 6 above, in regard to the Work, though it does not have
218 to honor the rest of the conditions in this license.
219
220 b. If a Derived Work is distributed under a different license, that
221 Derived Work must provide sufficient documentation as part of
222 itself to allow each recipient of that Derived Work to honor the
223 restrictions in Clause 6 above, concerning changes from the Work.
224
225 11. This license places no restrictions on works that are unrelated to
226 the Work, nor does this license place any restrictions on aggregating
227 such works with the Work by any means.
228
229 12. Nothing in this license is intended to, or may be used to, prevent
230 complete compliance by all parties with all applicable laws.
231
232
233 NO WARRANTY
234 ===========
235
236 There is no warranty for the Work. Except when otherwise stated in
237 writing, the Copyright Holder provides the Work `as is', without
238 warranty of any kind, either expressed or implied, including, but not
239 limited to, the implied warranties of merchantability and fitness for a
240 particular purpose. The entire risk as to the quality and performance
241 of the Work is with you. Should the Work prove defective, you assume
242 the cost of all necessary servicing, repair, or correction.
243
244 In no event unless required by applicable law or agreed to in writing
245 will The Copyright Holder, or any author named in the components of the
246 Work, or any other party who may distribute and/or modify the Work as
247 permitted above, be liable to you for damages, including any general,
248 special, incidental or consequential damages arising out of any use of
249 the Work or out of inability to use the Work (including, but not limited
250 to, loss of data, data being rendered inaccurate, or losses sustained by
251 anyone as a result of any failure of the Work to operate with any other
252 programs), even if the Copyright Holder or said author or said other
253 party has been advised of the possibility of such damages.
254
255
256 MAINTENANCE OF THE WORK
257 =======================
258
259 The Work has the status `author-maintained' if the Copyright Holder
260 explicitly and prominently states near the primary copyright notice in
261 the Work that the Work can only be maintained by the Copyright Holder
262 or simply that it is `author-maintained'.
263
264 The Work has the status `maintained' if there is a Current Maintainer
265 who has indicated in the Work that they are willing to receive error
266 reports for the Work (for example, by supplying a valid e-mail
267 address). It is not required for the Current Maintainer to acknowledge
268 or act upon these error reports.
269
270 The Work changes from status `maintained' to `unmaintained' if there
271 is no Current Maintainer, or the person stated to be Current
272 Maintainer of the work cannot be reached through the indicated means
273 of communication for a period of six months, and there are no other
274 significant signs of active maintenance.
275
276 You can become the Current Maintainer of the Work by agreement with
277 any existing Current Maintainer to take over this role.
278
279 If the Work is unmaintained, you can become the Current Maintainer of
280 the Work through the following steps:
281
282 1. Make a reasonable attempt to trace the Current Maintainer (and
283 the Copyright Holder, if the two differ) through the means of
284 an Internet or similar search.
285
286 2. If this search is successful, then enquire whether the Work
287 is still maintained.
288
289 a. If it is being maintained, then ask the Current Maintainer
290 to update their communication data within one month.
291
292 b. If the search is unsuccessful or no action to resume active
293 maintenance is taken by the Current Maintainer, then announce
294 within the pertinent community your intention to take over
295 maintenance. (If the Work is a LaTeX work, this could be
296 done, for example, by posting to comp.text.tex.)
297
298 3a. If the Current Maintainer is reachable and agrees to pass
299 maintenance of the Work to you, then this takes effect
300 immediately upon announcement.
301
302 b. If the Current Maintainer is not reachable and the Copyright
303 Holder agrees that maintenance of the Work be passed to you,
304 then this takes effect immediately upon announcement.
305
306 4. If you make an `intention announcement' as described in 2b. above
307 and after three months your intention is challenged neither by
308 the Current Maintainer nor by the Copyright Holder nor by other
309 people, then you may arrange for the Work to be changed so as
310 to name you as the (new) Current Maintainer.
311
312 5. If the previously unreachable Current Maintainer becomes
313 reachable once more within three months of a change completed
314 under the terms of 3b) or 4), then that Current Maintainer must
315 become or remain the Current Maintainer upon request provided
316 they then update their communication data within one month.
317
318 A change in the Current Maintainer does not, of itself, alter the fact
319 that the Work is distributed under the LPPL license.
320
321 If you become the Current Maintainer of the Work, you should
322 immediately provide, within the Work, a prominent and unambiguous
323 statement of your status as Current Maintainer. You should also
324 announce your new status to the same pertinent community as
325 in 2b) above.
326
327
328 WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
329 ======================================================
330
331 This section contains important instructions, examples, and
332 recommendations for authors who are considering distributing their
333 works under this license. These authors are addressed as `you' in
334 this section.
335
336 Choosing This License or Another License
337 ----------------------------------------
338
339 If for any part of your work you want or need to use *distribution*
340 conditions that differ significantly from those in this license, then
341 do not refer to this license anywhere in your work but, instead,
342 distribute your work under a different license. You may use the text
343 of this license as a model for your own license, but your license
344 should not refer to the LPPL or otherwise give the impression that
345 your work is distributed under the LPPL.
346
347 The document `modguide.tex' in the base LaTeX distribution explains
348 the motivation behind the conditions of this license. It explains,
349 for example, why distributing LaTeX under the GNU General Public
350 License (GPL) was considered inappropriate. Even if your work is
351 unrelated to LaTeX, the discussion in `modguide.tex' may still be
352 relevant, and authors intending to distribute their works under any
353 license are encouraged to read it.
354
355 A Recommendation on Modification Without Distribution
356 -----------------------------------------------------
357
358 It is wise never to modify a component of the Work, even for your own
359 personal use, without also meeting the above conditions for
360 distributing the modified component. While you might intend that such
361 modifications will never be distributed, often this will happen by
362 accident -- you may forget that you have modified that component; or
363 it may not occur to you when allowing others to access the modified
364 version that you are thus distributing it and violating the conditions
365 of this license in ways that could have legal implications and, worse,
366 cause problems for the community. It is therefore usually in your
367 best interest to keep your copy of the Work identical with the public
368 one. Many works provide ways to control the behavior of that work
369 without altering any of its licensed components.
370
371 How to Use This License
372 -----------------------
373
374 To use this license, place in each of the components of your work both
375 an explicit copyright notice including your name and the year the work
376 was authored and/or last substantially modified. Include also a
377 statement that the distribution and/or modification of that
378 component is constrained by the conditions in this license.
379
380 Here is an example of such a notice and statement:
381
382 %% pig.dtx
383 %% Copyright 2005 M. Y. Name
384 %
385 % This work may be distributed and/or modified under the
386 % conditions of the LaTeX Project Public License, either version 1.3
387 % of this license or (at your option) any later version.
388 % The latest version of this license is in
389 % http://www.latex-project.org/lppl.txt
390 % and version 1.3 or later is part of all distributions of LaTeX
391 % version 2005/12/01 or later.
392 %
393 % This work has the LPPL maintenance status `maintained'.
394 %
395 % The Current Maintainer of this work is M. Y. Name.
396 %
397 % This work consists of the files pig.dtx and pig.ins
398 % and the derived file pig.sty.
399
400 Given such a notice and statement in a file, the conditions
401 given in this license document would apply, with the `Work' referring
402 to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
403 generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
404 referring to any `LaTeX-Format', and both `Copyright Holder' and
405 `Current Maintainer' referring to the person `M. Y. Name'.
406
407 If you do not want the Maintenance section of LPPL to apply to your
408 Work, change `maintained' above into `author-maintained'.
409 However, we recommend that you use `maintained', as the Maintenance
410 section was added in order to ensure that your Work remains useful to
411 the community even when you can no longer maintain and support it
412 yourself.
413
414 Derived Works That Are Not Replacements
415 ---------------------------------------
416
417 Several clauses of the LPPL specify means to provide reliability and
418 stability for the user community. They therefore concern themselves
419 with the case that a Derived Work is intended to be used as a
420 (compatible or incompatible) replacement of the original Work. If
421 this is not the case (e.g., if a few lines of code are reused for a
422 completely different task), then clauses 6b and 6d shall not apply.
423
424
425 Important Recommendations
426 -------------------------
427
428 Defining What Constitutes the Work
429
430 The LPPL requires that distributions of the Work contain all the
431 files of the Work. It is therefore important that you provide a
432 way for the licensee to determine which files constitute the Work.
433 This could, for example, be achieved by explicitly listing all the
434 files of the Work near the copyright notice of each file or by
435 using a line such as:
436
437 % This work consists of all files listed in manifest.txt.
438
439 in that place. In the absence of an unequivocal list it might be
440 impossible for the licensee to determine what is considered by you
441 to comprise the Work and, in such a case, the licensee would be
442 entitled to make reasonable conjectures as to which files comprise
443 the Work.
444
0 ---
1 title: MIT License
2 featured: true
3 source: https://opensource.org/licenses/MIT
4
5 description: A permissive license that is short and to the point. It lets people do anything with your code with proper attribution and without warranty.
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 - jQuery: https://github.com/jquery/jquery/blob/master/LICENSE.txt
11 - .NET Core: https://github.com/dotnet/corefx/blob/master/LICENSE
12 - Rails: https://github.com/rails/rails/blob/master/activerecord/MIT-LICENSE
13
14 conditions:
15 - include-copyright
16
17 permissions:
18 - commercial-use
19 - modifications
20 - distribution
21 - private-use
22
23 limitations:
24 - no-liability
25
26 hidden: false
27 ---
28
29 The MIT License (MIT)
30
31 Copyright (c) [year] [fullname]
32
33 Permission is hereby granted, free of charge, to any person obtaining a copy
34 of this software and associated documentation files (the "Software"), to deal
35 in the Software without restriction, including without limitation the rights
36 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
37 copies of the Software, and to permit persons to whom the Software is
38 furnished to do so, subject to the following conditions:
39
40 The above copyright notice and this permission notice shall be included in all
41 copies or substantial portions of the Software.
42
43 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
44 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
45 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
46 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
47 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
48 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
49 SOFTWARE.
0 ---
1 title: Mozilla Public License 2.0
2 redirect_from: /licenses/mozilla/
3 source: https://www.mozilla.org/media/MPL/2.0/index.txt
4
5 description: The Mozilla Public License (MPL 2.0) is maintained by the Mozilla foundation. This license attempts to be a compromise between the permissive BSD license and the reciprocal GPL license.
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.
8
9 conditions:
10 - disclose-source
11 - include-copyright
12 - same-license
13
14 permissions:
15 - commercial-use
16 - modifications
17 - distribution
18 - patent-use
19 - private-use
20
21 limitations:
22 - no-liability
23 - trademark-use
24
25 hidden: false
26 ---
27
28 Mozilla Public License Version 2.0
29 ==================================
30
31 1. Definitions
32 --------------
33
34 1.1. "Contributor"
35 means each individual or legal entity that creates, contributes to
36 the creation of, or owns Covered Software.
37
38 1.2. "Contributor Version"
39 means the combination of the Contributions of others (if any) used
40 by a Contributor and that particular Contributor's Contribution.
41
42 1.3. "Contribution"
43 means Covered Software of a particular Contributor.
44
45 1.4. "Covered Software"
46 means Source Code Form to which the initial Contributor has attached
47 the notice in Exhibit A, the Executable Form of such Source Code
48 Form, and Modifications of such Source Code Form, in each case
49 including portions thereof.
50
51 1.5. "Incompatible With Secondary Licenses"
52 means
53
54 (a) that the initial Contributor has attached the notice described
55 in Exhibit B to the Covered Software; or
56
57 (b) that the Covered Software was made available under the terms of
58 version 1.1 or earlier of the License, but not also under the
59 terms of a Secondary License.
60
61 1.6. "Executable Form"
62 means any form of the work other than Source Code Form.
63
64 1.7. "Larger Work"
65 means a work that combines Covered Software with other material, in
66 a separate file or files, that is not Covered Software.
67
68 1.8. "License"
69 means this document.
70
71 1.9. "Licensable"
72 means having the right to grant, to the maximum extent possible,
73 whether at the time of the initial grant or subsequently, any and
74 all of the rights conveyed by this License.
75
76 1.10. "Modifications"
77 means any of the following:
78
79 (a) any file in Source Code Form that results from an addition to,
80 deletion from, or modification of the contents of Covered
81 Software; or
82
83 (b) any new file in Source Code Form that contains any Covered
84 Software.
85
86 1.11. "Patent Claims" of a Contributor
87 means any patent claim(s), including without limitation, method,
88 process, and apparatus claims, in any patent Licensable by such
89 Contributor that would be infringed, but for the grant of the
90 License, by the making, using, selling, offering for sale, having
91 made, import, or transfer of either its Contributions or its
92 Contributor Version.
93
94 1.12. "Secondary License"
95 means either the GNU General Public License, Version 2.0, the GNU
96 Lesser General Public License, Version 2.1, the GNU Affero General
97 Public License, Version 3.0, or any later versions of those
98 licenses.
99
100 1.13. "Source Code Form"
101 means the form of the work preferred for making modifications.
102
103 1.14. "You" (or "Your")
104 means an individual or a legal entity exercising rights under this
105 License. For legal entities, "You" includes any entity that
106 controls, is controlled by, or is under common control with You. For
107 purposes of this definition, "control" means (a) the power, direct
108 or indirect, to cause the direction or management of such entity,
109 whether by contract or otherwise, or (b) ownership of more than
110 fifty percent (50%) of the outstanding shares or beneficial
111 ownership of such entity.
112
113 2. License Grants and Conditions
114 --------------------------------
115
116 2.1. Grants
117
118 Each Contributor hereby grants You a world-wide, royalty-free,
119 non-exclusive license:
120
121 (a) under intellectual property rights (other than patent or trademark)
122 Licensable by such Contributor to use, reproduce, make available,
123 modify, display, perform, distribute, and otherwise exploit its
124 Contributions, either on an unmodified basis, with Modifications, or
125 as part of a Larger Work; and
126
127 (b) under Patent Claims of such Contributor to make, use, sell, offer
128 for sale, have made, import, and otherwise transfer either its
129 Contributions or its Contributor Version.
130
131 2.2. Effective Date
132
133 The licenses granted in Section 2.1 with respect to any Contribution
134 become effective for each Contribution on the date the Contributor first
135 distributes such Contribution.
136
137 2.3. Limitations on Grant Scope
138
139 The licenses granted in this Section 2 are the only rights granted under
140 this License. No additional rights or licenses will be implied from the
141 distribution or licensing of Covered Software under this License.
142 Notwithstanding Section 2.1(b) above, no patent license is granted by a
143 Contributor:
144
145 (a) for any code that a Contributor has removed from Covered Software;
146 or
147
148 (b) for infringements caused by: (i) Your and any other third party's
149 modifications of Covered Software, or (ii) the combination of its
150 Contributions with other software (except as part of its Contributor
151 Version); or
152
153 (c) under Patent Claims infringed by Covered Software in the absence of
154 its Contributions.
155
156 This License does not grant any rights in the trademarks, service marks,
157 or logos of any Contributor (except as may be necessary to comply with
158 the notice requirements in Section 3.4).
159
160 2.4. Subsequent Licenses
161
162 No Contributor makes additional grants as a result of Your choice to
163 distribute the Covered Software under a subsequent version of this
164 License (see Section 10.2) or under the terms of a Secondary License (if
165 permitted under the terms of Section 3.3).
166
167 2.5. Representation
168
169 Each Contributor represents that the Contributor believes its
170 Contributions are its original creation(s) or it has sufficient rights
171 to grant the rights to its Contributions conveyed by this License.
172
173 2.6. Fair Use
174
175 This License is not intended to limit any rights You have under
176 applicable copyright doctrines of fair use, fair dealing, or other
177 equivalents.
178
179 2.7. Conditions
180
181 Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted
182 in Section 2.1.
183
184 3. Responsibilities
185 -------------------
186
187 3.1. Distribution of Source Form
188
189 All distribution of Covered Software in Source Code Form, including any
190 Modifications that You create or to which You contribute, must be under
191 the terms of this License. You must inform recipients that the Source
192 Code Form of the Covered Software is governed by the terms of this
193 License, and how they can obtain a copy of this License. You may not
194 attempt to alter or restrict the recipients' rights in the Source Code
195 Form.
196
197 3.2. Distribution of Executable Form
198
199 If You distribute Covered Software in Executable Form then:
200
201 (a) such Covered Software must also be made available in Source Code
202 Form, as described in Section 3.1, and You must inform recipients of
203 the Executable Form how they can obtain a copy of such Source Code
204 Form by reasonable means in a timely manner, at a charge no more
205 than the cost of distribution to the recipient; and
206
207 (b) You may distribute such Executable Form under the terms of this
208 License, or sublicense it under different terms, provided that the
209 license for the Executable Form does not attempt to limit or alter
210 the recipients' rights in the Source Code Form under this License.
211
212 3.3. Distribution of a Larger Work
213
214 You may create and distribute a Larger Work under terms of Your choice,
215 provided that You also comply with the requirements of this License for
216 the Covered Software. If the Larger Work is a combination of Covered
217 Software with a work governed by one or more Secondary Licenses, and the
218 Covered Software is not Incompatible With Secondary Licenses, this
219 License permits You to additionally distribute such Covered Software
220 under the terms of such Secondary License(s), so that the recipient of
221 the Larger Work may, at their option, further distribute the Covered
222 Software under the terms of either this License or such Secondary
223 License(s).
224
225 3.4. Notices
226
227 You may not remove or alter the substance of any license notices
228 (including copyright notices, patent notices, disclaimers of warranty,
229 or limitations of liability) contained within the Source Code Form of
230 the Covered Software, except that You may alter any license notices to
231 the extent required to remedy known factual inaccuracies.
232
233 3.5. Application of Additional Terms
234
235 You may choose to offer, and to charge a fee for, warranty, support,
236 indemnity or liability obligations to one or more recipients of Covered
237 Software. However, You may do so only on Your own behalf, and not on
238 behalf of any Contributor. You must make it absolutely clear that any
239 such warranty, support, indemnity, or liability obligation is offered by
240 You alone, and You hereby agree to indemnify every Contributor for any
241 liability incurred by such Contributor as a result of warranty, support,
242 indemnity or liability terms You offer. You may include additional
243 disclaimers of warranty and limitations of liability specific to any
244 jurisdiction.
245
246 4. Inability to Comply Due to Statute or Regulation
247 ---------------------------------------------------
248
249 If it is impossible for You to comply with any of the terms of this
250 License with respect to some or all of the Covered Software due to
251 statute, judicial order, or regulation then You must: (a) comply with
252 the terms of this License to the maximum extent possible; and (b)
253 describe the limitations and the code they affect. Such description must
254 be placed in a text file included with all distributions of the Covered
255 Software under this License. Except to the extent prohibited by statute
256 or regulation, such description must be sufficiently detailed for a
257 recipient of ordinary skill to be able to understand it.
258
259 5. Termination
260 --------------
261
262 5.1. The rights granted under this License will terminate automatically
263 if You fail to comply with any of its terms. However, if You become
264 compliant, then the rights granted under this License from a particular
265 Contributor are reinstated (a) provisionally, unless and until such
266 Contributor explicitly and finally terminates Your grants, and (b) on an
267 ongoing basis, if such Contributor fails to notify You of the
268 non-compliance by some reasonable means prior to 60 days after You have
269 come back into compliance. Moreover, Your grants from a particular
270 Contributor are reinstated on an ongoing basis if such Contributor
271 notifies You of the non-compliance by some reasonable means, this is the
272 first time You have received notice of non-compliance with this License
273 from such Contributor, and You become compliant prior to 30 days after
274 Your receipt of the notice.
275
276 5.2. If You initiate litigation against any entity by asserting a patent
277 infringement claim (excluding declaratory judgment actions,
278 counter-claims, and cross-claims) alleging that a Contributor Version
279 directly or indirectly infringes any patent, then the rights granted to
280 You by any and all Contributors for the Covered Software under Section
281 2.1 of this License shall terminate.
282
283 5.3. In the event of termination under Sections 5.1 or 5.2 above, all
284 end user license agreements (excluding distributors and resellers) which
285 have been validly granted by You or Your distributors under this License
286 prior to termination shall survive termination.
287
288 ************************************************************************
289 * *
290 * 6. Disclaimer of Warranty *
291 * ------------------------- *
292 * *
293 * Covered Software is provided under this License on an "as is" *
294 * basis, without warranty of any kind, either expressed, implied, or *
295 * statutory, including, without limitation, warranties that the *
296 * Covered Software is free of defects, merchantable, fit for a *
297 * particular purpose or non-infringing. The entire risk as to the *
298 * quality and performance of the Covered Software is with You. *
299 * Should any Covered Software prove defective in any respect, You *
300 * (not any Contributor) assume the cost of any necessary servicing, *
301 * repair, or correction. This disclaimer of warranty constitutes an *
302 * essential part of this License. No use of any Covered Software is *
303 * authorized under this License except under this disclaimer. *
304 * *
305 ************************************************************************
306
307 ************************************************************************
308 * *
309 * 7. Limitation of Liability *
310 * -------------------------- *
311 * *
312 * Under no circumstances and under no legal theory, whether tort *
313 * (including negligence), contract, or otherwise, shall any *
314 * Contributor, or anyone who distributes Covered Software as *
315 * permitted above, be liable to You for any direct, indirect, *
316 * special, incidental, or consequential damages of any character *
317 * including, without limitation, damages for lost profits, loss of *
318 * goodwill, work stoppage, computer failure or malfunction, or any *
319 * and all other commercial damages or losses, even if such party *
320 * shall have been informed of the possibility of such damages. This *
321 * limitation of liability shall not apply to liability for death or *
322 * personal injury resulting from such party's negligence to the *
323 * extent applicable law prohibits such limitation. Some *
324 * jurisdictions do not allow the exclusion or limitation of *
325 * incidental or consequential damages, so this exclusion and *
326 * limitation may not apply to You. *
327 * *
328 ************************************************************************
329
330 8. Litigation
331 -------------
332
333 Any litigation relating to this License may be brought only in the
334 courts of a jurisdiction where the defendant maintains its principal
335 place of business and such litigation shall be governed by laws of that
336 jurisdiction, without reference to its conflict-of-law provisions.
337 Nothing in this Section shall prevent a party's ability to bring
338 cross-claims or counter-claims.
339
340 9. Miscellaneous
341 ----------------
342
343 This License represents the complete agreement concerning the subject
344 matter hereof. If any provision of this License is held to be
345 unenforceable, such provision shall be reformed only to the extent
346 necessary to make it enforceable. Any law or regulation which provides
347 that the language of a contract shall be construed against the drafter
348 shall not be used to construe this License against a Contributor.
349
350 10. Versions of the License
351 ---------------------------
352
353 10.1. New Versions
354
355 Mozilla Foundation is the license steward. Except as provided in Section
356 10.3, no one other than the license steward has the right to modify or
357 publish new versions of this License. Each version will be given a
358 distinguishing version number.
359
360 10.2. Effect of New Versions
361
362 You may distribute the Covered Software under the terms of the version
363 of the License under which You originally received the Covered Software,
364 or under the terms of any subsequent version published by the license
365 steward.
366
367 10.3. Modified Versions
368
369 If you create software not governed by this License, and you want to
370 create a new license for such software, you may create and use a
371 modified version of this License if you rename the license and remove
372 any references to the name of the license steward (except to note that
373 such modified license differs from this License).
374
375 10.4. Distributing Source Code Form that is Incompatible With Secondary
376 Licenses
377
378 If You choose to distribute Source Code Form that is Incompatible With
379 Secondary Licenses under the terms of this version of the License, the
380 notice described in Exhibit B of this License must be attached.
381
382 Exhibit A - Source Code Form License Notice
383 -------------------------------------------
384
385 This Source Code Form is subject to the terms of the Mozilla Public
386 License, v. 2.0. If a copy of the MPL was not distributed with this
387 file, You can obtain one at http://mozilla.org/MPL/2.0/.
388
389 If it is not possible or desirable to put the notice in a particular
390 file, then You may include the notice in a location (such as a LICENSE
391 file in a relevant directory) where a recipient would be likely to look
392 for such a notice.
393
394 You may add additional accurate notices of copyright ownership.
395
396 Exhibit B - "Incompatible With Secondary Licenses" Notice
397 ---------------------------------------------------------
398
399 This Source Code Form is "Incompatible With Secondary Licenses", as
400 defined by the Mozilla Public License, v. 2.0.
0 ---
1 title: Microsoft Public License
2
3 source: http://opensource.org/licenses/ms-pl
4
5 description: "Microsoft Open Source"
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.
8
9 conditions:
10 - include-copyright
11
12 permissions:
13 - commercial-use
14 - modifications
15 - distribution
16 - patent-use
17 - private-use
18
19 limitations:
20 - no-liability
21 - trademark-use
22 ---
23
24 Microsoft Public License (MS-PL)
25
26 This license governs use of the accompanying software. If you use the software, you
27 accept this license. If you do not accept the license, do not use the software.
28
29 1. Definitions
30 The terms "reproduce," "reproduction," "derivative works," and "distribution" have the
31 same meaning here as under U.S. copyright law.
32 A "contribution" is the original software, or any additions or changes to the software.
33 A "contributor" is any person that distributes its contribution under this license.
34 "Licensed patents" are a contributor's patent claims that read directly on its contribution.
35
36 2. Grant of Rights
37 (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
38 (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
39
40 3. Conditions and Limitations
41 (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
42 (B) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
43 (C) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
44 (D) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
45 (E) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
0 ---
1 title: Microsoft Reciprocal License
2
3 source: http://opensource.org/licenses/ms-pl
4
5 description: "Microsoft Open Source"
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.
8
9 conditions:
10 - include-copyright
11 - same-license
12
13 permissions:
14 - commercial-use
15 - modifications
16 - distribution
17 - patent-use
18 - private-use
19
20 limitations:
21 - no-liability
22 - trademark-use
23 ---
24
25 Microsoft Reciprocal License (MS-RL)
26
27 This license governs use of the accompanying software. If you use the software, you accept this license. If you do not accept the license, do not use the software.
28
29 1. Definitions
30 The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law.
31 A "contribution" is the original software, or any additions or changes to the software.
32 A "contributor" is any person that distributes its contribution under this license.
33 "Licensed patents" are a contributor's patent claims that read directly on its contribution.
34
35 2. Grant of Rights
36 (A) Copyright Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free copyright license to reproduce its contribution, prepare derivative works of its contribution, and distribute its contribution or any derivative works that you create.
37 (B) Patent Grant- Subject to the terms of this license, including the license conditions and limitations in section 3, each contributor grants you a non-exclusive, worldwide, royalty-free license under its licensed patents to make, have made, use, sell, offer for sale, import, and/or otherwise dispose of its contribution in the software or derivative works of the contribution in the software.
38
39 3. Conditions and Limitations
40 (A) Reciprocal Grants- For any file you distribute that contains code from the software (in source code or binary format), you must provide recipients the source code to that file along with a copy of this license, which license will govern that file. You may license other files that are entirely your own work and do not contain code from the software under any terms you choose.
41 (B) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks.
42 (C) If you bring a patent claim against any contributor over patents that you claim are infringed by the software, your patent license from such contributor to the software ends automatically.
43 (D) If you distribute any portion of the software, you must retain all copyright, patent, trademark, and attribution notices that are present in the software.
44 (E) If you distribute any portion of the software in source code form, you may do so only under this license by including a complete copy of this license with your distribution. If you distribute any portion of the software in compiled or object code form, you may only do so under a license that complies with this license.
45 (F) The software is licensed "as-is." You bear the risk of using it. The contributors give no express warranties, guarantees or conditions. You may have additional consumer rights under your local laws which this license cannot change. To the extent permitted under your local laws, the contributors exclude the implied warranties of merchantability, fitness for a particular purpose and non-infringement.
0 ---
1 title: SIL Open Font License 1.1
2 redirect_from: /licenses/ofl/
3 source: http://scripts.sil.org/OFL_web
4
5 description: The Open Font License (OFL) is maintained by SIL International. It attempts to be a compromise between the values of the free software and typeface design communities. It is used for almost all open source font projects, including those by Adobe, Google and Mozilla.
6
7 how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your font source and copy the text of the license into the file. Replace [year] with the current year and [fullname] ([email]) with the name and contact email address of each copyright holder. You may take the additional step of appending a Reserved Font Name notice. This option requires anyone making modifications to change the font's name, and is not ideal for web fonts (which all users will modify by changing formats and subsetting for their own needs.)
8
9 note: This license doesn't require source provision, but recommends it. All files derived from OFL files must remain licensed under the OFL.
10
11 conditions:
12 - include-copyright
13 - same-license
14
15 permissions:
16 - private-use
17 - commercial-use
18 - modifications
19 - distribution
20
21 limitations:
22 - no-liability
23
24 ---
25
26 Copyright (c) [year] [fullname] ([email])
27
28 This Font Software is licensed under the SIL Open Font License, Version 1.1.
29 This license is copied below, and is also available with a FAQ at:
30 http://scripts.sil.org/OFL
31
32 -----------------------------------------------------------
33 SIL OPEN FONT LICENSE Version 1.1 - 26 February 2007
34 -----------------------------------------------------------
35
36 PREAMBLE
37 The goals of the Open Font License (OFL) are to stimulate worldwide
38 development of collaborative font projects, to support the font creation
39 efforts of academic and linguistic communities, and to provide a free and
40 open framework in which fonts may be shared and improved in partnership
41 with others.
42
43 The OFL allows the licensed fonts to be used, studied, modified and
44 redistributed freely as long as they are not sold by themselves. The
45 fonts, including any derivative works, can be bundled, embedded,
46 redistributed and/or sold with any software provided that any reserved
47 names are not used by derivative works. The fonts and derivatives,
48 however, cannot be released under any other type of license. The
49 requirement for fonts to remain under this license does not apply
50 to any document created using the fonts or their derivatives.
51
52 DEFINITIONS
53 "Font Software" refers to the set of files released by the Copyright
54 Holder(s) under this license and clearly marked as such. This may
55 include source files, build scripts and documentation.
56
57 "Reserved Font Name" refers to any names specified as such after the
58 copyright statement(s).
59
60 "Original Version" refers to the collection of Font Software components as
61 distributed by the Copyright Holder(s).
62
63 "Modified Version" refers to any derivative made by adding to, deleting,
64 or substituting -- in part or in whole -- any of the components of the
65 Original Version, by changing formats or by porting the Font Software to a
66 new environment.
67
68 "Author" refers to any designer, engineer, programmer, technical
69 writer or other person who contributed to the Font Software.
70
71 PERMISSION AND CONDITIONS
72 Permission is hereby granted, free of charge, to any person obtaining
73 a copy of the Font Software, to use, study, copy, merge, embed, modify,
74 redistribute, and sell modified and unmodified copies of the Font
75 Software, subject to the following conditions:
76
77 1) Neither the Font Software nor any of its individual components,
78 in Original or Modified Versions, may be sold by itself.
79
80 2) Original or Modified Versions of the Font Software may be bundled,
81 redistributed and/or sold with any software, provided that each copy
82 contains the above copyright notice and this license. These can be
83 included either as stand-alone text files, human-readable headers or
84 in the appropriate machine-readable metadata fields within text or
85 binary files as long as those fields can be easily viewed by the user.
86
87 3) No Modified Version of the Font Software may use the Reserved Font
88 Name(s) unless explicit written permission is granted by the corresponding
89 Copyright Holder. This restriction only applies to the primary font name as
90 presented to the users.
91
92 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font
93 Software shall not be used to promote, endorse or advertise any
94 Modified Version, except to acknowledge the contribution(s) of the
95 Copyright Holder(s) and the Author(s) or with their explicit written
96 permission.
97
98 5) The Font Software, modified or unmodified, in part or in whole,
99 must be distributed entirely under this license, and must not be
100 distributed under any other license. The requirement for fonts to
101 remain under this license does not apply to any document created
102 using the Font Software.
103
104 TERMINATION
105 This license becomes null and void if any of the above conditions are
106 not met.
107
108 DISCLAIMER
109 THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
110 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF
111 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
112 OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE
113 COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
114 INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL
115 DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
116 FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM
117 OTHER DEALINGS IN THE FONT SOFTWARE.
0 ---
1 title: Open Software License 3.0
2 source: http://opensource.org/licenses/OSL-3.0
3
4 description: OSL 3.0 is a copyleft license that does not require reciprocal licensing on linked works. It also provides an express grant of patent rights from contributors to users, with a termination clause triggered if a user files a patent infringement lawsuit.
5
6 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. Files licensed under OSL 3.0 must also include the notice "Licensed under the Open Software License version 3.0" adjacent to the copyright notice.
7
8 note: OSL 3.0's author has <a href="http://rosenlaw.com/OSL3.0-explained.htm">provided an explanation</a> behind the creation of the license.
9
10 using:
11 - Magento Community Edition: "http://magento.com/"
12 - Parsimony: "https://github.com/parsimony/parsimony"
13 - PrestaShop: "https://www.prestashop.com"
14 - Mulgara: "http://mulgara.org"
15 - AbanteCart: "https://github.com/abantecart/abantecart-src"
16
17 conditions:
18 - include-copyright
19 - disclose-source
20 - same-license
21
22 permissions:
23 - commercial-use
24 - distribution
25 - modifications
26 - patent-use
27 - private-use
28
29 limitations:
30 - trademark-use
31 - no-liability
32
33 ---
34
35 Open Software License ("OSL") v 3.0
36
37 This Open Software License (the "License") applies to any original work of
38 authorship (the "Original Work") whose owner (the "Licensor") has placed the
39 following licensing notice adjacent to the copyright notice for the Original
40 Work:
41
42 Licensed under the Open Software License version 3.0
43
44 1) Grant of Copyright License. Licensor grants You a worldwide, royalty-free,
45 non-exclusive, sublicensable license, for the duration of the copyright, to do
46 the following:
47
48 a) to reproduce the Original Work in copies, either alone or as part of a
49 collective work;
50
51 b) to translate, adapt, alter, transform, modify, or arrange the Original
52 Work, thereby creating derivative works ("Derivative Works") based upon the
53 Original Work;
54
55 c) to distribute or communicate copies of the Original Work and Derivative
56 Works to the public, with the proviso that copies of Original Work or
57 Derivative Works that You distribute or communicate shall be licensed under
58 this Open Software License;
59
60 d) to perform the Original Work publicly; and
61
62 e) to display the Original Work publicly.
63
64 2) Grant of Patent License. Licensor grants You a worldwide, royalty- free,
65 non-exclusive, sublicensable license, under patent claims owned or controlled
66 by the Licensor that are embodied in the Original Work as furnished by the
67 Licensor, for the duration of the patents, to make, use, sell, offer for sale,
68 have made, and import the Original Work and Derivative Works.
69
70 3) Grant of Source Code License. The term "Source Code" means the preferred
71 form of the Original Work for making modifications to it and all available
72 documentation describing how to modify the Original Work. Licensor agrees to
73 provide a machine-readable copy of the Source Code of the Original Work along
74 with each copy of the Original Work that Licensor distributes. Licensor
75 reserves the right to satisfy this obligation by placing a machine-readable
76 copy of the Source Code in an information repository reasonably calculated to
77 permit inexpensive and convenient access by You for as long as Licensor
78 continues to distribute the Original Work.
79
80 4) Exclusions From License Grant. Neither the names of Licensor, nor the names
81 of any contributors to the Original Work, nor any of their trademarks or
82 service marks, may be used to endorse or promote products derived from this
83 Original Work without express prior permission of the Licensor. Except as
84 expressly stated herein, nothing in this License grants any license to
85 Licensor's trademarks, copyrights, patents, trade secrets or any other
86 intellectual property. No patent license is granted to make, use, sell, offer
87 for sale, have made, or import embodiments of any patent claims other than the
88 licensed claims defined in Section 2. No license is granted to the trademarks
89 of Licensor even if such marks are included in the Original Work. Nothing in
90 this License shall be interpreted to prohibit Licensor from licensing under
91 terms different from this License any Original Work that Licensor otherwise
92 would have a right to license.
93
94 5) External Deployment. The term "External Deployment" means the use,
95 distribution, or communication of the Original Work or Derivative Works in any
96 way such that the Original Work or Derivative Works may be used by anyone
97 other than You, whether those works are distributed or communicated to those
98 persons or made available as an application intended for use over a network.
99 As an express condition for the grants of license hereunder, You must treat
100 any External Deployment by You of the Original Work or a Derivative Work as a
101 distribution under section 1(c).
102
103 6) Attribution Rights. You must retain, in the Source Code of any Derivative
104 Works that You create, all copyright, patent, or trademark notices from the
105 Source Code of the Original Work, as well as any notices of licensing and any
106 descriptive text identified therein as an "Attribution Notice." You must cause
107 the Source Code for any Derivative Works that You create to carry a prominent
108 Attribution Notice reasonably calculated to inform recipients that You have
109 modified the Original Work.
110
111 7) Warranty of Provenance and Disclaimer of Warranty. Licensor warrants that
112 the copyright in and to the Original Work and the patent rights granted herein
113 by Licensor are owned by the Licensor or are sublicensed to You under the
114 terms of this License with the permission of the contributor(s) of those
115 copyrights and patent rights. Except as expressly stated in the immediately
116 preceding sentence, the Original Work is provided under this License on an "AS
117 IS" BASIS and WITHOUT WARRANTY, either express or implied, including, without
118 limitation, the warranties of non-infringement, merchantability or fitness for
119 a particular purpose. THE ENTIRE RISK AS TO THE QUALITY OF THE ORIGINAL WORK
120 IS WITH YOU. This DISCLAIMER OF WARRANTY constitutes an essential part of this
121 License. No license to the Original Work is granted by this License except
122 under this disclaimer.
123
124 8) Limitation of Liability. Under no circumstances and under no legal theory,
125 whether in tort (including negligence), contract, or otherwise, shall the
126 Licensor be liable to anyone for any indirect, special, incidental, or
127 consequential damages of any character arising as a result of this License or
128 the use of the Original Work including, without limitation, damages for loss
129 of goodwill, work stoppage, computer failure or malfunction, or any and all
130 other commercial damages or losses. This limitation of liability shall not
131 apply to the extent applicable law prohibits such limitation.
132
133 9) Acceptance and Termination. If, at any time, You expressly assented to this
134 License, that assent indicates your clear and irrevocable acceptance of this
135 License and all of its terms and conditions. If You distribute or communicate
136 copies of the Original Work or a Derivative Work, You must make a reasonable
137 effort under the circumstances to obtain the express assent of recipients to
138 the terms of this License. This License conditions your rights to undertake
139 the activities listed in Section 1, including your right to create Derivative
140 Works based upon the Original Work, and doing so without honoring these terms
141 and conditions is prohibited by copyright law and international treaty.
142 Nothing in this License is intended to affect copyright exceptions and
143 limitations (including "fair use" or "fair dealing"). This License shall
144 terminate immediately and You may no longer exercise any of the rights granted
145 to You by this License upon your failure to honor the conditions in Section
146 1(c).
147
148 10) Termination for Patent Action. This License shall terminate automatically
149 and You may no longer exercise any of the rights granted to You by this
150 License as of the date You commence an action, including a cross-claim or
151 counterclaim, against Licensor or any licensee alleging that the Original Work
152 infringes a patent. This termination provision shall not apply for an action
153 alleging patent infringement by combinations of the Original Work with other
154 software or hardware.
155
156 11) Jurisdiction, Venue and Governing Law. Any action or suit relating to this
157 License may be brought only in the courts of a jurisdiction wherein the
158 Licensor resides or in which Licensor conducts its primary business, and under
159 the laws of that jurisdiction excluding its conflict-of-law provisions. The
160 application of the United Nations Convention on Contracts for the
161 International Sale of Goods is expressly excluded. Any use of the Original
162 Work outside the scope of this License or after its termination shall be
163 subject to the requirements and penalties of copyright or patent law in the
164 appropriate jurisdiction. This section shall survive the termination of this
165 License.
166
167 12) Attorneys' Fees. In any action to enforce the terms of this License or
168 seeking damages relating thereto, the prevailing party shall be entitled to
169 recover its costs and expenses, including, without limitation, reasonable
170 attorneys' fees and costs incurred in connection with such action, including
171 any appeal of such action. This section shall survive the termination of this
172 License.
173
174 13) Miscellaneous. If any provision of this License is held to be
175 unenforceable, such provision shall be reformed only to the extent necessary
176 to make it enforceable.
177
178 14) Definition of "You" in This License. "You" throughout this License,
179 whether in upper or lower case, means an individual or a legal entity
180 exercising rights under, and complying with all of the terms of, this License.
181 For legal entities, "You" includes any entity that controls, is controlled by,
182 or is under common control with you. For purposes of this definition,
183 "control" means (i) the power, direct or indirect, to cause the direction or
184 management of such entity, whether by contract or otherwise, or (ii) ownership
185 of fifty percent (50%) or more of the outstanding shares, or (iii) beneficial
186 ownership of such entity.
187
188 15) Right to Use. You may use the Original Work in all ways not otherwise
189 restricted or conditioned by this License or by law, and Licensor promises not
190 to interfere with or be responsible for such uses by You.
191
192 16) Modification of This License. This License is Copyright © 2005 Lawrence
193 Rosen. Permission is granted to copy, distribute, or communicate this License
194 without modification. Nothing in this License permits You to modify this
195 License as applied to the Original Work or to Derivative Works. However, You
196 may modify the text of this License and copy, distribute or communicate your
197 modified version (the "Modified License") and apply it to other original works
198 of authorship subject to the following conditions: (i) You may not indicate in
199 any way that your Modified License is the "Open Software License" or "OSL" and
200 you may not use those names in the name of your Modified License; (ii) You
201 must replace the notice specified in the first paragraph above with the notice
202 "Licensed under <insert your license name here>" or with a notice of your own
203 that is not confusingly similar to the notice in this License; and (iii) You
204 may not claim that your original works are open source software unless your
205 Modified License has been approved by Open Source Initiative (OSI) and You
206 comply with its license review and certification process.
0 ---
1 title: The Unlicense
2 family: Public Domain
3 source: http://unlicense.org/UNLICENSE
4
5 description: Because copyright is automatic in most countries, <a href="http://unlicense.org">the Unlicense</a> is a template to waive copyright interest in software you've written and dedicate it to the public domain. Use the Unlicense to opt out of copyright entirely. It also includes the no-warranty statement from the MIT/X11 license.
6
7 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.
8
9 permissions:
10 - private-use
11 - commercial-use
12 - modifications
13 - distribution
14
15 conditions: []
16
17 limitations:
18 - no-liability
19
20 hidden: false
21 ---
22
23 This is free and unencumbered software released into the public domain.
24
25 Anyone is free to copy, modify, publish, use, compile, sell, or
26 distribute this software, either in source code form or as a compiled
27 binary, for any purpose, commercial or non-commercial, and by any
28 means.
29
30 In jurisdictions that recognize copyright laws, the author or authors
31 of this software dedicate any and all copyright interest in the
32 software to the public domain. We make this dedication for the benefit
33 of the public at large and to the detriment of our heirs and
34 successors. We intend this dedication to be an overt act of
35 relinquishment in perpetuity of all present and future rights to this
36 software under copyright law.
37
38 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
39 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
40 MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
41 IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR
42 OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE,
43 ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
44 OTHER DEALINGS IN THE SOFTWARE.
45
46 For more information, please refer to <http://unlicense.org>
0 ---
1 title: "Do What The F*ck You Want To Public License"
2 source: http://www.wtfpl.net/
3
4 description: The easiest licence out there. It gives the user permissions to do whatever they want with your code.
5
6 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.
7
8 conditions: []
9
10 permissions:
11 - commercial-use
12 - modifications
13 - distribution
14 - private-use
15
16 limitations: []
17
18 ---
19
20 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
21 Version 2, December 2004
22
23 Copyright (C) 2004 [fullname] <[email]>
24
25 Everyone is permitted to copy and distribute verbatim or modified
26 copies of this license document, and changing it is allowed as long
27 as the name is changed.
28
29 DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
30 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
31
32 0. You just DO WHAT THE FUCK YOU WANT TO.