licensee 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/licensee +1 -1
- data/lib/licensee/license_file.rb +1 -1
- data/lib/licensee/licenses.rb +2 -1
- data/lib/licensee/version.rb +1 -1
- data/test/test_licensee.rb +1 -1
- data/test/test_licensee_license_file.rb +4 -4
- data/test/test_licensee_licenses.rb +2 -1
- data/test/test_licensee_project.rb +1 -1
- metadata +1 -13
- data/vendor/choosealicense.com/_licenses/AGPL-3.0.txt +0 -694
- data/vendor/choosealicense.com/_licenses/Apache-2.0.txt +0 -237
- data/vendor/choosealicense.com/_licenses/Artistic-2.0.txt +0 -228
- data/vendor/choosealicense.com/_licenses/BSD-2-Clause.txt +0 -53
- data/vendor/choosealicense.com/_licenses/BSD-3-Clause.txt +0 -55
- data/vendor/choosealicense.com/_licenses/EPL-1.0.txt +0 -240
- data/vendor/choosealicense.com/_licenses/GPL-2.0.txt +0 -375
- data/vendor/choosealicense.com/_licenses/GPL-3.0.txt +0 -707
- data/vendor/choosealicense.com/_licenses/LGPL-2.1.txt +0 -537
- data/vendor/choosealicense.com/_licenses/LGPL-3.0.txt +0 -198
- data/vendor/choosealicense.com/_licenses/MIT.txt +0 -49
- data/vendor/choosealicense.com/_licenses/MPL-2.0.txt +0 -391
@@ -1,53 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: license
|
3
|
-
title: Simplified BSD
|
4
|
-
category: BSD
|
5
|
-
tab-slug: bsd
|
6
|
-
hide-from-license-list: true
|
7
|
-
redirect_from: /licenses/bsd/
|
8
|
-
permalink: /licenses/bsd-2-clause/
|
9
|
-
|
10
|
-
description: A permissive license that comes in two variants, the <a href="/licenses/bsd">BSD 2-Clause</a> and <a href="/licenses/bsd-3-clause">BSD 3-Clause</a>. Both have very minute differences to the MIT license.
|
11
|
-
|
12
|
-
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders.
|
13
|
-
|
14
|
-
source: http://opensource.org/licenses/BSD-2-Clause
|
15
|
-
|
16
|
-
required:
|
17
|
-
- include-copyright
|
18
|
-
|
19
|
-
permitted:
|
20
|
-
- commercial-use
|
21
|
-
- modifications
|
22
|
-
- distribution
|
23
|
-
- sublicense
|
24
|
-
- private-use
|
25
|
-
|
26
|
-
forbidden:
|
27
|
-
- no-liability
|
28
|
-
|
29
|
-
---
|
30
|
-
|
31
|
-
Copyright (c) [year], [fullname]
|
32
|
-
All rights reserved.
|
33
|
-
|
34
|
-
Redistribution and use in source and binary forms, with or without
|
35
|
-
modification, are permitted provided that the following conditions are met:
|
36
|
-
|
37
|
-
* Redistributions of source code must retain the above copyright notice, this
|
38
|
-
list of conditions and the following disclaimer.
|
39
|
-
|
40
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
41
|
-
this list of conditions and the following disclaimer in the documentation
|
42
|
-
and/or other materials provided with the distribution.
|
43
|
-
|
44
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
45
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
46
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
47
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
48
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
49
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
50
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
51
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
52
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
53
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,55 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: license
|
3
|
-
title: New BSD
|
4
|
-
category: BSD
|
5
|
-
tab-slug: bsd-3
|
6
|
-
hide-from-license-list: true
|
7
|
-
permalink: /licenses/bsd-3-clause/
|
8
|
-
|
9
|
-
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file. Replace [year] with the current year and [fullname] with the name (or names) of the copyright holders. Replace {organization} with the organization, if any, that sponsors this work.
|
10
|
-
|
11
|
-
source: http://opensource.org/licenses/BSD-3-Clause
|
12
|
-
|
13
|
-
required:
|
14
|
-
- include-copyright
|
15
|
-
|
16
|
-
permitted:
|
17
|
-
- commercial-use
|
18
|
-
- modifications
|
19
|
-
- distribution
|
20
|
-
- sublicense
|
21
|
-
- private-use
|
22
|
-
|
23
|
-
forbidden:
|
24
|
-
- no-liability
|
25
|
-
- trademark-use
|
26
|
-
|
27
|
-
---
|
28
|
-
|
29
|
-
Copyright (c) [year], [fullname]
|
30
|
-
All rights reserved.
|
31
|
-
|
32
|
-
Redistribution and use in source and binary forms, with or without
|
33
|
-
modification, are permitted provided that the following conditions are met:
|
34
|
-
|
35
|
-
* Redistributions of source code must retain the above copyright notice, this
|
36
|
-
list of conditions and the following disclaimer.
|
37
|
-
|
38
|
-
* Redistributions in binary form must reproduce the above copyright notice,
|
39
|
-
this list of conditions and the following disclaimer in the documentation
|
40
|
-
and/or other materials provided with the distribution.
|
41
|
-
|
42
|
-
* Neither the name of [project] nor the names of its
|
43
|
-
contributors may be used to endorse or promote products derived from
|
44
|
-
this software without specific prior written permission.
|
45
|
-
|
46
|
-
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
47
|
-
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
48
|
-
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
49
|
-
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE
|
50
|
-
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
|
51
|
-
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR
|
52
|
-
SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER
|
53
|
-
CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
|
54
|
-
OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
55
|
-
OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
@@ -1,240 +0,0 @@
|
|
1
|
-
---
|
2
|
-
layout: license
|
3
|
-
title: Eclipse Public License v1.0
|
4
|
-
category: Eclipse
|
5
|
-
redirect_from: /licenses/eclipse/
|
6
|
-
permalink: /licenses/epl-1.0/
|
7
|
-
|
8
|
-
description: This commercially-friendly copyleft license provides the ability to commercially license binaries; a modern royalty-free patent license grant; and the ability for linked works to use other licenses, including commercial ones.
|
9
|
-
|
10
|
-
using:
|
11
|
-
The Eclipse Foundation: "http://www.eclipse.org"
|
12
|
-
OpenDaylight: "http://www.opendaylight.org/"
|
13
|
-
Clojure: "http://clojure.org/"
|
14
|
-
JUnit: "http://junit.org/"
|
15
|
-
Ruby: "https://github.com/jruby/jruby"
|
16
|
-
Mondrian: "http://en.wikipedia.org/wiki/Mondrian_OLAP_server"
|
17
|
-
|
18
|
-
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
19
|
-
|
20
|
-
source: http://www.eclipse.org/legal/epl-v10.html
|
21
|
-
|
22
|
-
required:
|
23
|
-
- disclose-source
|
24
|
-
- include-copyright
|
25
|
-
|
26
|
-
permitted:
|
27
|
-
- commercial-use
|
28
|
-
- distribution
|
29
|
-
- modifications
|
30
|
-
- sublicense
|
31
|
-
- patent-grant
|
32
|
-
- private-use
|
33
|
-
|
34
|
-
forbidden:
|
35
|
-
- no-liability
|
36
|
-
|
37
|
-
---
|
38
|
-
Eclipse Public License - v 1.0
|
39
|
-
|
40
|
-
THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS ECLIPSE PUBLIC
|
41
|
-
LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM
|
42
|
-
CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
|
43
|
-
|
44
|
-
1. DEFINITIONS
|
45
|
-
|
46
|
-
"Contribution" means:
|
47
|
-
|
48
|
-
a) in the case of the initial Contributor, the initial code and documentation
|
49
|
-
distributed under this Agreement, and
|
50
|
-
b) in the case of each subsequent Contributor:
|
51
|
-
i) changes to the Program, and
|
52
|
-
ii) additions to the Program;
|
53
|
-
|
54
|
-
where such changes and/or additions to the Program originate from and are
|
55
|
-
distributed by that particular Contributor. A Contribution 'originates'
|
56
|
-
from a Contributor if it was added to the Program by such Contributor
|
57
|
-
itself or anyone acting on such Contributor's behalf. Contributions do not
|
58
|
-
include additions to the Program which: (i) are separate modules of
|
59
|
-
software distributed in conjunction with the Program under their own
|
60
|
-
license agreement, and (ii) are not derivative works of the Program.
|
61
|
-
|
62
|
-
"Contributor" means any person or entity that distributes the Program.
|
63
|
-
|
64
|
-
"Licensed Patents" mean patent claims licensable by a Contributor which are
|
65
|
-
necessarily infringed by the use or sale of its Contribution alone or when
|
66
|
-
combined with the Program.
|
67
|
-
|
68
|
-
"Program" means the Contributions distributed in accordance with this
|
69
|
-
Agreement.
|
70
|
-
|
71
|
-
"Recipient" means anyone who receives the Program under this Agreement,
|
72
|
-
including all Contributors.
|
73
|
-
|
74
|
-
2. GRANT OF RIGHTS
|
75
|
-
a) Subject to the terms of this Agreement, each Contributor hereby grants
|
76
|
-
Recipient a non-exclusive, worldwide, royalty-free copyright license to
|
77
|
-
reproduce, prepare derivative works of, publicly display, publicly
|
78
|
-
perform, distribute and sublicense the Contribution of such Contributor,
|
79
|
-
if any, and such derivative works, in source code and object code form.
|
80
|
-
b) Subject to the terms of this Agreement, each Contributor hereby grants
|
81
|
-
Recipient a non-exclusive, worldwide, royalty-free patent license under
|
82
|
-
Licensed Patents to make, use, sell, offer to sell, import and otherwise
|
83
|
-
transfer the Contribution of such Contributor, if any, in source code and
|
84
|
-
object code form. This patent license shall apply to the combination of
|
85
|
-
the Contribution and the Program if, at the time the Contribution is
|
86
|
-
added by the Contributor, such addition of the Contribution causes such
|
87
|
-
combination to be covered by the Licensed Patents. The patent license
|
88
|
-
shall not apply to any other combinations which include the Contribution.
|
89
|
-
No hardware per se is licensed hereunder.
|
90
|
-
c) Recipient understands that although each Contributor grants the licenses
|
91
|
-
to its Contributions set forth herein, no assurances are provided by any
|
92
|
-
Contributor that the Program does not infringe the patent or other
|
93
|
-
intellectual property rights of any other entity. Each Contributor
|
94
|
-
disclaims any liability to Recipient for claims brought by any other
|
95
|
-
entity based on infringement of intellectual property rights or
|
96
|
-
otherwise. As a condition to exercising the rights and licenses granted
|
97
|
-
hereunder, each Recipient hereby assumes sole responsibility to secure
|
98
|
-
any other intellectual property rights needed, if any. For example, if a
|
99
|
-
third party patent license is required to allow Recipient to distribute
|
100
|
-
the Program, it is Recipient's responsibility to acquire that license
|
101
|
-
before distributing the Program.
|
102
|
-
d) Each Contributor represents that to its knowledge it has sufficient
|
103
|
-
copyright rights in its Contribution, if any, to grant the copyright
|
104
|
-
license set forth in this Agreement.
|
105
|
-
|
106
|
-
3. REQUIREMENTS
|
107
|
-
|
108
|
-
A Contributor may choose to distribute the Program in object code form under
|
109
|
-
its own license agreement, provided that:
|
110
|
-
|
111
|
-
a) it complies with the terms and conditions of this Agreement; and
|
112
|
-
b) its license agreement:
|
113
|
-
i) effectively disclaims on behalf of all Contributors all warranties
|
114
|
-
and conditions, express and implied, including warranties or
|
115
|
-
conditions of title and non-infringement, and implied warranties or
|
116
|
-
conditions of merchantability and fitness for a particular purpose;
|
117
|
-
ii) effectively excludes on behalf of all Contributors all liability for
|
118
|
-
damages, including direct, indirect, special, incidental and
|
119
|
-
consequential damages, such as lost profits;
|
120
|
-
iii) states that any provisions which differ from this Agreement are
|
121
|
-
offered by that Contributor alone and not by any other party; and
|
122
|
-
iv) states that source code for the Program is available from such
|
123
|
-
Contributor, and informs licensees how to obtain it in a reasonable
|
124
|
-
manner on or through a medium customarily used for software exchange.
|
125
|
-
|
126
|
-
When the Program is made available in source code form:
|
127
|
-
|
128
|
-
a) it must be made available under this Agreement; and
|
129
|
-
b) a copy of this Agreement must be included with each copy of the Program.
|
130
|
-
Contributors may not remove or alter any copyright notices contained
|
131
|
-
within the Program.
|
132
|
-
|
133
|
-
Each Contributor must identify itself as the originator of its Contribution,
|
134
|
-
if
|
135
|
-
any, in a manner that reasonably allows subsequent Recipients to identify the
|
136
|
-
originator of the Contribution.
|
137
|
-
|
138
|
-
4. COMMERCIAL DISTRIBUTION
|
139
|
-
|
140
|
-
Commercial distributors of software may accept certain responsibilities with
|
141
|
-
respect to end users, business partners and the like. While this license is
|
142
|
-
intended to facilitate the commercial use of the Program, the Contributor who
|
143
|
-
includes the Program in a commercial product offering should do so in a manner
|
144
|
-
which does not create potential liability for other Contributors. Therefore,
|
145
|
-
if a Contributor includes the Program in a commercial product offering, such
|
146
|
-
Contributor ("Commercial Contributor") hereby agrees to defend and indemnify
|
147
|
-
every other Contributor ("Indemnified Contributor") against any losses,
|
148
|
-
damages and costs (collectively "Losses") arising from claims, lawsuits and
|
149
|
-
other legal actions brought by a third party against the Indemnified
|
150
|
-
Contributor to the extent caused by the acts or omissions of such Commercial
|
151
|
-
Contributor in connection with its distribution of the Program in a commercial
|
152
|
-
product offering. The obligations in this section do not apply to any claims
|
153
|
-
or Losses relating to any actual or alleged intellectual property
|
154
|
-
infringement. In order to qualify, an Indemnified Contributor must:
|
155
|
-
a) promptly notify the Commercial Contributor in writing of such claim, and
|
156
|
-
b) allow the Commercial Contributor to control, and cooperate with the
|
157
|
-
Commercial Contributor in, the defense and any related settlement
|
158
|
-
negotiations. The Indemnified Contributor may participate in any such claim at
|
159
|
-
its own expense.
|
160
|
-
|
161
|
-
For example, a Contributor might include the Program in a commercial product
|
162
|
-
offering, Product X. That Contributor is then a Commercial Contributor. If
|
163
|
-
that Commercial Contributor then makes performance claims, or offers
|
164
|
-
warranties related to Product X, those performance claims and warranties are
|
165
|
-
such Commercial Contributor's responsibility alone. Under this section, the
|
166
|
-
Commercial Contributor would have to defend claims against the other
|
167
|
-
Contributors related to those performance claims and warranties, and if a
|
168
|
-
court requires any other Contributor to pay any damages as a result, the
|
169
|
-
Commercial Contributor must pay those damages.
|
170
|
-
|
171
|
-
5. NO WARRANTY
|
172
|
-
|
173
|
-
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN
|
174
|
-
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR
|
175
|
-
IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE,
|
176
|
-
NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each
|
177
|
-
Recipient is solely responsible for determining the appropriateness of using
|
178
|
-
and distributing the Program and assumes all risks associated with its
|
179
|
-
exercise of rights under this Agreement , including but not limited to the
|
180
|
-
risks and costs of program errors, compliance with applicable laws, damage to
|
181
|
-
or loss of data, programs or equipment, and unavailability or interruption of
|
182
|
-
operations.
|
183
|
-
|
184
|
-
6. DISCLAIMER OF LIABILITY
|
185
|
-
|
186
|
-
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY
|
187
|
-
CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
188
|
-
SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION
|
189
|
-
LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
190
|
-
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
191
|
-
ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE
|
192
|
-
EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY
|
193
|
-
OF SUCH DAMAGES.
|
194
|
-
|
195
|
-
7. GENERAL
|
196
|
-
|
197
|
-
If any provision of this Agreement is invalid or unenforceable under
|
198
|
-
applicable law, it shall not affect the validity or enforceability of the
|
199
|
-
remainder of the terms of this Agreement, and without further action by the
|
200
|
-
parties hereto, such provision shall be reformed to the minimum extent
|
201
|
-
necessary to make such provision valid and enforceable.
|
202
|
-
|
203
|
-
If Recipient institutes patent litigation against any entity (including a
|
204
|
-
cross-claim or counterclaim in a lawsuit) alleging that the Program itself
|
205
|
-
(excluding combinations of the Program with other software or hardware)
|
206
|
-
infringes such Recipient's patent(s), then such Recipient's rights granted
|
207
|
-
under Section 2(b) shall terminate as of the date such litigation is filed.
|
208
|
-
|
209
|
-
All Recipient's rights under this Agreement shall terminate if it fails to
|
210
|
-
comply with any of the material terms or conditions of this Agreement and does
|
211
|
-
not cure such failure in a reasonable period of time after becoming aware of
|
212
|
-
such noncompliance. If all Recipient's rights under this Agreement terminate,
|
213
|
-
Recipient agrees to cease use and distribution of the Program as soon as
|
214
|
-
reasonably practicable. However, Recipient's obligations under this Agreement
|
215
|
-
and any licenses granted by Recipient relating to the Program shall continue
|
216
|
-
and survive.
|
217
|
-
|
218
|
-
Everyone is permitted to copy and distribute copies of this Agreement, but in
|
219
|
-
order to avoid inconsistency the Agreement is copyrighted and may only be
|
220
|
-
modified in the following manner. The Agreement Steward reserves the right to
|
221
|
-
publish new versions (including revisions) of this Agreement from time to
|
222
|
-
time. No one other than the Agreement Steward has the right to modify this
|
223
|
-
Agreement. The Eclipse Foundation is the initial Agreement Steward. The
|
224
|
-
Eclipse Foundation may assign the responsibility to serve as the Agreement
|
225
|
-
Steward to a suitable separate entity. Each new version of the Agreement will
|
226
|
-
be given a distinguishing version number. The Program (including
|
227
|
-
Contributions) may always be distributed subject to the version of the
|
228
|
-
Agreement under which it was received. In addition, after a new version of the
|
229
|
-
Agreement is published, Contributor may elect to distribute the Program
|
230
|
-
(including its Contributions) under the new version. Except as expressly
|
231
|
-
stated in Sections 2(a) and 2(b) above, Recipient receives no rights or
|
232
|
-
licenses to the intellectual property of any Contributor under this Agreement,
|
233
|
-
whether expressly, by implication, estoppel or otherwise. All rights in the
|
234
|
-
Program not expressly granted under this Agreement are reserved.
|
235
|
-
|
236
|
-
This Agreement is governed by the laws of the State of New York and the
|
237
|
-
intellectual property laws of the United States of America. No party to this
|
238
|
-
Agreement will bring a legal action under this Agreement more than one year
|
239
|
-
after the cause of action arose. Each party waives its rights to a jury trial in
|
240
|
-
any resulting litigation.
|
@@ -1,375 +0,0 @@
|
|
1
|
-
---
|
2
|
-
title: GNU GPL v2.0
|
3
|
-
category: GPL
|
4
|
-
tab-slug: gpl-v2
|
5
|
-
hide-from-license-list: false
|
6
|
-
layout: license
|
7
|
-
permalink: /licenses/gpl-2.0/
|
8
|
-
redirect_from: /licenses/gpl-v2/
|
9
|
-
source: http://www.gnu.org/licenses/gpl-2.0.txt
|
10
|
-
|
11
|
-
description: GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GPL, each with different requirements.
|
12
|
-
|
13
|
-
featured: true
|
14
|
-
|
15
|
-
how: Create a text file (typically named LICENSE or LICENSE.txt) in the root of your source code and copy the text of the license into the file.
|
16
|
-
|
17
|
-
note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the license.
|
18
|
-
|
19
|
-
required:
|
20
|
-
- include-copyright
|
21
|
-
- document-changes
|
22
|
-
- disclose-source
|
23
|
-
|
24
|
-
permitted:
|
25
|
-
- commercial-use
|
26
|
-
- modifications
|
27
|
-
- distribution
|
28
|
-
- patent-grant
|
29
|
-
- private-use
|
30
|
-
|
31
|
-
forbidden:
|
32
|
-
- no-liability
|
33
|
-
- no-sublicense
|
34
|
-
|
35
|
-
---
|
36
|
-
|
37
|
-
GNU GENERAL PUBLIC LICENSE
|
38
|
-
Version 2, June 1991
|
39
|
-
|
40
|
-
Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
|
41
|
-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
42
|
-
Everyone is permitted to copy and distribute verbatim copies
|
43
|
-
of this license document, but changing it is not allowed.
|
44
|
-
|
45
|
-
Preamble
|
46
|
-
|
47
|
-
The licenses for most software are designed to take away your
|
48
|
-
freedom to share and change it. By contrast, the GNU General Public
|
49
|
-
License is intended to guarantee your freedom to share and change free
|
50
|
-
software--to make sure the software is free for all its users. This
|
51
|
-
General Public License applies to most of the Free Software
|
52
|
-
Foundation's software and to any other program whose authors commit to
|
53
|
-
using it. (Some other Free Software Foundation software is covered by
|
54
|
-
the GNU Lesser General Public License instead.) You can apply it to
|
55
|
-
your programs, too.
|
56
|
-
|
57
|
-
When we speak of free software, we are referring to freedom, not
|
58
|
-
price. Our General Public Licenses are designed to make sure that you
|
59
|
-
have the freedom to distribute copies of free software (and charge for
|
60
|
-
this service if you wish), that you receive source code or can get it
|
61
|
-
if you want it, that you can change the software or use pieces of it
|
62
|
-
in new free programs; and that you know you can do these things.
|
63
|
-
|
64
|
-
To protect your rights, we need to make restrictions that forbid
|
65
|
-
anyone to deny you these rights or to ask you to surrender the rights.
|
66
|
-
These restrictions translate to certain responsibilities for you if you
|
67
|
-
distribute copies of the software, or if you modify it.
|
68
|
-
|
69
|
-
For example, if you distribute copies of such a program, whether
|
70
|
-
gratis or for a fee, you must give the recipients all the rights that
|
71
|
-
you have. You must make sure that they, too, receive or can get the
|
72
|
-
source code. And you must show them these terms so they know their
|
73
|
-
rights.
|
74
|
-
|
75
|
-
We protect your rights with two steps: (1) copyright the software, and
|
76
|
-
(2) offer you this license which gives you legal permission to copy,
|
77
|
-
distribute and/or modify the software.
|
78
|
-
|
79
|
-
Also, for each author's protection and ours, we want to make certain
|
80
|
-
that everyone understands that there is no warranty for this free
|
81
|
-
software. If the software is modified by someone else and passed on, we
|
82
|
-
want its recipients to know that what they have is not the original, so
|
83
|
-
that any problems introduced by others will not reflect on the original
|
84
|
-
authors' reputations.
|
85
|
-
|
86
|
-
Finally, any free program is threatened constantly by software
|
87
|
-
patents. We wish to avoid the danger that redistributors of a free
|
88
|
-
program will individually obtain patent licenses, in effect making the
|
89
|
-
program proprietary. To prevent this, we have made it clear that any
|
90
|
-
patent must be licensed for everyone's free use or not licensed at all.
|
91
|
-
|
92
|
-
The precise terms and conditions for copying, distribution and
|
93
|
-
modification follow.
|
94
|
-
|
95
|
-
GNU GENERAL PUBLIC LICENSE
|
96
|
-
TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
|
97
|
-
|
98
|
-
0. This License applies to any program or other work which contains
|
99
|
-
a notice placed by the copyright holder saying it may be distributed
|
100
|
-
under the terms of this General Public License. The "Program", below,
|
101
|
-
refers to any such program or work, and a "work based on the Program"
|
102
|
-
means either the Program or any derivative work under copyright law:
|
103
|
-
that is to say, a work containing the Program or a portion of it,
|
104
|
-
either verbatim or with modifications and/or translated into another
|
105
|
-
language. (Hereinafter, translation is included without limitation in
|
106
|
-
the term "modification".) Each licensee is addressed as "you".
|
107
|
-
|
108
|
-
Activities other than copying, distribution and modification are not
|
109
|
-
covered by this License; they are outside its scope. The act of
|
110
|
-
running the Program is not restricted, and the output from the Program
|
111
|
-
is covered only if its contents constitute a work based on the
|
112
|
-
Program (independent of having been made by running the Program).
|
113
|
-
Whether that is true depends on what the Program does.
|
114
|
-
|
115
|
-
1. You may copy and distribute verbatim copies of the Program's
|
116
|
-
source code as you receive it, in any medium, provided that you
|
117
|
-
conspicuously and appropriately publish on each copy an appropriate
|
118
|
-
copyright notice and disclaimer of warranty; keep intact all the
|
119
|
-
notices that refer to this License and to the absence of any warranty;
|
120
|
-
and give any other recipients of the Program a copy of this License
|
121
|
-
along with the Program.
|
122
|
-
|
123
|
-
You may charge a fee for the physical act of transferring a copy, and
|
124
|
-
you may at your option offer warranty protection in exchange for a fee.
|
125
|
-
|
126
|
-
2. You may modify your copy or copies of the Program or any portion
|
127
|
-
of it, thus forming a work based on the Program, and copy and
|
128
|
-
distribute such modifications or work under the terms of Section 1
|
129
|
-
above, provided that you also meet all of these conditions:
|
130
|
-
|
131
|
-
a) You must cause the modified files to carry prominent notices
|
132
|
-
stating that you changed the files and the date of any change.
|
133
|
-
|
134
|
-
b) You must cause any work that you distribute or publish, that in
|
135
|
-
whole or in part contains or is derived from the Program or any
|
136
|
-
part thereof, to be licensed as a whole at no charge to all third
|
137
|
-
parties under the terms of this License.
|
138
|
-
|
139
|
-
c) If the modified program normally reads commands interactively
|
140
|
-
when run, you must cause it, when started running for such
|
141
|
-
interactive use in the most ordinary way, to print or display an
|
142
|
-
announcement including an appropriate copyright notice and a
|
143
|
-
notice that there is no warranty (or else, saying that you provide
|
144
|
-
a warranty) and that users may redistribute the program under
|
145
|
-
these conditions, and telling the user how to view a copy of this
|
146
|
-
License. (Exception: if the Program itself is interactive but
|
147
|
-
does not normally print such an announcement, your work based on
|
148
|
-
the Program is not required to print an announcement.)
|
149
|
-
|
150
|
-
These requirements apply to the modified work as a whole. If
|
151
|
-
identifiable sections of that work are not derived from the Program,
|
152
|
-
and can be reasonably considered independent and separate works in
|
153
|
-
themselves, then this License, and its terms, do not apply to those
|
154
|
-
sections when you distribute them as separate works. But when you
|
155
|
-
distribute the same sections as part of a whole which is a work based
|
156
|
-
on the Program, the distribution of the whole must be on the terms of
|
157
|
-
this License, whose permissions for other licensees extend to the
|
158
|
-
entire whole, and thus to each and every part regardless of who wrote it.
|
159
|
-
|
160
|
-
Thus, it is not the intent of this section to claim rights or contest
|
161
|
-
your rights to work written entirely by you; rather, the intent is to
|
162
|
-
exercise the right to control the distribution of derivative or
|
163
|
-
collective works based on the Program.
|
164
|
-
|
165
|
-
In addition, mere aggregation of another work not based on the Program
|
166
|
-
with the Program (or with a work based on the Program) on a volume of
|
167
|
-
a storage or distribution medium does not bring the other work under
|
168
|
-
the scope of this License.
|
169
|
-
|
170
|
-
3. You may copy and distribute the Program (or a work based on it,
|
171
|
-
under Section 2) in object code or executable form under the terms of
|
172
|
-
Sections 1 and 2 above provided that you also do one of the following:
|
173
|
-
|
174
|
-
a) Accompany it with the complete corresponding machine-readable
|
175
|
-
source code, which must be distributed under the terms of Sections
|
176
|
-
1 and 2 above on a medium customarily used for software interchange; or,
|
177
|
-
|
178
|
-
b) Accompany it with a written offer, valid for at least three
|
179
|
-
years, to give any third party, for a charge no more than your
|
180
|
-
cost of physically performing source distribution, a complete
|
181
|
-
machine-readable copy of the corresponding source code, to be
|
182
|
-
distributed under the terms of Sections 1 and 2 above on a medium
|
183
|
-
customarily used for software interchange; or,
|
184
|
-
|
185
|
-
c) Accompany it with the information you received as to the offer
|
186
|
-
to distribute corresponding source code. (This alternative is
|
187
|
-
allowed only for noncommercial distribution and only if you
|
188
|
-
received the program in object code or executable form with such
|
189
|
-
an offer, in accord with Subsection b above.)
|
190
|
-
|
191
|
-
The source code for a work means the preferred form of the work for
|
192
|
-
making modifications to it. For an executable work, complete source
|
193
|
-
code means all the source code for all modules it contains, plus any
|
194
|
-
associated interface definition files, plus the scripts used to
|
195
|
-
control compilation and installation of the executable. However, as a
|
196
|
-
special exception, the source code distributed need not include
|
197
|
-
anything that is normally distributed (in either source or binary
|
198
|
-
form) with the major components (compiler, kernel, and so on) of the
|
199
|
-
operating system on which the executable runs, unless that component
|
200
|
-
itself accompanies the executable.
|
201
|
-
|
202
|
-
If distribution of executable or object code is made by offering
|
203
|
-
access to copy from a designated place, then offering equivalent
|
204
|
-
access to copy the source code from the same place counts as
|
205
|
-
distribution of the source code, even though third parties are not
|
206
|
-
compelled to copy the source along with the object code.
|
207
|
-
|
208
|
-
4. You may not copy, modify, sublicense, or distribute the Program
|
209
|
-
except as expressly provided under this License. Any attempt
|
210
|
-
otherwise to copy, modify, sublicense or distribute the Program is
|
211
|
-
void, and will automatically terminate your rights under this License.
|
212
|
-
However, parties who have received copies, or rights, from you under
|
213
|
-
this License will not have their licenses terminated so long as such
|
214
|
-
parties remain in full compliance.
|
215
|
-
|
216
|
-
5. You are not required to accept this License, since you have not
|
217
|
-
signed it. However, nothing else grants you permission to modify or
|
218
|
-
distribute the Program or its derivative works. These actions are
|
219
|
-
prohibited by law if you do not accept this License. Therefore, by
|
220
|
-
modifying or distributing the Program (or any work based on the
|
221
|
-
Program), you indicate your acceptance of this License to do so, and
|
222
|
-
all its terms and conditions for copying, distributing or modifying
|
223
|
-
the Program or works based on it.
|
224
|
-
|
225
|
-
6. Each time you redistribute the Program (or any work based on the
|
226
|
-
Program), the recipient automatically receives a license from the
|
227
|
-
original licensor to copy, distribute or modify the Program subject to
|
228
|
-
these terms and conditions. You may not impose any further
|
229
|
-
restrictions on the recipients' exercise of the rights granted herein.
|
230
|
-
You are not responsible for enforcing compliance by third parties to
|
231
|
-
this License.
|
232
|
-
|
233
|
-
7. If, as a consequence of a court judgment or allegation of patent
|
234
|
-
infringement or for any other reason (not limited to patent issues),
|
235
|
-
conditions are imposed on you (whether by court order, agreement or
|
236
|
-
otherwise) that contradict the conditions of this License, they do not
|
237
|
-
excuse you from the conditions of this License. If you cannot
|
238
|
-
distribute so as to satisfy simultaneously your obligations under this
|
239
|
-
License and any other pertinent obligations, then as a consequence you
|
240
|
-
may not distribute the Program at all. For example, if a patent
|
241
|
-
license would not permit royalty-free redistribution of the Program by
|
242
|
-
all those who receive copies directly or indirectly through you, then
|
243
|
-
the only way you could satisfy both it and this License would be to
|
244
|
-
refrain entirely from distribution of the Program.
|
245
|
-
|
246
|
-
If any portion of this section is held invalid or unenforceable under
|
247
|
-
any particular circumstance, the balance of the section is intended to
|
248
|
-
apply and the section as a whole is intended to apply in other
|
249
|
-
circumstances.
|
250
|
-
|
251
|
-
It is not the purpose of this section to induce you to infringe any
|
252
|
-
patents or other property right claims or to contest validity of any
|
253
|
-
such claims; this section has the sole purpose of protecting the
|
254
|
-
integrity of the free software distribution system, which is
|
255
|
-
implemented by public license practices. Many people have made
|
256
|
-
generous contributions to the wide range of software distributed
|
257
|
-
through that system in reliance on consistent application of that
|
258
|
-
system; it is up to the author/donor to decide if he or she is willing
|
259
|
-
to distribute software through any other system and a licensee cannot
|
260
|
-
impose that choice.
|
261
|
-
|
262
|
-
This section is intended to make thoroughly clear what is believed to
|
263
|
-
be a consequence of the rest of this License.
|
264
|
-
|
265
|
-
8. If the distribution and/or use of the Program is restricted in
|
266
|
-
certain countries either by patents or by copyrighted interfaces, the
|
267
|
-
original copyright holder who places the Program under this License
|
268
|
-
may add an explicit geographical distribution limitation excluding
|
269
|
-
those countries, so that distribution is permitted only in or among
|
270
|
-
countries not thus excluded. In such case, this License incorporates
|
271
|
-
the limitation as if written in the body of this License.
|
272
|
-
|
273
|
-
9. The Free Software Foundation may publish revised and/or new versions
|
274
|
-
of the General Public License from time to time. Such new versions will
|
275
|
-
be similar in spirit to the present version, but may differ in detail to
|
276
|
-
address new problems or concerns.
|
277
|
-
|
278
|
-
Each version is given a distinguishing version number. If the Program
|
279
|
-
specifies a version number of this License which applies to it and "any
|
280
|
-
later version", you have the option of following the terms and conditions
|
281
|
-
either of that version or of any later version published by the Free
|
282
|
-
Software Foundation. If the Program does not specify a version number of
|
283
|
-
this License, you may choose any version ever published by the Free Software
|
284
|
-
Foundation.
|
285
|
-
|
286
|
-
10. If you wish to incorporate parts of the Program into other free
|
287
|
-
programs whose distribution conditions are different, write to the author
|
288
|
-
to ask for permission. For software which is copyrighted by the Free
|
289
|
-
Software Foundation, write to the Free Software Foundation; we sometimes
|
290
|
-
make exceptions for this. Our decision will be guided by the two goals
|
291
|
-
of preserving the free status of all derivatives of our free software and
|
292
|
-
of promoting the sharing and reuse of software generally.
|
293
|
-
|
294
|
-
NO WARRANTY
|
295
|
-
|
296
|
-
11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
|
297
|
-
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
|
298
|
-
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
|
299
|
-
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
|
300
|
-
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
|
301
|
-
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
|
302
|
-
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
|
303
|
-
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
|
304
|
-
REPAIR OR CORRECTION.
|
305
|
-
|
306
|
-
12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
|
307
|
-
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
|
308
|
-
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
|
309
|
-
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
|
310
|
-
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
|
311
|
-
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
|
312
|
-
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
|
313
|
-
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
|
314
|
-
POSSIBILITY OF SUCH DAMAGES.
|
315
|
-
|
316
|
-
END OF TERMS AND CONDITIONS
|
317
|
-
|
318
|
-
How to Apply These Terms to Your New Programs
|
319
|
-
|
320
|
-
If you develop a new program, and you want it to be of the greatest
|
321
|
-
possible use to the public, the best way to achieve this is to make it
|
322
|
-
free software which everyone can redistribute and change under these terms.
|
323
|
-
|
324
|
-
To do so, attach the following notices to the program. It is safest
|
325
|
-
to attach them to the start of each source file to most effectively
|
326
|
-
convey the exclusion of warranty; and each file should have at least
|
327
|
-
the "copyright" line and a pointer to where the full notice is found.
|
328
|
-
|
329
|
-
{description}
|
330
|
-
Copyright (C) {year} {fullname}
|
331
|
-
|
332
|
-
This program is free software; you can redistribute it and/or modify
|
333
|
-
it under the terms of the GNU General Public License as published by
|
334
|
-
the Free Software Foundation; either version 2 of the License, or
|
335
|
-
(at your option) any later version.
|
336
|
-
|
337
|
-
This program is distributed in the hope that it will be useful,
|
338
|
-
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
339
|
-
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
340
|
-
GNU General Public License for more details.
|
341
|
-
|
342
|
-
You should have received a copy of the GNU General Public License along
|
343
|
-
with this program; if not, write to the Free Software Foundation, Inc.,
|
344
|
-
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
|
345
|
-
|
346
|
-
Also add information on how to contact you by electronic and paper mail.
|
347
|
-
|
348
|
-
If the program is interactive, make it output a short notice like this
|
349
|
-
when it starts in an interactive mode:
|
350
|
-
|
351
|
-
Gnomovision version 69, Copyright (C) year name of author
|
352
|
-
Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
|
353
|
-
This is free software, and you are welcome to redistribute it
|
354
|
-
under certain conditions; type `show c' for details.
|
355
|
-
|
356
|
-
The hypothetical commands `show w' and `show c' should show the appropriate
|
357
|
-
parts of the General Public License. Of course, the commands you use may
|
358
|
-
be called something other than `show w' and `show c'; they could even be
|
359
|
-
mouse-clicks or menu items--whatever suits your program.
|
360
|
-
|
361
|
-
You should also get your employer (if you work as a programmer) or your
|
362
|
-
school, if any, to sign a "copyright disclaimer" for the program, if
|
363
|
-
necessary. Here is a sample; alter the names:
|
364
|
-
|
365
|
-
Yoyodyne, Inc., hereby disclaims all copyright interest in the program
|
366
|
-
`Gnomovision' (which makes passes at compilers) written by James Hacker.
|
367
|
-
|
368
|
-
{signature of Ty Coon}, 1 April 1989
|
369
|
-
Ty Coon, President of Vice
|
370
|
-
|
371
|
-
This General Public License does not permit incorporating your program into
|
372
|
-
proprietary programs. If your program is a subroutine library, you may
|
373
|
-
consider it more useful to permit linking proprietary applications with the
|
374
|
-
library. If this is what you want to do, use the GNU Lesser General
|
375
|
-
Public License instead of this License.
|