File Coverage

blib/lib/Software/License/Sun.pm
Criterion Covered Total %
statement 13 14 92.8
branch n/a
condition n/a
subroutine 7 8 87.5
pod 5 5 100.0
total 25 27 92.5


line stmt bran cond sub pod time code
1 8     8   5243 use strict;
  8         15  
  8         168  
2 8     8   32 use warnings;
  8         69  
  8         290  
3             $Software::License::Sun::VERSION = '0.104002';
4             use parent 'Software::License';
5 8     8   36 # ABSTRACT: Sun Internet Standards Source License (SISSL)
  8         13  
  8         46  
6              
7              
8 22     22 1 93  
9 0     0 1 0 1;
10              
11 42     42 1 89 =pod
12 42     42 1 81  
13 42     42 1 90 =encoding UTF-8
14              
15             =head1 NAME
16              
17             Software::License::Sun - Sun Internet Standards Source License (SISSL)
18              
19             =head1 VERSION
20              
21             version 0.104002
22              
23             =head1 PERL VERSION
24              
25             This module is part of CPAN toolchain, or is treated as such. As such, it
26             follows the agreement of the Perl Toolchain Gang to require no newer version of
27             perl than v5.8.1. This version may change by agreement of the Toolchain Gang,
28             but for now is governed by the L<Lancaster
29             Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md>
30             of 2013.
31              
32             =head1 AUTHOR
33              
34             Ricardo Signes <rjbs@semiotic.systems>
35              
36             =head1 COPYRIGHT AND LICENSE
37              
38             This software is copyright (c) 2022 by Ricardo Signes.
39              
40             This is free software; you can redistribute it and/or modify it under
41             the same terms as the Perl 5 programming language system itself.
42              
43             =cut
44              
45             __LICENSE__
46             Sun Internet Standards Source License (SISSL)
47              
48             1.0 DEFINITIONS
49              
50             1.1 "Commercial Use" means distribution or otherwise making the
51             Original Code available to a third party.
52              
53             1.2 "Contributor Version" means the combination of the Original
54             Code, and the Modifications made by that particular Contributor.
55              
56             1.3 "Electronic Distribution Mechanism" means a mechanism
57             generally accepted in the software development community for the
58             electronic transfer of data.
59              
60             1.4 "Executable" means Original Code in any form other than
61             Source Code.
62              
63             1.5 "Initial Developer" means the individual or entity identified as
64             the Initial Developer in the Source Code notice required by Exhibit
65             A.
66              
67             1.6 "Larger Work" means a work which combines Original Code or
68             portions thereof with code not governed by the terms of this License.
69              
70             1.7 "License" means this document.
71              
72             1.8 "Licensable" means having the right to grant, to the maximum
73             extent possible, whether at the time of the initial grant or
74             subsequently acquired, any and all of the rights conveyed herein.
75              
76             1.9 "Modifications" means any addition to or deletion from the
77             substance or structure of either the Original Code or any previous
78             Modifications. A Modification is:
79              
80             A. Any addition to or deletion from the contents of a file
81             containing Original Code or previous Modifications.
82              
83             B. Any new file that contains any part of the Original Code or
84             previous Modifications.
85              
86             1.10 "Original Code" means Source Code of computer software
87             code which is described in the Source Code notice required by
88             Exhibit A as Original Code.
89              
90             1.11 "Patent Claims" means any patent claim(s), now owned or
91             hereafter acquired, including without limitation, method, process,
92             and apparatus claims, in any patent Licensable by grantor.
93              
94             1.12 "Source Code" means the preferred form of the Original Code
95             for making modifications to it, including all modules it contains, plus
96             any associated interface definition files, or scripts used to control
97             compilation and installation of an Executable.
98              
99             1.13 "Standards" means the standards identified in Exhibit B.
100              
101             1.14 "You" (or "Your") means an individual or a legal entity
102             exercising rights under, and complying with all of the terms of, this
103             License or a future version of this License issued under Section 6.1.
104             For legal entities, "You'' includes any entity which controls, is
105             controlled by, or is under common control with You. For purposes of
106             this definition, "control'' means (a) the power, direct or indirect, to
107             cause the direction or management of such entity, whether by
108             contract or otherwise, or (b) ownership of more than fifty percent
109             (50%) of the outstanding shares or beneficial ownership of such
110             entity.
111              
112             2.0 SOURCE CODE LICENSE
113              
114             2.1 The Initial Developer Grant
115             The Initial Developer hereby grants You a world-wide, royalty-free,
116             non-exclusive license, subject to third party intellectual property
117             claims:
118              
119             (a) under intellectual property rights (other than patent or
120             trademark) Licensable by Initial Developer to use, reproduce,
121             modify, display, perform, sublicense and distribute the
122             Original Code (or portions thereof) with or without
123             Modifications, and/or as part of a Larger Work; and
124              
125             (b) under Patents Claims infringed by the making, using or
126             selling of Original Code, to make, have made, use, practice,
127             sell, and offer for sale, and/or otherwise dispose of the
128             Original Code (or portions thereof).
129              
130             (c) the licenses granted in this Section 2.1(a) and (b) are
131             effective on the date Initial Developer first distributes Original
132             Code under the terms of this License.
133              
134             (d) Notwithstanding Section 2.1(b) above, no patent license
135             is granted: 1) for code that You delete from the Original
136             Code; 2) separate from the Original Code; or 3) for
137             infringements caused by: i) the modification of the Original
138             Code or ii) the combination of the Original Code with other
139             software or devices, including but not limited to
140             Modifications.
141              
142             3.0 DISTRIBUTION OBLIGATIONS
143              
144             3.1 Application of License.
145             The Source Code version of Original Code may be distributed only
146             under the terms of this License or a future version of this License
147             released under Section 6.1, and You must include a copy of this
148             License with every copy of the Source Code You distribute. You
149             may not offer or impose any terms on any Source Code version that
150             alters or restricts the applicable version of this License or the
151             recipients' rights hereunder. Your license for shipment of the
152             Contributor Version is conditioned upon Your full compliance with
153             this Section. The Modifications which You create must comply with
154             all requirements set out by the Standards body in effect one
155             hundred twenty (120) days before You ship the Contributor Version.
156             In the event that the Modifications do not meet such requirements,
157             You agree to publish either (i) any deviation from the Standards
158             protocol resulting from implementation of Your Modifications and a
159             reference implementation of Your Modifications or (ii) Your
160             Modifications in Source Code form, and to make any such deviation
161             and reference implementation or Modifications available to all third
162             parties under the same terms as this license on a royalty free basis
163             within thirty (30) days of Your first customer shipment of Your
164             Modifications.
165              
166             3.2 Required Notices.
167             You must duplicate the notice in Exhibit A in each file of the
168             Source Code. If it is not possible to put such notice in a particular
169             Source Code file due to its structure, then You must include such
170             notice in a location (such as a relevant directory) where a user
171             would be likely to look for such a notice. If You created one or more
172             Modification(s) You may add Your name as a Contributor to the
173             notice described in Exhibit A. You must also duplicate this License
174             in any documentation for the Source Code where You describe
175             recipients' rights or ownership rights relating to Initial Code. You
176             may choose to offer, and to charge a fee for, warranty, support,
177             indemnity or liability obligations to one or more recipients of Your
178             version of the Code. However, You may do so only on Your own
179             behalf, and not on behalf of the Initial Developer. You must make it
180             absolutely clear than any such warranty, support, indemnity or
181             liability obligation is offered by You alone, and You hereby agree to
182             indemnify the Initial Developer for any liability incurred by the Initial
183             Developer as a result of warranty, support, indemnity or liability
184             terms You offer.
185              
186             3.3 Distribution of Executable Versions.
187             You may distribute Original Code in Executable and Source form
188             only if the requirements of Sections 3.1 and 3.2 have been met for
189             that Original Code, and if You include a notice stating that the
190             Source Code version of the Original Code is available under the
191             terms of this License. The notice must be conspicuously included in
192             any notice in an Executable or Source versions, related
193             documentation or collateral in which You describe recipients' rights
194             relating to the Original Code. You may distribute the Executable and
195             Source versions of Your version of the Code or ownership rights
196             under a license of Your choice, which may contain terms different
197             from this License, provided that You are in compliance with the
198             terms of this License. If You distribute the Executable and Source
199             versions under a different license You must make it absolutely clear
200             that any terms which differ from this License are offered by You
201             alone, not by the Initial Developer. You hereby agree to indemnify
202             the Initial Developer for any liability incurred by the Initial Developer
203             as a result of any such terms You offer.
204              
205             3.4 Larger Works.
206             You may create a Larger Work by combining Original Code with
207             other code not governed by the terms of this License and distribute
208             the Larger Work as a single product. In such a case, You must
209             make sure the requirements of this License are fulfilled for the
210             Original Code.
211              
212             4.0 INABILITY TO COMPLY DUE TO STATUTE OR REGULATION
213              
214             If it is impossible for You to comply with any of the terms of this
215             License with respect to some or all of the Original Code due to
216             statute, judicial order, or regulation then You must: (a) comply with
217             the terms of this License to the maximum extent possible; and (b)
218             describe the limitations and the code they affect. Such description
219             must be included in the LEGAL file described in Section 3.2 and
220             must be included with all distributions of the Source Code. Except
221             to the extent prohibited by statute or regulation, such description
222             must be sufficiently detailed for a recipient of ordinary skill to be
223             able to understand it.
224              
225             5.0 APPLICATION OF THIS LICENSE
226              
227             This License applies to code to which the Initial Developer has
228             attached the notice in Exhibit A and to related Modifications as set
229             out in Section 3.1.
230              
231             6.0 VERSIONS OF THE LICENSE
232              
233             6.1 New Versions.
234             Sun may publish revised and/or new versions of the License from
235             time to time. Each version will be given a distinguishing version
236             number.
237              
238             6.2 Effect of New Versions.
239             Once Original Code has been published under a particular version of
240             the License, You may always continue to use it under the terms of
241             that version. You may also choose to use such Original Code under
242             the terms of any subsequent version of the License published by
243             Sun. No one other than Sun has the right to modify the terms
244             applicable to Original Code.
245              
246             7.0 DISCLAIMER OF WARRANTY
247              
248             ORIGINAL CODE IS PROVIDED UNDER THIS LICENSE ON AN
249             "AS IS" BASIS, WITHOUT WARRANTY OF ANY KIND, EITHER
250             EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION,
251             WARRANTIES THAT THE ORIGINAL CODE IS FREE OF
252             DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR
253             PURPOSE OR NON-INFRINGING. THE ENTIRE RISK AS TO THE
254             QUALITY AND PERFORMANCE OF THE ORIGINAL CODE IS
255             WITH YOU. SHOULD ANY ORIGINAL CODE PROVE DEFECTIVE
256             IN ANY RESPECT, YOU (NOT THE INITIAL DEVELOPER)
257             ASSUME THE COST OF ANY NECESSARY SERVICING, REPAIR
258             OR CORRECTION. THIS DISCLAIMER OF WARRANTY
259             CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE
260             OF ANY ORIGINAL CODE IS AUTHORIZED HEREUNDER EXCEPT
261             UNDER THIS DISCLAIMER.
262              
263             8.0 TERMINATION
264              
265             8.1 This License and the rights granted hereunder will terminate
266             automatically if You fail to comply with terms herein and fail to cure
267             such breach within 30 days of becoming aware of the breach. All
268             sublicenses to the Original Code which are properly granted shall
269             survive any termination of this License. Provisions which, by their
270             nature, must remain in effect beyond the termination of this License
271             shall survive.
272              
273             8.2 In the event of termination under Section 8.1 above, all end user
274             license agreements (excluding distributors and resellers) which have
275             been validly granted by You or any distributor hereunder prior to
276             termination shall survive termination.
277              
278             9.0 LIMIT OF LIABILITY
279              
280             UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY,
281             WHETHER TORT (INCLUDING NEGLIGENCE), CONTRACT, OR
282             OTHERWISE, SHALL YOU, THE INITIAL DEVELOPER, ANY
283             OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF ORIGINAL
284             CODE, OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE
285             LIABLE TO ANY PERSON FOR ANY INDIRECT, SPECIAL,
286             INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
287             CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES
288             FOR LOSS OF GOODWILL, WORK STOPPAGE, COMPUTER
289             FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
290             COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY
291             SHALL HAVE BEEN INFORMED OF THE POSSIBILITY OF SUCH
292             DAMAGES. THIS LIMITATION OF LIABILITY SHALL NOT APPLY
293             TO LIABILITY FOR DEATH OR PERSONAL INJURY RESULTING
294             FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT
295             APPLICABLE LAW PROHIBITS SUCH LIMITATION. SOME
296             JURISDICTIONS DO NOT ALLOW THE EXCLUSION OR
297             LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES,
298             SO THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO
299             YOU.
300              
301             10.0 U.S. GOVERNMENT END USERS
302              
303             U.S. Government: If this Software is being acquired by or on behalf
304             of the U.S. Government or by a U.S. Government prime contractor
305             or subcontractor (at any tier), then the Government's rights in the
306             Software and accompanying documentation shall be only as set
307             forth in this license; this is in accordance with 48 C.F.R. 227.7201
308             through 227.7202-4 (for Department of Defense (DoD) acquisitions)
309             and with 48 C.F.R. 2.101 and 12.212 (for non-DoD acquisitions).
310              
311             11.0 MISCELLANEOUS
312              
313             This License represents the complete agreement concerning
314             subject matter hereof. If any provision of this License is held to be
315             unenforceable, such provision shall be reformed only to the extent
316             necessary to make it enforceable. This License shall be governed
317             by California law provisions (except to the extent applicable law, if
318             any, provides otherwise), excluding its conflict-of-law provisions.
319             With respect to disputes in which at least one party is a citizen of,
320             or an entity chartered or registered to do business in the United
321             States of America, any litigation relating to this License shall be
322             subject to the jurisdiction of the Federal Courts of the Northern
323             District of California, with venue lying in Santa Clara County,
324             California, with the losing party responsible for costs, including
325             without limitation, court costs and reasonable attorneys' fees and
326             expenses. The application of the United Nations Convention on
327             Contracts for the International Sale of Goods is expressly excluded.
328             Any law or regulation which provides that the language of a contract
329             shall be construed against the drafter shall not apply to this
330             License.
331              
332             EXHIBIT A - Sun Standards License
333              
334             "The contents of this file are subject to the Sun Standards
335              
336             License Version 1.1 (the "License");
337              
338             You may not use this file except in compliance with the
339              
340             License. You may obtain a copy of the
341              
342             License at _______________________________.
343              
344              
345              
346             Software distributed under the License is distributed on
347              
348             an "AS IS" basis, WITHOUT WARRANTY OF ANY KIND, either
349              
350             express or implied. See the License for the specific
351              
352             language governing rights and limitations under the License.
353              
354              
355              
356             The Original Code is ______________________________________.
357              
358              
359              
360             The Initial Developer of the Original Code is:
361              
362             Sun Microsystems, Inc..
363              
364              
365              
366             Portions created by: _______________________________________
367              
368              
369              
370             are Copyright (C): _______________________________________
371              
372              
373              
374             All Rights Reserved.
375              
376              
377              
378             Contributor(s): _______________________________________
379              
380              
381             EXHIBIT B - Standards
382              
383             The Standard is defined as the following:
384              
385             OpenOffice.org XML File Format Specification, located at
386             http://xml.openoffice.org
387              
388             OpenOffice.org Application Programming Interface Specification,
389             located at
390             http://api.openoffice.org