File Coverage

blib/lib/Software/License/LGPL_3_0.pm
Criterion Covered Total %
statement 16 23 69.5
branch n/a
condition n/a
subroutine 8 10 80.0
pod 6 6 100.0
total 30 39 76.9


line stmt bran cond sub pod time code
1 10     10   12149 use strict;
  10         14  
  10         211  
2 10     10   40 use warnings;
  10         16  
  10         331  
3             $Software::License::LGPL_3_0::VERSION = '0.104002';
4             use parent 'Software::License';
5 10     10   40 # ABSTRACT: GNU Lesser General Public License, Version 3
  10         28  
  10         43  
6              
7             use Software::License::GPL_3;
8 10     10   419  
  10         15  
  10         1437  
9              
10 23     23 1 149 my ($self) = @_;
11 0     0 1 0  
12 43     43 1 107 my $lgpl = $self->SUPER::fulltext;
13 42     42 1 83  
14 43     43 1 87 $lgpl .= "\n\n" . ('-' x 79) . "\n\n";
15              
16             my $gpl_3_ref = Software::License::GPL_3->section_data('LICENSE');
17 0     0 1   $lgpl .= $$gpl_3_ref;
18              
19 0           return $lgpl;
20             }
21 0            
22             1;
23 0            
24 0           =pod
25              
26 0           =encoding UTF-8
27              
28             =head1 NAME
29              
30             Software::License::LGPL_3_0 - GNU Lesser General Public License, Version 3
31              
32             =head1 VERSION
33              
34             version 0.104002
35              
36             =head1 PERL VERSION
37              
38             This module is part of CPAN toolchain, or is treated as such. As such, it
39             follows the agreement of the Perl Toolchain Gang to require no newer version of
40             perl than v5.8.1. This version may change by agreement of the Toolchain Gang,
41             but for now is governed by the L<Lancaster
42             Consensus|https://github.com/Perl-Toolchain-Gang/toolchain-site/blob/master/lancaster-consensus.md>
43             of 2013.
44              
45             =head1 AUTHOR
46              
47             Ricardo Signes <rjbs@semiotic.systems>
48              
49             =head1 COPYRIGHT AND LICENSE
50              
51             This software is copyright (c) 2022 by Ricardo Signes.
52              
53             This is free software; you can redistribute it and/or modify it under
54             the same terms as the Perl 5 programming language system itself.
55              
56             =cut
57              
58             __LICENSE__
59             GNU LESSER GENERAL PUBLIC LICENSE
60             Version 3, 29 June 2007
61              
62             Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
63             Everyone is permitted to copy and distribute verbatim copies
64             of this license document, but changing it is not allowed.
65              
66              
67             This version of the GNU Lesser General Public License incorporates
68             the terms and conditions of version 3 of the GNU General Public
69             License, supplemented by the additional permissions listed below.
70              
71             0. Additional Definitions.
72              
73             As used herein, "this License" refers to version 3 of the GNU Lesser
74             General Public License, and the "GNU GPL" refers to version 3 of the GNU
75             General Public License.
76              
77             "The Library" refers to a covered work governed by this License,
78             other than an Application or a Combined Work as defined below.
79              
80             An "Application" is any work that makes use of an interface provided
81             by the Library, but which is not otherwise based on the Library.
82             Defining a subclass of a class defined by the Library is deemed a mode
83             of using an interface provided by the Library.
84              
85             A "Combined Work" is a work produced by combining or linking an
86             Application with the Library. The particular version of the Library
87             with which the Combined Work was made is also called the "Linked
88             Version".
89              
90             The "Minimal Corresponding Source" for a Combined Work means the
91             Corresponding Source for the Combined Work, excluding any source code
92             for portions of the Combined Work that, considered in isolation, are
93             based on the Application, and not on the Linked Version.
94              
95             The "Corresponding Application Code" for a Combined Work means the
96             object code and/or source code for the Application, including any data
97             and utility programs needed for reproducing the Combined Work from the
98             Application, but excluding the System Libraries of the Combined Work.
99              
100             1. Exception to Section 3 of the GNU GPL.
101              
102             You may convey a covered work under sections 3 and 4 of this License
103             without being bound by section 3 of the GNU GPL.
104              
105             2. Conveying Modified Versions.
106              
107             If you modify a copy of the Library, and, in your modifications, a
108             facility refers to a function or data to be supplied by an Application
109             that uses the facility (other than as an argument passed when the
110             facility is invoked), then you may convey a copy of the modified
111             version:
112              
113             a) under this License, provided that you make a good faith effort to
114             ensure that, in the event an Application does not supply the
115             function or data, the facility still operates, and performs
116             whatever part of its purpose remains meaningful, or
117              
118             b) under the GNU GPL, with none of the additional permissions of
119             this License applicable to that copy.
120              
121             3. Object Code Incorporating Material from Library Header Files.
122              
123             The object code form of an Application may incorporate material from
124             a header file that is part of the Library. You may convey such object
125             code under terms of your choice, provided that, if the incorporated
126             material is not limited to numerical parameters, data structure
127             layouts and accessors, or small macros, inline functions and templates
128             (ten or fewer lines in length), you do both of the following:
129              
130             a) Give prominent notice with each copy of the object code that the
131             Library is used in it and that the Library and its use are
132             covered by this License.
133              
134             b) Accompany the object code with a copy of the GNU GPL and this license
135             document.
136              
137             4. Combined Works.
138              
139             You may convey a Combined Work under terms of your choice that,
140             taken together, effectively do not restrict modification of the
141             portions of the Library contained in the Combined Work and reverse
142             engineering for debugging such modifications, if you also do each of
143             the following:
144              
145             a) Give prominent notice with each copy of the Combined Work that
146             the Library is used in it and that the Library and its use are
147             covered by this License.
148              
149             b) Accompany the Combined Work with a copy of the GNU GPL and this license
150             document.
151              
152             c) For a Combined Work that displays copyright notices during
153             execution, include the copyright notice for the Library among
154             these notices, as well as a reference directing the user to the
155             copies of the GNU GPL and this license document.
156              
157             d) Do one of the following:
158              
159             0) Convey the Minimal Corresponding Source under the terms of this
160             License, and the Corresponding Application Code in a form
161             suitable for, and under terms that permit, the user to
162             recombine or relink the Application with a modified version of
163             the Linked Version to produce a modified Combined Work, in the
164             manner specified by section 6 of the GNU GPL for conveying
165             Corresponding Source.
166              
167             1) Use a suitable shared library mechanism for linking with the
168             Library. A suitable mechanism is one that (a) uses at run time
169             a copy of the Library already present on the user's computer
170             system, and (b) will operate properly with a modified version
171             of the Library that is interface-compatible with the Linked
172             Version.
173              
174             e) Provide Installation Information, but only if you would otherwise
175             be required to provide such information under section 6 of the
176             GNU GPL, and only to the extent that such information is
177             necessary to install and execute a modified version of the
178             Combined Work produced by recombining or relinking the
179             Application with a modified version of the Linked Version. (If
180             you use option 4d0, the Installation Information must accompany
181             the Minimal Corresponding Source and Corresponding Application
182             Code. If you use option 4d1, you must provide the Installation
183             Information in the manner specified by section 6 of the GNU GPL
184             for conveying Corresponding Source.)
185              
186             5. Combined Libraries.
187              
188             You may place library facilities that are a work based on the
189             Library side by side in a single library together with other library
190             facilities that are not Applications and are not covered by this
191             License, and convey such a combined library under terms of your
192             choice, if you do both of the following:
193              
194             a) Accompany the combined library with a copy of the same work based
195             on the Library, uncombined with any other library facilities,
196             conveyed under the terms of this License.
197              
198             b) Give prominent notice with the combined library that part of it
199             is a work based on the Library, and explaining where to find the
200             accompanying uncombined form of the same work.
201              
202             6. Revised Versions of the GNU Lesser General Public License.
203              
204             The Free Software Foundation may publish revised and/or new versions
205             of the GNU Lesser General Public License from time to time. Such new
206             versions will be similar in spirit to the present version, but may
207             differ in detail to address new problems or concerns.
208              
209             Each version is given a distinguishing version number. If the
210             Library as you received it specifies that a certain numbered version
211             of the GNU Lesser General Public License "or any later version"
212             applies to it, you have the option of following the terms and
213             conditions either of that published version or of any later version
214             published by the Free Software Foundation. If the Library as you
215             received it does not specify a version number of the GNU Lesser
216             General Public License, you may choose any version of the GNU Lesser
217             General Public License ever published by the Free Software Foundation.
218              
219             If the Library as you received it specifies that a proxy can decide
220             whether future versions of the GNU Lesser General Public License shall
221             apply, that proxy's public statement of acceptance of any version is
222             permanent authorization for you to choose that version for the
223             Library.