licensee 6.1.1 → 7.0.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (64) hide show
  1. checksums.yaml +4 -4
  2. data/Rakefile +2 -2
  3. data/bin/licensee +7 -4
  4. data/lib/licensee.rb +25 -22
  5. data/lib/licensee/content_helper.rb +5 -4
  6. data/lib/licensee/license.rb +56 -45
  7. data/lib/licensee/matchers/copyright_matcher.rb +2 -2
  8. data/lib/licensee/matchers/dice_matcher.rb +7 -4
  9. data/lib/licensee/matchers/exact_matcher.rb +2 -2
  10. data/lib/licensee/matchers/gemspec_matcher.rb +5 -2
  11. data/lib/licensee/matchers/npm_bower_matcher.rb +5 -2
  12. data/lib/licensee/matchers/package_matcher.rb +2 -2
  13. data/lib/licensee/project.rb +21 -96
  14. data/lib/licensee/project_file.rb +6 -7
  15. data/lib/licensee/project_files/license_file.rb +3 -3
  16. data/lib/licensee/project_files/package_info.rb +7 -7
  17. data/lib/licensee/project_files/readme.rb +24 -0
  18. data/lib/licensee/projects/fs_project.rb +32 -0
  19. data/lib/licensee/projects/git_project.rb +55 -0
  20. data/lib/licensee/version.rb +2 -2
  21. data/test/fixtures/bower-with-readme/README.md +1 -0
  22. data/test/fixtures/bower-with-readme/bower.json +3 -0
  23. data/test/functions.rb +23 -12
  24. data/test/helper.rb +5 -0
  25. data/test/test_licensee.rb +9 -8
  26. data/test/test_licensee_bin.rb +11 -5
  27. data/test/test_licensee_copyright_matcher.rb +23 -23
  28. data/test/test_licensee_dice_matcher.rb +5 -5
  29. data/test/test_licensee_exact_matcher.rb +4 -4
  30. data/test/test_licensee_gemspec_matcher.rb +4 -4
  31. data/test/test_licensee_license.rb +82 -70
  32. data/test/test_licensee_license_file.rb +30 -28
  33. data/test/test_licensee_npm_bower_matcher.rb +11 -11
  34. data/test/test_licensee_package_info.rb +8 -7
  35. data/test/test_licensee_project.rb +45 -37
  36. data/test/test_licensee_project_file.rb +9 -9
  37. data/test/test_licensee_readme.rb +47 -0
  38. data/test/test_licensee_vendor.rb +10 -7
  39. data/vendor/choosealicense.com/_licenses/afl-3.0.txt +0 -3
  40. data/vendor/choosealicense.com/_licenses/agpl-3.0.txt +5 -5
  41. data/vendor/choosealicense.com/_licenses/apache-2.0.txt +1 -2
  42. data/vendor/choosealicense.com/_licenses/artistic-2.0.txt +14 -13
  43. data/vendor/choosealicense.com/_licenses/bsd-2-clause.txt +2 -3
  44. data/vendor/choosealicense.com/_licenses/bsd-3-clause-clear.txt +0 -6
  45. data/vendor/choosealicense.com/_licenses/bsd-3-clause.txt +2 -4
  46. data/vendor/choosealicense.com/_licenses/cc0-1.0.txt +2 -1
  47. data/vendor/choosealicense.com/_licenses/epl-1.0.txt +2 -1
  48. data/vendor/choosealicense.com/_licenses/eupl-1.1.txt +345 -0
  49. data/vendor/choosealicense.com/_licenses/gpl-2.0.txt +5 -5
  50. data/vendor/choosealicense.com/_licenses/gpl-3.0.txt +5 -4
  51. data/vendor/choosealicense.com/_licenses/isc.txt +1 -2
  52. data/vendor/choosealicense.com/_licenses/lgpl-2.1.txt +5 -6
  53. data/vendor/choosealicense.com/_licenses/lgpl-3.0.txt +8 -8
  54. data/vendor/choosealicense.com/_licenses/lppl-1.3c.txt +445 -0
  55. data/vendor/choosealicense.com/_licenses/mit.txt +1 -1
  56. data/vendor/choosealicense.com/_licenses/mpl-2.0.txt +2 -1
  57. data/vendor/choosealicense.com/_licenses/ms-pl.txt +0 -1
  58. data/vendor/choosealicense.com/_licenses/ms-rl.txt +1 -1
  59. data/vendor/choosealicense.com/_licenses/ofl-1.1.txt +1 -2
  60. data/vendor/choosealicense.com/_licenses/osl-3.0.txt +1 -3
  61. data/vendor/choosealicense.com/_licenses/unlicense.txt +1 -2
  62. data/vendor/choosealicense.com/_licenses/wtfpl.txt +0 -2
  63. metadata +33 -11
  64. data/vendor/choosealicense.com/_licenses/no-license.txt +0 -25
