File Coverage

blib/lib/Software/License/Mozilla_1_0.pm
Criterion Covered Total %
statement 14 14 100.0
branch n/a
condition n/a
subroutine 8 8 100.0
pod 5 5 100.0
total 27 27 100.0


line stmt bran cond sub pod time code
1 11     11   6137 use strict;
  11         21  
  11         238  
2 11     11   45 use warnings;
  11         14  
  11         392  
3             $Software::License::Mozilla_1_0::VERSION = '0.104002';
4             use parent 'Software::License';
5 11     11   54 # ABSTRACT: Mozilla Public License 1.0
  11         31  
  11         48  
6              
7              
8 22     22 1 99 1;
9 1     1 1 4  
10 43     43 1 104 =pod
11 42     42 1 84  
12 43     43 1 92 =encoding UTF-8
13              
14             =head1 NAME
15              
16             Software::License::Mozilla_1_0 - Mozilla Public License 1.0
17              
18             =head1 VERSION
19              
20             version 0.104002
21              
22             =head1 PERL VERSION
23              
24             This module is part of CPAN toolchain, or is treated as such. As such, it
25             follows the agreement of the Perl Toolchain Gang to require no newer version of
26             perl than v5.8.1. This version may change by agreement of the Toolchain Gang,
27             but for now is governed by the L<Lancaster
28             Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md>
29             of 2013.
30              
31             =head1 AUTHOR
32              
33             Ricardo Signes <rjbs@semiotic.systems>
34              
35             =head1 COPYRIGHT AND LICENSE
36              
37             This software is copyright (c) 2022 by Ricardo Signes.
38              
39             This is free software; you can redistribute it and/or modify it under
40             the same terms as the Perl 5 programming language system itself.
41              
42             =cut
43              
44             __LICENSE__
45             Mozilla Public License (Version 1.0)
46              
47             1. Definitions.
48              
49             1.1. "Contributor" means each entity that creates or
50             contributes to the creation of Modifications.
51              
52             1.2. "Contributor Version" means the combination of
53             the Original Code, prior Modifications used by a
54             Contributor, and the Modifications made by that
55             particular Contributor.
56              
57             1.3. "Covered Code" means the Original Code or
58             Modifications or the combination of the Original Code
59             and Modifications, in each case including portions
60             thereof.
61              
62             1.4. "Electronic Distribution Mechanism" means a
63             mechanism generally accepted in the software
64             development community for the electronic transfer of
65             data.
66              
67             1.5. "Executable" means Covered Code in any form
68             other than Source Code.
69              
70             1.6. "Initial Developer" means the individual or entity
71             identified as the Initial Developer in the Source Code
72             notice required by Exhibit A.
73              
74             1.7. "Larger Work" means a work which combines
75             Covered Code or portions thereof with code not
76             governed by the terms of this License.
77              
78             1.8. "License" means this document.
79              
80             1.9. "Modifications" means any addition to or deletion
81             from the substance or structure of either the Original
82             Code or any previous Modifications. When Covered
83             Code is released as a series of files, a Modification is:
84              
85             A. Any addition to or deletion from the contents
86             of a file containing Original Code or previous
87             Modifications.
88              
89             B. Any new file that contains any part of the
90             Original Code or previous Modifications.
91              
92             1.10. "Original Code" means Source Code of
93             computer software code which is described in the
94             Source Code notice required by Exhibit A as Original
95             Code, and which, at the time of its release under this
96             License is not already Covered Code governed by this
97             License.
98              
99             1.11. "Source Code" means the preferred form of the
100             Covered Code for making modifications to it, including
101             all modules it contains, plus any associated interface
102             definition files, scripts used to control compilation and
103             installation of an Executable, or a list of source code
104             differential comparisons against either the Original
105             Code or another well known, available Covered Code of
106             the Contributor's choice. The Source Code can be in a
107             compressed or archival form, provided the appropriate
108             decompression or de-archiving software is widely
109             available for no charge.
110              
111             1.12. "You" means an individual or a legal entity
112             exercising rights under, and complying with all of the
113             terms of, this License or a future version of this License
114             issued under Section 6.1. For legal entities, "You"
115             includes any entity which controls, is controlled by, or
116             is under common control with You. For purposes of this
117             definition, "control" means (a) the power, direct or
118             indirect, to cause the direction or management of such
119             entity, whether by contract or otherwise, or (b)
120             ownership of fifty percent (50%) or more of the
121             outstanding shares or beneficial ownership of such
122             entity.
123              
124             2. Source Code License.
125              
126             2.1. The Initial Developer Grant.
127             The Initial Developer hereby grants You a world-wide,
128             royalty-free, non-exclusive license, subject to third
129             party intellectual property claims:
130              
131             (a) to use, reproduce, modify, display, perform,
132             sublicense and distribute the Original Code (or
133             portions thereof) with or without Modifications, or
134             as part of a Larger Work; and
135              
136             (b) under patents now or hereafter owned or
137             controlled by Initial Developer, to make, have
138             made, use and sell ("Utilize") the Original Code
139             (or portions thereof), but solely to the extent that
140             any such patent is reasonably necessary to
141             enable You to Utilize the Original Code (or
142             portions thereof) and not to any greater extent
143             that may be necessary to Utilize further
144             Modifications or combinations.
145              
146             2.2. Contributor Grant.
147             Each Contributor hereby grants You a world-wide,
148             royalty-free, non-exclusive license, subject to third
149             party intellectual property claims:
150              
151             (a) to use, reproduce, modify, display, perform,
152             sublicense and distribute the Modifications
153             created by such Contributor (or portions thereof)
154             either on an unmodified basis, with other
155             Modifications, as Covered Code or as part of a
156             Larger Work; and
157              
158             (b) under patents now or hereafter owned or
159             controlled by Contributor, to Utilize the
160             Contributor Version (or portions thereof), but
161             solely to the extent that any such patent is
162             reasonably necessary to enable You to Utilize
163             the Contributor Version (or portions thereof), and
164             not to any greater extent that may be necessary
165             to Utilize further Modifications or combinations.
166              
167             3. Distribution Obligations.
168              
169             3.1. Application of License.
170             The Modifications which You create or to which You
171             contribute are governed by the terms of this License,
172             including without limitation Section 2.2. The Source
173             Code version of Covered Code may be distributed only
174             under the terms of this License or a future version of
175             this License released under Section 6.1, and You must
176             include a copy of this License with every copy of the
177             Source Code You distribute. You may not offer or
178             impose any terms on any Source Code version that
179             alters or restricts the applicable version of this License
180             or the recipients' rights hereunder. However, You may
181             include an additional document offering the additional
182             rights described in Section 3.5.
183              
184             3.2. Availability of Source Code.
185             Any Modification which You create or to which You
186             contribute must be made available in Source Code form
187             under the terms of this License either on the same
188             media as an Executable version or via an accepted
189             Electronic Distribution Mechanism to anyone to whom
190             you made an Executable version available; and if made
191             available via Electronic Distribution Mechanism, must
192             remain available for at least twelve (12) months after the
193             date it initially became available, or at least six (6)
194             months after a subsequent version of that particular
195             Modification has been made available to such
196             recipients. You are responsible for ensuring that the
197             Source Code version remains available even if the
198             Electronic Distribution Mechanism is maintained by a
199             third party.
200              
201             3.3. Description of Modifications.
202             You must cause all Covered Code to which you
203             contribute to contain a file documenting the changes
204             You made to create that Covered Code and the date of
205             any change. You must include a prominent statement
206             that the Modification is derived, directly or indirectly,
207             from Original Code provided by the Initial Developer and
208             including the name of the Initial Developer in (a) the
209             Source Code, and (b) in any notice in an Executable
210             version or related documentation in which You describe
211             the origin or ownership of the Covered Code.
212              
213             3.4. Intellectual Property Matters
214              
215             (a) Third Party Claims.
216             If You have knowledge that a party claims an
217             intellectual property right in particular
218             functionality or code (or its utilization under this
219             License), you must include a text file with the
220             source code distribution titled "LEGAL" which
221             describes the claim and the party making the
222             claim in sufficient detail that a recipient will
223             know whom to contact. If you obtain such
224             knowledge after You make Your Modification
225             available as described in Section 3.2, You shall
226             promptly modify the LEGAL file in all copies You
227             make available thereafter and shall take other
228             steps (such as notifying appropriate mailing lists
229             or newsgroups) reasonably calculated to inform
230             those who received the Covered Code that new
231             knowledge has been obtained.
232              
233             (b) Contributor APIs.
234             If Your Modification is an application
235             programming interface and You own or control
236             patents which are reasonably necessary to
237             implement that API, you must also include this
238             information in the LEGAL file.
239              
240             3.5. Required Notices.
241             You must duplicate the notice in Exhibit A in each file
242             of the Source Code, and this License in any
243             documentation for the Source Code, where You
244             describe recipients' rights relating to Covered Code. If
245             You created one or more Modification(s), You may add
246             your name as a Contributor to the notice described in
247             Exhibit A. If it is not possible to put such notice in a
248             particular Source Code file due to its structure, then
249             you must include such notice in a location (such as a
250             relevant directory file) where a user would be likely to
251             look for such a notice. You may choose to offer, and to
252             charge a fee for, warranty, support, indemnity or liability
253             obligations to one or more recipients of Covered Code.
254             However, You may do so only on Your own behalf, and
255             not on behalf of the Initial Developer or any Contributor.
256             You must make it absolutely clear than any such
257             warranty, support, indemnity or liability obligation is
258             offered by You alone, and You hereby agree to
259             indemnify the Initial Developer and every Contributor for
260             any liability incurred by the Initial Developer or such
261             Contributor as a result of warranty, support, indemnity
262             or liability terms You offer.
263              
264             3.6. Distribution of Executable Versions.
265             You may distribute Covered Code in Executable form
266             only if the requirements of Section 3.1-3.5 have been
267             met for that Covered Code, and if You include a notice
268             stating that the Source Code version of the Covered
269             Code is available under the terms of this License,
270             including a description of how and where You have
271             fulfilled the obligations of Section 3.2. The notice must
272             be conspicuously included in any notice in an
273             Executable version, related documentation or collateral
274             in which You describe recipients' rights relating to the
275             Covered Code. You may distribute the Executable
276             version of Covered Code under a license of Your
277             choice, which may contain terms different from this
278             License, provided that You are in compliance with the
279             terms of this License and that the license for the
280             Executable version does not attempt to limit or alter the
281             recipient's rights in the Source Code version from the
282             rights set forth in this License. If You distribute the
283             Executable version under a different license You must
284             make it absolutely clear that any terms which differ
285             from this License are offered by You alone, not by the
286             Initial Developer or any Contributor. You hereby agree
287             to indemnify the Initial Developer and every Contributor
288             for any liability incurred by the Initial Developer or such
289             Contributor as a result of any such terms You offer.
290              
291             3.7. Larger Works.
292             You may create a Larger Work by combining Covered
293             Code with other code not governed by the terms of this
294             License and distribute the Larger Work as a single
295             product. In such a case, You must make sure the
296             requirements of this License are fulfilled for the Covered
297             Code.
298              
299             4. Inability to Comply Due to Statute or Regulation.
300              
301             If it is impossible for You to comply with any of the
302             terms of this License with respect to some or all of the
303             Covered Code due to statute or regulation then You
304             must: (a) comply with the terms of this License to the
305             maximum extent possible; and (b) describe the
306             limitations and the code they affect. Such description
307             must be included in the LEGAL file described in
308             Section 3.4 and must be included with all distributions
309             of the Source Code. Except to the extent prohibited by
310             statute or regulation, such description must be
311             sufficiently detailed for a recipient of ordinary skill to be
312             able to understand it.
313              
314             5. Application of this License.
315              
316             This License applies to code to which the Initial
317             Developer has attached the notice in Exhibit A, and to
318             related Covered Code.
319              
320             6. Versions of the License.
321              
322             6.1. New Versions.
323             Netscape Communications Corporation ("Netscape")
324             may publish revised and/or new versions of the License
325             from time to time. Each version will be given a
326             distinguishing version number.
327              
328             6.2. Effect of New Versions.
329             Once Covered Code has been published under a
330             particular version of the License, You may always
331             continue to use it under the terms of that version. You
332             may also choose to use such Covered Code under the
333             terms of any subsequent version of the License
334             published by Netscape. No one other than Netscape
335             has the right to modify the terms applicable to Covered
336             Code created under this License.
337              
338             6.3. Derivative Works.
339             If you create or use a modified version of this License
340             (which you may only do in order to apply it to code
341             which is not already Covered Code governed by this
342             License), you must (a) rename Your license so that the
343             phrases "Mozilla", "MOZILLAPL", "MOZPL",
344             "Netscape", "NPL" or any confusingly similar phrase do
345             not appear anywhere in your license and (b) otherwise
346             make it clear that your version of the license contains
347             terms which differ from the Mozilla Public License and
348             Netscape Public License. (Filling in the name of the
349             Initial Developer, Original Code or Contributor in the
350             notice described in Exhibit A shall not of themselves
351             be deemed to be modifications of this License.)
352              
353             7. DISCLAIMER OF WARRANTY.
354              
355             COVERED CODE IS PROVIDED UNDER THIS
356             LICENSE ON AN "AS IS" BASIS, WITHOUT
357             WARRANTY OF ANY KIND, EITHER EXPRESSED
358             OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
359             WARRANTIES THAT THE COVERED CODE IS FREE
360             OF DEFECTS, MERCHANTABLE, FIT FOR A
361             PARTICULAR PURPOSE OR NON-INFRINGING. THE
362             ENTIRE RISK AS TO THE QUALITY AND
363             PERFORMANCE OF THE COVERED CODE IS WITH
364             YOU. SHOULD ANY COVERED CODE PROVE
365             DEFECTIVE IN ANY RESPECT, YOU (NOT THE
366             INITIAL DEVELOPER OR ANY OTHER
367             CONTRIBUTOR) ASSUME THE COST OF ANY
368             NECESSARY SERVICING, REPAIR OR
369             CORRECTION. THIS DISCLAIMER OF WARRANTY
370             CONSTITUTES AN ESSENTIAL PART OF THIS
371             LICENSE. NO USE OF ANY COVERED CODE IS
372             AUTHORIZED HEREUNDER EXCEPT UNDER THIS
373             DISCLAIMER.
374              
375             8. TERMINATION.
376              
377             This License and the rights granted hereunder will
378             terminate automatically if You fail to comply with terms
379             herein and fail to cure such breach within 30 days of
380             becoming aware of the breach. All sublicenses to the
381             Covered Code which are properly granted shall survive
382             any termination of this License. Provisions which, by
383             their nature, must remain in effect beyond the
384             termination of this License shall survive.
385              
386             9. LIMITATION OF LIABILITY.
387              
388             UNDER NO CIRCUMSTANCES AND UNDER NO
389             LEGAL THEORY, WHETHER TORT (INCLUDING
390             NEGLIGENCE), CONTRACT, OR OTHERWISE,
391             SHALL THE INITIAL DEVELOPER, ANY OTHER
392             CONTRIBUTOR, OR ANY DISTRIBUTOR OF
393             COVERED CODE, OR ANY SUPPLIER OF ANY OF
394             SUCH PARTIES, BE LIABLE TO YOU OR ANY
395             OTHER PERSON FOR ANY INDIRECT, SPECIAL,
396             INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF
397             ANY CHARACTER INCLUDING, WITHOUT
398             LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
399             WORK STOPPAGE, COMPUTER FAILURE OR
400             MALFUNCTION, OR ANY AND ALL OTHER
401             COMMERCIAL DAMAGES OR LOSSES, EVEN IF
402             SUCH PARTY SHALL HAVE BEEN INFORMED OF
403             THE POSSIBILITY OF SUCH DAMAGES. THIS
404             LIMITATION OF LIABILITY SHALL NOT APPLY TO
405             LIABILITY FOR DEATH OR PERSONAL INJURY
406             RESULTING FROM SUCH PARTY'S NEGLIGENCE
407             TO THE EXTENT APPLICABLE LAW PROHIBITS
408             SUCH LIMITATION. SOME JURISDICTIONS DO NOT
409             ALLOW THE EXCLUSION OR LIMITATION OF
410             INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
411             THAT EXCLUSION AND LIMITATION MAY NOT
412             APPLY TO YOU.
413              
414             10. U.S. GOVERNMENT END USERS.
415              
416             The Covered Code is a "commercial item," as that term
417             is defined in 48 C.F.R. 2.101 (Oct. 1995), consisting of
418             "commercial computer software" and "commercial
419             computer software documentation," as such terms are
420             used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with
421             48 C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through
422             227.7202-4 (June 1995), all U.S. Government End
423             Users acquire Covered Code with only those rights set
424             forth herein.
425              
426             11. MISCELLANEOUS.
427              
428             This License represents the complete agreement
429             concerning subject matter hereof. If any provision of
430             this License is held to be unenforceable, such provision
431             shall be reformed only to the extent necessary to make
432             it enforceable. This License shall be governed by
433             California law provisions (except to the extent
434             applicable law, if any, provides otherwise), excluding its
435             conflict-of-law provisions. With respect to disputes in
436             which at least one party is a citizen of, or an entity
437             chartered or registered to do business in, the United
438             States of America: (a) unless otherwise agreed in
439             writing, all disputes relating to this License (excepting
440             any dispute relating to intellectual property rights) shall
441             be subject to final and binding arbitration, with the
442             losing party paying all costs of arbitration; (b) any
443             arbitration relating to this Agreement shall be held in
444             Santa Clara County, California, under the auspices of
445             JAMS/EndDispute; and (c) any litigation relating to this
446             Agreement shall be subject to the jurisdiction of the
447             Federal Courts of the Northern District of California,
448             with venue lying in Santa Clara County, California, with
449             the losing party responsible for costs, including without
450             limitation, court costs and reasonable attorneys fees
451             and expenses. The application of the United Nations
452             Convention on Contracts for the International Sale of
453             Goods is expressly excluded. Any law or regulation
454             which provides that the language of a contract shall be
455             construed against the drafter shall not apply to this
456             License.
457              
458             12. RESPONSIBILITY FOR CLAIMS.
459              
460             Except in cases where another Contributor has failed to
461             comply with Section 3.4, You are responsible for
462             damages arising, directly or indirectly, out of Your
463             utilization of rights under this License, based on the
464             number of copies of Covered Code you made available,
465             the revenues you received from utilizing such rights,
466             and other relevant factors. You agree to work with
467             affected parties to distribute responsibility on an
468             equitable basis.
469              
470             EXHIBIT A.
471              
472             "The contents of this file are subject to the Mozilla
473             Public License Version 1.0 (the "License"); you may
474             not use this file except in compliance with the License.
475             You may obtain a copy of the License at
476             http://www.mozilla.org/MPL/
477              
478             Software distributed under the License is distributed on
479             an "AS IS" basis, WITHOUT WARRANTY OF ANY
480             KIND, either express or implied. See the License for
481             the specific language governing rights and limitations
482             under the License.
483              
484             The Original Code is
485             ______________________________________.
486              
487             The Initial Developer of the Original Code is
488             ________________________. Portions created by
489             ______________________ are Copyright (C) ______
490             _______________________. All Rights Reserved.
491              
492             Contributor(s):
493             ______________________________________."