1package cmd 2 3func initLgpl() { 4 Licenses["lgpl"] = License{ 5 Name: "GNU Lesser General Public License", 6 PossibleMatches: []string{"lgpl", "lesser gpl", "gnu lgpl"}, 7 Header: ` 8This program is free software: you can redistribute it and/or modify 9it under the terms of the GNU Lesser General Public License as published by 10the Free Software Foundation, either version 3 of the License, or 11(at your option) any later version. 12 13This program is distributed in the hope that it will be useful, 14but WITHOUT ANY WARRANTY; without even the implied warranty of 15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 16GNU Lesser General Public License for more details. 17 18You should have received a copy of the GNU Lesser General Public License 19along 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 29the terms and conditions of version 3 of the GNU General Public 30License, 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 35General Public License, and the "GNU GPL" refers to version 3 of the GNU 36General Public License. 37 38 "The Library" refers to a covered work governed by this License, 39other than an Application or a Combined Work as defined below. 40 41 An "Application" is any work that makes use of an interface provided 42by the Library, but which is not otherwise based on the Library. 43Defining a subclass of a class defined by the Library is deemed a mode 44of using an interface provided by the Library. 45 46 A "Combined Work" is a work produced by combining or linking an 47Application with the Library. The particular version of the Library 48with which the Combined Work was made is also called the "Linked 49Version". 50 51 The "Minimal Corresponding Source" for a Combined Work means the 52Corresponding Source for the Combined Work, excluding any source code 53for portions of the Combined Work that, considered in isolation, are 54based on the Application, and not on the Linked Version. 55 56 The "Corresponding Application Code" for a Combined Work means the 57object code and/or source code for the Application, including any data 58and utility programs needed for reproducing the Combined Work from the 59Application, 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 64without 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 69facility refers to a function or data to be supplied by an Application 70that uses the facility (other than as an argument passed when the 71facility is invoked), then you may convey a copy of the modified 72version: 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 85a header file that is part of the Library. You may convey such object 86code under terms of your choice, provided that, if the incorporated 87material is not limited to numerical parameters, data structure 88layouts 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, 101taken together, effectively do not restrict modification of the 102portions of the Library contained in the Combined Work and reverse 103engineering for debugging such modifications, if you also do each of 104the 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 150Library side by side in a single library together with other library 151facilities that are not Applications and are not covered by this 152License, and convey such a combined library under terms of your 153choice, 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 166of the GNU Lesser General Public License from time to time. Such new 167versions will be similar in spirit to the present version, but may 168differ in detail to address new problems or concerns. 169 170 Each version is given a distinguishing version number. If the 171Library as you received it specifies that a certain numbered version 172of the GNU Lesser General Public License "or any later version" 173applies to it, you have the option of following the terms and 174conditions either of that published version or of any later version 175published by the Free Software Foundation. If the Library as you 176received it does not specify a version number of the GNU Lesser 177General Public License, you may choose any version of the GNU Lesser 178General Public License ever published by the Free Software Foundation. 179 180 If the Library as you received it specifies that a proxy can decide 181whether future versions of the GNU Lesser General Public License shall 182apply, that proxy's public statement of acceptance of any version is 183permanent authorization for you to choose that version for the 184Library.`, 185 } 186} 187