@@ -1,13 +1,12 @@
1
1
  ---
2
2
  title: GNU General Public License v2.0
3
- nickname: GNU GPL v2.0
4
- tab-slug: gpl-v2
3
+ nickname: GNU GPLv2
5
4
  redirect_from: /licenses/gpl-v2/
6
- family: GPL
5
+ family: GNU GPL
7
6
  variant: true
8
7
  source: http://www.gnu.org/licenses/gpl-2.0.txt
9
8
 
10
- 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.
9
+ description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license. There are multiple variants of the GNU GPL, each with different requirements.
11
10
 
12
11
  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.
13
12
 
@@ -17,6 +16,7 @@ required:
17
16
  - include-copyright
18
17
  - document-changes
19
18
  - disclose-source
19
+ - same-license
20
20
 
21
21
  permitted:
22
22
  - commercial-use
@@ -27,8 +27,8 @@ permitted:
27
27
 
28
28
  forbidden:
29
29
  - no-liability
30
- - no-sublicense
31
30
 
31
+ hidden: false
32
32
  ---
33
33
 
34
34
  GNU GENERAL PUBLIC LICENSE
@@ -1,13 +1,12 @@
1
1
  ---
2
2
  title: GNU General Public License v3.0
3
- nickname: GNU GPL v3.0
4
- tab-slug: gpl-v3
3
+ nickname: GNU GPLv3
5
4
  redirect_from: /licenses/gpl-v3/
6
- family: GPL
5
+ family: GNU GPL
7
6
  featured: true
8
7
  source: http://www.gnu.org/licenses/gpl-3.0.txt
9
8
 
10
- 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.
9
+ description: The GNU GPL is the most widely used free software license and has a strong copyleft requirement. When distributing derived works, the source code of the work must be made available under the same license.
11
10
 
12
11
  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.
13
12
 
@@ -17,6 +16,7 @@ required:
17
16
  - include-copyright
18
17
  - document-changes
19
18
  - disclose-source
19
+ - same-license
20
20
 
21
21
  permitted:
22
22
  - commercial-use
@@ -28,6 +28,7 @@ permitted:
28
28
  forbidden:
29
29
  - no-liability
30
30
 
31
+ hidden: false
31
32
  ---
32
33
 
33
34
  GNU GENERAL PUBLIC LICENSE
@@ -1,6 +1,5 @@
1
1
  ---
2
2
  title: ISC License
3
- tab-slug: isc
4
3
  family: BSD
5
4
  source: http://opensource.org/licenses/isc-license
6
5
 
@@ -16,11 +15,11 @@ permitted:
16
15
  - distribution
17
16
  - modifications
18
17
  - private-use
19
- - sublicense
20
18
 
21
19
  forbidden:
22
20
  - no-liability
23
21
 
22
+ hidden: false
24
23
  ---
25
24
 
26
25
  Copyright (c) [year], [fullname]
