OSDN Git Service

new repo
[bytom/vapor.git] / vendor / github.com / spf13 / cobra / cobra / cmd / license_lgpl.go
1 package cmd
2
3 func initLgpl() {
4         Licenses["lgpl"] = License{
5                 Name:            "GNU Lesser General Public License",
6                 PossibleMatches: []string{"lgpl", "lesser gpl", "gnu lgpl"},
7                 Header: `
8 This program is free software: you can redistribute it and/or modify
9 it under the terms of the GNU Lesser General Public License as published by
10 the Free Software Foundation, either version 3 of the License, or
11 (at your option) any later version.
12
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 GNU Lesser General Public License for more details.
17
18 You should have received a copy of the GNU Lesser General Public License
19 along with this program. If not, see <http://www.gnu.org/licenses/>.`,
20                 Text: `                   GNU LESSER GENERAL PUBLIC LICENSE
21                        Version 3, 29 June 2007
22
23  Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
24  Everyone is permitted to copy and distribute verbatim copies
25  of this license document, but changing it is not allowed.
26
27
28   This version of the GNU Lesser General Public License incorporates
29 the terms and conditions of version 3 of the GNU General Public
30 License, supplemented by the additional permissions listed below.
31
32   0. Additional Definitions.
33
34   As used herein, "this License" refers to version 3 of the GNU Lesser
35 General Public License, and the "GNU GPL" refers to version 3 of the GNU
36 General Public License.
37
38   "The Library" refers to a covered work governed by this License,
39 other than an Application or a Combined Work as defined below.
40
41   An "Application" is any work that makes use of an interface provided
42 by the Library, but which is not otherwise based on the Library.
43 Defining a subclass of a class defined by the Library is deemed a mode
44 of using an interface provided by the Library.
45
46   A "Combined Work" is a work produced by combining or linking an
47 Application with the Library.  The particular version of the Library
48 with which the Combined Work was made is also called the "Linked
49 Version".
50
51   The "Minimal Corresponding Source" for a Combined Work means the
52 Corresponding Source for the Combined Work, excluding any source code
53 for portions of the Combined Work that, considered in isolation, are
54 based on the Application, and not on the Linked Version.
55
56   The "Corresponding Application Code" for a Combined Work means the
57 object code and/or source code for the Application, including any data
58 and utility programs needed for reproducing the Combined Work from the
59 Application, but excluding the System Libraries of the Combined Work.
60
61   1. Exception to Section 3 of the GNU GPL.
62
63   You may convey a covered work under sections 3 and 4 of this License
64 without being bound by section 3 of the GNU GPL.
65
66   2. Conveying Modified Versions.
67
68   If you modify a copy of the Library, and, in your modifications, a
69 facility refers to a function or data to be supplied by an Application
70 that uses the facility (other than as an argument passed when the
71 facility is invoked), then you may convey a copy of the modified
72 version:
73
74    a) under this License, provided that you make a good faith effort to
75    ensure that, in the event an Application does not supply the
76    function or data, the facility still operates, and performs
77    whatever part of its purpose remains meaningful, or
78
79    b) under the GNU GPL, with none of the additional permissions of
80    this License applicable to that copy.
81
82   3. Object Code Incorporating Material from Library Header Files.
83
84   The object code form of an Application may incorporate material from
85 a header file that is part of the Library.  You may convey such object
86 code under terms of your choice, provided that, if the incorporated
87 material is not limited to numerical parameters, data structure
88 layouts and accessors, or small macros, inline functions and templates
89 (ten or fewer lines in length), you do both of the following:
90
91    a) Give prominent notice with each copy of the object code that the
92    Library is used in it and that the Library and its use are
93    covered by this License.
94
95    b) Accompany the object code with a copy of the GNU GPL and this license
96    document.
97
98   4. Combined Works.
99
100   You may convey a Combined Work under terms of your choice that,
101 taken together, effectively do not restrict modification of the
102 portions of the Library contained in the Combined Work and reverse
103 engineering for debugging such modifications, if you also do each of
104 the following:
105
106    a) Give prominent notice with each copy of the Combined Work that
107    the Library is used in it and that the Library and its use are
108    covered by this License.
109
110    b) Accompany the Combined Work with a copy of the GNU GPL and this license
111    document.
112
113    c) For a Combined Work that displays copyright notices during
114    execution, include the copyright notice for the Library among
115    these notices, as well as a reference directing the user to the
116    copies of the GNU GPL and this license document.
117
118    d) Do one of the following:
119
120        0) Convey the Minimal Corresponding Source under the terms of this
121        License, and the Corresponding Application Code in a form
122        suitable for, and under terms that permit, the user to
123        recombine or relink the Application with a modified version of
124        the Linked Version to produce a modified Combined Work, in the
125        manner specified by section 6 of the GNU GPL for conveying
126        Corresponding Source.
127
128        1) Use a suitable shared library mechanism for linking with the
129        Library.  A suitable mechanism is one that (a) uses at run time
130        a copy of the Library already present on the user's computer
131        system, and (b) will operate properly with a modified version
132        of the Library that is interface-compatible with the Linked
133        Version.
134
135    e) Provide Installation Information, but only if you would otherwise
136    be required to provide such information under section 6 of the
137    GNU GPL, and only to the extent that such information is
138    necessary to install and execute a modified version of the
139    Combined Work produced by recombining or relinking the
140    Application with a modified version of the Linked Version. (If
141    you use option 4d0, the Installation Information must accompany
142    the Minimal Corresponding Source and Corresponding Application
143    Code. If you use option 4d1, you must provide the Installation
144    Information in the manner specified by section 6 of the GNU GPL
145    for conveying Corresponding Source.)
146
147   5. Combined Libraries.
148
149   You may place library facilities that are a work based on the
150 Library side by side in a single library together with other library
151 facilities that are not Applications and are not covered by this
152 License, and convey such a combined library under terms of your
153 choice, if you do both of the following:
154
155    a) Accompany the combined library with a copy of the same work based
156    on the Library, uncombined with any other library facilities,
157    conveyed under the terms of this License.
158
159    b) Give prominent notice with the combined library that part of it
160    is a work based on the Library, and explaining where to find the
161    accompanying uncombined form of the same work.
162
163   6. Revised Versions of the GNU Lesser General Public License.
164
165   The Free Software Foundation may publish revised and/or new versions
166 of the GNU Lesser General Public License from time to time. Such new
167 versions will be similar in spirit to the present version, but may
168 differ in detail to address new problems or concerns.
169
170   Each version is given a distinguishing version number. If the
171 Library as you received it specifies that a certain numbered version
172 of the GNU Lesser General Public License "or any later version"
173 applies to it, you have the option of following the terms and
174 conditions either of that published version or of any later version
175 published by the Free Software Foundation. If the Library as you
176 received it does not specify a version number of the GNU Lesser
177 General Public License, you may choose any version of the GNU Lesser
178 General Public License ever published by the Free Software Foundation.
179
180   If the Library as you received it specifies that a proxy can decide
181 whether future versions of the GNU Lesser General Public License shall
182 apply, that proxy's public statement of acceptance of any version is
183 permanent authorization for you to choose that version for the
184 Library.`,
185         }
186 }