├── .gitignore ├── .npmignore ├── .travis.yml ├── LICENSE ├── README.md ├── content.js ├── github.js ├── index.js ├── licenses ├── AAL.txt ├── AFL2.1.txt ├── AFL3.0.txt ├── AGPL3.0.txt ├── APL-1.0.txt ├── APSL-2.0.txt ├── Apache1.0.txt ├── Apache2.0.txt ├── Artistic2.0.txt ├── BSD-2-Clause.txt ├── BSD-3-Clause.txt ├── BSD.txt ├── BSL1.0.txt ├── CATOSL1.1.txt ├── CECILL-2.1.txt ├── CNRI.txt ├── CPAL1.0.txt ├── CUAOPL1.0.txt ├── ECL2.0.txt ├── EFL2.0.txt ├── ENTESSA.txt ├── EPL-1.0.txt ├── EUDATAGRID.txt ├── EUPL1.1.txt ├── FAIR.txt ├── Frameworx1.0.txt ├── GPL-2.0.txt ├── GPL-3.0.txt ├── GPL.txt ├── HPND.txt ├── IPA.txt ├── IPL-1.0.txt ├── ISC.txt ├── JSON.txt ├── LGPL-2.1.txt ├── LGPL-3.0.txt ├── LGPL.txt ├── LPL-1.02.txt ├── LPPL-1.3.txt ├── MIROS.txt ├── MIT.txt ├── MOTOSOTO.txt ├── MPL-1.0.txt ├── MPL-2.0.txt ├── MS-PL.txt ├── MS-RL.txt ├── MULTICS.txt ├── NAUMEN.txt ├── NCSA.txt ├── NGPL.txt ├── NPOSL-3.0.txt ├── NTP.txt ├── Nokia.txt ├── OCLC-2.0.txt ├── OFL-1.1.txt ├── OSL-3.0.txt ├── PHP-3.0.txt ├── PostgreSQL.txt ├── Python2.txt ├── QPL-1.0.txt ├── RPL-1.5.txt ├── RPSL.txt ├── RSCPL.txt ├── SIMPL-2.0.txt ├── SLEEPYCAT.txt ├── SPL-1.0.txt ├── UNLICENSE.txt ├── VSL-1.0.txt ├── W3C.txt ├── WTFPL.txt ├── WXwindows.txt ├── Watcom-1.0.txt ├── XNet.txt ├── ZPL-2.0.txt ├── beerware.txt ├── cddl1.txt ├── nasa.txt └── zlib.txt ├── normalize.js ├── opensource.js ├── package.json ├── parser.js ├── registry.js └── test ├── all.js ├── all.json ├── opensource.test.js └── parser.test.js /.gitignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .tern-port 4 | test/failed.json 5 | test/results.json 6 | test.js 7 | coverage 8 | -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | .DS_Store 3 | .tern-port 4 | test 5 | test.js 6 | coverage 7 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | language: node_js 2 | node_js: 3 | - "0.8" 4 | - "0.10" 5 | - "0.11" 6 | before_install: 7 | - "npm install -g npm@1.4.x" 8 | script: 9 | - "npm run test-travis" 10 | after_script: 11 | - "npm install coveralls@2.11.x && cat coverage/lcov.info | coveralls" 12 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2014 Arnout Kazemier 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without 6 | restriction, including without limitation the rights to use, 7 | copy, modify, merge, publish, distribute, sublicense, and/or sell 8 | copies of the Software, and to permit persons to whom the 9 | Software is furnished to do so, subject to the following 10 | conditions: 11 | 12 | The above copyright notice and this permission notice shall be 13 | included in all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 16 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 17 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 18 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 19 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 20 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 21 | FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Licenses 2 | 3 | [![Build Status](https://travis-ci.org/3rd-Eden/licenses.png)](https://travis-ci.org/3rd-Eden/licenses) 4 | 5 | Licenses.. This is the most painful part about Open Source. There are so many 6 | different licenses and they all have different restrictions. In order to know 7 | the license footprint of your project you need to know how your modules are 8 | licensed. You might be interested in your license footprint because: 9 | 10 | - Some licenses might restrict you from selling your code or using it for 11 | commercial applications. 12 | - There are unlicensed modules released in to npm on a daily basis. Just 13 | because they are added in the npm registry it doesn't mean that they are Open 14 | Source and just free to use. 15 | - The code could be proprietary licensed. 16 | - .. and the list goes on and on. 17 | 18 | But the biggest problem is figuring out which license a module is actually 19 | using. There are a lot of ways of saying that your code is licensed under MIT. 20 | There are people who rather say licensed under MIT than just stating MIT. So the 21 | way we write which license we use differ but also the location of our licenses. 22 | It can be in the `package.json` hiding in various of properties or specified in 23 | the `README.md` of the project or even a dedicated `LICENSE` file in the 24 | repository. 25 | 26 | Now that you've taken the time to read about some of these issues above, you 27 | know why this module exists. It tries to fulfill one simple task. Get a human 28 | readable license from a given node module. 29 | 30 | However, this module isn't flawless as it tries to automate a task that usually 31 | requires the interference and intelligence of a human. If you have module that 32 | is incorrectly detected or not detected at all but does have licensing 33 | information publicly available please create an issue about and we'll see if it 34 | can get resolved. 35 | 36 | 37 | 38 | ## Installation 39 | 40 | The module is released through npm and can therefor be installed using: 41 | 42 | ``` 43 | npm install --save licenses 44 | ``` 45 | 46 | ## CLI 47 | 48 | There is CLI version of this module available as `licensing` which can be 49 | installed locally using: 50 | 51 | ``` 52 | npm install -g licensing 53 | ``` 54 | 55 | See https://github.com/3rd-Eden/licensing for more information. 56 | 57 | ## Getting started with the API 58 | 59 | The module exposes one single interface for retrieving the packages, which is a 60 | simple exported function: 61 | 62 | ```js 63 | 'use strict'; 64 | 65 | var licenses = require('licenses'); 66 | 67 | licenses('primus', function fetched(err, license) { 68 | console.log(license.join(',')); // MIT 69 | }); 70 | ``` 71 | 72 | As you can see in the example above, the first argument of the function can be a 73 | `string` with the name of the package you want to resolve. In addition to 74 | supplying a string you can also give it the contents of the npm registry's data 75 | directly: 76 | 77 | ```js 78 | licenses({ name: 'primus', readme: '..', ....}, function fetched(err, license) { 79 | 80 | }); 81 | ``` 82 | 83 | The function allows a second optional argument which allows you to configure 84 | license function. The following options are supported: 85 | 86 | - **githulk** A custom or pre-authorized 87 | [githulk](https://github.com/3rd-Eden/githulk) instance. The license lookup 88 | process makes extensive use of GitHub to retrieve license information that 89 | might not be available in the package.json. But the GitHub API is rate limited 90 | so if you don't use an authorized GitHulk instance you can only do 60 calls to 91 | the API. 92 | - **order** The order in which we should attempt to resolve the license. This 93 | defaults to [[registry](#registry), [github](#github), [content](#content)]. 94 | - **registry** The URL of The npm Registry we should use to retrieve package 95 | data. 96 | - *npmjs* a custom [npm-registry](https://github.com/3rd-Eden/npmjs) instance. 97 | 98 | The options are completely optional and can therefore be safely omitted. 99 | 100 | ```js 101 | licenses('primus', { registry: 'https://registry.npmjs.org/' }, function () { 102 | 103 | }); 104 | ``` 105 | 106 | As you might have noticed from the options we support three different lookup 107 | algorithms: 108 | 109 | ### registry 110 | 111 | In this algorithm we attempt to search for license information directly in the 112 | supplied or retrieved npm data. This is the fastest lookup as it only needs to 113 | search and parse the `license` and `licenses` fields of the module for license 114 | information. 115 | 116 | ### github 117 | 118 | This reads out your github repository information from the package data to get a 119 | directly listing of your project. Once the directory is listed it fetches files 120 | from the repo where a possible license or license information can be found like 121 | README and LICENSE files. All the data that is found will be scanned with the 122 | [content](#content) algorithm. 123 | 124 | ### content 125 | 126 | It searches the readme or supplied content for matches the license files. If it 127 | fails to do any matching based on the license files it fallback to a really 128 | basic regexp based check. 129 | 130 | ### License 131 | 132 | MIT 133 | -------------------------------------------------------------------------------- /content.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var debug = require('debug')('licenses::content'); 4 | 5 | module.exports = require('./parser').extend({ 6 | /** 7 | * The name of this parser. 8 | * 9 | * @type {String} 10 | * @private 11 | */ 12 | name: 'content', 13 | 14 | /** 15 | * Parse the markdown information from the package. 16 | * 17 | * @param {Object} data The package.json or npm package contents. 18 | * @param {Object} options Optional options. 19 | * @param {Function} next Continuation. 20 | * @api public 21 | */ 22 | parse: function parse(data, options, next) { 23 | data = this.get(data); 24 | 25 | if ('function' === typeof options) { 26 | next = options; 27 | options = {}; 28 | } 29 | 30 | // 31 | // We cannot detect a license so we call the callback without any arguments 32 | // which symbolises a failed attempt. 33 | // 34 | if (!data) return next(); 35 | 36 | // 37 | // Optimize the matches by trying to locate where the licensing information 38 | // starts in the given content. Usually, we, as developers add it at the 39 | // bottom of our README.md files and prefix it with "LICENSE" as header. 40 | // 41 | if (data.file && /readme/i.test(data.file)) { 42 | data.content.split('\n') 43 | .some(function some(line, index, lines) { 44 | if ( 45 | /^.{0,7}\s{0,}(?:licen[cs]e[s]?|copyright).{0,2}\s{0,}$/gim.test( 46 | line.trim()) 47 | ) { 48 | data.content = lines.slice(index).join('\n'); 49 | debug('matched %s as license header, slicing data', JSON.stringify(line)); 50 | return true; 51 | } 52 | 53 | return false; 54 | }); 55 | } 56 | 57 | var license = this.scan(data.content); 58 | if (!license) { 59 | license = this.test(data.content); 60 | 61 | if (license) debug('used regexp to detect %s in content', license); 62 | } else { 63 | debug('license file scan resulted in %s as matching license', license); 64 | } 65 | 66 | 67 | next(undefined, this.normalize(license)); 68 | }, 69 | 70 | /** 71 | * Is content based license detection an option for this package. 72 | * 73 | * @param {Object} data The package.json or npm package contents. 74 | * @returns {Boolean} 75 | * @api public 76 | */ 77 | supported: function supported(data) { 78 | return !!this.get(data); 79 | }, 80 | 81 | /** 82 | * Retrieve the only possible location of data. Which is the `readme` content 83 | * but that's only available for packages that are retrieved through npm. 84 | * 85 | * @param {Object} data The package.json or npm package contents. 86 | */ 87 | get: function get(data) { 88 | if ('string' === typeof data) return { content: data }; 89 | if (data.readme) return { content: data.readme, file: 'readme' }; 90 | if (data.content) return data; 91 | } 92 | }); 93 | -------------------------------------------------------------------------------- /github.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var debug = require('debug')('licenses::github') 4 | , url = require('url'); 5 | 6 | /** 7 | * Parser for github based URL. 8 | * 9 | * @constructor 10 | * @api public 11 | */ 12 | module.exports = require('./parser').extend({ 13 | /** 14 | * The name of this parser. 15 | * 16 | * @type {String} 17 | * @private 18 | */ 19 | name: 'github', 20 | 21 | /** 22 | * All the filenames that we're interested in from Github that can potentially 23 | * contain the license information. 24 | * 25 | * The extensions which are added are 26 | * 27 | * @type {Array} 28 | * @api private 29 | */ 30 | filenames: [ 31 | 'license', 32 | 'licence', 33 | 'readme', 34 | ].concat([ 35 | 'markdown', 'mdown', 'md', 'textile', 'rdoc', 'org', 'creole', 'mediawiki', 36 | 'rst', 'asciidoc', 'adoc', 'asc', 'pod' 37 | ].reduce(function flatten(slim, extension) { 38 | slim.push('license.'+ extension, 'readme.'+ extension, 'licence.'+ extension); 39 | return slim; 40 | }, [])), 41 | 42 | /** 43 | * Parse the github information from the package. 44 | * 45 | * @param {Object} data The package.json or npm package contents. 46 | * @param {Object} options Optional options. 47 | * @param {Function} next Continuation. 48 | * @api public 49 | */ 50 | parse: function parse(data, options, next) { 51 | data = this.get(data); 52 | 53 | if ('function' === typeof options) { 54 | next = options; 55 | options = {}; 56 | } 57 | 58 | // 59 | // We cannot detect a license so we call the callback without any arguments 60 | // which symbolises a failed attempt. 61 | // 62 | if (!data) return next(); 63 | 64 | var githulk = options.githulk || this.githulk 65 | , project = data.user +'/'+ data.repo 66 | , parser = this; 67 | 68 | githulk.repository.moved(project, function moved(err, github, changed) { 69 | if (err) return next(err); 70 | if (changed) project = github.user +'/'+ github.repo; 71 | 72 | githulk.repository.contents(project, function contents(err, files) { 73 | if (err || !files || !files.length) return next(err); 74 | 75 | // 76 | // Check if we have any compatible. 77 | // 78 | files = files.filter(function filter(file) { 79 | var name = file.name.toLowerCase(); 80 | 81 | // No size, not really useful for matching. 82 | if (file.size <= 0) return false; 83 | 84 | // Fast case, direct match. 85 | if (!!~parser.filenames.indexOf(name)) return true; 86 | 87 | // Slow case, partial match. 88 | return parser.filenames.some(function some(filename) { 89 | return !!~name.indexOf(filename); 90 | }); 91 | }).sort(function sort(a, b) { 92 | if (a.name > b.name) return 1; 93 | if (b.name < b.name) return -1; 94 | return 0; 95 | }); 96 | 97 | if (!files.length) return next(); 98 | 99 | // 100 | // Stored the matching license. 101 | // 102 | var license; 103 | 104 | // 105 | // Fetch and parse the 'raw' content of the file so we can parse it. 106 | // 107 | parser.async.doWhilst(function does(next) { 108 | var file = files.shift(); 109 | 110 | debug('searching %s for license information', file.name); 111 | 112 | githulk.repository.raw(project, { 113 | path: file.name 114 | }, function raw(err, data) { 115 | if (err) return next(err); 116 | 117 | parser.parsers.content.parse({ 118 | content: Array.isArray(data) ? data[0] : data, 119 | file: file.name 120 | }, function parse(err, data) { 121 | license = data; 122 | 123 | if (license) debug('extracted %s from %s', data, file.name); 124 | next(err); 125 | }); 126 | }); 127 | }, function select() { 128 | return !license && files.length; 129 | }, function done(err) { 130 | next(err, license); 131 | }); 132 | }); 133 | }); 134 | }, 135 | 136 | /** 137 | * Is github based license detection an option for this package. 138 | * 139 | * @param {Object} data The package.json or npm package contents. 140 | * @returns {Boolean} 141 | * @api public 142 | */ 143 | supported: function supported(data) { 144 | return !!this.get(data); 145 | }, 146 | 147 | /** 148 | * Get the actual contents that we're interested in, in this case it's the 149 | * location of a potential github URL. 150 | * 151 | * @param {Object} data The package.json or the npm package contents. 152 | * @return {String} Returns the URL or undefined. 153 | * @api private 154 | */ 155 | get: function get() { 156 | return this.githulk.project.apply(this, arguments); 157 | } 158 | }); 159 | -------------------------------------------------------------------------------- /index.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var debug = require('debug')('licenses::parse') 4 | , opensource = require('./opensource') 5 | , async = require('async') 6 | , url = require('url'); 7 | 8 | var Registry; 9 | 10 | /** 11 | * Start searching for license information for the given module name. 12 | * 13 | * Options: 14 | * 15 | * - githulk: A pre-configured githulk instance. 16 | * - order: The order of resolving license information. 17 | * - npmjs: A pre-configured npm-registry instance. 18 | * - registry: A registry to use for the npmjs instance. 19 | * 20 | * @param {Mixed} name The module name or the package.json contents. 21 | * @param {Object} options Configuration of the parse process. 22 | * @param {Function} fn Callback. 23 | * @api public 24 | */ 25 | function parse(name, options, fn) { 26 | if ('function' === typeof options) { 27 | fn = options; 28 | options = null; 29 | } 30 | 31 | // 32 | // Fix circular require. 33 | // 34 | if (!Registry) Registry = require('npm-registry'); 35 | 36 | options = options || {}; 37 | options.githulk = options.githulk || null; 38 | options.order = options.order || ['registry', 'github', 'content']; 39 | options.registry = options.registry || Registry.mirrors.nodejitsu; 40 | options.npmjs = 'string' !== typeof options.registry 41 | ? options.registry 42 | : new Registry({ 43 | registry: options.registry || Registry.mirrors.nodejitsu, 44 | githulk: options.githulk 45 | }); 46 | 47 | async.waterfall([ 48 | // 49 | // Make sure that we have the correct contents to start searching for 50 | // license information. 51 | // 52 | function fetch(next) { 53 | if ('string' !== typeof name) return next(undefined, name); 54 | 55 | options.npmjs.packages.get(name, next); 56 | }, 57 | 58 | // 59 | // Search for the correct way of parsing out the license information. 60 | // 61 | function search(data, next) { 62 | if (!options.order.length) return next(); 63 | if (Array.isArray(data)) data = data[0]; 64 | 65 | debug('searching for licensing information for %s', data.name); 66 | 67 | var parser, result, name; 68 | 69 | async.doWhilst(function does(next) { 70 | name = options.order.shift(); 71 | parser = parse.parsers[name]; 72 | 73 | if (!parser.supported(data)) return next(); 74 | 75 | debug('attempting to extract the license information using: %s', name); 76 | 77 | parser.parse(data, options, function parsed(err, license) { 78 | if (err) return next(); 79 | 80 | result = license; 81 | if (result) debug('parsing with %s was successful', name); 82 | 83 | next(); 84 | }); 85 | }, function select() { 86 | return !result && options.order.length; 87 | }, function cleanup(err) { 88 | options = null; 89 | next(err, result, name); 90 | }); 91 | } 92 | ], fn); 93 | } 94 | 95 | /** 96 | * Retrieve addition license information based on the returned results. The 97 | * returned object can contain the following properties 98 | * 99 | * - full: A human readable but long string of the license name. 100 | * - name: The same name as you already provided. 101 | * - id: An uppercase unique ID of the license. 102 | * 103 | * - file *optional*: The name of license file's content. 104 | * - url *optional*: The location where people can read the terms. 105 | * 106 | * @param {String} name The name of the license. 107 | * @returns {Object|Undefined} 108 | * @api public 109 | */ 110 | parse.info = function info(name) { 111 | return opensource.licenses[name]; 112 | }; 113 | 114 | // 115 | // Expose the Parser class so we easily add new parsers through third-party if 116 | // needed. (Think bitbucket and other code hosting sites) 117 | // 118 | parse.Registry = require('./registry'); // Parse license out of package 119 | parse.Content = require('./content'); // Parse license of out file content. 120 | parse.Parser = require('./parser'); // Base parser class. 121 | parse.Github = require('./github'); // Parse license info from github. 122 | 123 | // 124 | // Expose our primary parsers that we can leverage to retrieve license content. 125 | // 126 | parse.parsers = {}; 127 | parse.parsers.registry = new parse.Registry(parse.parsers); 128 | parse.parsers.content = new parse.Content(parse.parsers); 129 | parse.parsers.github = new parse.Github(parse.parsers); 130 | 131 | // 132 | // Expose the actual module. 133 | // 134 | module.exports = parse; 135 | -------------------------------------------------------------------------------- /licenses/AAL.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002 by AUTHOR 2 | PROFESSIONAL IDENTIFICATION * URL 3 | "PROMOTIONAL SLOGAN FOR AUTHOR'S PROFESSIONAL PRACTICE" 4 | 5 | All Rights Reserved 6 | ATTRIBUTION ASSURANCE LICENSE (adapted from the original BSD license) 7 | Redistribution and use in source and binary forms, with or without 8 | modification, are permitted provided that the conditions below are met. 9 | These conditions require a modest attribution to (the 10 | "Author"), who hopes that its promotional value may help justify the 11 | thousands of dollars in otherwise billable time invested in writing 12 | this and other freely available, open-source software. 13 | 14 | 1. Redistributions of source code, in whole or part and with or without 15 | modification (the "Code"), must prominently display this GPG-signed 16 | text in verifiable form. 17 | 2. Redistributions of the Code in binary form must be accompanied by 18 | this GPG-signed text in any documentation and, each time the resulting 19 | executable program or a program dependent thereon is launched, a 20 | prominent display (e.g., splash screen or banner text) of the Author's 21 | attribution information, which includes: 22 | (a) Name ("AUTHOR"), 23 | (b) Professional identification ("PROFESSIONAL IDENTIFICATION"), and 24 | (c) URL ("URL"). 25 | 3. Neither the name nor any trademark of the Author may be used to 26 | endorse or promote products derived from this software without specific 27 | prior written permission. 28 | 4. Users are entirely responsible, to the exclusion of the Author and 29 | any other persons, for compliance with (1) regulations set by owners or 30 | administrators of employed equipment, (2) licensing terms of any other 31 | software, and (3) local regulations regarding use, including those 32 | regarding import, export, and use of encryption software. 33 | 34 | THIS FREE SOFTWARE IS PROVIDED BY THE AUTHOR "AS IS" AND 35 | ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 36 | LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND 37 | FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO 38 | EVENT SHALL THE AUTHOR OR ANY CONTRIBUTOR BE LIABLE FOR 39 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR 40 | CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, 41 | EFFECTS OF UNAUTHORIZED OR MALICIOUS NETWORK ACCESS; 42 | PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 43 | DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED 44 | AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 45 | LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 46 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN 47 | IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 48 | --End of License 49 | -------------------------------------------------------------------------------- /licenses/AFL2.1.txt: -------------------------------------------------------------------------------- 1 | The Academic Free License 2 | v.2.1 3 | This Academic Free License (the "License") applies to any original work of authorship (the "Original Work") whose owner (the "Licensor") has placed the following notice immediately following the copyright notice for the Original Work: 4 | 5 | Licensed under the Academic Free License version 2.1 6 | 7 | 1) Grant of Copyright License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, sublicenseable license to do the following: 8 | 9 | a) to reproduce the Original Work in copies; 10 | 11 | b) to prepare derivative works ("Derivative Works") based upon the Original Work; 12 | 13 | c) to distribute copies of the Original Work and Derivative Works to the public; 14 | 15 | d) to perform the Original Work publicly; and 16 | 17 | e) to display the Original Work publicly. 18 | 19 | 2) Grant of Patent License. Licensor hereby grants You a world-wide, royalty-free, non-exclusive, perpetual, sublicenseable license, under patent claims owned or controlled by the Licensor that are embodied in the Original Work as furnished by the Licensor, to make, use, sell and offer for sale the Original Work and Derivative Works. 20 | 21 | 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 hereby 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, and by publishing the address of that information repository in a notice immediately following the copyright notice that applies to the Original Work. 22 | 23 | 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 written permission of the Licensor. Nothing in this License shall be deemed to grant any rights to trademarks, copyrights, patents, trade secrets or any other intellectual property of Licensor except as expressly stated herein. No patent license is granted to make, use, sell or offer to sell embodiments of any patent claims other than the licensed claims defined in Section 2. No right 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 different terms from this License any Original Work that Licensor otherwise would have a right to license. 24 | 25 | 5) This section intentionally omitted. 26 | 27 | 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. 28 | 29 | 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 proceeding 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 Original Work is granted hereunder except under this disclaimer. 30 | 31 | 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 any person for any direct, 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 liability for death or personal injury resulting from Licensor's negligence to the extent applicable law prohibits such limitation. Some jurisdictions do not allow the exclusion or limitation of incidental or consequential damages, so this exclusion and limitation may not apply to You. 32 | 33 | 9) Acceptance and Termination. If You distribute 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. Nothing else but this License (or another written agreement between Licensor and You) grants You permission to create Derivative Works based upon the Original Work or to exercise any of the rights granted in Section 1 herein, and any attempt to do so except under the terms of this License (or another written agreement between Licensor and You) is expressly prohibited by U.S. copyright law, the equivalent laws of other countries, and by international treaty. Therefore, by exercising any of the rights granted to You in Section 1 herein, You indicate Your acceptance of this License and all of its terms and conditions. 34 | 35 | 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. 36 | 37 | 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 the U.S. Copyright Act, 17 U.S.C. § 101 et seq., the equivalent laws of other countries, and international treaty. This section shall survive the termination of this License. 38 | 39 | 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. 40 | 41 | 13) Miscellaneous. This License represents the complete agreement concerning the subject matter hereof. 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. 42 | 43 | 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. 44 | 45 | 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. 46 | 47 | This license is Copyright (C) 2003-2004 Lawrence E. Rosen. All rights reserved. 48 | Permission is hereby granted to copy and distribute this license without modification. This license may not be modified without the express written permission of its copyright owner. 49 | -------------------------------------------------------------------------------- /licenses/AFL3.0.txt: -------------------------------------------------------------------------------- 1 | Academic Free License ("AFL") v. 3.0 2 | 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: 3 | 4 | Licensed under the Academic Free License version 3.0 5 | 6 | 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: 7 | 8 | a) to reproduce the Original Work in copies, either alone or as part of a collective work; 9 | 10 | b) to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work; 11 | 12 | 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; 13 | 14 | d) to perform the Original Work publicly; and 15 | 16 | e) to display the Original Work publicly. 17 | 18 | 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. 19 | 20 | 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. 21 | 22 | 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. 23 | 24 | 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). 25 | 26 | 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. 27 | 28 | 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. 29 | 30 | 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. 31 | 32 | 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). 33 | 34 | 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. 35 | 36 | 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. 37 | 38 | 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. 39 | 40 | 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. 41 | 42 | 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. 43 | 44 | 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. 45 | 46 | 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 " 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. 47 | -------------------------------------------------------------------------------- /licenses/Apache1.0.txt: -------------------------------------------------------------------------------- 1 | /* ==================================================================== 2 | * Copyright (c) 1995-1999 The Apache Group. All rights reserved. 3 | * 4 | * Redistribution and use in source and binary forms, with or without 5 | * modification, are permitted provided that the following conditions 6 | * are met: 7 | * 8 | * 1. Redistributions of source code must retain the above copyright 9 | * notice, this list of conditions and the following disclaimer. 10 | * 11 | * 2. Redistributions in binary form must reproduce the above copyright 12 | * notice, this list of conditions and the following disclaimer in 13 | * the documentation and/or other materials provided with the 14 | * distribution. 15 | * 16 | * 3. All advertising materials mentioning features or use of this 17 | * software must display the following acknowledgment: 18 | * "This product includes software developed by the Apache Group 19 | * for use in the Apache HTTP server project (http://www.apache.org/)." 20 | * 21 | * 4. The names "Apache Server" and "Apache Group" must not be used to 22 | * endorse or promote products derived from this software without 23 | * prior written permission. For written permission, please contact 24 | * apache@apache.org. 25 | * 26 | * 5. Products derived from this software may not be called "Apache" 27 | * nor may "Apache" appear in their names without prior written 28 | * permission of the Apache Group. 29 | * 30 | * 6. Redistributions of any form whatsoever must retain the following 31 | * acknowledgment: 32 | * "This product includes software developed by the Apache Group 33 | * for use in the Apache HTTP server project (http://www.apache.org/)." 34 | * 35 | * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY 36 | * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 37 | * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR 38 | * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE APACHE GROUP OR 39 | * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 40 | * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT 41 | * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 42 | * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 43 | * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 44 | * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 45 | * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 46 | * OF THE POSSIBILITY OF SUCH DAMAGE. 47 | * ==================================================================== 48 | * 49 | * This software consists of voluntary contributions made by many 50 | * individuals on behalf of the Apache Group and was originally based 51 | * on public domain software written at the National Center for 52 | * Supercomputing Applications, University of Illinois, Urbana-Champaign. 53 | * For more information on the Apache Group and the Apache HTTP server 54 | * project, please see . 55 | * 56 | */ 57 | -------------------------------------------------------------------------------- /licenses/Apache2.0.txt: -------------------------------------------------------------------------------- 1 | Apache License 2 | 3 | Version 2.0, January 2004 4 | 5 | http://www.apache.org/licenses/ 6 | 7 | TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 8 | 9 | 1. Definitions. 10 | 11 | "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. 12 | 13 | "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. 14 | 15 | "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the 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. 16 | 17 | "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. 18 | 19 | "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. 20 | 21 | "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. 22 | 23 | "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). 24 | 25 | "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. 26 | 27 | "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." 28 | 29 | "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 30 | 31 | 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 32 | 33 | 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. 34 | 35 | 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: 36 | 37 | You must give any other recipients of the Work or Derivative Works a copy of this License; and 38 | 39 | You must cause any modified files to carry prominent notices stating that You changed the files; and 40 | 41 | You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and 42 | 43 | If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 44 | 45 | 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 46 | 47 | 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 48 | 49 | 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 50 | 51 | 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 52 | 53 | 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. 54 | 55 | END OF TERMS AND CONDITIONS -------------------------------------------------------------------------------- /licenses/Artistic2.0.txt: -------------------------------------------------------------------------------- 1 | Artistic License 2.0 2 | Copyright (c) 2000-2006, The Perl Foundation. 3 | 4 | Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 5 | 6 | Preamble 7 | This license establishes the terms under which a given free software Package may be copied, modified, distributed, and/or redistributed. The intent is that the Copyright Holder maintains some artistic control over the development of that Package while still keeping the Package available as open source and free software. 8 | 9 | You are always permitted to make arrangements wholly outside of this license directly with the Copyright Holder of a given Package. If the terms of this license do not permit the full use that you propose to make of the Package, you should contact the Copyright Holder and seek a different licensing arrangement. 10 | 11 | Definitions 12 | "Copyright Holder" means the individual(s) or organization(s) named in the copyright notice for the entire Package. 13 | 14 | "Contributor" means any party that has contributed code or other material to the Package, in accordance with the Copyright Holder's procedures. 15 | 16 | "You" and "your" means any person who would like to copy, distribute, or modify the Package. 17 | 18 | "Package" means the collection of files distributed by the Copyright Holder, and derivatives of that collection and/or of those files. A given Package may consist of either the Standard Version, or a Modified Version. 19 | 20 | "Distribute" means providing a copy of the Package or making it accessible to anyone else, or in the case of a company or organization, to others outside of your company or organization. 21 | 22 | "Distributor Fee" means any fee that you charge for Distributing this Package or providing support for this Package to another party. It does not mean licensing fees. 23 | 24 | "Standard Version" refers to the Package if it has not been modified, or has been modified only in ways explicitly requested by the Copyright Holder. 25 | 26 | "Modified Version" means the Package, if it has been changed, and such changes were not explicitly requested by the Copyright Holder. 27 | 28 | "Original License" means this Artistic License as Distributed with the Standard Version of the Package, in its current version or as it may be modified by The Perl Foundation in the future. 29 | 30 | "Source" form means the source code, documentation source, and configuration files for the Package. 31 | 32 | "Compiled" form means the compiled bytecode, object code, binary, or any other form resulting from mechanical transformation or translation of the Source form. 33 | 34 | Permission for Use and Modification Without Distribution 35 | (1) You are permitted to use the Standard Version and create and use Modified Versions for any purpose without restriction, provided that you do not Distribute the Modified Version. 36 | 37 | Permissions for Redistribution of the Standard Version 38 | (2) You may Distribute verbatim copies of the Source form of the Standard Version of this Package in any medium without restriction, either gratis or for a Distributor Fee, provided that you duplicate all of the original copyright notices and associated disclaimers. At your discretion, such verbatim copies may or may not include a Compiled form of the Package. 39 | 40 | (3) You may apply any bug fixes, portability changes, and other modifications made available from the Copyright Holder. The resulting Package will still be considered the Standard Version, and as such will be subject to the Original License. 41 | 42 | Distribution of Modified Versions of the Package as Source 43 | (4) You may Distribute your Modified Version as Source (either gratis or for a Distributor Fee, and with or without a Compiled form of the Modified Version) provided that you clearly document how it differs from the Standard Version, including, but not limited to, documenting any non-standard features, executables, or modules, and provided that you do at least ONE of the following: 44 | 45 | (a) make the Modified Version available to the Copyright Holder of the Standard Version, under the Original License, so that the Copyright Holder may include your modifications in the Standard Version. 46 | (b) ensure that installation of your Modified Version does not prevent the user installing or running the Standard Version. In addition, the Modified Version must bear a name that is different from the name of the Standard Version. 47 | (c) allow anyone who receives a copy of the Modified Version to make the Source form of the Modified Version available to others under 48 | (i) the Original License or 49 | (ii) a license that permits the licensee to freely copy, modify and redistribute the Modified Version using the same licensing terms that apply to the copy that the licensee received, and requires that the Source form of the Modified Version, and of any works derived from it, be made freely available in that license fees are prohibited but Distributor Fees are allowed. 50 | 51 | Distribution of Compiled Forms of the Standard Version or Modified Versions without the Source 52 | (5) You may Distribute Compiled forms of the Standard Version without the Source, provided that you include complete instructions on how to get the Source of the Standard Version. Such instructions must be valid at the time of your distribution. If these instructions, at any time while you are carrying out such distribution, become invalid, you must provide new instructions on demand or cease further distribution. If you provide valid instructions or cease distribution within thirty days after you become aware that the instructions are invalid, then you do not forfeit any of your rights under this license. 53 | 54 | (6) You may Distribute a Modified Version in Compiled form without the Source, provided that you comply with Section 4 with respect to the Source of the Modified Version. 55 | 56 | Aggregating or Linking the Package 57 | (7) You may aggregate the Package (either the Standard Version or Modified Version) with other packages and Distribute the resulting aggregation provided that you do not charge a licensing fee for the Package. Distributor Fees are permitted, and licensing fees for other components in the aggregation are permitted. The terms of this license apply to the use and Distribution of the Standard or Modified Versions as included in the aggregation. 58 | 59 | (8) You are permitted to link Modified and Standard Versions with other works, to embed the Package in a larger work of your own, or to build stand-alone binary or bytecode versions of applications that include the Package, and Distribute the result without restriction, provided the result does not expose a direct interface to the Package. 60 | 61 | Items That are Not Considered Part of a Modified Version 62 | (9) Works (including, but not limited to, modules and scripts) that merely extend or make use of the Package, do not, by themselves, cause the Package to be a Modified Version. In addition, such works are not considered parts of the Package itself, and are not subject to the terms of this license. 63 | 64 | General Provisions 65 | (10) Any use, modification, and distribution of the Standard or Modified Versions is governed by this Artistic License. By using, modifying or distributing the Package, you accept this license. Do not use, modify, or distribute the Package, if you do not accept this license. 66 | 67 | (11) If your Modified Version has been derived from a Modified Version made by someone other than you, you are nevertheless required to ensure that your Modified Version complies with the requirements of this license. 68 | 69 | (12) This license does not grant you the right to use any trademark, service mark, tradename, or logo of the Copyright Holder. 70 | 71 | (13) This license includes the non-exclusive, worldwide, free-of-charge patent license to make, have made, use, offer to sell, sell, import and otherwise transfer the Package with respect to any patent claims licensable by the Copyright Holder that are necessarily infringed by the Package. If you institute patent litigation (including a cross-claim or counterclaim) against any party alleging that the Package constitutes direct or contributory patent infringement, then this Artistic License to you shall terminate on the date that such litigation is filed. 72 | 73 | (14) Disclaimer of Warranty: THE PACKAGE IS PROVIDED BY THE COPYRIGHT HOLDER AND CONTRIBUTORS "AS IS' AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES. THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT ARE DISCLAIMED TO THE EXTENT PERMITTED BY YOUR LOCAL LAW. UNLESS REQUIRED BY LAW, NO COPYRIGHT HOLDER OR CONTRIBUTOR WILL BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THE PACKAGE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 74 | -------------------------------------------------------------------------------- /licenses/BSD-2-Clause.txt: -------------------------------------------------------------------------------- 1 | All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 8 | 9 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10 | -------------------------------------------------------------------------------- /licenses/BSD-3-Clause.txt: -------------------------------------------------------------------------------- 1 | All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | 7 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 8 | 9 | 3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 10 | 11 | THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 12 | -------------------------------------------------------------------------------- /licenses/BSD.txt: -------------------------------------------------------------------------------- 1 | All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without 4 | modification, are permitted provided that the following conditions are met: 5 | 1. Redistributions of source code must retain the above copyright 6 | notice, this list of conditions and the following disclaimer. 7 | 2. Redistributions in binary form must reproduce the above copyright 8 | notice, this list of conditions and the following disclaimer in the 9 | documentation and/or other materials provided with the distribution. 10 | 3. All advertising materials mentioning features or use of this software 11 | must display the following acknowledgement: 12 | This product includes software developed by the . 13 | 4. Neither the name of the nor the 14 | names of its contributors may be used to endorse or promote products 15 | derived from this software without specific prior written permission. 16 | 17 | THIS SOFTWARE IS PROVIDED BY ''AS IS'' AND ANY 18 | EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 19 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 20 | DISCLAIMED. IN NO EVENT SHALL BE LIABLE FOR ANY 21 | DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 22 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 23 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND 24 | ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 25 | (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 26 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 27 | -------------------------------------------------------------------------------- /licenses/BSL1.0.txt: -------------------------------------------------------------------------------- 1 | Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute, and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the Software is furnished to do so, all subject to the following: 2 | 3 | The copyright notices in the Software and this entire statement, including the above license grant, this restriction and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all derivative works of the Software, unless such copies or derivative works are solely in the form of machine-executable object code generated by a source language processor. 4 | 5 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 6 | -------------------------------------------------------------------------------- /licenses/CNRI.txt: -------------------------------------------------------------------------------- 1 | CNRI OPEN SOURCE LICENSE AGREEMENT 2 | 3 | IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. 4 | 5 | BY CLICKING ON "ACCEPT" WHERE INDICATED BELOW, OR BY COPYING, INSTALLING OR OTHERWISE USING PYTHON 1.6, beta 1 SOFTWARE, YOU ARE DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE AGREEMENT. 6 | 7 | 1. This LICENSE AGREEMENT is between the Corporation for National Research Initiatives, having an office at 1895 Preston White Drive, Reston, VA 20191 ("CNRI"), and the Individual or Organization ("Licensee") accessing and otherwise using Python 1.6, beta 1 software in source or binary form and its associated documentation, as released at the www.python.org Internet site on August 4, 2000 ("Python 1.6b1"). 8 | 9 | 2. Subject to the terms and conditions of this License Agreement, CNRI hereby grants Licensee a non-exclusive, royalty-free, world-wide license to reproduce, analyze, test, perform and/or display publicly, prepare derivative works, distribute, and otherwise use Python 1.6b1 alone or in any derivative version, provided, however, that CNRIs License Agreement is retained in Python 1.6b1, alone or in any derivative version prepared by Licensee. 10 | 11 | Alternately, in lieu of CNRIs License Agreement, Licensee may substitute the following text (omitting the quotes): "Python 1.6, beta 1, is made available subject to the terms and conditions in CNRIs License Agreement. This Agreement may be located on the Internet using the following unique, persistent identifier (known as a handle): 1895.22/1011. This Agreement may also be obtained from a proxy server on the Internet using the URL:http://hdl.handle.net/1895.22/1011". 12 | 13 | 3. In the event Licensee prepares a derivative work that is based on or incorporates Python 1.6b1 or any part thereof, and wants to make the derivative work available to the public as provided herein, then Licensee hereby agrees to indicate in any such work the nature of the modifications made to Python 1.6b1. 14 | 15 | 4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS" basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6b1 WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 16 | 17 | 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING PYTHON 1.6b1, OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 18 | 19 | 6. This License Agreement will automatically terminate upon a material breach of its terms and conditions. 20 | 21 | 7. This License Agreement shall be governed by and interpreted in all respects by the law of the State of Virginia, excluding conflict of law provisions. Nothing in this License Agreement shall be deemed to create any relationship of agency, partnership, or joint venture between CNRI and Licensee. This License Agreement does not grant permission to use CNRI trademarks or trade name in a trademark sense to endorse or promote products or services of Licensee, or any third party. 22 | 23 | 8. By clicking on the "ACCEPT" button where indicated, or by copying, installing or otherwise using Python 1.6b1, Licensee agrees to be bound by the terms and conditions of this License Agreement. 24 | 25 | ACCEPT 26 | -------------------------------------------------------------------------------- /licenses/ECL2.0.txt: -------------------------------------------------------------------------------- 1 | Educational Community License Version 2.0, April 2007 The Educational Community License version 2.0 ("ECL") consists of the Apache 2.0 license, modified to change the scope of the patent grant in section 3 to be specific to the needs of the education communities using this license. The original Apache 2.0 license can be found at: http://www.apache.org/licenses/LICENSE-2.0 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION 1. Definitions. "License" shall mean the terms and conditions for use, reproduction, and distribution as defined by Sections 1 through 9 of this document. "Licensor" shall mean the copyright owner or entity authorized by the copyright owner that is granting the License. "Legal Entity" shall mean the union of the acting entity and all other entities that control, are controlled by, or are under common control with that entity. For the 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. "You" (or "Your") shall mean an individual or Legal Entity exercising permissions granted by this License. "Source" form shall mean the preferred form for making modifications, including but not limited to software source code, documentation source, and configuration files. "Object" form shall mean any form resulting from mechanical transformation or translation of a Source form, including but not limited to compiled object code, generated documentation, and conversions to other media types. "Work" shall mean the work of authorship, whether in Source or Object form, made available under the License, as indicated by a copyright notice that is included in or attached to the work (an example is provided in the Appendix below). "Derivative Works" shall mean any work, whether in Source or Object form, that is based on (or derived from) the Work and for which the editorial revisions, annotations, elaborations, or other modifications represent, as a whole, an original work of authorship. For the purposes of this License, Derivative Works shall not include works that remain separable from, or merely link (or bind by name) to the interfaces of, the Work and Derivative Works thereof. "Contribution" shall mean any work of authorship, including the original version of the Work and any modifications or additions to that Work or Derivative Works thereof, that is intentionally submitted to Licensor for inclusion in the Work by the copyright owner or by an individual or Legal Entity authorized to submit on behalf of the copyright owner. For the purposes of this definition, "submitted" means any form of electronic, verbal, or written communication sent to the Licensor or its representatives, including but not limited to communication on electronic mailing lists, source code control systems, and issue tracking systems that are managed by, or on behalf of, the Licensor for the purpose of discussing and improving the Work, but excluding communication that is conspicuously marked or otherwise designated in writing by the copyright owner as "Not a Contribution." "Contributor" shall mean Licensor and any individual or Legal Entity on behalf of whom a Contribution has been received by Licensor and subsequently incorporated within the Work. 2. Grant of Copyright License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable (except as stated in this section) patent license to make, have made, use, offer to sell, sell, import, and otherwise transfer the Work, where such license applies only to those patent claims licensable by such Contributor that are necessarily infringed by their Contribution(s) alone or by combination of their Contribution(s) with the Work to which such Contribution(s) was submitted. If You institute patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Work or a Contribution incorporated within the Work constitutes direct or contributory patent infringement, then any patent licenses granted to You under this License for that Work shall terminate as of the date such litigation is filed. Any patent license granted hereby with respect to contributions by an individual employed by an institution or organization is limited to patent claims where the individual that is the author of the Work is also the inventor of the patent claims licensed, and where the organization or institution has the right to grant such license under applicable grant and research funding agreements. No other express or implied licenses are granted. 4. Redistribution. You may reproduce and distribute copies of the Work or Derivative Works thereof in any medium, with or without modifications, and in Source or Object form, provided that You meet the following conditions: You must give any other recipients of the Work or Derivative Works a copy of this License; and You must cause any modified files to carry prominent notices stating that You changed the files; and You must retain, in the Source form of any Derivative Works that You distribute, all copyright, patent, trademark, and attribution notices from the Source form of the Work, excluding those notices that do not pertain to any part of the Derivative Works; and If the Work includes a "NOTICE" text file as part of its distribution, then any Derivative Works that You distribute must include a readable copy of the attribution notices contained within such NOTICE file, excluding those notices that do not pertain to any part of the Derivative Works, in at least one of the following places: within a NOTICE text file distributed as part of the Derivative Works; within the Source form or documentation, if provided along with the Derivative Works; or, within a display generated by the Derivative Works, if and wherever such third-party notices normally appear. The contents of the NOTICE file are for informational purposes only and do not modify the License. You may add Your own attribution notices within Derivative Works that You distribute, alongside or as an addendum to the NOTICE text from the Work, provided that such additional attribution notices cannot be construed as modifying the License. You may add Your own copyright statement to Your modifications and may provide additional or different license terms and conditions for use, reproduction, or distribution of Your modifications, or for any such Derivative Works as a whole, provided Your use, reproduction, and distribution of the Work otherwise complies with the conditions stated in this License. 5. Submission of Contributions. Unless You explicitly state otherwise, any Contribution intentionally submitted for inclusion in the Work by You to the Licensor shall be under the terms and conditions of this License, without any additional terms or conditions. Notwithstanding the above, nothing herein shall supersede or modify the terms of any separate license agreement you may have executed with Licensor regarding such Contributions. 6. Trademarks. This License does not grant permission to use the trade names, trademarks, service marks, or product names of the Licensor, except as required for reasonable and customary use in describing the origin of the Work and reproducing the content of the NOTICE file. 7. Disclaimer of Warranty. Unless required by applicable law or agreed to in writing, Licensor provides the Work (and each Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including, without limitation, any warranties or conditions of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You are solely responsible for determining the appropriateness of using or redistributing the Work and assume any risks associated with Your exercise of permissions under this License. 8. Limitation of Liability. In no event and under no legal theory, whether in tort (including negligence), contract, or otherwise, unless required by applicable law (such as deliberate and grossly negligent acts) or agreed to in writing, shall any Contributor be liable to You for damages, including any direct, indirect, special, incidental, or consequential damages of any character arising as a result of this License or out of the use or inability to use the Work (including but not limited to damages for loss of goodwill, work stoppage, computer failure or malfunction, or any and all other commercial damages or losses), even if such Contributor has been advised of the possibility of such damages. 9. Accepting Warranty or Additional Liability. While redistributing the Work or Derivative Works thereof, You may choose to offer, and charge a fee for, acceptance of support, warranty, indemnity, or other liability obligations and/or rights consistent with this License. However, in accepting such obligations, You may act only on Your own behalf and on Your sole responsibility, not on behalf of any other Contributor, and only if You agree to indemnify, defend, and hold each Contributor harmless for any liability incurred by, or claims asserted against, such Contributor by reason of your accepting any such warranty or additional liability. END OF TERMS AND CONDITIONS APPENDIX: How to apply the Educational Community License to your work To apply the Educational Community License to your work, attach the following boilerplate notice, with the fields enclosed by brackets "[]" replaced with your own identifying information. (Don't include the brackets!) The text should be enclosed in the appropriate comment syntax for the file format. We also recommend that a file or class name and description of purpose be included on the same "printed page" as the copyright notice for easier identification within third-party archives. Copyright [yyyy] [name of copyright owner] Licensed under the Educational Community License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.osedu.org/licenses/ECL-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. 2 | 3 | -------------------------------------------------------------------------------- /licenses/EFL2.0.txt: -------------------------------------------------------------------------------- 1 | Eiffel Forum License, version 2 2 | 3 | 1: 4 | Permission is hereby granted to use, copy, modify and/or distribute 5 | this package, provided that: 6 | 7 | copyright notices are retained unchanged, 8 | any distribution of this package, whether modified or not, 9 | includes this license text. 10 | 2: 11 | Permission is hereby also granted to distribute binary programs which 12 | depend on this package. If the binary program depends on a modified 13 | version of this package, you are encouraged to publicly release the 14 | modified version of this package. 15 | 16 | THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT WARRANTY. ANY EXPRESS OR 17 | IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED 18 | WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE 19 | DISCLAIMED. IN NO EVENT SHALL THE AUTHORS BE LIABLE TO ANY PARTY FOR 20 | ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 21 | DAMAGES ARISING IN ANY WAY OUT OF THE USE OF THIS PACKAGE. 22 | -------------------------------------------------------------------------------- /licenses/ENTESSA.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2003 Entessa, LLC. All rights reserved. 2 | 3 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 4 | 5 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 6 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 7 | The end-user documentation included with the redistribution, if any, must include the following acknowledgment: 8 | "This product includes open source software developed by openSEAL (http://www.openseal.org/)." 9 | Alternately, this acknowledgment may appear in the software itself, if and wherever such third-party acknowledgments normally appear. 10 | The names "openSEAL" and "Entessa" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact epl@entessa.com. 11 | Products derived from this software may not be called "openSEAL", nor may "openSEAL" appear in their name, without prior written permission of Entessa. 12 | THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ENTESSA, LLC, OPENSEAL OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 13 | ============================================================ 14 | 15 | This software consists of voluntary contributions made by many individuals on behalf of openSEAL and was originally based on software contributed by Entessa, LLC, http://www.entessa.com. For more information on the openSEAL, please see . 16 | -------------------------------------------------------------------------------- /licenses/EUDATAGRID.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2001 EU DataGrid. All rights reserved. 2 | 3 | This software includes voluntary contributions made to the EU DataGrid. For more information on the EU DataGrid, please see http://www.eu-datagrid.org/. 4 | 5 | Installation, use, reproduction, display, modification and redistribution of this software, with or without modification, in source and binary forms, are permitted. Any exercise of rights under this license by you or your sub-licensees is subject to the following conditions: 6 | 7 | 1. Redistributions of this software, with or without modification, must reproduce the above copyright notice and the above license statement as well as this list of conditions, in the software, the user documentation and any other materials provided with the software. 8 | 9 | 2. The user documentation, if any, included with a redistribution, must include the following notice: "This product includes software developed by the EU DataGrid (http://www.eu-datagrid.org/)." 10 | 11 | Alternatively, if that is where third-party acknowledgments normally appear, this acknowledgment must be reproduced in the software itself. 12 | 13 | 3. The names "EDG", "EDG Toolkit", and "EU DataGrid Project" may not be used to endorse or promote software, or products derived therefrom, except with prior written permission by hep-project-grid-edg-license@cern.ch. 14 | 15 | 4. You are under no obligation to provide anyone with any bug fixes, patches, upgrades or other modifications, enhancements or derivatives of the features,functionality or performance of this software that you may develop. However, if you publish or distribute your modifications, enhancements or derivative works without contemporaneously requiring users to enter into a separate written license agreement, then you are deemed to have granted participants in the EU DataGrid a worldwide, non-exclusive, royalty-free, perpetual license to install, use, reproduce, display, modify, redistribute and sub-license your modifications, enhancements or derivative works, whether in binary or source code form, under the license conditions stated in this list of conditions. 16 | 17 | 5. DISCLAIMER 18 | 19 | THIS SOFTWARE IS PROVIDED BY THE EU DATAGRID AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, OF SATISFACTORY QUALITY, AND FITNESS FOR A PARTICULAR PURPOSE OR USE ARE DISCLAIMED. THE EU DATAGRID AND CONTRIBUTORS MAKE NO REPRESENTATION THAT THE SOFTWARE, MODIFICATIONS, ENHANCEMENTS OR DERIVATIVE WORKS THEREOF, WILL NOT INFRINGE ANY PATENT, COPYRIGHT, TRADE SECRET OR OTHER PROPRIETARY RIGHT. 20 | 21 | 6. LIMITATION OF LIABILITY 22 | 23 | THE EU DATAGRID AND CONTRIBUTORS SHALL HAVE NO LIABILITY TO LICENSEE OR OTHER PERSONS FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, CONSEQUENTIAL, EXEMPLARY, OR PUNITIVE DAMAGES OF ANY CHARACTER INCLUDING, WITHOUT LIMITATION, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES, LOSS OF USE, DATA OR PROFITS, OR BUSINESS INTERRUPTION, HOWEVER CAUSED AND ON ANY THEORY OF CONTRACT, WARRANTY, TORT (INCLUDING NEGLIGENCE), PRODUCT LIABILITY OR OTHERWISE, ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 24 | -------------------------------------------------------------------------------- /licenses/FAIR.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Usage of the works is permitted provided that this instrument is retained with the works, so that any entity that uses the works is notified of this instrument. 4 | 5 | DISCLAIMER: THE WORKS ARE WITHOUT WARRANTY. 6 | -------------------------------------------------------------------------------- /licenses/Frameworx1.0.txt: -------------------------------------------------------------------------------- 1 | THE FRAMEWORX OPEN LICENSE 1.0 (Frameworx-1.0) 2 | This License Agreement, The Frameworx Open License 1.0, has been entered into between The Frameworx Company and you, the licensee hereunder, effective as of Your acceptance of the Frameworx Code Base or an Downstream Distribution (each as defined below). 3 | 4 | AGREEMENT BACKGROUND 5 | The Frameworx Company is committed to the belief that open source software results in better quality, greater technical and product innovation in the market place and a more empowered and productive developer and end-user community. Our objective is to ensure that the Frameworx Code Base, and the source code for improvements and innovations to it, remain free and open to the community.To further these beliefs and objectives, we are distributing the Frameworx Code Base, without royalties and in source code form, to the community pursuant to this License Agreement. 6 | 7 | AGREEMENT TERMS 8 | The Frameworx Company and You have agreed as follows: 9 | 1.Definitions.The following terms have the following respective meanings: 10 | 11 | (a) Frameworx Code Base means the software developed by The Frameworx Company and made available under this License Agreement 12 | 13 | (b) Downstream Distribution means any direct or indirect release, distribution or remote availability of software (i) that directly or indirectly contains, or depends for its intended functioning on, the Frameworx Code Base or any portion or element thereof and (ii) in which rights to use and distribute such Frameworx Code Base software depend, directly or indirectly, on the License provided in Section 2 below. 14 | 15 | (c) "Source Code" to any software means the preferred form for making modifications to that software, including any associated documentation, interface definition files and compilation or installation scripts, or any version thereof that has been compressed or archived, and can be reconstituted, using an appropriate and generally available archival or compression technology. 16 | 17 | (d) Value-Added Services means any commercial or fee-based software-related service, including without limitation: system or application development or consulting; technical or end-user support or training; distribution maintenance, configuration or versioning; or outsourced, hosted or network-based application services. 18 | 19 | 2. License Grant. Subject to the terms and conditions hereof, The Frameworx Company hereby grants You a non-exclusive license (the License), subject to third party intellectual property claims, and for no fee other than a nominal charge reflecting the costs of physical distribution, to: 20 | 21 | (a) use the Frameworx Code Base, in either Source Code or machine-readable form; 22 | 23 | (b) make modifications, additions and deletions to the content or structure of the Frameworx Code Base; or 24 | 25 | (c) create larger works or derivative works including the Frameworx Code Base or any portion or element thereof; and 26 | 27 | (d) release, distribute or make available, either generally or to any specific third-party, any of the foregoing in Source Code or binary form. 28 | 29 | 3. License Conditions. The grant of the License under Section 1 hereof, and your exercise of all rights in connection with this License Agreement, will remain subject to the following terms and conditions, as well as to the other provisions hereof: 30 | 31 | (a) Complete Source Code for any Downstream Distribution directly or indirectly made by You that contains, or depends for its intended functionality on, the Frameworx Code Base, or any portion or element thereof, shall be made freely available to all users thereof on terms and conditions no more restrictive, and no less favorable for any user (including, without limitation, with regard to Source Code availability and royalty-free use) than those terms and conditions provided in this License Agreement. 32 | 33 | (b) Any Value-Added Services that you offer or provide, directly or indirectly, in relation to any Downstream Distribution shall be offered and provided on commercial terms that are reasonably commensurate to the fair market value of such Value-Added Services. In addition, the terms and conditions on which any such Value Added Services are so offered or provided shall be consistent with, and shall fully support, the intent and purpose of this License Agreement. 34 | 35 | (c) All Downstream Distributions shall: 36 | 37 | (i) include all portions and elements of the Frameworx Code Base required to build the Source Code of such Downstream Distribution into a fully functional machine-executable system, or additional build scripts or comparable software necessary and sufficient for such purposes; 38 | 39 | (ii) include, in each file containing any portion or element of the Frameworx Code Base, the following identifying legend: This file contains software that has been made available under The Frameworx Open License 1.0. Use and distribution hereof are subject to the restrictions set forth therein. 40 | 41 | (iii) include all other copyright notices, authorship credits, warranty disclaimers (including that provided in Section 6 below), legends, documentation, annotations and comments contained in the Frameworx Code Base as provided to You hereunder; 42 | 43 | (iv) contain an unaltered copy of the html file named frameworx_community_invitation.html included within the Frameworx Code Base that acknowledges new users and provides them with information on the Frameworx Code Base community; 44 | 45 | (v) contain an unaltered copy of the text file named the_frameworx_license.txt included within the Frameworx Code Base that includes a text copy of the form of this License Agreement; and 46 | 47 | (vi) prominently display to any viewer or user of the Source Code of such Open Downstream Distribution, in the place and manner normally used for such displays, the following legend: 48 | 49 | Source code licensed under from The Frameworx Company is contained herein, and such source code has been obtained either under The Frameworx Open License, or another license granted by The Frameworx Company. Use and distribution hereof is subject to the restrictions provided in the relevant such license and to the copyrights of the licensor thereunder. A copy of The Frameworx Open License is provided in a file named the_frameworx_license.txt and included herein, and may also be available for inspection at http://www.frameworx.com. 50 | 51 | 4. Restrictions on Open Downstream Distributions. Each Downstream Distribution made by You, and by any party directly or indirectly obtaining rights to the Frameworx Code Base through You, shall be made subject to a license grant or agreement to the extent necessary so that each distributee under that Downstream Distribution will be subject to the same restrictions on re-distribution and use as are binding on You hereunder. You may satisfy this licensing requirement either by: 52 | 53 | (a) requiring as a condition to any Downstream Distribution made by you, or by any direct or indirect distributee of Your Downstream Distribution (or any portion or element thereof), that each distributee under the relevant Downstream Distribution obtain a direct license (on the same terms and conditions as those in this License Agreement) from The Frameworx Company; or 54 | 55 | (b) sub-licensing all (and not less than all) of Your rights and obligations hereunder to that distributee, including (without limitation) Your obligation to require distributees to be bound by license restrictions as contemplated by this Section 4 above. 56 | 57 | The Frameworx Company hereby grants to you all rights to sub-license your rights hereunder as necessary to fully effect the intent and purpose of this Section 4 above, provided, however, that your rights and obligations hereunder shall be unaffected by any such sublicensing. In addition, The Frameworx Company expressly retains all rights to take all appropriate action (including legal action) against any such direct or indirect sub-licensee to ensure its full compliance with the intent and purposes of this License Agreement. 58 | 59 | 5. Intellectual Property. Except as expressly provided herein, this License Agreement preserves and respects Your and The Frameworx Companys respective intellectual property rights, including, in the case of The Frameworx Company, its copyrights and patent rights relating to the Frameworx Code Base. 60 | 61 | 6. Warranty Disclaimer. THE SOFTWARE LICENSED HEREUNDER IS PROVIDED ``AS IS.'' ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, AND NON-INFRINGEMENT, ARE HEREBY DISCLAIMED. IN NO EVENT SHALL THE LICENSOR OF THIS SOFTWARE, BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES INCLUDING (BUT NOT LIMITED TO) PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 62 | 63 | 7. License Violation. The License, and all of your rights thereunder, shall be deemed automatically terminated and void as of any Downstream Distribution directly or indirectly made or facilitated by You that violates the provisions of this License Agreement, provided, however, that this License Agreement shall survive any such termination in order to remedy the effects of such violation. This License Agreement shall be binding on the legal successors and assigns of the parties hereto. 64 | 65 | Your agreement to the foregoing as of the date hereof has been evidenced by your acceptance of the relevant software distribution hereunder. 66 | 67 | (C) THE FRAMEWORX COMPANY 2003 68 | -------------------------------------------------------------------------------- /licenses/HPND.txt: -------------------------------------------------------------------------------- 1 | 2 | 3 | Permission to use, copy, modify and distribute this software and its documentation for any purpose and without fee is hereby granted, provided that the above copyright notice appear in all copies[,] [and] that both [that] [the] copyright notice and this permission notice appear in supporting documentation[, and that the name [of] [or ] not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission]. [ makes no representations about the suitability of this software for any purpose. It is provided "as is" without express or implied warranty.] 4 | 5 | [ DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS[,][.] IN NO EVENT SHALL BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.] 6 | -------------------------------------------------------------------------------- /licenses/IPA.txt: -------------------------------------------------------------------------------- 1 | The Licensor provides the Licensed Program (as defined in Article 1 below) under the terms of this license agreement ("Agreement"). Any use, reproduction or distribution of the Licensed Program, or any exercise of rights under this Agreement by a Recipient (as defined in Article 1 below) constitutes the Recipient's acceptance of this Agreement. 2 | 3 | 4 | 5 | Article 1 (Definitions) 6 | 7 | 1. "Digital Font Program" shall mean a computer program containing, or used to render or display fonts. 8 | 9 | 2. "Licensed Program" shall mean a Digital Font Program licensed by the Licensor under this Agreement. 10 | 11 | 3. "Derived Program" shall mean a Digital Font Program created as a result of a modification, addition, deletion, replacement or any other adaptation to or of a part or all of the Licensed Program, and includes a case where a Digital Font Program newly created by retrieving font information from a part or all of the Licensed Program or Embedded Fonts from a Digital Document File with or without modification of the retrieved font information. 12 | 13 | 4. "Digital Content" shall mean products provided to end users in the form of digital data, including video content, motion and/or still pictures, TV programs or other broadcasting content and products consisting of character text, pictures, photographic images, graphic symbols and/or the like. 14 | 15 | 5. "Digital Document File" shall mean a PDF file or other Digital Content created by various software programs in which a part or all of the Licensed Program becomes embedded or contained in the file for the display of the font ("Embedded Fonts"). Embedded Fonts are used only in the display of characters in the particular Digital Document File within which they are embedded, and shall be distinguished from those in any Digital Font Program, which may be used for display of characters outside that particular Digital Document File. 16 | 17 | 6. "Computer" shall include a server in this Agreement. 18 | 19 | 7. "Reproduction and Other Exploitation" shall mean reproduction, transfer, distribution, lease, public transmission, presentation, exhibition, adaptation and any other exploitation. 20 | 21 | 8. "Recipient" shall mean anyone who receives the Licensed Program under this Agreement, including one that receives the Licensed Program from a Recipient. 22 | 23 | 24 | 25 | Article 2 (Grant of License) 26 | 27 | The Licensor grants to the Recipient a license to use the Licensed Program in any and all countries in accordance with each of the provisions set forth in this Agreement. However, any and all rights underlying in the Licensed Program shall be held by the Licensor. In no sense is this Agreement intended to transfer any right relating to the Licensed Program held by the Licensor except as specifically set forth herein or any right relating to any trademark, trade name, or service mark to the Recipient. 28 | 29 | 30 | 31 | 1. The Recipient may install the Licensed Program on any number of Computers and use the same in accordance with the provisions set forth in this Agreement. 32 | 33 | 2. The Recipient may use the Licensed Program, with or without modification in printed materials or in Digital Content as an expression of character texts or the like. 34 | 35 | 3. The Recipient may conduct Reproduction and Other Exploitation of the printed materials and Digital Content created in accordance with the preceding Paragraph, for commercial or non-commercial purposes and in any form of media including but not limited to broadcasting, communication and various recording media. 36 | 37 | 4. If any Recipient extracts Embedded Fonts from a Digital Document File to create a Derived Program, such Derived Program shall be subject to the terms of this agreement. 38 | 39 | 5. If any Recipient performs Reproduction or Other Exploitation of a Digital Document File in which Embedded Fonts of the Licensed Program are used only for rendering the Digital Content within such Digital Document File then such Recipient shall have no further obligations under this Agreement in relation to such actions. 40 | 41 | 6. The Recipient may reproduce the Licensed Program as is without modification and transfer such copies, publicly transmit or otherwise redistribute the Licensed Program to a third party for commercial or non-commercial purposes ("Redistribute"), in accordance with the provisions set forth in Article 3 Paragraph 2. 42 | 43 | 7. The Recipient may create, use, reproduce and/or Redistribute a Derived Program under the terms stated above for the Licensed Program: provided, that the Recipient shall follow the provisions set forth in Article 3 Paragraph 1 when Redistributing the Derived Program. 44 | 45 | 46 | 47 | Article 3 (Restriction) 48 | 49 | The license granted in the preceding Article shall be subject to the following restrictions: 50 | 51 | 52 | 53 | 1. If a Derived Program is Redistributed pursuant to Paragraph 4 and 7 of the preceding Article, the following conditions must be met : 54 | 55 | (1) The following must be also Redistributed together with the Derived Program, or be made available online or by means of mailing mechanisms in exchange for a cost which does not exceed the total costs of postage, storage medium and handling fees: 56 | 57 | (a) a copy of the Derived Program; and 58 | 59 | (b) any additional file created by the font developing program in the course of creating the Derived Program that can be used for further modification of the Derived Program, if any. 60 | 61 | (2) It is required to also Redistribute means to enable recipients of the Derived Program to replace the Derived Program with the Licensed Program first released under this License (the "Original Program"). Such means may be to provide a difference file from the Original Program, or instructions setting out a method to replace the Derived Program with the Original Program. 62 | 63 | (3) The Recipient must license the Derived Program under the terms and conditions of this Agreement. 64 | 65 | (4) No one may use or include the name of the Licensed Program as a program name, font name or file name of the Derived Program. 66 | 67 | (5) Any material to be made available online or by means of mailing a medium to satisfy the requirements of this paragraph may be provided, verbatim, by any party wishing to do so. 68 | 69 | 2. If the Recipient Redistributes the Licensed Program pursuant to Paragraph 6 of the preceding Article, the Recipient shall meet all of the following conditions: 70 | 71 | (1) The Recipient may not change the name of the Licensed Program. 72 | 73 | (2) The Recipient may not alter or otherwise modify the Licensed Program. 74 | 75 | (3) The Recipient must attach a copy of this Agreement to the Licensed Program. 76 | 77 | 3. THIS LICENSED PROGRAM IS PROVIDED BY THE LICENSOR "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTY AS TO THE LICENSED PROGRAM OR ANY DERIVED PROGRAM, INCLUDING, BUT NOT LIMITED TO, WARRANTIES OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY, OR FITNESS FOR A PARTICULAR PURPOSE, ARE DISCLAIMED. IN NO EVENT SHALL THE LICENSOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXTENDED, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO; PROCUREMENT OF SUBSTITUTED GOODS OR SERVICE; DAMAGES ARISING FROM SYSTEM FAILURE; LOSS OR CORRUPTION OF EXISTING DATA OR PROGRAM; LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE INSTALLATION, USE, THE REPRODUCTION OR OTHER EXPLOITATION OF THE LICENSED PROGRAM OR ANY DERIVED PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 78 | 79 | 4. The Licensor is under no obligation to respond to any technical questions or inquiries, or provide any other user support in connection with the installation, use or the Reproduction and Other Exploitation of the Licensed Program or Derived Programs thereof. 80 | 81 | 82 | 83 | Article 4 (Termination of Agreement) 84 | 85 | 1. The term of this Agreement shall begin from the time of receipt of the Licensed Program by the Recipient and shall continue as long as the Recipient retains any such Licensed Program in any way. 86 | 87 | 2. Notwithstanding the provision set forth in the preceding Paragraph, in the event of the breach of any of the provisions set forth in this Agreement by the Recipient, this Agreement shall automatically terminate without any notice. In the case of such termination, the Recipient may not use or conduct Reproduction and Other Exploitation of the Licensed Program or a Derived Program: provided that such termination shall not affect any rights of any other Recipient receiving the Licensed Program or the Derived Program from such Recipient who breached this Agreement. 88 | 89 | 90 | 91 | Article 5 (Governing Law) 92 | 93 | 1. IPA may publish revised and/or new versions of this License. In such an event, the Recipient may select either this Agreement or any subsequent version of the Agreement in using, conducting the Reproduction and Other Exploitation of, or Redistributing the Licensed Program or a Derived Program. Other matters not specified above shall be subject to the Copyright Law of Japan and other related laws and regulations of Japan. 94 | 95 | 2. This Agreement shall be construed under the laws of Japan. 96 | -------------------------------------------------------------------------------- /licenses/ISC.txt: -------------------------------------------------------------------------------- 1 | Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies. 2 | 3 | THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 4 | -------------------------------------------------------------------------------- /licenses/JSON.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2002 JSON.org 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | The Software shall be used for Good, not Evil. 8 | 9 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 10 | -------------------------------------------------------------------------------- /licenses/LGPL-3.0.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 2007 Free Software Foundation, Inc. 2 | 3 | Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 4 | 5 | This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 6 | 7 | 0. Additional Definitions. 8 | As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License. 9 | 10 | “The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. 11 | 12 | An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. 13 | 14 | A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”. 15 | 16 | The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. 17 | 18 | The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 19 | 20 | 1. Exception to Section 3 of the GNU GPL. 21 | You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 22 | 23 | 2. Conveying Modified Versions. 24 | If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: 25 | 26 | a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or 27 | b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 28 | 3. Object Code Incorporating Material from Library Header Files. 29 | The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: 30 | 31 | a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. 32 | b) Accompany the object code with a copy of the GNU GPL and this license document. 33 | 4. Combined Works. 34 | You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: 35 | 36 | a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. 37 | b) Accompany the Combined Work with a copy of the GNU GPL and this license document. 38 | c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. 39 | d) Do one of the following: 40 | 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 41 | 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. 42 | e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 43 | 5. Combined Libraries. 44 | You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: 45 | 46 | a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. 47 | b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 48 | 6. Revised Versions of the GNU Lesser General Public License. 49 | The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. 50 | 51 | Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. 52 | 53 | If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. 54 | -------------------------------------------------------------------------------- /licenses/LGPL.txt: -------------------------------------------------------------------------------- 1 | GNU LESSER GENERAL PUBLIC LICENSE 2 | 3 | Version 3, 29 June 2007 4 | 5 | Copyright © 2007 Free Software Foundation, Inc. 6 | 7 | Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. 8 | 9 | This version of the GNU Lesser General Public License incorporates the terms and conditions of version 3 of the GNU General Public License, supplemented by the additional permissions listed below. 10 | 11 | 0. Additional Definitions. 12 | As used herein, “this License” refers to version 3 of the GNU Lesser General Public License, and the “GNU GPL” refers to version 3 of the GNU General Public License. 13 | 14 | “The Library” refers to a covered work governed by this License, other than an Application or a Combined Work as defined below. 15 | 16 | An “Application” is any work that makes use of an interface provided by the Library, but which is not otherwise based on the Library. Defining a subclass of a class defined by the Library is deemed a mode of using an interface provided by the Library. 17 | 18 | A “Combined Work” is a work produced by combining or linking an Application with the Library. The particular version of the Library with which the Combined Work was made is also called the “Linked Version”. 19 | 20 | The “Minimal Corresponding Source” for a Combined Work means the Corresponding Source for the Combined Work, excluding any source code for portions of the Combined Work that, considered in isolation, are based on the Application, and not on the Linked Version. 21 | 22 | The “Corresponding Application Code” for a Combined Work means the object code and/or source code for the Application, including any data and utility programs needed for reproducing the Combined Work from the Application, but excluding the System Libraries of the Combined Work. 23 | 24 | 1. Exception to Section 3 of the GNU GPL. 25 | You may convey a covered work under sections 3 and 4 of this License without being bound by section 3 of the GNU GPL. 26 | 27 | 2. Conveying Modified Versions. 28 | If you modify a copy of the Library, and, in your modifications, a facility refers to a function or data to be supplied by an Application that uses the facility (other than as an argument passed when the facility is invoked), then you may convey a copy of the modified version: 29 | 30 | a) under this License, provided that you make a good faith effort to ensure that, in the event an Application does not supply the function or data, the facility still operates, and performs whatever part of its purpose remains meaningful, or 31 | b) under the GNU GPL, with none of the additional permissions of this License applicable to that copy. 32 | 3. Object Code Incorporating Material from Library Header Files. 33 | The object code form of an Application may incorporate material from a header file that is part of the Library. You may convey such object code under terms of your choice, provided that, if the incorporated material is not limited to numerical parameters, data structure layouts and accessors, or small macros, inline functions and templates (ten or fewer lines in length), you do both of the following: 34 | 35 | a) Give prominent notice with each copy of the object code that the Library is used in it and that the Library and its use are covered by this License. 36 | b) Accompany the object code with a copy of the GNU GPL and this license document. 37 | 4. Combined Works. 38 | You may convey a Combined Work under terms of your choice that, taken together, effectively do not restrict modification of the portions of the Library contained in the Combined Work and reverse engineering for debugging such modifications, if you also do each of the following: 39 | 40 | a) Give prominent notice with each copy of the Combined Work that the Library is used in it and that the Library and its use are covered by this License. 41 | b) Accompany the Combined Work with a copy of the GNU GPL and this license document. 42 | c) For a Combined Work that displays copyright notices during execution, include the copyright notice for the Library among these notices, as well as a reference directing the user to the copies of the GNU GPL and this license document. 43 | d) Do one of the following: 44 | 0) Convey the Minimal Corresponding Source under the terms of this License, and the Corresponding Application Code in a form suitable for, and under terms that permit, the user to recombine or relink the Application with a modified version of the Linked Version to produce a modified Combined Work, in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source. 45 | 1) Use a suitable shared library mechanism for linking with the Library. A suitable mechanism is one that (a) uses at run time a copy of the Library already present on the user's computer system, and (b) will operate properly with a modified version of the Library that is interface-compatible with the Linked Version. 46 | e) Provide Installation Information, but only if you would otherwise be required to provide such information under section 6 of the GNU GPL, and only to the extent that such information is necessary to install and execute a modified version of the Combined Work produced by recombining or relinking the Application with a modified version of the Linked Version. (If you use option 4d0, the Installation Information must accompany the Minimal Corresponding Source and Corresponding Application Code. If you use option 4d1, you must provide the Installation Information in the manner specified by section 6 of the GNU GPL for conveying Corresponding Source.) 47 | 5. Combined Libraries. 48 | You may place library facilities that are a work based on the Library side by side in a single library together with other library facilities that are not Applications and are not covered by this License, and convey such a combined library under terms of your choice, if you do both of the following: 49 | 50 | a) Accompany the combined library with a copy of the same work based on the Library, uncombined with any other library facilities, conveyed under the terms of this License. 51 | b) Give prominent notice with the combined library that part of it is a work based on the Library, and explaining where to find the accompanying uncombined form of the same work. 52 | 6. Revised Versions of the GNU Lesser General Public License. 53 | The Free Software Foundation may publish revised and/or new versions of the GNU Lesser General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns. 54 | 55 | Each version is given a distinguishing version number. If the Library as you received it specifies that a certain numbered version of the GNU Lesser General Public License “or any later version” applies to it, you have the option of following the terms and conditions either of that published version or of any later version published by the Free Software Foundation. If the Library as you received it does not specify a version number of the GNU Lesser General Public License, you may choose any version of the GNU Lesser General Public License ever published by the Free Software Foundation. 56 | 57 | If the Library as you received it specifies that a proxy can decide whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the Library. 58 | -------------------------------------------------------------------------------- /licenses/MIROS.txt: -------------------------------------------------------------------------------- 1 | /*- 2 | * Provided that these terms and disclaimer and all copyright notices 3 | * are retained or reproduced in an accompanying document, permission 4 | * is granted to deal in this work without restriction, including un‐ 5 | * limited rights to use, publicly perform, distribute, sell, modify, 6 | * merge, give away, or sublicence. 7 | * 8 | * This work is provided "AS IS" and WITHOUT WARRANTY of any kind, to 9 | * the utmost extent permitted by applicable law, neither express nor 10 | * implied; without malicious intent or gross negligence. In no event 11 | * may a licensor, author or contributor be held liable for indirect, 12 | * direct, other damage, loss, or other issues arising in any way out 13 | * of dealing in the work, even if advised of the possibility of such 14 | * damage or existence of a defect, except proven that it results out 15 | * of said person's immediate fault when using the work as intended. 16 | */ 17 | -------------------------------------------------------------------------------- /licenses/MIT.txt: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /licenses/MS-PL.txt: -------------------------------------------------------------------------------- 1 | This license governs use of the accompanying software. If you use the software, you 2 | accept this license. If you do not accept the license, do not use the software. 3 | 4 | 1. Definitions 5 | The terms "reproduce," "reproduction," "derivative works," and "distribution" have the 6 | same meaning here as under U.S. copyright law. 7 | A "contribution" is the original software, or any additions or changes to the software. 8 | A "contributor" is any person that distributes its contribution under this license. 9 | "Licensed patents" are a contributor's patent claims that read directly on its contribution. 10 | 11 | 2. Grant of Rights 12 | (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. 13 | (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. 14 | 15 | 3. Conditions and Limitations 16 | (A) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. 17 | (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. 18 | (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. 19 | (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. 20 | (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. 21 | -------------------------------------------------------------------------------- /licenses/MS-RL.txt: -------------------------------------------------------------------------------- 1 | his 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. 2 | 3 | 1. Definitions 4 | The terms "reproduce," "reproduction," "derivative works," and "distribution" have the same meaning here as under U.S. copyright law. 5 | A "contribution" is the original software, or any additions or changes to the software. 6 | A "contributor" is any person that distributes its contribution under this license. 7 | "Licensed patents" are a contributor's patent claims that read directly on its contribution. 8 | 9 | 2. Grant of Rights 10 | (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. 11 | (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. 12 | 13 | 3. Conditions and Limitations 14 | (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. 15 | (B) No Trademark License- This license does not grant you rights to use any contributors' name, logo, or trademarks. 16 | (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. 17 | (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. 18 | (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. 19 | (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. 20 | -------------------------------------------------------------------------------- /licenses/MULTICS.txt: -------------------------------------------------------------------------------- 1 | Historical Background 2 | 3 | This edition of the Multics software materials and documentation is 4 | provided and donated to Massachusetts Institute of Technology by Group 5 | BULL including BULL HN Information Systems Inc. as a contribution to 6 | computer science knowledge. This donation is made also to give evidence 7 | of the common contributions of Massachusetts Institute of Technology, 8 | Bell Laboratories, General Electric, Honeywell Information Systems 9 | Inc., Honeywell BULL Inc., Groupe BULL and BULL HN Information Systems 10 | Inc. to the development of this operating system. Multics development 11 | was initiated by Massachusetts Institute of Technology Project MAC 12 | (1963-1970), renamed the MIT Laboratory for Computer Science and 13 | Artificial Intelligence in the mid 1970s, under the leadership of 14 | Professor Fernando Jose Corbato. Users consider that Multics provided the 15 | best software architecture for managing computer hardware properly and 16 | for executing programs. Many subsequent operating systems incorporated 17 | Multics principles. Multics was distributed in 1975 to 2000 by Group 18 | Bull in Europe , and in the U.S. by Bull HN Information Systems Inc., as 19 | successor in interest by change in name only to Honeywell Bull Inc. and 20 | Honeywell Information Systems Inc. . 21 | 22 | ----------------------------------------------------------- 23 | 24 | Permission to use, copy, modify, and distribute these programs and their 25 | documentation for any purpose and without fee is hereby granted,provided 26 | that the below copyright notice and historical background appear in all 27 | copies and that both the copyright notice and historical background and 28 | this permission notice appear in supporting documentation, and that 29 | the names of MIT, HIS, BULL or BULL HN not be used in advertising or 30 | publicity pertaining to distribution of the programs without specific 31 | prior written permission. 32 | Copyright 1972 by Massachusetts Institute of Technology and Honeywell Information 33 | Systems Inc. 34 | Copyright 2006 by BULL HN Information Systems Inc. 35 | Copyright 2006 by Bull SAS 36 | All Rights Reserved 37 | -------------------------------------------------------------------------------- /licenses/NAUMEN.txt: -------------------------------------------------------------------------------- 1 | NAUMEN Public License (Naumen) 2 | This software is Copyright (c) NAUMEN (tm) and Contributors. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | 1. Redistributions in source code must retain the above copyright notice, this list of conditions, and the following disclaimer. 7 | 8 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions, and the following disclaimer in the documentation and/or other materials provided with the distribution. 9 | 10 | 3. The name NAUMEN (tm) must not be used to endorse or promote products derived from this software without prior written permission from NAUMEN. 11 | 12 | 4. The right to distribute this software or to use it for any purpose does not give you the right to use Servicemarks (sm) or Trademarks (tm) of NAUMEN. 13 | 14 | 5. If any files originating from NAUMEN or Contributors are modified, you must cause the modified files to carry prominent notices stating that you changed the files and the date of any change. 15 | 16 | Disclaimer: 17 | 18 | THIS SOFTWARE IS PROVIDED BY NAUMEN "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL NAUMEN OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 | This software consists of contributions made by NAUMEN and Contributors. Specific attributions are listed in the accompanying credits file. 20 | -------------------------------------------------------------------------------- /licenses/NCSA.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2 | All rights reserved. 3 | 4 | Developed by: 5 | 6 | 7 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal with the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 8 | 9 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimers. 10 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimers in the documentation and/or other materials provided with the distribution. 11 | Neither the names of , nor the names of its contributors may be used to endorse or promote products derived from this Software without specific prior written permission. 12 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE CONTRIBUTORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS WITH THE SOFTWARE. 13 | -------------------------------------------------------------------------------- /licenses/NGPL.txt: -------------------------------------------------------------------------------- 1 | Nethack General Public License (NGPL) 2 | Copyright (c) 1989 M. Stephenson 3 | (Based on the BISON general public license, copyright 1988 Richard M. Stallman) 4 | Everyone is permitted to copy and distribute verbatim copies of this license, but changing it is not allowed. You can also use this wording to make the terms for other programs. 5 | The license agreements of most software companies keep you at the mercy of those companies. By contrast, our general public license is intended to give everyone the right to share NetHack. To make sure that you get the rights we want you to have, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. Hence this license agreement. 6 | 7 | Specifically, we want to make sure that you have the right to give away copies of NetHack, that you receive source code or else can get it if you want it, that you can change NetHack or use pieces of it in new free programs, and that you know you can do these things. 8 | 9 | To make sure that everyone has such rights, we have to forbid you to deprive anyone else of these rights. For example, if you distribute copies of NetHack, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must tell them their rights. 10 | 11 | Also, for our own protection, we must make certain that everyone finds out that there is no warranty for NetHack. If NetHack is modified by someone else and passed on, we want its recipients to know that what they have is not what we distributed. 12 | 13 | Therefore we (Mike Stephenson and other holders of NetHack copyrights) make the following terms which say what you must do to be allowed to distribute or change NetHack. 14 | 15 | COPYING POLICIES 16 | You may copy and distribute verbatim copies of NetHack source code as you receive it, in any medium, provided that you keep intact the notices on all files that refer to copyrights, to this License Agreement, and to the absence of any warranty; and give any other recipients of the NetHack program a copy of this License Agreement along with the program. 17 | You may modify your copy or copies of NetHack or any portion of it, and copy and distribute such modifications under the terms of Paragraph 1 above (including distributing this License Agreement), provided that you also do the following: 18 | a) cause the modified files to carry prominent notices stating that you changed the files and the date of any change; and 19 | 20 | b) cause the whole of any work that you distribute or publish, that in whole or in part contains or is a derivative of NetHack or any part thereof, to be licensed at no charge to all third parties on terms identical to those contained in this License Agreement (except that you may choose to grant more extensive warranty protection to some or all third parties, at your option) 21 | 22 | c) You may charge a distribution fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee. 23 | 24 | You may copy and distribute NetHack (or a portion or derivative of it, under Paragraph 2) in object code or executable form under the terms of Paragraphs 1 and 2 above provided that you also do one of the following: 25 | a) accompany it with the complete machine-readable source code, which must be distributed under the terms of Paragraphs 1 and 2 above; or, 26 | 27 | b) accompany it with full information as to how to obtain the complete machine-readable source code from an appropriate archive site. (This alternative is allowed only for noncommercial distribution.) 28 | 29 | For these purposes, complete source code means either the full source distribution as originally released over Usenet or updated copies of the files in this distribution used to create the object code or executable. 30 | 31 | You may not copy, sublicense, distribute or transfer NetHack except as expressly provided under this License Agreement. Any attempt otherwise to copy, sublicense, distribute or transfer NetHack is void and your rights to use the program under this License agreement shall be automatically terminated. However, parties who have received computer software programs from you with this License Agreement will not have their licenses terminated so long as such parties remain in full compliance. 32 | Stated plainly: You are permitted to modify NetHack, or otherwise use parts of NetHack, provided that you comply with the conditions specified above; in particular, your modified NetHack or program containing parts of NetHack must remain freely available as provided in this License Agreement. In other words, go ahead and share NetHack, but don't try to stop anyone else from sharing it farther. 33 | -------------------------------------------------------------------------------- /licenses/NTP.txt: -------------------------------------------------------------------------------- 1 | Permission to use, copy, modify, and distribute this software and its documentation for any purpose with or without fee is hereby granted, provided that the above copyright notice appears in all copies and that both the copyright notice and this permission notice appear in supporting documentation, and that the name (TrademarkedName) not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. (TrademarkedName) makes no representations about the suitability this software for any purpose. It is provided "as is" without express or implied warranty. 2 | -------------------------------------------------------------------------------- /licenses/OFL-1.1.txt: -------------------------------------------------------------------------------- 1 | SIL OPEN FONT LICENSE 2 | Version 1.1 - 26 February 2007 3 | 4 | PREAMBLE 5 | The goals of the Open Font License (OFL) are to stimulate worldwide 6 | development of collaborative font projects, to support the font creation 7 | efforts of academic and linguistic communities, and to provide a free and 8 | open framework in which fonts may be shared and improved in partnership 9 | with others. 10 | 11 | The OFL allows the licensed fonts to be used, studied, modified and 12 | redistributed freely as long as they are not sold by themselves. The 13 | fonts, including any derivative works, can be bundled, embedded, 14 | redistributed and/or sold with any software provided that any reserved 15 | names are not used by derivative works. The fonts and derivatives, 16 | however, cannot be released under any other type of license. The 17 | requirement for fonts to remain under this license does not apply 18 | to any document created using the fonts or their derivatives. 19 | 20 | DEFINITIONS 21 | "Font Software" refers to the set of files released by the Copyright 22 | Holder(s) under this license and clearly marked as such. This may 23 | include source files, build scripts and documentation. 24 | 25 | "Reserved Font Name" refers to any names specified as such after the 26 | copyright statement(s). 27 | 28 | "Original Version" refers to the collection of Font Software components as 29 | distributed by the Copyright Holder(s). 30 | 31 | "Modified Version" refers to any derivative made by adding to, deleting, 32 | or substituting - in part or in whole - any of the components of the 33 | Original Version, by changing formats or by porting the Font Software to a 34 | new environment. 35 | 36 | "Author" refers to any designer, engineer, programmer, technical 37 | writer or other person who contributed to the Font Software. 38 | 39 | PERMISSION & CONDITIONS 40 | Permission is hereby granted, free of charge, to any person obtaining 41 | a copy of the Font Software, to use, study, copy, merge, embed, modify, 42 | redistribute, and sell modified and unmodified copies of the Font 43 | Software, subject to the following conditions: 44 | 45 | 1) Neither the Font Software nor any of its individual components, 46 | in Original or Modified Versions, may be sold by itself. 47 | 48 | 2) Original or Modified Versions of the Font Software may be bundled, 49 | redistributed and/or sold with any software, provided that each copy 50 | contains the above copyright notice and this license. These can be 51 | included either as stand-alone text files, human-readable headers or 52 | in the appropriate machine-readable metadata fields within text or 53 | binary files as long as those fields can be easily viewed by the user. 54 | 55 | 3) No Modified Version of the Font Software may use the Reserved Font 56 | Name(s) unless explicit written permission is granted by the corresponding 57 | Copyright Holder. This restriction only applies to the primary font name as 58 | presented to the users. 59 | 60 | 4) The name(s) of the Copyright Holder(s) or the Author(s) of the Font 61 | Software shall not be used to promote, endorse or advertise any 62 | Modified Version, except to acknowledge the contribution(s) of the 63 | Copyright Holder(s) and the Author(s) or with their explicit written 64 | permission. 65 | 66 | 5) The Font Software, modified or unmodified, in part or in whole, 67 | must be distributed entirely under this license, and must not be 68 | distributed under any other license. The requirement for fonts to 69 | remain under this license does not apply to any document created 70 | using the Font Software. 71 | 72 | TERMINATION 73 | This license becomes null and void if any of the above conditions are 74 | not met. 75 | 76 | DISCLAIMER 77 | THE FONT SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 78 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OF 79 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT 80 | OF COPYRIGHT, PATENT, TRADEMARK, OR OTHER RIGHT. IN NO EVENT SHALL THE 81 | COPYRIGHT HOLDER BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 82 | INCLUDING ANY GENERAL, SPECIAL, INDIRECT, INCIDENTAL, OR CONSEQUENTIAL 83 | DAMAGES, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING 84 | FROM, OUT OF THE USE OR INABILITY TO USE THE FONT SOFTWARE OR FROM 85 | OTHER DEALINGS IN THE FONT SOFTWARE. 86 | -------------------------------------------------------------------------------- /licenses/OSL-3.0.txt: -------------------------------------------------------------------------------- 1 | This Open Software 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: 2 | 3 | Licensed under the Open Software License version 3.0 4 | 5 | 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: 6 | 7 | a) to reproduce the Original Work in copies, either alone or as part of a collective work; 8 | 9 | b) to translate, adapt, alter, transform, modify, or arrange the Original Work, thereby creating derivative works ("Derivative Works") based upon the Original Work; 10 | 11 | c) to distribute or communicate copies of the Original Work and Derivative Works to the public, with the proviso that copies of Original Work or Derivative Works that You distribute or communicate shall be licensed under this Open Software License; 12 | 13 | d) to perform the Original Work publicly; and 14 | 15 | e) to display the Original Work publicly. 16 | 17 | 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. 18 | 19 | 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. 20 | 21 | 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. 22 | 23 | 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). 24 | 25 | 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. 26 | 27 | 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. 28 | 29 | 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. 30 | 31 | 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). 32 | 33 | 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. 34 | 35 | 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. 36 | 37 | 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. 38 | 39 | 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. 40 | 41 | 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. 42 | 43 | 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. 44 | 45 | 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 "Open Software License" or "OSL" 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 " 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. 46 | -------------------------------------------------------------------------------- /licenses/PHP-3.0.txt: -------------------------------------------------------------------------------- 1 | Redistribution and use in source and binary forms, with or without 2 | modification, is permitted provided that the following conditions 3 | are met: 4 | 5 | 1. Redistributions of source code must retain the above copyright 6 | notice, this list of conditions and the following disclaimer. 7 | 8 | 2. Redistributions in binary form must reproduce the above copyright 9 | notice, this list of conditions and the following disclaimer in 10 | the documentation and/or other materials provided with the 11 | distribution. 12 | 13 | 3. The name "PHP" must not be used to endorse or promote products 14 | derived from this software without prior written permission. For 15 | written permission, please contact group@php.net. 16 | 17 | 4. Products derived from this software may not be called "PHP", nor 18 | may "PHP" appear in their name, without prior written permission 19 | from group@php.net. You may indicate that your software works in 20 | conjunction with PHP by saying "Foo for PHP" instead of calling 21 | it "PHP Foo" or "phpfoo" 22 | 23 | 5. The PHP Group may publish revised and/or new versions of the 24 | license from time to time. Each version will be given a 25 | distinguishing version number. 26 | Once covered code has been published under a particular version 27 | of the license, you may always continue to use it under the terms 28 | of that version. You may also choose to use such covered code 29 | under the terms of any subsequent version of the license 30 | published by the PHP Group. No one other than the PHP Group has 31 | the right to modify the terms applicable to covered code created 32 | under this License. 33 | 34 | 6. Redistributions of any form whatsoever must retain the following 35 | acknowledgment: 36 | "This product includes PHP, freely available from 37 | ". 38 | 39 | 40 | THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND 41 | ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, 42 | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 43 | PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE PHP 44 | DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 45 | INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 46 | (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 47 | SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 48 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 49 | STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) 50 | ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED 51 | OF THE POSSIBILITY OF SUCH DAMAGE. 52 | 53 | -------------------------------------------------------------------- 54 | 55 | This software consists of voluntary contributions made by many 56 | individuals on behalf of the PHP Group. 57 | 58 | The PHP Group can be contacted via Email at group@php.net. 59 | 60 | For more information on the PHP Group and the PHP project, 61 | please see . 62 | 63 | This product includes the Zend Engine, freely available at 64 | . 65 | 66 | -------------------------------------------------------------------------------- /licenses/PostgreSQL.txt: -------------------------------------------------------------------------------- 1 | This is a template license. The body of the license starts at the end of this paragraph. To use it, say that it is The PostgreSQL License, and then substitute the copyright year and name of the copyright holder into the body of the license. Then put the license into a prominent file ("COPYRIGHT", "LICENSE" or "COPYING" are common names for this file) in your software distribution. 2 | 3 | Copyright (c) $YEAR, $ORGANIZATION 4 | 5 | Permission to use, copy, modify, and distribute this software and its documentation for any purpose, without fee, and without a written agreement is hereby granted, provided that the above copyright notice and this paragraph and the following two paragraphs appear in all copies. 6 | 7 | IN NO EVENT SHALL $ORGANISATION BE LIABLE TO ANY PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS SOFTWARE AND ITS DOCUMENTATION, EVEN IF $ORGANISATION HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 8 | 9 | $ORGANISATION SPECIFICALLY DISCLAIMS ANY WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND $ORGANISATION HAS NO OBLIGATIONS TO PROVIDE MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS. 10 | -------------------------------------------------------------------------------- /licenses/Python2.txt: -------------------------------------------------------------------------------- 1 | PYTHON SOFTWARE FOUNDATION LICENSE VERSION 2 2 | -------------------------------------------- 3 | 4 | 1. This LICENSE AGREEMENT is between the Python Software Foundation 5 | ("PSF"), and the Individual or Organization ("Licensee") accessing and 6 | otherwise using this software ("Python") in source or binary form and 7 | its associated documentation. 8 | 9 | 2. Subject to the terms and conditions of this License Agreement, PSF 10 | hereby grants Licensee a nonexclusive, royalty-free, world-wide 11 | license to reproduce, analyze, test, perform and/or display publicly, 12 | prepare derivative works, distribute, and otherwise use Python 13 | alone or in any derivative version, provided, however, that PSF's 14 | License Agreement and PSF's notice of copyright, i.e., "Copyright (c) 15 | 2001, 2002, 2003, 2004, 2005, 2006 Python Software Foundation; All Rights 16 | Reserved" are retained in Python alone or in any derivative version 17 | prepared by Licensee. 18 | 19 | 3. In the event Licensee prepares a derivative work that is based on 20 | or incorporates Python or any part thereof, and wants to make 21 | the derivative work available to others as provided herein, then 22 | Licensee hereby agrees to include in any such work a brief summary of 23 | the changes made to Python. 24 | 25 | 4. PSF is making Python available to Licensee on an "AS IS" 26 | basis. PSF MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 27 | IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, PSF MAKES NO AND 28 | DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 29 | FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON WILL NOT 30 | INFRINGE ANY THIRD PARTY RIGHTS. 31 | 32 | 5. PSF SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF PYTHON 33 | FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS AS 34 | A RESULT OF MODIFYING, DISTRIBUTING, OR OTHERWISE USING PYTHON, 35 | OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 36 | 37 | 6. This License Agreement will automatically terminate upon a material 38 | breach of its terms and conditions. 39 | 40 | 7. Nothing in this License Agreement shall be deemed to create any 41 | relationship of agency, partnership, or joint venture between PSF and 42 | Licensee. This License Agreement does not grant permission to use PSF 43 | trademarks or trade name in a trademark sense to endorse or promote 44 | products or services of Licensee, or any third party. 45 | 46 | 8. By copying, installing or otherwise using Python, Licensee 47 | agrees to be bound by the terms and conditions of this License 48 | Agreement. 49 | 50 | BEOPEN.COM LICENSE AGREEMENT FOR PYTHON 2.0 51 | ------------------------------------------- 52 | 53 | BEOPEN PYTHON OPEN SOURCE LICENSE AGREEMENT VERSION 1 54 | 55 | 1. This LICENSE AGREEMENT is between BeOpen.com ("BeOpen"), having an 56 | office at 160 Saratoga Avenue, Santa Clara, CA 95051, and the 57 | Individual or Organization ("Licensee") accessing and otherwise using 58 | this software in source or binary form and its associated 59 | documentation ("the Software"). 60 | 61 | 2. Subject to the terms and conditions of this BeOpen Python License 62 | Agreement, BeOpen hereby grants Licensee a non-exclusive, 63 | royalty-free, world-wide license to reproduce, analyze, test, perform 64 | and/or display publicly, prepare derivative works, distribute, and 65 | otherwise use the Software alone or in any derivative version, 66 | provided, however, that the BeOpen Python License is retained in the 67 | Software, alone or in any derivative version prepared by Licensee. 68 | 69 | 3. BeOpen is making the Software available to Licensee on an "AS IS" 70 | basis. BEOPEN MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 71 | IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, BEOPEN MAKES NO AND 72 | DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR FITNESS 73 | FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE WILL NOT 74 | INFRINGE ANY THIRD PARTY RIGHTS. 75 | 76 | 4. BEOPEN SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE 77 | SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR LOSS 78 | AS A RESULT OF USING, MODIFYING OR DISTRIBUTING THE SOFTWARE, OR ANY 79 | DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY THEREOF. 80 | 81 | 5. This License Agreement will automatically terminate upon a material 82 | breach of its terms and conditions. 83 | 84 | 6. This License Agreement shall be governed by and interpreted in all 85 | respects by the law of the State of California, excluding conflict of 86 | law provisions. Nothing in this License Agreement shall be deemed to 87 | create any relationship of agency, partnership, or joint venture 88 | between BeOpen and Licensee. This License Agreement does not grant 89 | permission to use BeOpen trademarks or trade names in a trademark 90 | sense to endorse or promote products or services of Licensee, or any 91 | third party. As an exception, the "BeOpen Python" logos available at 92 | http://www.pythonlabs.com/logos.html may be used according to the 93 | permissions granted on that web page. 94 | 95 | 7. By copying, installing or otherwise using the software, Licensee 96 | agrees to be bound by the terms and conditions of this License 97 | Agreement. 98 | 99 | CNRI OPEN SOURCE LICENSE AGREEMENT (for Python 1.6b1) 100 | -------------------------------------------------- 101 | 102 | IMPORTANT: PLEASE READ THE FOLLOWING AGREEMENT CAREFULLY. 103 | 104 | BY CLICKING ON "ACCEPT" WHERE INDICATED BELOW, OR BY COPYING, 105 | INSTALLING OR OTHERWISE USING PYTHON 1.6, beta 1 SOFTWARE, YOU ARE 106 | DEEMED TO HAVE AGREED TO THE TERMS AND CONDITIONS OF THIS LICENSE 107 | AGREEMENT. 108 | 109 | 1. This LICENSE AGREEMENT is between the Corporation for National 110 | Research Initiatives, having an office at 1895 Preston White Drive, 111 | Reston, VA 20191 ("CNRI"), and the Individual or Organization 112 | ("Licensee") accessing and otherwise using Python 1.6, beta 1 113 | software in source or binary form and its associated documentation, 114 | as released at the www.python.org Internet site on August 4, 2000 115 | ("Python 1.6b1"). 116 | 117 | 2. Subject to the terms and conditions of this License Agreement, CNRI 118 | hereby grants Licensee a non-exclusive, royalty-free, world-wide 119 | license to reproduce, analyze, test, perform and/or display 120 | publicly, prepare derivative works, distribute, and otherwise use 121 | Python 1.6b1 alone or in any derivative version, provided, however, 122 | that CNRIs License Agreement is retained in Python 1.6b1, alone or 123 | in any derivative version prepared by Licensee. 124 | 125 | Alternately, in lieu of CNRIs License Agreement, Licensee may 126 | substitute the following text (omitting the quotes): "Python 1.6, 127 | beta 1, is made available subject to the terms and conditions in 128 | CNRIs License Agreement. This Agreement may be located on the 129 | Internet using the following unique, persistent identifier (known 130 | as a handle): 1895.22/1011. This Agreement may also be obtained 131 | from a proxy server on the Internet using the 132 | URL:http://hdl.handle.net/1895.22/1011". 133 | 134 | 3. In the event Licensee prepares a derivative work that is based on 135 | or incorporates Python 1.6b1 or any part thereof, and wants to make 136 | the derivative work available to the public as provided herein, 137 | then Licensee hereby agrees to indicate in any such work the nature 138 | of the modifications made to Python 1.6b1. 139 | 140 | 4. CNRI is making Python 1.6b1 available to Licensee on an "AS IS" 141 | basis. CNRI MAKES NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR 142 | IMPLIED. BY WAY OF EXAMPLE, BUT NOT LIMITATION, CNRI MAKES NO AND 143 | DISCLAIMS ANY REPRESENTATION OR WARRANTY OF MERCHANTABILITY OR 144 | FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF PYTHON 1.6b1 145 | WILL NOT INFRINGE ANY THIRD PARTY RIGHTS. 146 | 147 | 5. CNRI SHALL NOT BE LIABLE TO LICENSEE OR ANY OTHER USERS OF THE 148 | SOFTWARE FOR ANY INCIDENTAL, SPECIAL, OR CONSEQUENTIAL DAMAGES OR 149 | LOSS AS A RESULT OF USING, MODIFYING OR DISTRIBUTING PYTHON 1.6b1, 150 | OR ANY DERIVATIVE THEREOF, EVEN IF ADVISED OF THE POSSIBILITY 151 | THEREOF. 152 | 153 | 6. This License Agreement will automatically terminate upon a material 154 | breach of its terms and conditions. 155 | 156 | 7. This License Agreement shall be governed by and interpreted in all 157 | respects by the law of the State of Virginia, excluding conflict of 158 | law provisions. Nothing in this License Agreement shall be deemed 159 | to create any relationship of agency, partnership, or joint venture 160 | between CNRI and Licensee. This License Agreement does not grant 161 | permission to use CNRI trademarks or trade name in a trademark 162 | sense to endorse or promote products or services of Licensee, or 163 | any third party. 164 | 165 | 8. By clicking on the "ACCEPT" button where indicated, or by copying, 166 | installing or otherwise using Python 1.6b1, Licensee agrees to be 167 | bound by the terms and conditions of this License Agreement. 168 | 169 | ACCEPT 170 | 171 | CWI LICENSE AGREEMENT FOR PYTHON 0.9.0 THROUGH 1.2 172 | -------------------------------------------------- 173 | 174 | Copyright (c) 1991 - 1995, Stichting Mathematisch Centrum Amsterdam, 175 | The Netherlands. All rights reserved. 176 | 177 | Permission to use, copy, modify, and distribute this software and its 178 | documentation for any purpose and without fee is hereby granted, 179 | provided that the above copyright notice appear in all copies and that 180 | both that copyright notice and this permission notice appear in 181 | supporting documentation, and that the name of Stichting Mathematisch 182 | Centrum or CWI not be used in advertising or publicity pertaining to 183 | distribution of the software without specific, written prior 184 | permission. 185 | 186 | STICHTING MATHEMATISCH CENTRUM DISCLAIMS ALL WARRANTIES WITH REGARD TO 187 | THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND 188 | FITNESS, IN NO EVENT SHALL STICHTING MATHEMATISCH CENTRUM BE LIABLE 189 | FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 190 | WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 191 | ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT 192 | OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 193 | -------------------------------------------------------------------------------- /licenses/QPL-1.0.txt: -------------------------------------------------------------------------------- 1 | Copyright (C) 1999 Trolltech AS, Norway. 2 | Everyone is permitted to copy and distribute this license document. 3 | 4 | The intent of this license is to establish freedom to share and change the software regulated by this license under the open source model. 5 | 6 | This license applies to any software containing a notice placed by the copyright holder saying that it may be distributed under the terms of the Q Public License version 1.0. Such software is herein referred to as the Software. This license covers modification and distribution of the Software, use of third-party application programs based on the Software, and development of free software which uses the Software. 7 | 8 | Granted Rights 9 | 1. You are granted the non-exclusive rights set forth in this license provided you agree to and comply with any and all conditions in this license. Whole or partial distribution of the Software, or software items that link with the Software, in any form signifies acceptance of this license. 10 | 11 | 2. You may copy and distribute the Software in unmodified form provided that the entire package, including - but not restricted to - copyright, trademark notices and disclaimers, as released by the initial developer of the Software, is distributed. 12 | 13 | 3. You may make modifications to the Software and distribute your modifications, in a form that is separate from the Software, such as patches. The following restrictions apply to modifications: 14 | 15 | a. Modifications must not alter or remove any copyright notices in the Software. 16 | 17 | b. When modifications to the Software are released under this license, a non-exclusive royalty-free right is granted to the initial developer of the Software to distribute your modification in future versions of the Software provided such versions remain available under these terms in addition to any other license(s) of the initial developer. 18 | 19 | 4. You may distribute machine-executable forms of the Software or machine-executable forms of modified versions of the Software, provided that you meet these restrictions: 20 | 21 | a. You must include this license document in the distribution. 22 | 23 | b. You must ensure that all recipients of the machine-executable forms are also able to receive the complete machine-readable source code to the distributed Software, including all modifications, without any charge beyond the costs of data transfer, and place prominent notices in the distribution explaining this. 24 | 25 | c. You must ensure that all modifications included in the machine-executable forms are available under the terms of this license. 26 | 27 | 5. You may use the original or modified versions of the Software to compile, link and run application programs legally developed by you or by others. 28 | 29 | 6. You may develop application programs, reusable components and other software items that link with the original or modified versions of the Software. These items, when distributed, are subject to the following requirements: 30 | 31 | a. You must ensure that all recipients of machine-executable forms of these items are also able to receive and use the complete machine-readable source code to the items without any charge beyond the costs of data transfer. 32 | 33 | b. You must explicitly license all recipients of your items to use and re-distribute original and modified versions of the items in both machine-executable and source code forms. The recipients must be able to do so without any charges whatsoever, and they must be able to re-distribute to anyone they choose. 34 | 35 | c. If the items are not available to the general public, and the initial developer of the Software requests a copy of the items, then you must supply one. 36 | 37 | Limitations of Liability 38 | In no event shall the initial developers or copyright holders be liable for any damages whatsoever, including - but not restricted to - lost revenue or profits or other direct, indirect, special, incidental or consequential damages, even if they have been advised of the possibility of such damages, except to the extent invariable law, if any, provides otherwise. 39 | 40 | No Warranty 41 | The Software and this license document are provided AS IS with NO WARRANTY OF ANY KIND, INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. 42 | 43 | Choice of Law 44 | This license is governed by the Laws of Norway. Disputes shall be settled by Oslo City Court. 45 | -------------------------------------------------------------------------------- /licenses/SIMPL-2.0.txt: -------------------------------------------------------------------------------- 1 | Preamble 2 | This Simple Public License 2.0 (SimPL-2.0 for short) is a plain language implementation of GPL 2.0. The words are different, but the goal is the same - to guarantee for all users the freedom to share and change software. If anyone wonders about the meaning of the SimPL, they should interpret it as consistent with GPL 2.0. 3 | Simple Public License (SimPL) 2.0 4 | The SimPL applies to the software's source and object code and comes with any rights that I have in it (other than trademarks). You agree to the SimPL by copying, distributing, or making a derivative work of the software. 5 | 6 | You get the royalty free right to: 7 | Use the software for any purpose; 8 | Make derivative works of it (this is called a "Derived Work"); 9 | Copy and distribute it and any Derived Work. 10 | If you distribute the software or a Derived Work, you must give back to the community by: 11 | Prominently noting the date of any changes you make; 12 | Leaving other people's copyright notices, warranty disclaimers, and license terms in place; 13 | Providing the source code, build scripts, installation scripts, and interface definitions in a form that is easy to get and best to modify; 14 | Licensing it to everyone under SimPL, or substantially similar terms (such as GPL 2.0), without adding further restrictions to the rights provided; 15 | Conspicuously announcing that it is available under that license. 16 | There are some things that you must shoulder: 17 | You get NO WARRANTIES. None of any kind; 18 | If the software damages you in any way, you may only recover direct damages up to the amount you paid for it (that is zero if you did not pay anything). You may not recover any other damages, including those called "consequential damages." (The state or country where you live may not allow you to limit your liability in this way, so this may not apply to you); 19 | The SimPL continues perpetually, except that your license rights end automatically if: 20 | You do not abide by the "give back to the community" terms (your licensees get to keep their rights if they abide); 21 | Anyone prevents you from distributing the software under the terms of the SimPL. 22 | License for the License 23 | You may do anything that you want with the SimPL text; it's a license form to use in any way that you find helpful. To avoid confusion, however, if you change the terms in any way then you may not call your license the Simple Public License or the SimPL (but feel free to acknowledge that your license is "based on the Simple Public License"). 24 | -------------------------------------------------------------------------------- /licenses/SLEEPYCAT.txt: -------------------------------------------------------------------------------- 1 | The Sleepycat License 2 | Copyright (c) 1990-1999 Sleepycat Software. All rights reserved. 3 | 4 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 5 | 6 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 7 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 8 | Redistributions in any form must be accompanied by information on how to obtain complete source code for the DB software and any accompanying software that uses the DB software. The source code must either be included in the distribution or be available for no more than the cost of distribution plus a nominal fee, and must be freely redistributable under reasonable conditions. For an executable file, complete source code means the source code for all modules it contains. It does not include source code for modules or files that typically accompany the major components of the operating system on which the executable file runs. 9 | THIS SOFTWARE IS PROVIDED BY SLEEPYCAT SOFTWARE ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, OR NON-INFRINGEMENT, ARE DISCLAIMED. IN NO EVENT SHALL SLEEPYCAT SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 10 | 11 | Copyright (c) 1990, 1993, 1994, 1995 The Regents of the University of California. All rights reserved. 12 | 13 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 14 | 15 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 16 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 17 | Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 18 | THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 19 | 20 | Copyright (c) 1995, 1996 The President and Fellows of Harvard University. All rights reserved. 21 | 22 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 23 | 24 | Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 25 | Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 26 | Neither the name of the University nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. 27 | THIS SOFTWARE IS PROVIDED BY HARVARD AND ITS CONTRIBUTORS ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL HARVARD OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 | -------------------------------------------------------------------------------- /licenses/UNLICENSE.txt: -------------------------------------------------------------------------------- 1 | This is free and unencumbered software released into the public domain. 2 | 3 | Anyone is free to copy, modify, publish, use, compile, sell, or 4 | distribute this software, either in source code form or as a compiled 5 | binary, for any purpose, commercial or non-commercial, and by any 6 | means. 7 | 8 | In jurisdictions that recognize copyright laws, the author or authors 9 | of this software dedicate any and all copyright interest in the 10 | software to the public domain. We make this dedication for the benefit 11 | of the public at large and to the detriment of our heirs and 12 | successors. We intend this dedication to be an overt act of 13 | relinquishment in perpetuity of all present and future rights to this 14 | software under copyright law. 15 | 16 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 17 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF 18 | MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. 19 | IN NO EVENT SHALL THE AUTHORS BE LIABLE FOR ANY CLAIM, DAMAGES OR 20 | OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, 21 | ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR 22 | OTHER DEALINGS IN THE SOFTWARE. 23 | 24 | For more information, please refer to 25 | -------------------------------------------------------------------------------- /licenses/VSL-1.0.txt: -------------------------------------------------------------------------------- 1 | This license applies to all software incorporated in the "Vovida Open Communication Application Library" except for those portions incorporating third party software specifically identified as being licensed under separate license. 2 | 3 | The Vovida Software License, Version 1.0 4 | Copyright (c) 2000 Vovida Networks, Inc. All rights reserved. 5 | 6 | Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: 7 | 8 | 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. 9 | 10 | 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. 11 | 12 | 3. The names "VOCAL", "Vovida Open Communication Application Library", and "Vovida Open Communication Application Library (VOCAL)" must not be used to endorse or promote products derived from this software without prior written permission. For written permission, please contact vocal@vovida.org. 13 | 14 | 4. Products derived from this software may not be called "VOCAL", nor may "VOCAL" appear in their name, without prior written permission. 15 | 16 | THIS SOFTWARE IS PROVIDED "AS IS" AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT ARE DISCLAIMED. IN NO EVENT SHALL VOVIDA NETWORKS, INC. OR ITS CONTRIBUTORS BE LIABLE FOR ANY DAMAGES IN EXCESS OF $1,000, NOR FOR ANY INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 17 | 18 | This software consists of voluntary contributions made by Vovida Networks, Inc. and many individuals on behalf of Vovida Networks, Inc. For more information on Vovida Networks, Inc., please see http://www.vovida.org. 19 | 20 | All third party licenses and copyright notices and other required legends also need to be complied with as well. 21 | -------------------------------------------------------------------------------- /licenses/W3C.txt: -------------------------------------------------------------------------------- 1 | Copyright © 1994-2001 World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/ 2 | 3 | This W3C work (including software, documents, or other related items) is being provided by the copyright holders under the following license. By obtaining, using and/or copying this work, you (the licensee) agree that you have read, understood, and will comply with the following terms and conditions: 4 | 5 | Permission to use, copy, modify, and distribute this software and its documentation, with or without modification, for any purpose and without fee or royalty is hereby granted, provided that you include the following on ALL copies of the software and documentation or portions thereof, including modifications, that you make: 6 | 7 | 1. The full text of this NOTICE in a location viewable to users of the redistributed or derivative work. 8 | 9 | 2. Any pre-existing intellectual property disclaimers, notices, or terms and conditions. If none exist, a short notice of the following form (hypertext is preferred, text is permitted) should be used within the body of any redistributed or derivative code: "Copyright © [$date-of-software] World Wide Web Consortium, (Massachusetts Institute of Technology, Institut National de Recherche en Informatique et en Automatique, Keio University). All Rights Reserved. http://www.w3.org/Consortium/Legal/" 10 | 11 | 3. Notice of any changes or modifications to the W3C files, including the date changes were made. (We recommend you provide URIs to the location from which the code is derived.) 12 | 13 | THIS SOFTWARE AND DOCUMENTATION IS PROVIDED "AS IS," AND COPYRIGHT HOLDERS MAKE NO REPRESENTATIONS OR WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS FOR ANY PARTICULAR PURPOSE OR THAT THE USE OF THE SOFTWARE OR DOCUMENTATION WILL NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS, TRADEMARKS OR OTHER RIGHTS. 14 | 15 | COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF ANY USE OF THE SOFTWARE OR DOCUMENTATION. 16 | 17 | The name and trademarks of copyright holders may NOT be used in advertising or publicity pertaining to the software without specific, written prior permission. Title to copyright in this software and any associated documentation will at all times remain with copyright holders. 18 | -------------------------------------------------------------------------------- /licenses/WTFPL.txt: -------------------------------------------------------------------------------- 1 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 2 | Version 2, December 2004 3 | 4 | Copyright (C) 2004 Sam Hocevar 5 | 6 | Everyone is permitted to copy and distribute verbatim or modified 7 | copies of this license document, and changing it is allowed as long 8 | as the name is changed. 9 | 10 | DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE 11 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 12 | 13 | 0. You just DO WHAT THE FUCK YOU WANT TO. 14 | 15 | -------------------------------------------------------------------------------- /licenses/WXwindows.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 1998 Julian Smart, Robert Roebling [, ...] 2 | 3 | Everyone is permitted to copy and distribute verbatim copies of this licence document, but changing it is not allowed. 4 | 5 | WXWINDOWS LIBRARY LICENCE 6 | TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION 7 | 8 | This library is free software; you can redistribute it and/or modify it under the terms of the GNU Library General Public Licence as published by the Free Software Foundation; either version 2 of the Licence, or (at your option) any later version. 9 | 10 | This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library General Public Licence for more details. 11 | 12 | You should have received a copy of the GNU Library General Public Licence along with this software, usually in a file named COPYING.LIB. If not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. 13 | 14 | EXCEPTION NOTICE 15 | 16 | 1. As a special exception, the copyright holders of this library give permission for additional uses of the text contained in this release of the library as licenced under the wxWindows Library Licence, applying either version 3 of the Licence, or (at your option) any later version of the Licence as published by the copyright holders of version 3 of the Licence document. 17 | 18 | 2. The exception is that you may use, copy, link, modify and distribute under the user's own terms, binary object code versions of works based on the Library. 19 | 20 | 3. If you copy code from files distributed under the terms of the GNU General Public Licence or the GNU Library General Public Licence into a copy of this library, as this licence permits, the exception does not apply to the code that you add in this way. To avoid misleading anyone as to the status of such modified files, you must delete this exception notice from such code and/or adjust the licensing conditions notice accordingly. 21 | 22 | 4. If you write modifications of your own for this library, it is your choice whether to permit this exception to apply to your modifications. If you do not wish that, you must delete the exception notice from such code and/or adjust the licensing conditions notice accordingly. 23 | -------------------------------------------------------------------------------- /licenses/XNet.txt: -------------------------------------------------------------------------------- 1 | Copyright (c) 2000-2001 X.Net, Inc. Lafayette, California, USA 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: 4 | 5 | The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. 6 | 7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. 8 | 9 | This agreement shall be governed in all respects by the laws of the State of California and by the laws of the United States of America. 10 | -------------------------------------------------------------------------------- /licenses/ZPL-2.0.txt: -------------------------------------------------------------------------------- 1 | Zope Public License (ZPL) Version 2.0 2 | ----------------------------------------------- 3 | 4 | This software is Copyright (c) Zope Corporation (tm) and 5 | Contributors. All rights reserved. 6 | 7 | This license has been certified as open source. It has also 8 | been designated as GPL compatible by the Free Software 9 | Foundation (FSF). 10 | 11 | Redistribution and use in source and binary forms, with or 12 | without modification, are permitted provided that the 13 | following conditions are met: 14 | 15 | 1. Redistributions in source code must retain the above 16 | copyright notice, this list of conditions, and the following 17 | disclaimer. 18 | 19 | 2. Redistributions in binary form must reproduce the above 20 | copyright notice, this list of conditions, and the following 21 | disclaimer in the documentation and/or other materials 22 | provided with the distribution. 23 | 24 | 3. The name Zope Corporation (tm) must not be used to 25 | endorse or promote products derived from this software 26 | without prior written permission from Zope Corporation. 27 | 28 | 4. The right to distribute this software or to use it for 29 | any purpose does not give you the right to use Servicemarks 30 | (sm) or Trademarks (tm) of Zope Corporation. Use of them is 31 | covered in a separate agreement (see 32 | http://www.zope.com/Marks). 33 | 34 | 5. If any files are modified, you must cause the modified 35 | files to carry prominent notices stating that you changed 36 | the files and the date of any change. 37 | 38 | Disclaimer 39 | 40 | THIS SOFTWARE IS PROVIDED BY ZOPE CORPORATION ``AS IS'' 41 | AND ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT 42 | NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY 43 | AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN 44 | NO EVENT SHALL ZOPE CORPORATION OR ITS CONTRIBUTORS BE 45 | LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 46 | EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 47 | LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; 48 | LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 49 | HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN 50 | CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE 51 | OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 52 | SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 53 | DAMAGE. 54 | 55 | 56 | This software consists of contributions made by Zope 57 | Corporation and many individuals on behalf of Zope 58 | Corporation. Specific attributions are listed in the 59 | accompanying credits file. 60 | -------------------------------------------------------------------------------- /licenses/beerware.txt: -------------------------------------------------------------------------------- 1 | /* 2 | * ---------------------------------------------------------------------------- 3 | * "THE BEER-WARE LICENSE" (Revision 42): 4 | * wrote this file. As long as you retain this notice you 5 | * can do whatever you want with this stuff. If we meet some day, and you think 6 | * this stuff is worth it, you can buy me a beer in return Poul-Henning Kamp 7 | * ---------------------------------------------------------------------------- 8 | */ 9 | -------------------------------------------------------------------------------- /licenses/zlib.txt: -------------------------------------------------------------------------------- 1 | This software is provided 'as-is', without any express or implied warranty. In no event will the authors be held liable for any damages arising from the use of this software. 2 | 3 | Permission is granted to anyone to use this software for any purpose, including commercial applications, and to alter it and redistribute it freely, subject to the following restrictions: 4 | 5 | 1. The origin of this software must not be misrepresented; you must not claim that you wrote the original software. If you use this software in a product, an acknowledgment in the product documentation would be appreciated but is not required. 6 | 7 | 2. Altered source versions must be plainly marked as such, and must not be misrepresented as being the original software. 8 | 9 | 3. This notice may not be removed or altered from any source distribution. 10 | -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "licenses", 3 | "version": "0.0.20", 4 | "description": "A small tool that detects licensing information for a given Node.js module", 5 | "main": "index.js", 6 | "repository": { 7 | "type": "git", 8 | "url": "https://github.com/3rd-Eden/licenses.git" 9 | }, 10 | "scripts": { 11 | "test": "mocha --reporter spec --ui bdd test/*.test.js", 12 | "parser": "mocha --reporter spec --ui bdd test/parser.test.js", 13 | "watch": "mocha --watch --reporter spec --ui bdd test/*.test.js", 14 | "coverage": "istanbul cover ./node_modules/.bin/_mocha -- --reporter spec --ui bdd test/*.test.js", 15 | "test-travis": "istanbul cover node_modules/.bin/_mocha --report lcovonly -- --reporter spec --ui bdd test/*.test.js" 16 | }, 17 | "keywords": [ 18 | "licenses", 19 | "licensing", 20 | "license", 21 | "legal", 22 | "MIT", 23 | "Open Source" 24 | ], 25 | "author": "Arnout Kazemier", 26 | "license": "MIT", 27 | "dependencies": { 28 | "async": "0.6.x", 29 | "debug": "0.8.x", 30 | "fusing": "0.2.x", 31 | "githulk": "0.0.x", 32 | "npm-registry": "0.1.x" 33 | }, 34 | "devDependencies": { 35 | "argh": "0.1.x", 36 | "assume": "0.0.x", 37 | "istanbul": "0.3.x", 38 | "mocha": "2.0.x", 39 | "pre-commit": "0.0.x", 40 | "request": "2.34.x" 41 | } 42 | } 43 | -------------------------------------------------------------------------------- /parser.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var debug = require('debug')('licenses::parser') 4 | , normalized = require('./normalize') 5 | , GitHulk = require('githulk') 6 | , fuse = require('fusing') 7 | , fs = require('fs'); 8 | 9 | /** 10 | * The base parser class where all parsers inherit from. This provides some 11 | * common functionality which the parsers can use to detect licensing. 12 | * 13 | * @constructor 14 | * @param {Object} parsers An object which contains all available parsers. 15 | * @api public 16 | */ 17 | function Parser(parsers) { 18 | if (!(this instanceof Parser)) return new Parser(parsers); 19 | 20 | this.parsers = parsers; 21 | } 22 | 23 | fuse(Parser); 24 | 25 | /** 26 | * Expose some core modules through the instance. 27 | * 28 | * @type {Function} 29 | * @api pubilc 30 | */ 31 | Parser.readable('async', require('async')); 32 | 33 | /** 34 | * Simple regular expression based tests for figuring out which license we're 35 | * dealing with. 36 | * 37 | * @param {String} str 38 | * @returns {Array} 39 | * @api public 40 | */ 41 | Parser.readable('test', function test(str) { 42 | if (/BSD/.test(str)) return ['BSD']; 43 | if (/LGPL/.test(str)) return ['LGPL']; 44 | if (/GPL/.test(str) || /GPLv2/.test(str)) return ['GPL']; 45 | if (/MIT/.test(str) || /\(MIT\)/.test(str)) return ['MIT']; 46 | if (/Apache\s?Licen[cs]e/.test(str)) return ['Apache']; 47 | if (/MPL/.test(str)) return ['MPL']; 48 | if (/WTFPL/.test(str)) return ['WTFPL']; 49 | 50 | // 51 | // Watch out we've got a bad-ass over here. 52 | // 53 | if (/DO\sWHAT\sTHE\sFUCK\sYOU\sWANT\sTO\sPUBLIC\sLICEN[CS]E/i.test(str) 54 | || /WTFPL/.test(str) 55 | ) return ['WTFPL']; 56 | }); 57 | 58 | /** 59 | * There are 1000 ways of writing that you're using an MIT module. This 60 | * normalization module attempts to normalize the licenses in to one common 61 | * name. 62 | * 63 | * @param {Array} data A list of license information that needs to be normalized. 64 | * @api public 65 | */ 66 | Parser.readable('normalize', function normalize(data) { 67 | if (!data) return data; 68 | 69 | // 70 | // First we need to pass the data through our dual license checker so can 71 | // figure out if the module is dual licensed as both license values needs to 72 | // be normalized. 73 | return this.dual(data).map(function map(license) { 74 | // 75 | // 1. Direct match. Check for direct matches against our normalized license 76 | // file. 77 | // 78 | if (license in normalized) { 79 | debug('normalized %s to %s using the "direct match" method', license, normalized[license]); 80 | return normalized[license]; 81 | } 82 | 83 | // 84 | // 2. toUpperCase. Transform the given license string and the key of 85 | // normalization to lowercase to see if it matches. 86 | // 87 | var transformed = license.toUpperCase(); 88 | if (transformed in normalized) { 89 | debug('normalized %s to %s using the "transform" method', license, normalized[transformed]); 90 | return normalized[transformed]; 91 | } 92 | 93 | return license; 94 | }).filter(function duplicate(item, index, all) { 95 | if (!item) return false; 96 | return all.indexOf(item) === index; 97 | }); 98 | }); 99 | 100 | var githulk = new GitHulk(); 101 | 102 | /** 103 | * Reference to our githulk. 104 | * 105 | * @type {GitHulk} 106 | * @api public 107 | */ 108 | Parser.readable('githulk', githulk); 109 | 110 | /** 111 | * Find an URL in the data structure. 112 | * 113 | * @param {Object} data Data structure 114 | * @param {String} contains A string that the URL should contain. 115 | * @api public 116 | */ 117 | Parser.readable('url', githulk.project.url); 118 | 119 | /** 120 | * Check for potential dual licensing in the given license arrays. Most people 121 | * specify them in their package.json as : MIT/GPL because the `npm init` 122 | * doesn't really allow dual licensing. 123 | * 124 | * It supports the following possibilities: 125 | * 126 | * - MIT/GPL 127 | * - MIT and GPL 128 | * - MIT or GPL 129 | * - MIT, GPL 130 | * 131 | * @param {Array} licenses 132 | * @returns {Array} licenses 133 | * @api public 134 | */ 135 | Parser.readable('dual', function dual(licenses) { 136 | var licensing = []; 137 | 138 | if (!licenses) return []; 139 | 140 | return licenses.reduce(function reduce(licenses, license) { 141 | license = (license || '').trim(); 142 | if (!license) return licenses; 143 | 144 | // 145 | // Edge case, it's possible that people use Apache, Version 2.0 as licensing 146 | // we don't want to split this as a dual license as it's License name, 147 | // Version notation. We add these edge-cases directly in to our normalizer. 148 | // 149 | if (license in normalized) { 150 | licenses.push(license); 151 | return licenses; 152 | } 153 | 154 | Array.prototype.push.apply( 155 | licenses, 156 | license.split(/\s{0,}(?:\/|\sand\s|\sor\s|,)\s{0,}/g) 157 | ); 158 | 159 | return licenses; 160 | }, []).filter(function duplicate(item, index, all) { 161 | if (!item) return false; 162 | return all.indexOf(item) === index; 163 | }); 164 | }); 165 | 166 | /** 167 | * Tokenizer for the license files so we can figure how much lines of text from 168 | * the given license matches against a string. 169 | * 170 | * @param {String} str The content that needs to get tokenized. 171 | * @param {Number} amount The amount of words we should combine. 172 | * @api private 173 | */ 174 | Parser.readable('tokenizer', function tokenizer(str, amount) { 175 | var tokens = str.toLowerCase().split(/\W+/g).filter(Boolean); 176 | 177 | if (!amount) return tokens.join(''); 178 | 179 | return tokens.reduce(function reduce(words, word, index) { 180 | if (!reduce.index) reduce.index = 0; 181 | if (!reduce.position) { 182 | reduce.position = 0; 183 | words.push([]); 184 | } 185 | 186 | words[reduce.index][++reduce.position] = word; 187 | 188 | // 189 | // We've reached our maximum amount of words that we allow for matching so 190 | // we need to concat our collection of words in to a single string to 191 | // improve matching. 192 | // 193 | if (reduce.position === amount || index === (tokens.length - 1)) { 194 | words[reduce.index] = words[reduce.index].join(''); 195 | reduce.position = 0; 196 | reduce.index++; 197 | } 198 | 199 | return words; 200 | }, []); 201 | }); 202 | 203 | /** 204 | * Scan the given string for occurrences of the license text. If the given 205 | * percentage of matching lines is reached, we'll assume a match. 206 | * 207 | * @param {String} str The string that needs to have licence matching. 208 | * @param {Number} percentage Percentage for accepted match. 209 | * @returns {Array} License name if we have a match. 210 | * @api public 211 | */ 212 | Parser.readable('scan', function scan(str, percentage) { 213 | percentage = percentage || 80; 214 | str = this.tokenizer(str); 215 | 216 | var matches = [] 217 | , match; 218 | 219 | this.licenses.forEach(function each(license) { 220 | var test = { 221 | total: license.content.length, 222 | license: license.name, 223 | percentage: 0, 224 | matches: 0 225 | }; 226 | 227 | license.content.forEach(function each(line) { 228 | if (str.indexOf(line) !== -1) test.matches++; 229 | }); 230 | 231 | test.percentage = test.matches / test.total * 100; 232 | if (test.percentage >= percentage) matches.push(test); 233 | 234 | debug('had a %s% match for %s', test.percentage, test.license); 235 | }); 236 | 237 | match = matches.sort(function sort(a, b) { 238 | return a.percentage < b.percentage; 239 | })[0]; 240 | 241 | if (match) return [match.license]; 242 | }); 243 | 244 | /** 245 | * The contents of various of license types that we can use for comparison. 246 | * 247 | * @type {Array} 248 | * @api private 249 | */ 250 | Parser.readable('licenses', 251 | require('./opensource').full.filter(function filter(license) { 252 | return !!license.file; 253 | }).map(function map(license) { 254 | license.content = this.tokenizer( 255 | fs.readFileSync(__dirname +'/licenses/'+ license.file, 'utf-8'), 256 | 5 257 | ); 258 | 259 | return license; 260 | }.bind(Parser.prototype))); 261 | 262 | // 263 | // Expose the parser. 264 | // 265 | module.exports = Parser; 266 | -------------------------------------------------------------------------------- /registry.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var debug = require('debug')('licenses::npm'); 4 | 5 | /** 6 | * Parser for npm based license information. 7 | * 8 | * @constructor 9 | * @api public 10 | */ 11 | module.exports = require('./parser').extend({ 12 | /** 13 | * The name of this parser. 14 | * 15 | * @type {String} 16 | * @private 17 | */ 18 | name: 'npm', 19 | 20 | /** 21 | * Parse the npm license information from the package. 22 | * 23 | * @param {Object} data The package.json or npm package contents. 24 | * @param {Object} options Optional options. 25 | * @param {Function} next Continuation. 26 | * @api public 27 | */ 28 | parse: function parse(data, options, next) { 29 | data = this.get(data); 30 | 31 | if ('function' === typeof options) { 32 | next = options; 33 | options = {}; 34 | } 35 | 36 | // 37 | // We cannot detect a license so we call the callback without any arguments 38 | // which symbolises a failed attempt. 39 | // 40 | if (!data) return next(); 41 | 42 | debug('found %s in the package contents', data); 43 | 44 | // @TODO handle the edge case where people give us an URL instead of an 45 | // actual license. 46 | next(undefined, this.normalize(data)); 47 | }, 48 | 49 | /** 50 | * Return the possible location of license information. 51 | * 52 | * @param {Object} data The object that should contain the license. 53 | * @returns {String} 54 | * @api private 55 | */ 56 | license: function licenses(data) { 57 | if ('string' === typeof data && data) return data; 58 | if ('type' in data && data.type) return data.type; 59 | 60 | // 61 | // Common typo's 62 | // 63 | if ('type:' in data && data['type:']) return data['type:']; 64 | 65 | return; 66 | }, 67 | 68 | /** 69 | * Is npm based license detection an option for this package. 70 | * 71 | * @param {Object} data The package.json or npm package contents. 72 | * @returns {Boolean} 73 | * @api public 74 | */ 75 | supported: function supported(data) { 76 | return !!this.get(data); 77 | }, 78 | 79 | /** 80 | * Retrieve the possible locations of the license information. 81 | * 82 | * @param {Object} data The package.json or npm package contents. 83 | * @returns {Array} 84 | * @api private 85 | */ 86 | get: function get(data) { 87 | var parser = this 88 | , matches = []; 89 | 90 | // 91 | // Another npm oddity, it allows licenses to be specified in to different 92 | // properties. Because why the fuck not? 93 | // 94 | ['license', 'licenses'].forEach(function each(key) { 95 | if ('string' === typeof data[key]) { 96 | return matches.push(data[key]); 97 | } 98 | 99 | if (Array.isArray(data[key])) { 100 | return Array.prototype.push.apply( 101 | matches, 102 | data[key].map(function map(item) { 103 | return parser.license(item); 104 | }).filter(Boolean) 105 | ); 106 | } 107 | 108 | if ('object' === typeof data[key] && parser.license(data[key])) { 109 | return Array.prototype.push.apply( 110 | matches, 111 | [parser.license(data[key])] 112 | ); 113 | } 114 | }); 115 | 116 | if (matches.length) return matches; 117 | } 118 | }); 119 | -------------------------------------------------------------------------------- /test/all.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | 3 | var argh = require('argh').argv 4 | , all = require('./all.json') 5 | , licenses = require('../') 6 | , async = require('async'); 7 | 8 | // 9 | // Check if we need to continue where we last started. The package name will be 10 | // in the 11 | // 12 | if (argh.continue) { 13 | var index = all.indexOf(argh.continue); 14 | 15 | if (index === -1) throw new Error('Sorry, cant slice and dice data: '+ argh.continue +' is not a valid package name'); 16 | 17 | // 18 | // Slice and dice the data. 19 | // 20 | all = all.slice(index); 21 | } 22 | 23 | // 24 | // Allows us to run against a maximum amount of package names. 25 | // 26 | if (argh.end) all = all.slice(0, argh.end); 27 | 28 | // 29 | // Some stats about the parsing process. 30 | // 31 | var stats = { 32 | packages: all.length, 33 | detected: 0, 34 | failed: 0 35 | }; 36 | 37 | // 38 | // Stores the parsed packages and the licenses we've detected. 39 | // 40 | var parsed = {}; 41 | 42 | // 43 | // Stores the parsed packages that we were unable to detect. 44 | // 45 | var failed = []; 46 | 47 | console.log(''); 48 | console.log('Detecting the license of %s packages', all.length); 49 | if (argh.continue) console.log('Starting with package: %s', argh.continue); 50 | console.log(''); 51 | 52 | // 53 | // Run, test all the packages. 54 | // 55 | async.eachSeries(all, function parse(name, next) { 56 | if (argh.debug) console.log('Starting to parse: \x1B[36m%s\x1B[39m', name); 57 | 58 | licenses(name, { 59 | order: argh.order ? argh.order.split(',') : ['npm', 'content', 'github'], 60 | registry: argh.registry 61 | }, function detected(err, licenses, using) { 62 | if (err) return next(err); 63 | 64 | if (!licenses || !licenses.length) { 65 | console.log('Unable to detect license for: ', name); 66 | failed.push(name); 67 | stats.failed++; 68 | } else { 69 | console.log('Package \x1B[36m%s\x1B[39m is licensed under \x1B[32m%s\x1B[39m using %s', name, licenses, using); 70 | parsed[name] = { licenses: licenses, using: using }; 71 | stats.detected++; 72 | } 73 | 74 | next(); 75 | }); 76 | }, function done(err) { 77 | if (err) throw err; 78 | 79 | console.log(''); 80 | console.log('Parsed all packages, storing results in results.json'); 81 | console.log(''); 82 | require('fs').writeFileSync(__dirname +'/results.json', JSON.stringify( 83 | parsed, 84 | null, 85 | 2 86 | )); 87 | require('fs').writeFileSync(__dirname +'/failed.json', JSON.stringify( 88 | failed, 89 | null, 90 | 2 91 | )); 92 | 93 | console.log(''); 94 | console.log('stats:', stats); 95 | console.log(''); 96 | }); 97 | -------------------------------------------------------------------------------- /test/opensource.test.js: -------------------------------------------------------------------------------- 1 | describe('opensource', function () { 2 | 'use strict'; 3 | 4 | var opensource = require('../opensource') 5 | , Parser = require('../parser') 6 | , assume = require('assume') 7 | , parser = new Parser(); 8 | 9 | it('exposes the full license info as array', function () { 10 | assume(opensource.full).to.be.a('array'); 11 | }); 12 | 13 | it('exposes the full license info as object', function () { 14 | assume(opensource.licenses).to.be.a('object'); 15 | assume(Object.keys(opensource.licenses).length).to.equal(opensource.full.length); 16 | }); 17 | 18 | describe('license integrity', function () { 19 | it('has the required id, name, full fields', function () { 20 | opensource.full.forEach(function (license) { 21 | ['name', 'id', 'full'].forEach(function (field) { 22 | assume(license).to.have.property(field); 23 | assume(license[field].trim()).to.equal(license[field]); 24 | }); 25 | }); 26 | }); 27 | 28 | it('has a JavaScript friendly id', function () { 29 | opensource.full.forEach(function (license) { 30 | var res = (new Function('var license = {}; return license.'+ license.id +' || "foo"'))(); 31 | 32 | assume(res).to.equal('foo'); 33 | }); 34 | }); 35 | 36 | describe('url', function () { 37 | var request = require('request'); 38 | 39 | opensource.full.filter(function filter(license) { 40 | return !!license.url; 41 | }).forEach(function each(license) { 42 | it('has a valid license url for: '+ license.full, function (next) { 43 | this.timeout(10000); 44 | 45 | request({ 46 | uri: license.url, 47 | followRedirect: false, 48 | headers: { 49 | 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 50 | 'Accept-Encoding': 'gzip,deflate,sdch', 51 | 'Accept-Language': 'en-US,en;q=0.8', 52 | 'Cache-Control': 'no-cache', 53 | 'Connection': 'keep-alive', 54 | 'DNT': '1', 55 | 'Pragma': 'no-cache', 56 | 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36' 57 | } 58 | }, function done(err, res, body) { 59 | if (err) return next(err); 60 | if (res.statusCode !== 200) return next(new Error('Invalid statusCode: '+ res.statusCode)); 61 | 62 | next(); 63 | }); 64 | }); 65 | }); 66 | }); 67 | 68 | describe('tldr', function () { 69 | var request = require('request'); 70 | 71 | opensource.full.filter(function filter(license) { 72 | return !!license.tldr; 73 | }).forEach(function each(license) { 74 | it('has a valid license tldr for: '+ license.full, function (next) { 75 | this.timeout(10000); 76 | 77 | request({ 78 | uri: license.tldr, 79 | followRedirect: false, 80 | headers: { 81 | 'Accept': 'text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,*/*;q=0.8', 82 | 'Accept-Encoding': 'gzip,deflate,sdch', 83 | 'Accept-Language': 'en-US,en;q=0.8', 84 | 'Cache-Control': 'no-cache', 85 | 'Connection': 'keep-alive', 86 | 'DNT': '1', 87 | 'Pragma': 'no-cache', 88 | 'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10_9_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.152 Safari/537.36' 89 | } 90 | }, function done(err, res, body) { 91 | if (err) return next(err); 92 | if (res.statusCode !== 200) return next(new Error('Invalid statusCode: '+ res.statusCode)); 93 | 94 | next(); 95 | }); 96 | }); 97 | }); 98 | }); 99 | 100 | describe('file', function () { 101 | var path = require('path') 102 | , fs = require('fs'); 103 | 104 | opensource.full.filter(function file(license) { 105 | return !!license.file; 106 | }).forEach(function each(license) { 107 | var content = fs.readFileSync(path.join(__dirname, '../licenses/'+ license.file), 'utf-8'); 108 | 109 | it(license.name +' can be found through its license file content', function () { 110 | assume(parser.scan(content)[0]).to.equal(license.name); 111 | }); 112 | }); 113 | }); 114 | }); 115 | }); 116 | -------------------------------------------------------------------------------- /test/parser.test.js: -------------------------------------------------------------------------------- 1 | describe('Parser', function () { 2 | 'use strict'; 3 | 4 | var assume = require('assume') 5 | , licenses = require('../') 6 | , Parser = licenses.Parser 7 | , parser = new Parser(); 8 | 9 | var Registry = require('npm-registry') 10 | , npmjs = new Registry({ registry: Registry.mirrors.npmjs }); 11 | 12 | it('exposes the `async` module', function () { 13 | assume(parser.async).to.equal(require('async')); 14 | }); 15 | 16 | it('can be constructed without new', function () { 17 | assume(Parser()).is.instanceOf(Parser); 18 | }); 19 | 20 | describe('#test', function () { 21 | it('provides basic checks of license fragments', function () { 22 | var MIT = parser.test(['The module is licensed under MIT'].join('\n'))[0] 23 | , GLP = parser.test(['The module is licensed under GPLv3'].join('\n'))[0] 24 | , LGPL = parser.test(['The module is licensed under LGPL'].join('\n'))[0] 25 | , BSD = parser.test(['The module is licensed under BSD'].join('\n'))[0] 26 | , APA = parser.test(['The module is licensed under Apache License'].join('\n'))[0] 27 | , MPL = parser.test(['The module is licensed under MPL'].join('\n'))[0] 28 | , WTFPL = parser.test(['The module is licensed under WTFPL'].join('\n'))[0] 29 | , WTFPLL = parser.test(['The module is licensed under DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE'].join('\n'))[0]; 30 | 31 | assume(MIT).equals('MIT'); 32 | assume(GLP).equals('GPL'); 33 | assume(LGPL).equals('LGPL'); 34 | assume(BSD).equals('BSD'); 35 | assume(APA).equals('Apache'); 36 | assume(MPL).equals('MPL'); 37 | assume(WTFPL).equals('WTFPL'); 38 | assume(WTFPLL).equals('WTFPL'); 39 | }); 40 | }); 41 | 42 | describe('#dual', function () { 43 | it('removes duplicates', function () { 44 | assume(parser.dual(['MIT', 'MIT']).join('')).to.equal('MIT'); 45 | assume(parser.dual(['MIT,MIT']).join('')).to.equal('MIT'); 46 | }); 47 | 48 | it('understands MIT and GPL', function () { 49 | assume(parser.dual(['MIT and GPL']).join(':')).to.equal('MIT:GPL'); 50 | }); 51 | 52 | it('understands MIT or GPL', function () { 53 | assume(parser.dual(['MIT or GPL']).join(':')).to.equal('MIT:GPL'); 54 | }); 55 | 56 | it('understands MIT/GPL', function () { 57 | assume(parser.dual(['MIT / GPL']).join(':')).to.equal('MIT:GPL'); 58 | assume(parser.dual(['MIT/GPL']).join(':')).to.equal('MIT:GPL'); 59 | }); 60 | 61 | it('understands MIT, GPL', function () { 62 | assume(parser.dual(['MIT , GPL']).join(':')).to.equal('MIT:GPL'); 63 | assume(parser.dual(['MIT,GPL']).join(':')).to.equal('MIT:GPL'); 64 | }); 65 | 66 | it('requires spaces the and or keywords', function () { 67 | assume(parser.dual(['MITandGPL']).join(':')).to.equal('MITandGPL'); 68 | assume(parser.dual(['MITorGPL']).join(':')).to.equal('MITorGPL'); 69 | }); 70 | 71 | it('does not dual parse as dual license if it can be normalized', function () { 72 | assume(parser.dual(['Apache, Version 2.0']).join(':')).to.equal('Apache, Version 2.0'); 73 | }); 74 | }); 75 | 76 | describe('#url', function () { 77 | it('detects urls in strings', function () { 78 | assume(parser.url('http://github.com', 'github.com')).to.equal('http://github.com'); 79 | assume(parser.url('http://google.com', 'github.com')).to.equal(undefined); 80 | }); 81 | 82 | it('looks for url properties', function () { 83 | assume(parser.url({ 84 | url: 'http://github.com' 85 | }, 'github.com')).to.equal('http://github.com'); 86 | assume(parser.url({ foo: 'github.com' }, 'github.com')).to.equal(undefined); 87 | }); 88 | 89 | it('looks for web properties', function () { 90 | assume(parser.url({ 91 | web: 'http://github.com' 92 | }, 'github.com')).to.equal('http://github.com'); 93 | assume(parser.url({ foo: 'github.com' }, 'github.com')).to.equal(undefined); 94 | }); 95 | 96 | it('ignores other types', function () { 97 | parser.url([], 'github'); 98 | parser.url(function () {}, 'github'); 99 | parser.url(1, 'github'); 100 | }); 101 | }); 102 | 103 | describe('#tokenizer', function () { 104 | it('it transforms it all to lowercase', function () { 105 | assume(parser.tokenizer('foObAr')).to.equal('foobar'); 106 | assume(parser.tokenizer('h3lL0W0rlD')).to.equal('h3ll0w0rld'); 107 | }); 108 | 109 | it('removes all non chars', function () { 110 | assume(parser.tokenizer('hello world')).to.equal('helloworld'); 111 | assume(parser.tokenizer('hello world.')).to.equal('helloworld'); 112 | assume(parser.tokenizer('hello,world/')).to.equal('helloworld'); 113 | assume(parser.tokenizer('hello,world')).to.equal('helloworld'); 114 | }); 115 | 116 | it('concats it all in to one line', function () { 117 | assume(parser.tokenizer('hello\nworld')).to.equal('helloworld'); 118 | assume(parser.tokenizer('hello\r\nworld')).to.equal('helloworld'); 119 | assume(parser.tokenizer('hello\rworld')).to.equal('helloworld'); 120 | }); 121 | 122 | it('combines it in to arrays of concatinated words', function () { 123 | assume(parser.tokenizer('hello WORLD', 2)).to.deep.equal([ 124 | 'helloworld' 125 | ]); 126 | 127 | assume(parser.tokenizer('hello WORLD', 1)).to.deep.equal([ 128 | 'hello', 129 | 'world' 130 | ]); 131 | }); 132 | }); 133 | 134 | describe('actual detection', function () { 135 | // 136 | // Bump the timeout limit for these tests as we need to resolve a lot of 137 | // information and API endpoints in order to get accurate information. 138 | // 139 | this.timeout(20000); 140 | 141 | it('detects multiple licenses for metawidget', function (next) { 142 | licenses('metawidget', { npmjs: npmjs }, function resolved(err, licenses) { 143 | if (err) return next(err); 144 | 145 | assume(licenses.length).to.equal(3); 146 | 147 | assume(licenses).to.include('LGPL'); 148 | assume(licenses).to.include('EPL'); 149 | assume(licenses).to.include('Commercial'); 150 | 151 | next(); 152 | }); 153 | }); 154 | 155 | it('detects MIT for eventemitter3', function (next) { 156 | licenses('eventemitter3', { npmjs: npmjs }, function resolved(err, licenses) { 157 | if (err) return next(err); 158 | 159 | assume(licenses.length).to.equal(1); 160 | assume(licenses).to.include('MIT'); 161 | 162 | next(); 163 | }); 164 | }); 165 | }); 166 | }); 167 | --------------------------------------------------------------------------------