@@ -1,13 +1,12 @@
1
1
  ---
2
2
  title: GNU Lesser General Public License v2.1
3
- nickname: GNU LGPL v2.1
4
- tab-slug: lgpl-v2_1
3
+ nickname: GNU LGPLv2.1
5
4
  redirect_from: /licenses/lgpl-v2.1/
6
- family: LGPL
5
+ family: GNU LGPL
7
6
  variant: true
8
7
  source: http://www.gnu.org/licenses/lgpl-2.1.txt
9
8
 
10
- description: Primarily used for software libraries, LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the LGPL.
9
+ description: Primarily used for software libraries, the GNU LGPL requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction. There are two commonly used versions of the GNU LGPL.
11
10
 
12
11
  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.
13
12
 
@@ -15,20 +14,20 @@ note: The Free Software Foundation recommends taking the additional step of addi
15
14
 
16
15
  required:
17
16
  - include-copyright
18
- - library-usage
19
17
  - disclose-source
18
+ - same-license
20
19
 
21
20
  permitted:
22
21
  - commercial-use
23
22
  - modifications
24
23
  - distribution
25
- - sublicense
26
24
  - patent-use
27
25
  - private-use
28
26
 
29
27
  forbidden:
30
28
  - no-liability
31
29
 
30
+ hidden: false
32
31
  ---
33
32
 
34
33
  GNU LESSER GENERAL PUBLIC LICENSE
@@ -1,33 +1,33 @@
1
1
  ---
2
2
  title: GNU Lesser General Public License v3.0
3
- nickname: GNU LGPL v3.0
4
- tab-slug: lgpl-v3
3
+ nickname: GNU LGPLv3
5
4
  redirect_from: /licenses/lgpl-v3/
6
- family: LGPL
5
+ family: GNU LGPL
7
6
  source: http://www.gnu.org/licenses/lgpl-3.0.txt
8
7
 
9
- description: Version 3 of the LGPL is an additional set of permissions to the <a href="/licenses/gpl-3.0">GPL v3 license</a> that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.
8
+ description: Version 3 of the GNU LGPL is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3 license</a> that requires that derived works be licensed under the same license, but works that only link to it do not fall under this restriction.
10
9
 
11
- how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GPL v3</a> license. Follow the instructions to apply the GPL v3. Then either paste this text to the bottom of the created file OR add a separate file (typically named COPYING.lesser or LICENSE.lesser) in the root of your source code and copy the text.
10
+ how: This license is an additional set of permissions to the <a href="/licenses/gpl-3.0">GNU GPLv3</a> license. Follow the instructions to apply the GNU GPLv3. Then either paste this text to the bottom of the created file OR add a separate file (typically named COPYING.lesser or LICENSE.lesser) in the root of your source code and copy the text.
12
11
 
13
- note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the <a href="/licenses/gpl-3.0">GPL v3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the LGPL v3 and not the GPL v3.
12
+ note: The Free Software Foundation recommends taking the additional step of adding a boilerplate notice to the top of each file. The boilerplate can be found at the end of the <a href="/licenses/gpl-3.0">GNU GPLv3 license</a>. Insert the word “Lesser” before “General” in all three places in the boilerplate notice to make sure that you refer to the GNU LGPLv3 and not the GNU GPLv3.
14
13
 
15
14
  required:
16
15
  - include-copyright
17
- - library-usage
18
16
  - disclose-source
17
+ - same-license
18
+
19
19
 
20
20
  permitted:
21
21
  - commercial-use
22
22
  - modifications
23
23
  - distribution
24
- - sublicense
25
24
  - patent-use
26
25
  - private-use
27
26
 
28
27
  forbidden:
29
28
  - no-liability
30
29
 
30
+ hidden: false
31
31
  ---
32
32
 
33
33
  GNU LESSER GENERAL PUBLIC LICENSE
@@ -0,0 +1,445 @@
1
+ ---
2
+ title: LaTeX Project Public License v1.3c
3
+ hidden: true
4
+ nickname: LPPL-1.3c
5
+ family: LPPL
6
+ source: https://latex-project.org/lppl/lppl-1-3c.html
7
+
8
+ description: The LaTeX Project Public License (LPPL) is the primary license under which the LaTeX kernel and the base LaTeX packages are distributed.
9
+
10
+ how: To use this license, place in each of the components of your work both an explicit copyright notice including your name and the year the work was authored and/or last substantially modified. Include also a statement that the distribution and/or modification of that component is constrained by the conditions in this license.
11
+
12
+ note: An example boilerplate and more information about how to use the license can be found at the end of the license.
13
+
14
+ required:
15
+ - include-copyright
16
+ - document-changes
17
+ - disclose-source
18
+
19
+ permitted:
20
+ - commercial-use
21
+ - modifications
22
+ - distribution
23
+ - private-use
24
+
25
+ forbidden:
26
+ - no-liability
27
+
28
+ ---
29
+
30
+ The LaTeX Project Public License
31
+ =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
32
+
33
+ LPPL Version 1.3c 2008-05-04
34
+
35
+ Copyright 1999 2002-2008 LaTeX3 Project
36
+ Everyone is allowed to distribute verbatim copies of this
37
+ license document, but modification of it is not allowed.
38
+
39
+
40
+ PREAMBLE
41
+ ========
42
+
43
+ The LaTeX Project Public License (LPPL) is the primary license under
44
+ which the LaTeX kernel and the base LaTeX packages are distributed.
45
+
46
+ You may use this license for any work of which you hold the copyright
47
+ and which you wish to distribute. This license may be particularly
48
+ suitable if your work is TeX-related (such as a LaTeX package), but
49
+ it is written in such a way that you can use it even if your work is
50
+ unrelated to TeX.
51
+
52
+ The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE',
53
+ below, gives instructions, examples, and recommendations for authors
54
+ who are considering distributing their works under this license.
55
+
56
+ This license gives conditions under which a work may be distributed
57
+ and modified, as well as conditions under which modified versions of
58
+ that work may be distributed.
59
+
60
+ We, the LaTeX3 Project, believe that the conditions below give you
61
+ the freedom to make and distribute modified versions of your work
62
+ that conform with whatever technical specifications you wish while
63
+ maintaining the availability, integrity, and reliability of
64
+ that work. If you do not see how to achieve your goal while
65
+ meeting these conditions, then read the document `cfgguide.tex'
66
+ and `modguide.tex' in the base LaTeX distribution for suggestions.
67
+
68
+
69
+ DEFINITIONS
70
+ ===========
71
+
72
+ In this license document the following terms are used:
73
+
74
+ `Work'
75
+ Any work being distributed under this License.
76
+
77
+ `Derived Work'
78
+ Any work that under any applicable law is derived from the Work.
79
+
80
+ `Modification'
81
+ Any procedure that produces a Derived Work under any applicable
82
+ law -- for example, the production of a file containing an
83
+ original file associated with the Work or a significant portion of
84
+ such a file, either verbatim or with modifications and/or
85
+ translated into another language.
86
+
87
+ `Modify'
88
+ To apply any procedure that produces a Derived Work under any
89
+ applicable law.
90
+
91
+ `Distribution'
92
+ Making copies of the Work available from one person to another, in
93
+ whole or in part. Distribution includes (but is not limited to)
94
+ making any electronic components of the Work accessible by
95
+ file transfer protocols such as FTP or HTTP or by shared file
96
+ systems such as Sun's Network File System (NFS).
97
+
98
+ `Compiled Work'
99
+ A version of the Work that has been processed into a form where it
100
+ is directly usable on a computer system. This processing may
101
+ include using installation facilities provided by the Work,
102
+ transformations of the Work, copying of components of the Work, or
103
+ other activities. Note that modification of any installation
104
+ facilities provided by the Work constitutes modification of the Work.
105
+
106
+ `Current Maintainer'
107
+ A person or persons nominated as such within the Work. If there is
108
+ no such explicit nomination then it is the `Copyright Holder' under
109
+ any applicable law.
110
+
111
+ `Base Interpreter'
112
+ A program or process that is normally needed for running or
113
+ interpreting a part or the whole of the Work.
114
+
115
+ A Base Interpreter may depend on external components but these
116
+ are not considered part of the Base Interpreter provided that each
117
+ external component clearly identifies itself whenever it is used
118
+ interactively. Unless explicitly specified when applying the
119
+ license to the Work, the only applicable Base Interpreter is a
120
+ `LaTeX-Format' or in the case of files belonging to the
121
+ `LaTeX-format' a program implementing the `TeX language'.
122
+
123
+
124
+
125
+ CONDITIONS ON DISTRIBUTION AND MODIFICATION
126
+ ===========================================
127
+
128
+ 1. Activities other than distribution and/or modification of the Work
129
+ are not covered by this license; they are outside its scope. In
130
+ particular, the act of running the Work is not restricted and no
131
+ requirements are made concerning any offers of support for the Work.
132
+
133
+ 2. You may distribute a complete, unmodified copy of the Work as you
134
+ received it. Distribution of only part of the Work is considered
135
+ modification of the Work, and no right to distribute such a Derived
136
+ Work may be assumed under the terms of this clause.
137
+
138
+ 3. You may distribute a Compiled Work that has been generated from a
139
+ complete, unmodified copy of the Work as distributed under Clause 2
140
+ above, as long as that Compiled Work is distributed in such a way that
141
+ the recipients may install the Compiled Work on their system exactly
142
+ as it would have been installed if they generated a Compiled Work
143
+ directly from the Work.
144
+
145
+ 4. If you are the Current Maintainer of the Work, you may, without
146
+ restriction, modify the Work, thus creating a Derived Work. You may
147
+ also distribute the Derived Work without restriction, including
148
+ Compiled Works generated from the Derived Work. Derived Works
149
+ distributed in this manner by the Current Maintainer are considered to
150
+ be updated versions of the Work.
151
+
152
+ 5. If you are not the Current Maintainer of the Work, you may modify
153
+ your copy of the Work, thus creating a Derived Work based on the Work,
154
+ and compile this Derived Work, thus creating a Compiled Work based on
155
+ the Derived Work.
156
+
157
+ 6. If you are not the Current Maintainer of the Work, you may
158
+ distribute a Derived Work provided the following conditions are met
159
+ for every component of the Work unless that component clearly states
160
+ in the copyright notice that it is exempt from that condition. Only
161
+ the Current Maintainer is allowed to add such statements of exemption
162
+ to a component of the Work.
163
+
164
+ a. If a component of this Derived Work can be a direct replacement
165
+ for a component of the Work when that component is used with the
166
+ Base Interpreter, then, wherever this component of the Work
167
+ identifies itself to the user when used interactively with that
168
+ Base Interpreter, the replacement component of this Derived Work
169
+ clearly and unambiguously identifies itself as a modified version
170
+ of this component to the user when used interactively with that
171
+ Base Interpreter.
172
+
173
+ b. Every component of the Derived Work contains prominent notices
174
+ detailing the nature of the changes to that component, or a
175
+ prominent reference to another file that is distributed as part
176
+ of the Derived Work and that contains a complete and accurate log
177
+ of the changes.
178
+
179
+ c. No information in the Derived Work implies that any persons,
180
+ including (but not limited to) the authors of the original version
181
+ of the Work, provide any support, including (but not limited to)
182
+ the reporting and handling of errors, to recipients of the
183
+ Derived Work unless those persons have stated explicitly that
184
+ they do provide such support for the Derived Work.
185
+
186
+ d. You distribute at least one of the following with the Derived Work:
187
+
188
+ 1. A complete, unmodified copy of the Work;
189
+ if your distribution of a modified component is made by
190
+ offering access to copy the modified component from a
191
+ designated place, then offering equivalent access to copy
192
+ the Work from the same or some similar place meets this
193
+ condition, even though third parties are not compelled to
194
+ copy the Work along with the modified component;
195
+
196
+ 2. Information that is sufficient to obtain a complete,
197
+ unmodified copy of the Work.
198
+
199
+ 7. If you are not the Current Maintainer of the Work, you may
200
+ distribute a Compiled Work generated from a Derived Work, as long as
201
+ the Derived Work is distributed to all recipients of the Compiled
202
+ Work, and as long as the conditions of Clause 6, above, are met with
203
+ regard to the Derived Work.
204
+
205
+ 8. The conditions above are not intended to prohibit, and hence do not
206
+ apply to, the modification, by any method, of any component so that it
207
+ becomes identical to an updated version of that component of the Work as
208
+ it is distributed by the Current Maintainer under Clause 4, above.
209
+
210
+ 9. Distribution of the Work or any Derived Work in an alternative
211
+ format, where the Work or that Derived Work (in whole or in part) is
212
+ then produced by applying some process to that format, does not relax or
213
+ nullify any sections of this license as they pertain to the results of
214
+ applying that process.
215
+
216
+ 10. a. A Derived Work may be distributed under a different license
217
+ provided that license itself honors the conditions listed in
218
+ Clause 6 above, in regard to the Work, though it does not have
219
+ to honor the rest of the conditions in this license.
220
+
221
+ b. If a Derived Work is distributed under a different license, that
222
+ Derived Work must provide sufficient documentation as part of
223
+ itself to allow each recipient of that Derived Work to honor the
224
+ restrictions in Clause 6 above, concerning changes from the Work.
225
+
226
+ 11. This license places no restrictions on works that are unrelated to
227
+ the Work, nor does this license place any restrictions on aggregating
228
+ such works with the Work by any means.
229
+
230
+ 12. Nothing in this license is intended to, or may be used to, prevent
231
+ complete compliance by all parties with all applicable laws.
232
+
233
+
234
+ NO WARRANTY
235
+ ===========
236
+
237
+ There is no warranty for the Work. Except when otherwise stated in
238
+ writing, the Copyright Holder provides the Work `as is', without
239
+ warranty of any kind, either expressed or implied, including, but not
240
+ limited to, the implied warranties of merchantability and fitness for a
241
+ particular purpose. The entire risk as to the quality and performance
242
+ of the Work is with you. Should the Work prove defective, you assume
243
+ the cost of all necessary servicing, repair, or correction.
244
+
245
+ In no event unless required by applicable law or agreed to in writing
246
+ will The Copyright Holder, or any author named in the components of the
247
+ Work, or any other party who may distribute and/or modify the Work as
248
+ permitted above, be liable to you for damages, including any general,
249
+ special, incidental or consequential damages arising out of any use of
250
+ the Work or out of inability to use the Work (including, but not limited
251
+ to, loss of data, data being rendered inaccurate, or losses sustained by
252
+ anyone as a result of any failure of the Work to operate with any other
253
+ programs), even if the Copyright Holder or said author or said other
254
+ party has been advised of the possibility of such damages.
255
+
256
+
257
+ MAINTENANCE OF THE WORK
258
+ =======================
259
+
260
+ The Work has the status `author-maintained' if the Copyright Holder
261
+ explicitly and prominently states near the primary copyright notice in
262
+ the Work that the Work can only be maintained by the Copyright Holder
263
+ or simply that it is `author-maintained'.
264
+
265
+ The Work has the status `maintained' if there is a Current Maintainer
266
+ who has indicated in the Work that they are willing to receive error
267
+ reports for the Work (for example, by supplying a valid e-mail
268
+ address). It is not required for the Current Maintainer to acknowledge
269
+ or act upon these error reports.
270
+
271
+ The Work changes from status `maintained' to `unmaintained' if there
272
+ is no Current Maintainer, or the person stated to be Current
273
+ Maintainer of the work cannot be reached through the indicated means
274
+ of communication for a period of six months, and there are no other
275
+ significant signs of active maintenance.
276
+
277
+ You can become the Current Maintainer of the Work by agreement with
278
+ any existing Current Maintainer to take over this role.
279
+
280
+ If the Work is unmaintained, you can become the Current Maintainer of
281
+ the Work through the following steps:
282
+
283
+ 1. Make a reasonable attempt to trace the Current Maintainer (and
284
+ the Copyright Holder, if the two differ) through the means of
285
+ an Internet or similar search.
286
+
287
+ 2. If this search is successful, then enquire whether the Work
288
+ is still maintained.
289
+
290
+ a. If it is being maintained, then ask the Current Maintainer
291
+ to update their communication data within one month.
292
+
293
+ b. If the search is unsuccessful or no action to resume active
294
+ maintenance is taken by the Current Maintainer, then announce
295
+ within the pertinent community your intention to take over
296
+ maintenance. (If the Work is a LaTeX work, this could be
297
+ done, for example, by posting to comp.text.tex.)
298
+
299
+ 3a. If the Current Maintainer is reachable and agrees to pass
300
+ maintenance of the Work to you, then this takes effect
301
+ immediately upon announcement.
302
+
303
+ b. If the Current Maintainer is not reachable and the Copyright
304
+ Holder agrees that maintenance of the Work be passed to you,
305
+ then this takes effect immediately upon announcement.
306
+
307
+ 4. If you make an `intention announcement' as described in 2b. above
308
+ and after three months your intention is challenged neither by
309
+ the Current Maintainer nor by the Copyright Holder nor by other
310
+ people, then you may arrange for the Work to be changed so as
311
+ to name you as the (new) Current Maintainer.
312
+
313
+ 5. If the previously unreachable Current Maintainer becomes
314
+ reachable once more within three months of a change completed
315
+ under the terms of 3b) or 4), then that Current Maintainer must
316
+ become or remain the Current Maintainer upon request provided
317
+ they then update their communication data within one month.
318
+
319
+ A change in the Current Maintainer does not, of itself, alter the fact
320
+ that the Work is distributed under the LPPL license.
321
+
322
+ If you become the Current Maintainer of the Work, you should
323
+ immediately provide, within the Work, a prominent and unambiguous
324
+ statement of your status as Current Maintainer. You should also
325
+ announce your new status to the same pertinent community as
326
+ in 2b) above.
327
+
328
+
329
+ WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE
330
+ ======================================================
331
+
332
+ This section contains important instructions, examples, and
333
+ recommendations for authors who are considering distributing their
334
+ works under this license. These authors are addressed as `you' in
335
+ this section.
336
+
337
+ Choosing This License or Another License
338
+ ----------------------------------------
339
+
340
+ If for any part of your work you want or need to use *distribution*
341
+ conditions that differ significantly from those in this license, then
342
+ do not refer to this license anywhere in your work but, instead,
343
+ distribute your work under a different license. You may use the text
344
+ of this license as a model for your own license, but your license
345
+ should not refer to the LPPL or otherwise give the impression that
346
+ your work is distributed under the LPPL.
347
+
348
+ The document `modguide.tex' in the base LaTeX distribution explains
349
+ the motivation behind the conditions of this license. It explains,
350
+ for example, why distributing LaTeX under the GNU General Public
351
+ License (GPL) was considered inappropriate. Even if your work is
352
+ unrelated to LaTeX, the discussion in `modguide.tex' may still be
353
+ relevant, and authors intending to distribute their works under any
354
+ license are encouraged to read it.
355
+
356
+ A Recommendation on Modification Without Distribution
357
+ -----------------------------------------------------
358
+
359
+ It is wise never to modify a component of the Work, even for your own
360
+ personal use, without also meeting the above conditions for
361
+ distributing the modified component. While you might intend that such
362
+ modifications will never be distributed, often this will happen by
363
+ accident -- you may forget that you have modified that component; or
364
+ it may not occur to you when allowing others to access the modified
365
+ version that you are thus distributing it and violating the conditions
366
+ of this license in ways that could have legal implications and, worse,
367
+ cause problems for the community. It is therefore usually in your
368
+ best interest to keep your copy of the Work identical with the public
369
+ one. Many works provide ways to control the behavior of that work
370
+ without altering any of its licensed components.
371
+
372
+ How to Use This License
373
+ -----------------------
374
+
375
+ To use this license, place in each of the components of your work both
376
+ an explicit copyright notice including your name and the year the work
377
+ was authored and/or last substantially modified. Include also a
378
+ statement that the distribution and/or modification of that
379
+ component is constrained by the conditions in this license.
380
+
381
+ Here is an example of such a notice and statement:
382
+
383
+ %% pig.dtx
384
+ %% Copyright 2005 M. Y. Name
385
+ %
386
+ % This work may be distributed and/or modified under the
387
+ % conditions of the LaTeX Project Public License, either version 1.3
388
+ % of this license or (at your option) any later version.
389
+ % The latest version of this license is in
390
+ % http://www.latex-project.org/lppl.txt
391
+ % and version 1.3 or later is part of all distributions of LaTeX
392
+ % version 2005/12/01 or later.
393
+ %
394
+ % This work has the LPPL maintenance status `maintained'.
395
+ %
396
+ % The Current Maintainer of this work is M. Y. Name.
397
+ %
398
+ % This work consists of the files pig.dtx and pig.ins
399
+ % and the derived file pig.sty.
400
+
401
+ Given such a notice and statement in a file, the conditions
402
+ given in this license document would apply, with the `Work' referring
403
+ to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being
404
+ generated from `pig.dtx' using `pig.ins'), the `Base Interpreter'
405
+ referring to any `LaTeX-Format', and both `Copyright Holder' and
406
+ `Current Maintainer' referring to the person `M. Y. Name'.
407
+
408
+ If you do not want the Maintenance section of LPPL to apply to your
409
+ Work, change `maintained' above into `author-maintained'.
410
+ However, we recommend that you use `maintained', as the Maintenance
411
+ section was added in order to ensure that your Work remains useful to
412
+ the community even when you can no longer maintain and support it
413
+ yourself.
414
+
415
+ Derived Works That Are Not Replacements
416
+ ---------------------------------------
417
+
418
+ Several clauses of the LPPL specify means to provide reliability and
419
+ stability for the user community. They therefore concern themselves
420
+ with the case that a Derived Work is intended to be used as a
421
+ (compatible or incompatible) replacement of the original Work. If
422
+ this is not the case (e.g., if a few lines of code are reused for a
423
+ completely different task), then clauses 6b and 6d shall not apply.
424
+
425
+
426
+ Important Recommendations
427
+ -------------------------
428
+
429
+ Defining What Constitutes the Work
430
+
431
+ The LPPL requires that distributions of the Work contain all the
432
+ files of the Work. It is therefore important that you provide a
433
+ way for the licensee to determine which files constitute the Work.
434
+ This could, for example, be achieved by explicitly listing all the
435
+ files of the Work near the copyright notice of each file or by
436
+ using a line such as:
437
+
438
+ % This work consists of all files listed in manifest.txt.
439
+
440
+ in that place. In the absence of an unequivocal list it might be
441
+ impossible for the licensee to determine what is considered by you
442
+ to comprise the Work and, in such a case, the licensee would be
443
+ entitled to make reasonable conjectures as to which files comprise
444
+ the Work.
445
+