summaryrefslogtreecommitdiffstats
path: root/meta/files
diff options
context:
space:
mode:
authorMeh Mbeh Ida Delphine <idadelm@gmail.com>2020-10-15 21:45:39 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-02-21 22:01:28 +0000
commit2456f523cfbbae0e509797a0aefa9733f2cb13e3 (patch)
tree16560759e11913adde8a5e10c2bcd691cd843c05 /meta/files
parenta425e01da82aba276344c8fa6ec7c9c81854832b (diff)
downloadpoky-2456f523cfbbae0e509797a0aefa9733f2cb13e3.tar.gz
licenses: Update license file to match current SPDX names
* Updated mappings of license fields of meta/conf/licenses.conf to match latest SPDX naming. * Add mappings to the old names * Renamed license files to match the new preferred names. * Added "or later" versions of license mappings * Added "or later" versions of common license files eg GPL-2.0-or-later Fixes: [YOCTO #13320] (From OE-Core rev: 5ecf139a31fa7bd813855f1235ea9f434fbcb2e0) Signed-off-by: Meh Mbeh Ida Delphine <idadelm@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/files')
-rw-r--r--meta/files/common-licenses/AGPL-3.0-only (renamed from meta/files/common-licenses/AGPL-3.0)0
-rw-r--r--meta/files/common-licenses/AGPL-3.0-or-later613
-rw-r--r--meta/files/common-licenses/GPL-1.0-only (renamed from meta/files/common-licenses/GPL-1.0)0
-rw-r--r--meta/files/common-licenses/GPL-1.0-or-later232
-rw-r--r--meta/files/common-licenses/GPL-2.0-only (renamed from meta/files/common-licenses/GPL-2.0)0
-rw-r--r--meta/files/common-licenses/GPL-2.0-or-later319
-rw-r--r--meta/files/common-licenses/GPL-3.0-only (renamed from meta/files/common-licenses/GPL-3.0)0
-rw-r--r--meta/files/common-licenses/GPL-3.0-or-later625
-rw-r--r--meta/files/common-licenses/LGPL-2.0-only (renamed from meta/files/common-licenses/LGPL-2.0)0
-rw-r--r--meta/files/common-licenses/LGPL-2.0-or-later446
-rw-r--r--meta/files/common-licenses/LGPL-2.1-only (renamed from meta/files/common-licenses/LGPL-2.1)0
-rw-r--r--meta/files/common-licenses/LGPL-2.1-or-later468
-rw-r--r--meta/files/common-licenses/LGPL-3.0-only (renamed from meta/files/common-licenses/LGPL-3.0)0
-rw-r--r--meta/files/common-licenses/LGPL-3.0-or-later163
14 files changed, 2866 insertions, 0 deletions
diff --git a/meta/files/common-licenses/AGPL-3.0 b/meta/files/common-licenses/AGPL-3.0-only
index dba13ed2dd..dba13ed2dd 100644
--- a/meta/files/common-licenses/AGPL-3.0
+++ b/meta/files/common-licenses/AGPL-3.0-only
diff --git a/meta/files/common-licenses/AGPL-3.0-or-later b/meta/files/common-licenses/AGPL-3.0-or-later
new file mode 100644
index 0000000000..fe0ef42ff4
--- /dev/null
+++ b/meta/files/common-licenses/AGPL-3.0-or-later
@@ -0,0 +1,613 @@
1GNU AFFERO GENERAL PUBLIC LICENSE
2
3Version 3, 19 November 2007
4
5Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
6
7Everyone is permitted to copy and distribute verbatim copies of this license
8document, but changing it is not allowed.
9
10Preamble
11
12The GNU Affero General Public License is a free, copyleft license for software
13and other kinds of works, specifically designed to ensure cooperation with
14the community in the case of network server software.
15
16The licenses for most software and other practical works are designed to take
17away your freedom to share and change the works. By contrast, our General
18Public Licenses are intended to guarantee your freedom to share and change
19all versions of a program--to make sure it remains free software for all its
20users.
21
22When we speak of free software, we are referring to freedom, not price. Our
23General Public Licenses are designed to make sure that you have the freedom
24to distribute copies of free software (and charge for them if you wish), that
25you receive source code or can get it if you want it, that you can change
26the software or use pieces of it in new free programs, and that you know you
27can do these things.
28
29Developers that use our General Public Licenses protect your rights with two
30steps: (1) assert copyright on the software, and (2) offer you this License
31which gives you legal permission to copy, distribute and/or modify the software.
32
33A secondary benefit of defending all users' freedom is that improvements made
34in alternate versions of the program, if they receive widespread use, become
35available for other developers to incorporate. Many developers of free software
36are heartened and encouraged by the resulting cooperation. However, in the
37case of software used on network servers, this result may fail to come about.
38The GNU General Public License permits making a modified version and letting
39the public access it on a server without ever releasing its source code to
40the public.
41
42The GNU Affero General Public License is designed specifically to ensure that,
43in such cases, the modified source code becomes available to the community.
44It requires the operator of a network server to provide the source code of
45the modified version running there to the users of that server. Therefore,
46public use of a modified version, on a publicly accessible server, gives the
47public access to the source code of the modified version.
48
49An older license, called the Affero General Public License and published by
50Affero, was designed to accomplish similar goals. This is a different license,
51not a version of the Affero GPL, but Affero has released a new version of
52the Affero GPL which permits relicensing under this license.
53
54The precise terms and conditions for copying, distribution and modification
55follow.
56
57TERMS AND CONDITIONS
58
59 0. Definitions.
60
61 "This License" refers to version 3 of the GNU Affero General Public License.
62
63"Copyright" also means copyright-like laws that apply to other kinds of works,
64such as semiconductor masks.
65
66"The Program" refers to any copyrightable work licensed under this License.
67Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals
68or organizations.
69
70To "modify" a work means to copy from or adapt all or part of the work in
71a fashion requiring copyright permission, other than the making of an exact
72copy. The resulting work is called a "modified version" of the earlier work
73or a work "based on" the earlier work.
74
75A "covered work" means either the unmodified Program or a work based on the
76Program.
77
78To "propagate" a work means to do anything with it that, without permission,
79would make you directly or secondarily liable for infringement under applicable
80copyright law, except executing it on a computer or modifying a private copy.
81Propagation includes copying, distribution (with or without modification),
82making available to the public, and in some countries other activities as
83well.
84
85To "convey" a work means any kind of propagation that enables other parties
86to make or receive copies. Mere interaction with a user through a computer
87network, with no transfer of a copy, is not conveying.
88
89An interactive user interface displays "Appropriate Legal Notices" to the
90extent that it includes a convenient and prominently visible feature that
91(1) displays an appropriate copyright notice, and (2) tells the user that
92there is no warranty for the work (except to the extent that warranties are
93provided), that licensees may convey the work under this License, and how
94to view a copy of this License. If the interface presents a list of user commands
95or options, such as a menu, a prominent item in the list meets this criterion.
96
97 1. Source Code.
98
99The "source code" for a work means the preferred form of the work for making
100modifications to it. "Object code" means any non-source form of a work.
101
102A "Standard Interface" means an interface that either is an official standard
103defined by a recognized standards body, or, in the case of interfaces specified
104for a particular programming language, one that is widely used among developers
105working in that language.
106
107The "System Libraries" of an executable work include anything, other than
108the work as a whole, that (a) is included in the normal form of packaging
109a Major Component, but which is not part of that Major Component, and (b)
110serves only to enable use of the work with that Major Component, or to implement
111a Standard Interface for which an implementation is available to the public
112in source code form. A "Major Component", in this context, means a major essential
113component (kernel, window system, and so on) of the specific operating system
114(if any) on which the executable work runs, or a compiler used to produce
115the work, or an object code interpreter used to run it.
116
117The "Corresponding Source" for a work in object code form means all the source
118code needed to generate, install, and (for an executable work) run the object
119code and to modify the work, including scripts to control those activities.
120However, it does not include the work's System Libraries, or general-purpose
121tools or generally available free programs which are used unmodified in performing
122those activities but which are not part of the work. For example, Corresponding
123Source includes interface definition files associated with source files for
124the work, and the source code for shared libraries and dynamically linked
125subprograms that the work is specifically designed to require, such as by
126intimate data communication or control flow between those
127
128 subprograms and other parts of the work.
129
130The Corresponding Source need not include anything that users can regenerate
131automatically from other parts of the Corresponding Source.
132
133 The Corresponding Source for a work in source code form is that same work.
134
135 2. Basic Permissions.
136
137All rights granted under this License are granted for the term of copyright
138on the Program, and are irrevocable provided the stated conditions are met.
139This License explicitly affirms your unlimited permission to run the unmodified
140Program. The output from running a covered work is covered by this License
141only if the output, given its content, constitutes a covered work. This License
142acknowledges your rights of fair use or other equivalent, as provided by copyright
143law.
144
145You may make, run and propagate covered works that you do not convey, without
146conditions so long as your license otherwise remains in force. You may convey
147covered works to others for the sole purpose of having them make modifications
148exclusively for you, or provide you with facilities for running those works,
149provided that you comply with the terms of this License in conveying all material
150for which you do not control copyright. Those thus making or running the covered
151works for you must do so exclusively on your behalf, under your direction
152and control, on terms that prohibit them from making any copies of your copyrighted
153material outside their relationship with you.
154
155Conveying under any other circumstances is permitted solely under the conditions
156stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
157
158 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
159
160No covered work shall be deemed part of an effective technological measure
161under any applicable law fulfilling obligations under article 11 of the WIPO
162copyright treaty adopted on 20 December 1996, or similar laws prohibiting
163or restricting circumvention of such measures.
164
165When you convey a covered work, you waive any legal power to forbid circumvention
166of technological measures to the extent such circumvention is effected by
167exercising rights under this License with respect to the covered work, and
168you disclaim any intention to limit operation or modification of the work
169as a means of enforcing, against the work's users, your or third parties'
170legal rights to forbid circumvention of technological measures.
171
172 4. Conveying Verbatim Copies.
173
174You may convey verbatim copies of the Program's source code as you receive
175it, in any medium, provided that you conspicuously and appropriately publish
176on each copy an appropriate copyright notice; keep intact all notices stating
177that this License and any non-permissive terms added in accord with section
1787 apply to the code; keep intact all notices of the absence of any warranty;
179and give all recipients a copy of this License along with the Program.
180
181You may charge any price or no price for each copy that you convey, and you
182may offer support or warranty protection for a fee.
183
184 5. Conveying Modified Source Versions.
185
186You may convey a work based on the Program, or the modifications to produce
187it from the Program, in the form of source code under the terms of section
1884, provided that you also meet all of these conditions:
189
190a) The work must carry prominent notices stating that you modified it, and
191giving a relevant date.
192
193b) The work must carry prominent notices stating that it is released under
194this License and any conditions added under section 7. This requirement modifies
195the requirement in section 4 to "keep intact all notices".
196
197c) You must license the entire work, as a whole, under this License to anyone
198who comes into possession of a copy. This License will therefore apply, along
199with any applicable section 7 additional terms, to the whole of the work,
200and all its parts, regardless of how they are packaged. This License gives
201no permission to license the work in any other way, but it does not invalidate
202such permission if you have separately received it.
203
204d) If the work has interactive user interfaces, each must display Appropriate
205Legal Notices; however, if the Program has interactive interfaces that do
206not display Appropriate Legal Notices, your work need not make them do so.
207
208A compilation of a covered work with other separate and independent works,
209which are not by their nature extensions of the covered work, and which are
210not combined with it such as to form a larger program, in or on a volume of
211a storage or distribution medium, is called an "aggregate" if the compilation
212and its resulting copyright are not used to limit the access or legal rights
213of the compilation's users beyond what the individual works permit. Inclusion
214of a covered work in an aggregate does not cause this License to apply to
215the other parts of the aggregate.
216
217 6. Conveying Non-Source Forms.
218
219You may convey a covered work in object code form under the terms of sections
2204 and 5, provided that you also convey the machine-readable Corresponding
221Source under the terms of this License, in one of these ways:
222
223a) Convey the object code in, or embodied in, a physical product (including
224a physical distribution medium), accompanied by the Corresponding Source fixed
225on a durable physical medium customarily used for software interchange.
226
227b) Convey the object code in, or embodied in, a physical product (including
228a physical distribution medium), accompanied by a written offer, valid for
229at least three years and valid for as long as you offer spare parts or customer
230support for that product model, to give anyone who possesses the object code
231either (1) a copy of the Corresponding Source for all the software in the
232product that is covered by this License, on a durable physical medium customarily
233used for software interchange, for a price no more than your reasonable cost
234of physically performing this conveying of source, or (2) access to copy the
235Corresponding Source from a network server at no charge.
236
237c) Convey individual copies of the object code with a copy of the written
238offer to provide the Corresponding Source. This alternative is allowed only
239occasionally and noncommercially, and only if you received the object code
240with such an offer, in accord with subsection 6b.
241
242d) Convey the object code by offering access from a designated place (gratis
243or for a charge), and offer equivalent access to the Corresponding Source
244in the same way through the same place at no further charge. You need not
245require recipients to copy the Corresponding Source along with the object
246code. If the place to copy the object code is a network server, the Corresponding
247Source may be on a different server (operated by you or a third party) that
248supports equivalent copying facilities, provided you maintain clear directions
249next to the object code saying where to find the Corresponding Source. Regardless
250of what server hosts the Corresponding Source, you remain obligated to ensure
251that it is available for as long as needed to satisfy these requirements.
252
253e) Convey the object code using peer-to-peer transmission, provided you inform
254other peers where the object code and Corresponding Source of the work are
255being offered to the general public at no charge under subsection 6d.
256
257A separable portion of the object code, whose source code is excluded from
258the Corresponding Source as a System Library, need not be included in conveying
259the object code work.
260
261A "User Product" is either (1) a "consumer product", which means any tangible
262personal property which is normally used for personal, family, or household
263purposes, or (2) anything designed or sold for incorporation into a dwelling.
264In determining whether a product is a consumer product, doubtful cases shall
265be resolved in favor of coverage. For a particular product received by a particular
266user, "normally used" refers to a typical or common use of that class of product,
267regardless of the status of the particular user or of the way in which the
268particular user actually uses, or expects or is expected to use, the product.
269A product is a consumer product regardless of whether the product has substantial
270commercial, industrial or non-consumer uses, unless such uses represent the
271only significant mode of use of the product.
272
273"Installation Information" for a User Product means any methods, procedures,
274authorization keys, or other information required to install and execute modified
275versions of a covered work in that User Product from a modified version of
276its Corresponding Source. The information must suffice to ensure that the
277continued functioning of the modified object code is in no case prevented
278or interfered with solely because modification has been made.
279
280If you convey an object code work under this section in, or with, or specifically
281for use in, a User Product, and the conveying occurs as part of a transaction
282in which the right of possession and use of the User Product is transferred
283to the recipient in perpetuity or for a fixed term (regardless of how the
284transaction is characterized), the Corresponding Source conveyed under this
285section must be accompanied by the Installation Information. But this requirement
286does not apply if neither you nor any third party retains the ability to install
287modified object code on the User Product (for example, the work has been installed
288in ROM).
289
290The requirement to provide Installation Information does not include a requirement
291to continue to provide support service, warranty, or updates for a work that
292has been modified or installed by the recipient, or for the User Product in
293which it has been modified or installed. Access to a network may be denied
294when the modification itself materially and adversely affects the operation
295of the network or violates the rules and protocols for communication across
296the network.
297
298Corresponding Source conveyed, and Installation Information provided, in accord
299with this section must be in a format that is publicly documented (and with
300an implementation available to the public in source code form), and must require
301no special password or key for unpacking, reading or copying.
302
303 7. Additional Terms.
304
305"Additional permissions" are terms that supplement the terms of this License
306by making exceptions from one or more of its conditions. Additional permissions
307that are applicable to the entire Program shall be treated as though they
308were included in this License, to the extent that they are valid under applicable
309law. If additional permissions apply only to part of the Program, that part
310may be used separately under those permissions, but the entire Program remains
311governed by this License without regard to the additional permissions.
312
313When you convey a copy of a covered work, you may at your option remove any
314additional permissions from that copy, or from any part of it. (Additional
315permissions may be written to require their own removal in certain cases when
316you modify the work.) You may place additional permissions on material, added
317by you to a covered work, for which you have or can give appropriate copyright
318permission.
319
320Notwithstanding any other provision of this License, for material you add
321to a covered work, you may (if authorized by the copyright holders of that
322material) supplement the terms of this License with terms:
323
324a) Disclaiming warranty or limiting liability differently from the terms of
325sections 15 and 16 of this License; or
326
327b) Requiring preservation of specified reasonable legal notices or author
328attributions in that material or in the Appropriate Legal Notices displayed
329by works containing it; or
330
331c) Prohibiting misrepresentation of the origin of that material, or requiring
332that modified versions of such material be marked in reasonable ways as different
333from the original version; or
334
335d) Limiting the use for publicity purposes of names of licensors or authors
336of the material; or
337
338e) Declining to grant rights under trademark law for use of some trade names,
339trademarks, or service marks; or
340
341f) Requiring indemnification of licensors and authors of that material by
342anyone who conveys the material (or modified versions of it) with contractual
343assumptions of liability to the recipient, for any liability that these contractual
344assumptions directly impose on those licensors and authors.
345
346All other non-permissive additional terms are considered "further restrictions"
347within the meaning of section 10. If the Program as you received it, or any
348part of it, contains a notice stating that it is governed by this License
349along with a term that is a further restriction, you may remove that term.
350If a license document contains a further restriction but permits relicensing
351or conveying under this License, you may add to a covered work material governed
352by the terms of that license document, provided that the further restriction
353does not survive such relicensing or conveying.
354
355If you add terms to a covered work in accord with this section, you must place,
356in the relevant source files, a statement of the additional terms that apply
357to those files, or a notice indicating where to find the applicable terms.
358
359Additional terms, permissive or non-permissive, may be stated in the form
360of a separately written license, or stated as exceptions; the above requirements
361apply either way.
362
363 8. Termination.
364
365You may not propagate or modify a covered work except as expressly provided
366under this License. Any attempt otherwise to propagate or modify it is void,
367and will automatically terminate your rights under this License (including
368any patent licenses granted under the third paragraph of section 11).
369
370However, if you cease all violation of this License, then your license from
371a particular copyright holder is reinstated (a) provisionally, unless and
372until the copyright holder explicitly and finally terminates your license,
373and (b) permanently, if the copyright holder fails to notify you of the violation
374by some reasonable means prior to 60 days after the cessation.
375
376Moreover, your license from a particular copyright holder is reinstated permanently
377if the copyright holder notifies you of the violation by some reasonable means,
378this is the first time you have received notice of violation of this License
379(for any work) from that copyright holder, and you cure the violation prior
380to 30 days after your receipt of the notice.
381
382Termination of your rights under this section does not terminate the licenses
383of parties who have received copies or rights from you under this License.
384If your rights have been terminated and not permanently reinstated, you do
385not qualify to receive new licenses for the same material under section 10.
386
387 9. Acceptance Not Required for Having Copies.
388
389You are not required to accept this License in order to receive or run a copy
390of the Program. Ancillary propagation of a covered work occurring solely as
391a consequence of using peer-to-peer transmission to receive a copy likewise
392does not require acceptance. However, nothing other than this License grants
393you permission to propagate or modify any covered work. These actions infringe
394copyright if you do not accept this License. Therefore, by modifying or propagating
395a covered work, you indicate your acceptance of this License to do so.
396
397 10. Automatic Licensing of Downstream Recipients.
398
399Each time you convey a covered work, the recipient automatically receives
400a license from the original licensors, to run, modify and propagate that work,
401subject to this License. You are not responsible for enforcing compliance
402by third parties with this License.
403
404An "entity transaction" is a transaction transferring control of an organization,
405or substantially all assets of one, or subdividing an organization, or merging
406organizations. If propagation of a covered work results from an entity transaction,
407each party to that transaction who receives a copy of the work also receives
408whatever licenses to the work the party's predecessor in interest had or could
409give under the previous paragraph, plus a right to possession of the Corresponding
410Source of the work from the predecessor in interest, if the predecessor has
411it or can get it with reasonable efforts.
412
413You may not impose any further restrictions on the exercise of the rights
414granted or affirmed under this License. For example, you may not impose a
415license fee, royalty, or other charge for exercise of rights granted under
416this License, and you may not initiate litigation (including a cross-claim
417or counterclaim in a lawsuit) alleging that any patent claim is infringed
418by making, using, selling, offering for sale, or importing the Program or
419any portion of it.
420
421 11. Patents.
422
423A "contributor" is a copyright holder who authorizes use under this License
424of the Program or a work on which the Program is based. The work thus licensed
425is called the contributor's "contributor version".
426
427A contributor's "essential patent claims" are all patent claims owned or controlled
428by the contributor, whether already acquired or hereafter acquired, that would
429be infringed by some manner, permitted by this License, of making, using,
430or selling its contributor version, but do not include claims that would be
431infringed only as a consequence of further modification of the contributor
432version. For purposes of this definition, "control" includes the right to
433grant patent sublicenses in a manner consistent with the requirements of this
434License.
435
436Each contributor grants you a non-exclusive, worldwide, royalty-free patent
437license under the contributor's essential patent claims, to make, use, sell,
438offer for sale, import and otherwise run, modify and propagate the contents
439of its contributor version.
440
441In the following three paragraphs, a "patent license" is any express agreement
442or commitment, however denominated, not to enforce a patent (such as an express
443permission to practice a patent or covenant not to sue for patent infringement).
444To "grant" such a patent license to a party means to make such an agreement
445or commitment not to enforce a patent against the party.
446
447If you convey a covered work, knowingly relying on a patent license, and the
448Corresponding Source of the work is not available for anyone to copy, free
449of charge and under the terms of this License, through a publicly available
450network server or other readily accessible means, then you must either (1)
451cause the Corresponding Source to be so available, or (2) arrange to deprive
452yourself of the benefit of the patent license for this particular work, or
453(3) arrange, in a manner consistent with the requirements of this License,
454to extend the patent
455
456license to downstream recipients. "Knowingly relying" means you have actual
457knowledge that, but for the patent license, your conveying the covered work
458in a country, or your recipient's use of the covered work in a country, would
459infringe one or more identifiable patents in that country that you have reason
460to believe are valid.
461
462If, pursuant to or in connection with a single transaction or arrangement,
463you convey, or propagate by procuring conveyance of, a covered work, and grant
464a patent license to some of the parties receiving the covered work authorizing
465them to use, propagate, modify or convey a specific copy of the covered work,
466then the patent license you grant is automatically extended to all recipients
467of the covered work and works based on it.
468
469A patent license is "discriminatory" if it does not include within the scope
470of its coverage, prohibits the exercise of, or is conditioned on the non-exercise
471of one or more of the rights that are specifically granted under this License.
472You may not convey a covered work if you are a party to an arrangement with
473a third party that is in the business of distributing software, under which
474you make payment to the third party based on the extent of your activity of
475conveying the work, and under which the third party grants, to any of the
476parties who would receive the covered work from you, a discriminatory patent
477license (a) in connection with copies of the covered work conveyed by you
478(or copies made from those copies), or (b) primarily for and in connection
479with specific products or compilations that contain the covered work, unless
480you entered into that arrangement, or that patent license was granted, prior
481to 28 March 2007.
482
483Nothing in this License shall be construed as excluding or limiting any implied
484license or other defenses to infringement that may otherwise be available
485to you under applicable patent law.
486
487 12. No Surrender of Others' Freedom.
488
489If conditions are imposed on you (whether by court order, agreement or otherwise)
490that contradict the conditions of this License, they do not excuse you from
491the conditions of this License. If you cannot convey a covered work so as
492to satisfy simultaneously your obligations under this License and any other
493pertinent obligations, then as a consequence you may
494
495not convey it at all. For example, if you agree to terms that obligate you
496to collect a royalty for further conveying from those to whom you convey the
497Program, the only way you could satisfy both those terms and this License
498would be to refrain entirely from conveying the Program.
499
500 13. Remote Network Interaction; Use with the GNU General Public License.
501
502Notwithstanding any other provision of this License, if you modify the Program,
503your modified version must prominently offer all users interacting with it
504remotely through a computer network (if your version supports such interaction)
505an opportunity to receive the Corresponding Source of your version by providing
506access to the Corresponding Source from a network server at no charge, through
507some standard or customary means of facilitating copying of software. This
508Corresponding Source shall include the Corresponding Source for any work covered
509by version 3 of the GNU General Public License that is incorporated pursuant
510to the following paragraph.
511
512Notwithstanding any other provision of this License, you have permission to
513link or combine any covered work with a work licensed under version 3 of the
514GNU General Public License into a single combined work, and to convey the
515resulting work. The terms of this License will continue to apply to the part
516which is the covered work, but the work with which it is combined will remain
517governed by version 3 of the GNU General Public License.
518
519 14. Revised Versions of this License.
520
521The Free Software Foundation may publish revised and/or new versions of the
522GNU Affero General Public License from time to time. Such new versions will
523be similar in spirit to the present version, but may differ in detail to address
524new problems or concerns.
525
526Each version is given a distinguishing version number. If the Program specifies
527that a certain numbered version of the GNU Affero General Public License "or
528any later version" applies to it, you have the option of following the terms
529and conditions either of that numbered version or of any later version published
530by the Free Software Foundation. If the Program does not specify a version
531number of the GNU Affero General Public License, you may choose any version
532ever published by the Free Software Foundation.
533
534If the Program specifies that a proxy can decide which future versions of
535the GNU Affero General Public License can be used, that proxy's public statement
536of acceptance of a version permanently authorizes you to choose that version
537for the Program.
538
539Later license versions may give you additional or different permissions. However,
540no additional obligations are imposed on any author or copyright holder as
541a result of your choosing to follow a later version.
542
543 15. Disclaimer of Warranty.
544
545THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
546LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
547OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
548EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
549OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
550TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
551PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
552CORRECTION.
553
554 16. Limitation of Liability.
555
556IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
557ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
558AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
559INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
560USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
561INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
562PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
563PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
564
565 17. Interpretation of Sections 15 and 16.
566
567If the disclaimer of warranty and limitation of liability provided above cannot
568be given local legal effect according to their terms, reviewing courts shall
569apply local law that most closely approximates an absolute waiver of all civil
570liability in connection with the Program, unless a warranty or assumption
571of liability accompanies a copy of the Program in return for a fee. END OF
572TERMS AND CONDITIONS
573
574How to Apply These Terms to Your New Programs
575
576If you develop a new program, and you want it to be of the greatest possible
577use to the public, the best way to achieve this is to make it free software
578which everyone can redistribute and change under these terms.
579
580To do so, attach the following notices to the program. It is safest to attach
581them to the start of each source file to most effectively state the exclusion
582of warranty; and each file should have at least the "copyright" line and a
583pointer to where the full notice is found.
584
585<one line to give the program's name and a brief idea of what it does.>
586
587Copyright (C) <year> <name of author>
588
589This program is free software: you can redistribute it and/or modify it under
590the terms of the GNU Affero General Public License as published by the Free
591Software Foundation, either version 3 of the License, or (at your option)
592any later version.
593
594This program is distributed in the hope that it will be useful, but WITHOUT
595ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
596FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more
597details.
598
599You should have received a copy of the GNU Affero General Public License along
600with this program. If not, see <https://www.gnu.org/licenses/>.
601
602Also add information on how to contact you by electronic and paper mail.
603
604If your software can interact with users remotely through a computer network,
605you should also make sure that it provides a way for users to get its source.
606For example, if your program is a web application, its interface could display
607a "Source" link that leads users to an archive of the code. There are many
608ways you could offer source, and different solutions will be better for different
609programs; see section 13 for the specific requirements.
610
611You should also get your employer (if you work as a programmer) or school,
612if any, to sign a "copyright disclaimer" for the program, if necessary. For
613more information on this, and how to apply and follow the GNU AGPL, see <https://www.gnu.org/licenses/>.
diff --git a/meta/files/common-licenses/GPL-1.0 b/meta/files/common-licenses/GPL-1.0-only
index 9d4ef93ae5..9d4ef93ae5 100644
--- a/meta/files/common-licenses/GPL-1.0
+++ b/meta/files/common-licenses/GPL-1.0-only
diff --git a/meta/files/common-licenses/GPL-1.0-or-later b/meta/files/common-licenses/GPL-1.0-or-later
new file mode 100644
index 0000000000..b616110c75
--- /dev/null
+++ b/meta/files/common-licenses/GPL-1.0-or-later
@@ -0,0 +1,232 @@
1GNU GENERAL PUBLIC LICENSE
2
3Version 1, February 1989
4
5Copyright (C) 1989 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor,
6Boston, MA 02110-1301 USA
7
8Everyone is permitted to copy and distribute verbatim copies of this license
9document, but changing it is not allowed.
10
11Preamble
12
13The license agreements of most software companies try to keep users at the
14mercy of those companies. By contrast, our General Public License is intended
15to guarantee your freedom to share and change free software--to make sure
16the software is free for all its users. The General Public License applies
17to the Free Software Foundation's software and to any other program whose
18authors commit to using it. You can use it for your programs, too.
19
20When we speak of free software, we are referring to freedom, not price. Specifically,
21the General Public License is designed to make sure that you have the freedom
22to give away or sell copies of free software, that you receive source code
23or can get it if you want it, that you can change the software or use pieces
24of it in new free programs; and that you know you can do these things.
25
26To protect your rights, we need to make restrictions that forbid anyone to
27deny you these rights or to ask you to surrender the rights. These restrictions
28translate to certain responsibilities for you if you distribute copies of
29the software, or if you modify it.
30
31For example, if you distribute copies of a such a program, whether gratis
32or for a fee, you must give the recipients all the rights that you have. You
33must make sure that they, too, receive or can get the source code. And you
34must tell them their rights.
35
36We protect your rights with two steps: (1) copyright the software, and (2)
37offer you this license which gives you legal permission to copy, distribute
38and/or modify the software.
39
40Also, for each author's protection and ours, we want to make certain that
41everyone understands that there is no warranty for this free software. If
42the software is modified by someone else and passed on, we want its recipients
43to know that what they have is not the original, so that any problems introduced
44by others will not reflect on the original authors' reputations.
45
46The precise terms and conditions for copying, distribution and modification
47follow.
48
49GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION
50AND MODIFICATION
51
520. This License Agreement applies to any program or other work which contains
53a notice placed by the copyright holder saying it may be distributed under
54the terms of this General Public License. The "Program", below, refers to
55any such program or work, and a "work based on the Program" means either the
56Program or any work containing the Program or a portion of it, either verbatim
57or with modifications. Each licensee is addressed as "you".
58
591. You may copy and distribute verbatim copies of the Program's source code
60as you receive it, in any medium, provided that you conspicuously and appropriately
61publish on each copy an appropriate copyright notice and disclaimer of warranty;
62keep intact all the notices that refer to this General Public License and
63to the absence of any warranty; and give any other recipients of the Program
64a copy of this General Public License along with the Program. You may charge
65a fee for the physical act of transferring a copy.
66
672. You may modify your copy or copies of the Program or any portion of it,
68and copy and distribute such modifications under the terms of Paragraph 1
69above, provided that you also do the following:
70
71a) cause the modified files to carry prominent notices stating that you changed
72the files and the date of any change; and
73
74b) cause the whole of any work that you distribute or publish, that in whole
75or in part contains the Program or any part thereof, either with or without
76modifications, to be licensed at no charge to all third parties under the
77terms of this General Public License (except that you may choose to grant
78warranty protection to some or all third parties, at your option).
79
80c) If the modified program normally reads commands interactively when run,
81you must cause it, when started running for such interactive use in the simplest
82and most usual way, to print or display an announcement including an appropriate
83copyright notice and a notice that there is no warranty (or else, saying that
84you provide a warranty) and that users may redistribute the program under
85these conditions, and telling the user how to view a copy of this General
86Public License.
87
88d) You may charge a fee for the physical act of transferring a copy, and you
89may at your option offer warranty protection in exchange for a fee.
90
91Mere aggregation of another independent work with the Program (or its derivative)
92on a volume of a storage or distribution medium does not bring the other work
93under the scope of these terms.
94
953. You may copy and distribute the Program (or a portion or derivative of
96it, under Paragraph 2) in object code or executable form under the terms of
97Paragraphs 1 and 2 above provided that you also do one of the following:
98
99a) accompany it with the complete corresponding machine-readable source code,
100which must be distributed under the terms of Paragraphs 1 and 2 above; or,
101
102b) accompany it with a written offer, valid for at least three years, to give
103any third party free (except for a nominal charge for the cost of distribution)
104a complete machine-readable copy of the corresponding source code, to be distributed
105under the terms of Paragraphs 1 and 2 above; or,
106
107c) accompany it with the information you received as to where the corresponding
108source code may be obtained. (This alternative is allowed only for noncommercial
109distribution and only if you received the program in object code or executable
110form alone.)
111
112Source code for a work means the preferred form of the work for making modifications
113to it. For an executable file, complete source code means all the source code
114for all modules it contains; but, as a special exception, it need not include
115source code for modules which are standard libraries that accompany the operating
116system on which the executable file runs, or for standard header files or
117definitions files that accompany that operating system.
118
1194. You may not copy, modify, sublicense, distribute or transfer the Program
120except as expressly provided under this General Public License. Any attempt
121otherwise to copy, modify, sublicense, distribute or transfer the Program
122is void, and will automatically terminate your rights to use the Program under
123this License. However, parties who have received copies, or rights to use
124copies, from you under this General Public License will not have their licenses
125terminated so long as such parties remain in full compliance.
126
1275. By copying, distributing or modifying the Program (or any work based on
128the Program) you indicate your acceptance of this license to do so, and all
129its terms and conditions.
130
1316. Each time you redistribute the Program (or any work based on the Program),
132the recipient automatically receives a license from the original licensor
133to copy, distribute or modify the Program subject to these terms and conditions.
134You may not impose any further restrictions on the recipients' exercise of
135the rights granted herein.
136
1377. The Free Software Foundation may publish revised and/or new versions of
138the General Public License from time to time. Such new versions will be similar
139in spirit to the present version, but may differ in detail to address new
140problems or concerns.
141
142Each version is given a distinguishing version number. If the Program specifies
143a version number of the license which applies to it and "any later version",
144you have the option of following the terms and conditions either of that version
145or of any later version published by the Free Software Foundation. If the
146Program does not specify a version number of the license, you may choose any
147version ever published by the Free Software Foundation.
148
1498. If you wish to incorporate parts of the Program into other free programs
150whose distribution conditions are different, write to the author to ask for
151permission. For software which is copyrighted by the Free Software Foundation,
152write to the Free Software Foundation; we sometimes make exceptions for this.
153Our decision will be guided by the two goals of preserving the free status
154of all derivatives of our free software and of promoting the sharing and reuse
155of software generally.
156
157
158
159 NO WARRANTY 9.
160
161BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE
162PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
163STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
164"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
165BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
166FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
167OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
168THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
169
17010. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
171WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
172THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
173GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
174OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
175OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
176OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
177HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
178END OF TERMS AND CONDITIONS
179
180Appendix: How to Apply These Terms to Your New Programs
181
182If you develop a new program, and you want it to be of the greatest possible
183use to humanity, the best way to achieve this is to make it free software
184which everyone can redistribute and change under these terms.
185
186To do so, attach the following notices to the program. It is safest to attach
187them to the start of each source file to most effectively convey the exclusion
188of warranty; and each file should have at least the "copyright" line and a
189pointer to where the full notice is found.
190
191<one line to give the program's name and a brief idea of what it does.>
192
193Copyright (C) 19yy <name of author>
194
195This program is free software; you can redistribute it and/or modify it under
196the terms of the GNU General Public License as published by the Free Software
197Foundation; either version 1, or (at your option) any later version.
198
199This program is distributed in the hope that it will be useful, but WITHOUT
200ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
201FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
202
203You should have received a copy of the GNU General Public License along with
204this program; if not, write to the Free Software Foundation, Inc., 675 Mass
205Ave, Cambridge, MA 02139, USA.
206
207Also add information on how to contact you by electronic and paper mail.
208
209If the program is interactive, make it output a short notice like this when
210it starts in an interactive mode:
211
212Gnomovision version 69, Copyright (C) 19xx name of author Gnomovision comes
213with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software,
214and you are welcome to redistribute it under certain conditions; type `show
215c' for details.
216
217The hypothetical commands `show w' and `show c' should show the appropriate
218parts of the General Public License. Of course, the commands you use may be
219called something other than `show w' and `show c'; they could even be mouse-clicks
220or menu items--whatever suits your program.
221
222You should also get your employer (if you work as a programmer) or your school,
223if any, to sign a "copyright disclaimer" for the program, if necessary. Here
224a sample; alter the names:
225
226Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision'
227(a program to direct compilers to make passes at assemblers) written by James
228Hacker.
229
230<signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice
231
232That's all there is to it!
diff --git a/meta/files/common-licenses/GPL-2.0 b/meta/files/common-licenses/GPL-2.0-only
index 7f5abbce27..7f5abbce27 100644
--- a/meta/files/common-licenses/GPL-2.0
+++ b/meta/files/common-licenses/GPL-2.0-only
diff --git a/meta/files/common-licenses/GPL-2.0-or-later b/meta/files/common-licenses/GPL-2.0-or-later
new file mode 100644
index 0000000000..1d80ac3653
--- /dev/null
+++ b/meta/files/common-licenses/GPL-2.0-or-later
@@ -0,0 +1,319 @@
1GNU GENERAL PUBLIC LICENSE
2
3Version 2, June 1991
4
5Copyright (C) 1989, 1991 Free Software Foundation, Inc.
6
751 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
8
9Everyone is permitted to copy and distribute verbatim copies of this license
10document, but changing it is not allowed.
11
12Preamble
13
14The licenses for most software are designed to take away your freedom to share
15and change it. By contrast, the GNU General Public License is intended to
16guarantee your freedom to share and change free software--to make sure the
17software is free for all its users. This General Public License applies to
18most of the Free Software Foundation's software and to any other program whose
19authors commit to using it. (Some other Free Software Foundation software
20is covered by the GNU Lesser General Public License instead.) You can apply
21it to your programs, too.
22
23When we speak of free software, we are referring to freedom, not price. Our
24General Public Licenses are designed to make sure that you have the freedom
25to distribute copies of free software (and charge for this service if you
26wish), that you receive source code or can get it if you want it, that you
27can change the software or use pieces of it in new free programs; and that
28you know you can do these things.
29
30To protect your rights, we need to make restrictions that forbid anyone to
31deny you these rights or to ask you to surrender the rights. These restrictions
32translate to certain responsibilities for you if you distribute copies of
33the software, or if you modify it.
34
35For example, if you distribute copies of such a program, whether gratis or
36for a fee, you must give the recipients all the rights that you have. You
37must make sure that they, too, receive or can get the source code. And you
38must show them these terms so they know their rights.
39
40We protect your rights with two steps: (1) copyright the software, and (2)
41offer you this license which gives you legal permission to copy, distribute
42and/or modify the software.
43
44Also, for each author's protection and ours, we want to make certain that
45everyone understands that there is no warranty for this free software. If
46the software is modified by someone else and passed on, we want its recipients
47to know that what they have is not the original, so that any problems introduced
48by others will not reflect on the original authors' reputations.
49
50Finally, any free program is threatened constantly by software patents. We
51wish to avoid the danger that redistributors of a free program will individually
52obtain patent licenses, in effect making the program proprietary. To prevent
53this, we have made it clear that any patent must be licensed for everyone's
54free use or not licensed at all.
55
56The precise terms and conditions for copying, distribution and modification
57follow.
58
59TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
60
610. This License applies to any program or other work which contains a notice
62placed by the copyright holder saying it may be distributed under the terms
63of this General Public License. The "Program", below, refers to any such program
64or work, and a "work based on the Program" means either the Program or any
65derivative work under copyright law: that is to say, a work containing the
66Program or a portion of it, either verbatim or with modifications and/or translated
67into another language. (Hereinafter, translation is included without limitation
68in the term "modification".) Each licensee is addressed as "you".
69
70Activities other than copying, distribution and modification are not covered
71by this License; they are outside its scope. The act of running the Program
72is not restricted, and the output from the Program is covered only if its
73contents constitute a work based on the Program (independent of having been
74made by running the Program). Whether that is true depends on what the Program
75does.
76
771. You may copy and distribute verbatim copies of the Program's source code
78as you receive it, in any medium, provided that you conspicuously and appropriately
79publish on each copy an appropriate copyright notice and disclaimer of warranty;
80keep intact all the notices that refer to this License and to the absence
81of any warranty; and give any other recipients of the Program a copy of this
82License along with the Program.
83
84You may charge a fee for the physical act of transferring a copy, and you
85may at your option offer warranty protection in exchange for a fee.
86
872. You may modify your copy or copies of the Program or any portion of it,
88thus forming a work based on the Program, and copy and distribute such modifications
89or work under the terms of Section 1 above, provided that you also meet all
90of these conditions:
91
92a) You must cause the modified files to carry prominent notices stating that
93you changed the files and the date of any change.
94
95b) You must cause any work that you distribute or publish, that in whole or
96in part contains or is derived from the Program or any part thereof, to be
97licensed as a whole at no charge to all third parties under the terms of this
98License.
99
100c) If the modified program normally reads commands interactively when run,
101you must cause it, when started running for such interactive use in the most
102ordinary way, to print or display an announcement including an appropriate
103copyright notice and a notice that there is no warranty (or else, saying that
104you provide a warranty) and that users may redistribute the program under
105these conditions, and telling the user how to view a copy of this License.
106(Exception: if the Program itself is interactive but does not normally print
107such an announcement, your work based on the Program is not required to print
108an announcement.)
109
110These requirements apply to the modified work as a whole. If identifiable
111sections of that work are not derived from the Program, and can be reasonably
112considered independent and separate works in themselves, then this License,
113and its terms, do not apply to those sections when you distribute them as
114separate works. But when you distribute the same sections as part of a whole
115which is a work based on the Program, the distribution of the whole must be
116on the terms of this License, whose permissions for other licensees extend
117to the entire whole, and thus to each and every part regardless of who wrote
118it.
119
120Thus, it is not the intent of this section to claim rights or contest your
121rights to work written entirely by you; rather, the intent is to exercise
122the right to control the distribution of derivative or collective works based
123on the Program.
124
125In addition, mere aggregation of another work not based on the Program with
126the Program (or with a work based on the Program) on a volume of a storage
127or distribution medium does not bring the other work under the scope of this
128License.
129
1303. You may copy and distribute the Program (or a work based on it, under Section
1312) in object code or executable form under the terms of Sections 1 and 2 above
132provided that you also do one of the following:
133
134a) Accompany it with the complete corresponding machine-readable source code,
135which must be distributed under the terms of Sections 1 and 2 above on a medium
136customarily used for software interchange; or,
137
138b) Accompany it with a written offer, valid for at least three years, to give
139any third party, for a charge no more than your cost of physically performing
140source distribution, a complete machine-readable copy of the corresponding
141source code, to be distributed under the terms of Sections 1 and 2 above on
142a medium customarily used for software interchange; or,
143
144c) Accompany it with the information you received as to the offer to distribute
145corresponding source code. (This alternative is allowed only for noncommercial
146distribution and only if you received the program in object code or executable
147form with such an offer, in accord with Subsection b above.)
148
149The source code for a work means the preferred form of the work for making
150modifications to it. For an executable work, complete source code means all
151the source code for all modules it contains, plus any associated interface
152definition files, plus the scripts used to control compilation and installation
153of the executable. However, as a special exception, the source code distributed
154need not include anything that is normally distributed (in either source or
155binary form) with the major components (compiler, kernel, and so on) of the
156operating system on which the executable runs, unless that component itself
157accompanies the executable.
158
159If distribution of executable or object code is made by offering access to
160copy from a designated place, then offering equivalent access to copy the
161source code from the same place counts as distribution of the source code,
162even though third parties are not compelled to copy the source along with
163the object code.
164
1654. You may not copy, modify, sublicense, or distribute the Program except
166as expressly provided under this License. Any attempt otherwise to copy, modify,
167sublicense or distribute the Program is void, and will automatically terminate
168your rights under this License. However, parties who have received copies,
169or rights, from you under this License will not have their licenses terminated
170so long as such parties remain in full compliance.
171
1725. You are not required to accept this License, since you have not signed
173it. However, nothing else grants you permission to modify or distribute the
174Program or its derivative works. These actions are prohibited by law if you
175do not accept this License. Therefore, by modifying or distributing the Program
176(or any work based on the Program), you indicate your acceptance of this License
177to do so, and all its terms and conditions for copying, distributing or modifying
178the Program or works based on it.
179
1806. Each time you redistribute the Program (or any work based on the Program),
181the recipient automatically receives a license from the original licensor
182to copy, distribute or modify the Program subject to these terms and conditions.
183You may not impose any further restrictions on the recipients' exercise of
184the rights granted herein. You are not responsible for enforcing compliance
185by third parties to this License.
186
1877. If, as a consequence of a court judgment or allegation of patent infringement
188or for any other reason (not limited to patent issues), conditions are imposed
189on you (whether by court order, agreement or otherwise) that contradict the
190conditions of this License, they do not excuse you from the conditions of
191this License. If you cannot distribute so as to satisfy simultaneously your
192obligations under this License and any other pertinent obligations, then as
193a consequence you may not distribute the Program at all. For example, if a
194patent license would not permit royalty-free redistribution of the Program
195by all those who receive copies directly or indirectly through you, then the
196only way you could satisfy both it and this License would be to refrain entirely
197from distribution of the Program.
198
199If any portion of this section is held invalid or unenforceable under any
200particular circumstance, the balance of the section is intended to apply and
201the section as a whole is intended to apply in other circumstances.
202
203It is not the purpose of this section to induce you to infringe any patents
204or other property right claims or to contest validity of any such claims;
205this section has the sole purpose of protecting the integrity of the free
206software distribution system, which is implemented by public license practices.
207Many people have made generous contributions to the wide range of software
208distributed through that system in reliance on consistent application of that
209system; it is up to the author/donor to decide if he or she is willing to
210distribute software through any other system and a licensee cannot impose
211that choice.
212
213This section is intended to make thoroughly clear what is believed to be a
214consequence of the rest of this License.
215
2168. If the distribution and/or use of the Program is restricted in certain
217countries either by patents or by copyrighted interfaces, the original copyright
218holder who places the Program under this License may add an explicit geographical
219distribution limitation excluding those countries, so that distribution is
220permitted only in or among countries not thus excluded. In such case, this
221License incorporates the limitation as if written in the body of this License.
222
2239. The Free Software Foundation may publish revised and/or new versions of
224the General Public License from time to time. Such new versions will be similar
225in spirit to the present version, but may differ in detail to address new
226problems or concerns.
227
228Each version is given a distinguishing version number. If the Program specifies
229a version number of this License which applies to it and "any later version",
230you have the option of following the terms and conditions either of that version
231or of any later version published by the Free Software Foundation. If the
232Program does not specify a version number of this License, you may choose
233any version ever published by the Free Software Foundation.
234
23510. If you wish to incorporate parts of the Program into other free programs
236whose distribution conditions are different, write to the author to ask for
237permission. For software which is copyrighted by the Free Software Foundation,
238write to the Free Software Foundation; we sometimes make exceptions for this.
239Our decision will be guided by the two goals of preserving the free status
240of all derivatives of our free software and of promoting the sharing and reuse
241of software generally.
242
243 NO WARRANTY
244
24511. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
246THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
247STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM
248"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
249BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
250FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
251OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME
252THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
253
25412. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
255WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
256THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
257GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
258OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
259OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
260OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH
261HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
262END OF TERMS AND CONDITIONS
263
264How to Apply These Terms to Your New Programs
265
266If you develop a new program, and you want it to be of the greatest possible
267use to the public, the best way to achieve this is to make it free software
268which everyone can redistribute and change under these terms.
269
270To do so, attach the following notices to the program. It is safest to attach
271them to the start of each source file to most effectively convey the exclusion
272of warranty; and each file should have at least the "copyright" line and a
273pointer to where the full notice is found.
274
275<one line to give the program's name and an idea of what it does.>
276
277Copyright (C) <yyyy> <name of author>
278
279This program is free software; you can redistribute it and/or modify it under
280the terms of the GNU General Public License as published by the Free Software
281Foundation; either version 2 of the License, or (at your option) any later
282version.
283
284This program is distributed in the hope that it will be useful, but WITHOUT
285ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
286FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
287
288You should have received a copy of the GNU General Public License along with
289this program; if not, write to the Free Software Foundation, Inc., 51 Franklin
290Street, Fifth Floor, Boston, MA 02110-1301, USA.
291
292Also add information on how to contact you by electronic and paper mail.
293
294If the program is interactive, make it output a short notice like this when
295it starts in an interactive mode:
296
297Gnomovision version 69, Copyright (C) year name of author Gnomovision comes
298with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software,
299and you are welcome to redistribute it under certain conditions; type `show
300c' for details.
301
302The hypothetical commands `show w' and `show c' should show the appropriate
303parts of the General Public License. Of course, the commands you use may be
304called something other than `show w' and `show c'; they could even be mouse-clicks
305or menu items--whatever suits your program.
306
307You should also get your employer (if you work as a programmer) or your school,
308if any, to sign a "copyright disclaimer" for the program, if necessary. Here
309is a sample; alter the names:
310
311Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision'
312(which makes passes at compilers) written by James Hacker.
313
314<signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice This General
315Public License does not permit incorporating your program into proprietary
316programs. If your program is a subroutine library, you may consider it more
317useful to permit linking proprietary applications with the library. If this
318is what you want to do, use the GNU Lesser General Public License instead
319of this License.
diff --git a/meta/files/common-licenses/GPL-3.0 b/meta/files/common-licenses/GPL-3.0-only
index e0665a64a8..e0665a64a8 100644
--- a/meta/files/common-licenses/GPL-3.0
+++ b/meta/files/common-licenses/GPL-3.0-only
diff --git a/meta/files/common-licenses/GPL-3.0-or-later b/meta/files/common-licenses/GPL-3.0-or-later
new file mode 100644
index 0000000000..e142a525bd
--- /dev/null
+++ b/meta/files/common-licenses/GPL-3.0-or-later
@@ -0,0 +1,625 @@
1GNU GENERAL PUBLIC LICENSE
2
3Version 3, 29 June 2007
4
5Copyright © 2007 Free Software Foundation, Inc. <https://fsf.org/>
6
7Everyone is permitted to copy and distribute verbatim copies of this license
8document, but changing it is not allowed.
9
10Preamble
11
12The GNU General Public License is a free, copyleft license for software and
13other kinds of works.
14
15The licenses for most software and other practical works are designed to take
16away your freedom to share and change the works. By contrast, the GNU General
17Public License is intended to guarantee your freedom to share and change all
18versions of a program--to make sure it remains free software for all its users.
19We, the Free Software Foundation, use the GNU General Public License for most
20of our software; it applies also to any other work released this way by its
21authors. You can apply it to your programs, too.
22
23When we speak of free software, we are referring to freedom, not price. Our
24General Public Licenses are designed to make sure that you have the freedom
25to distribute copies of free software (and charge for them if you wish), that
26you receive source code or can get it if you want it, that you can change
27the software or use pieces of it in new free programs, and that you know you
28can do these things.
29
30To protect your rights, we need to prevent others from denying you these rights
31or asking you to surrender the rights. Therefore, you have certain responsibilities
32if you distribute copies of the software, or if you modify it: responsibilities
33to respect the freedom of others.
34
35For example, if you distribute copies of such a program, whether gratis or
36for a fee, you must pass on to the recipients the same freedoms that you received.
37You must make sure that they, too, receive or can get the source code. And
38you must show them these terms so they know their rights.
39
40Developers that use the GNU GPL protect your rights with two steps: (1) assert
41copyright on the software, and (2) offer you this License giving you legal
42permission to copy, distribute and/or modify it.
43
44For the developers' and authors' protection, the GPL clearly explains that
45there is no warranty for this free software. For both users' and authors'
46sake, the GPL requires that modified versions be marked as changed, so that
47their problems will not be attributed erroneously to authors of previous versions.
48
49Some devices are designed to deny users access to install or run modified
50versions of the software inside them, although the manufacturer can do so.
51This is fundamentally incompatible with the aim of protecting users' freedom
52to change the software. The systematic pattern of such abuse occurs in the
53area of products for individuals to use, which is precisely where it is most
54unacceptable. Therefore, we have designed this version of the GPL to prohibit
55the practice for those products. If such problems arise substantially in other
56domains, we stand ready to extend this provision to those domains in future
57versions of the GPL, as needed to protect the freedom of users.
58
59Finally, every program is threatened constantly by software patents. States
60should not allow patents to restrict development and use of software on general-purpose
61computers, but in those that do, we wish to avoid the special danger that
62patents applied to a free program could make it effectively proprietary. To
63prevent this, the GPL assures that patents cannot be used to render the program
64non-free.
65
66The precise terms and conditions for copying, distribution and modification
67follow.
68
69TERMS AND CONDITIONS
70
71 0. Definitions.
72
73 "This License" refers to version 3 of the GNU General Public License.
74
75"Copyright" also means copyright-like laws that apply to other kinds of works,
76such as semiconductor masks.
77
78"The Program" refers to any copyrightable work licensed under this License.
79Each licensee is addressed as "you". "Licensees" and "recipients" may be individuals
80or organizations.
81
82To "modify" a work means to copy from or adapt all or part of the work in
83a fashion requiring copyright permission, other than the making of an exact
84copy. The resulting work is called a "modified version" of the earlier work
85or a work "based on" the earlier work.
86
87A "covered work" means either the unmodified Program or a work based on the
88Program.
89
90To "propagate" a work means to do anything with it that, without permission,
91would make you directly or secondarily liable for infringement under applicable
92copyright law, except executing it on a computer or modifying a private copy.
93Propagation includes copying, distribution (with or without modification),
94making available to the public, and in some countries other activities as
95well.
96
97To "convey" a work means any kind of propagation that enables other parties
98to make or receive copies. Mere interaction with a user through a computer
99network, with no transfer of a copy, is not conveying.
100
101An interactive user interface displays "Appropriate Legal Notices" to the
102extent that it includes a convenient and prominently visible feature that
103(1) displays an appropriate copyright notice, and (2) tells the user that
104there is no warranty for the work (except to the extent that warranties are
105provided), that licensees may convey the work under this License, and how
106to view a copy of this License. If the interface presents a list of user commands
107or options, such as a menu, a prominent item in the list meets this criterion.
108
109 1. Source Code.
110
111The "source code" for a work means the preferred form of the work for making
112modifications to it. "Object code" means any non-source form of a work.
113
114A "Standard Interface" means an interface that either is an official standard
115defined by a recognized standards body, or, in the case of interfaces specified
116for a particular programming language, one that is widely used among developers
117working in that language.
118
119The "System Libraries" of an executable work include anything, other than
120the work as a whole, that (a) is included in the normal form of packaging
121a Major Component, but which is not part of that Major Component, and (b)
122serves only to enable use of the work with that Major Component, or to implement
123a Standard Interface for which an implementation is available to the public
124in source code form. A "Major Component", in this context, means a major essential
125component (kernel, window system, and so on) of the specific operating system
126(if any) on which the executable work runs, or a compiler used to produce
127the work, or an object code interpreter used to run it.
128
129The "Corresponding Source" for a work in object code form means all the source
130code needed to generate, install, and (for an executable work) run the object
131code and to modify the work, including scripts to control those activities.
132However, it does not include the work's System Libraries, or general-purpose
133tools or generally available free programs which are used unmodified in performing
134those activities but which are not part of the work. For example, Corresponding
135Source includes interface definition files associated with source files for
136the work, and the source code for shared libraries and dynamically linked
137subprograms that the work is specifically designed to require, such as by
138intimate data communication or control flow between those subprograms and
139other parts of the work.
140
141The Corresponding Source need not include anything that users can regenerate
142automatically from other parts of the Corresponding Source.
143
144 The Corresponding Source for a work in source code form is that same work.
145
146 2. Basic Permissions.
147
148All rights granted under this License are granted for the term of copyright
149on the Program, and are irrevocable provided the stated conditions are met.
150This License explicitly affirms your unlimited permission to run the unmodified
151Program. The output from running a covered work is covered by this License
152only if the output, given its content, constitutes a covered work. This License
153acknowledges your rights of fair use or other equivalent, as provided by copyright
154law.
155
156You may make, run and propagate covered works that you do not convey, without
157conditions so long as your license otherwise remains in force. You may convey
158covered works to others for the sole purpose of having them make modifications
159exclusively for you, or provide you with facilities for running those works,
160provided that you comply with the terms of this License in conveying all material
161for which you do not control copyright. Those thus making or running the covered
162works for you must do so exclusively on your behalf, under your direction
163and control, on terms that prohibit them from making any copies of your copyrighted
164material outside their relationship with you.
165
166Conveying under any other circumstances is permitted solely under the conditions
167stated below. Sublicensing is not allowed; section 10 makes it unnecessary.
168
169 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
170
171No covered work shall be deemed part of an effective technological measure
172under any applicable law fulfilling obligations under article 11 of the WIPO
173copyright treaty adopted on 20 December 1996, or similar laws prohibiting
174or restricting circumvention of such measures.
175
176When you convey a covered work, you waive any legal power to forbid circumvention
177of technological measures to the extent such circumvention is effected by
178exercising rights under this License with respect to the covered work, and
179you disclaim any intention to limit operation or modification of the work
180as a means of enforcing, against the work's users, your or third parties'
181legal rights to forbid circumvention of technological measures.
182
183 4. Conveying Verbatim Copies.
184
185You may convey verbatim copies of the Program's source code as you receive
186it, in any medium, provided that you conspicuously and appropriately publish
187on each copy an appropriate copyright notice; keep intact all notices stating
188that this License and any non-permissive terms added in accord with section
1897 apply to the code; keep intact all notices of the absence of any warranty;
190and give all recipients a copy of this License along with the Program.
191
192You may charge any price or no price for each copy that you convey, and you
193may offer support or warranty protection for a fee.
194
195 5. Conveying Modified Source Versions.
196
197You may convey a work based on the Program, or the modifications to produce
198it from the Program, in the form of source code under the terms of section
1994, provided that you also meet all of these conditions:
200
201a) The work must carry prominent notices stating that you modified it, and
202giving a relevant date.
203
204b) The work must carry prominent notices stating that it is released under
205this License and any conditions added under section 7. This requirement modifies
206the requirement in section 4 to "keep intact all notices".
207
208c) You must license the entire work, as a whole, under this License to anyone
209who comes into possession of a copy. This License will therefore apply, along
210with any applicable section 7 additional terms, to the whole of the work,
211and all its parts, regardless of how they are packaged. This License gives
212no permission to license the work in any other way, but it does not invalidate
213such permission if you have separately received it.
214
215d) If the work has interactive user interfaces, each must display Appropriate
216Legal Notices; however, if the Program has interactive interfaces that do
217not display Appropriate Legal Notices, your work need not make them do so.
218
219A compilation of a covered work with other separate and independent works,
220which are not by their nature extensions of the covered work, and which are
221not combined with it such as to form a larger program, in or on a volume of
222a storage or distribution medium, is called an "aggregate" if the compilation
223and its resulting copyright are not used to limit the access or legal rights
224of the compilation's users beyond what the individual works permit. Inclusion
225of a covered work in an aggregate does not cause this License to apply to
226the other parts of the aggregate.
227
228 6. Conveying Non-Source Forms.
229
230You may convey a covered work in object code form under the terms of sections
2314 and 5, provided that you also convey the machine-readable Corresponding
232Source under the terms of this License, in one of these ways:
233
234a) Convey the object code in, or embodied in, a physical product (including
235a physical distribution medium), accompanied by the Corresponding Source fixed
236on a durable physical medium customarily used for software interchange.
237
238b) Convey the object code in, or embodied in, a physical product (including
239a physical distribution medium), accompanied by a written offer, valid for
240at least three years and valid for as long as you offer spare parts or customer
241support for that product model, to give anyone who possesses the object code
242either (1) a copy of the Corresponding Source for all the software in the
243product that is covered by this License, on a durable physical medium customarily
244used for software interchange, for a price no more than your reasonable cost
245of physically performing this conveying of source, or (2) access to copy the
246Corresponding Source from a network server at no charge.
247
248c) Convey individual copies of the object code with a copy of the written
249offer to provide the Corresponding Source. This alternative is allowed only
250occasionally and noncommercially, and only if you received the object code
251with such an offer, in accord with subsection 6b.
252
253d) Convey the object code by offering access from a designated place (gratis
254or for a charge), and offer equivalent access to the Corresponding Source
255in the same way through the same place at no further charge. You need not
256require recipients to copy the Corresponding Source along with the object
257code. If the place to copy the object code is a network server, the Corresponding
258Source may be on a different server (operated by you or a third party) that
259supports equivalent copying facilities, provided you maintain clear directions
260next to the object code saying where to find the Corresponding Source. Regardless
261of what server hosts the Corresponding Source, you remain obligated to ensure
262that it is available for as long as needed to satisfy these requirements.
263
264e) Convey the object code using peer-to-peer transmission, provided you inform
265other peers where the object code and Corresponding Source of the work are
266being offered to the general public at no charge under subsection 6d.
267
268A separable portion of the object code, whose source code is excluded from
269the Corresponding Source as a System Library, need not be included in conveying
270the object code work.
271
272A "User Product" is either (1) a "consumer product", which means any tangible
273personal property which is normally used for personal, family, or household
274purposes, or (2) anything designed or sold for incorporation into a dwelling.
275In determining whether a product is a consumer product, doubtful cases shall
276be resolved in favor of coverage. For a particular product received by a particular
277user, "normally used" refers to a typical or common use of that class of product,
278regardless of the status of the particular user or of the way in which the
279particular user actually uses, or expects or is expected to use, the product.
280A product is a consumer product regardless of whether the product has substantial
281commercial, industrial or non-consumer uses, unless such uses represent the
282only significant mode of use of the product.
283
284"Installation Information" for a User Product means any methods, procedures,
285authorization keys, or other information required to install and execute modified
286versions of a covered work in that User Product from a modified version of
287its Corresponding Source. The information must suffice to ensure that the
288continued functioning of the modified object code is in no case prevented
289or interfered with solely because modification has been made.
290
291If you convey an object code work under this section in, or with, or specifically
292for use in, a User Product, and the conveying occurs as part of a transaction
293in which the right of possession and use of the User Product is transferred
294to the recipient in perpetuity or for a fixed term (regardless of how the
295transaction is characterized), the Corresponding Source conveyed under this
296section must be accompanied by the Installation Information. But this requirement
297does not apply if neither you nor any third party retains the ability to install
298modified object code on the User Product (for example, the work has been installed
299in ROM).
300
301The requirement to provide Installation Information does not include a requirement
302to continue to provide support service, warranty, or updates for a work that
303has been modified or installed by the recipient, or for the User Product in
304which it has been modified or installed. Access to a network may be denied
305when the modification itself materially and adversely affects the operation
306of the network or violates the rules and protocols for communication across
307the network.
308
309Corresponding Source conveyed, and Installation Information provided, in accord
310with this section must be in a format that is publicly documented (and with
311an implementation available to the public in source code form), and must require
312no special password or key for unpacking, reading or copying.
313
314 7. Additional Terms.
315
316"Additional permissions" are terms that supplement the terms of this License
317by making exceptions from one or more of its conditions. Additional permissions
318that are applicable to the entire Program shall be treated as though they
319were included in this License, to the extent that they are valid under applicable
320law. If additional permissions apply only to part of the Program, that part
321may be used separately under those permissions, but the entire Program remains
322governed by this License without regard to the additional permissions.
323
324When you convey a copy of a covered work, you may at your option remove any
325additional permissions from that copy, or from any part of it. (Additional
326permissions may be written to require their own removal in certain cases when
327you modify the work.) You may place additional permissions on material, added
328by you to a covered work, for which you have or can give appropriate copyright
329permission.
330
331Notwithstanding any other provision of this License, for material you add
332to a covered work, you may (if authorized by the copyright holders of that
333material) supplement the terms of this License with terms:
334
335a) Disclaiming warranty or limiting liability differently from the terms of
336sections 15 and 16 of this License; or
337
338b) Requiring preservation of specified reasonable legal notices or author
339attributions in that material or in the Appropriate Legal Notices displayed
340by works containing it; or
341
342c) Prohibiting misrepresentation of the origin of that material, or requiring
343that modified versions of such material be marked in reasonable ways as different
344from the original version; or
345
346d) Limiting the use for publicity purposes of names of licensors or authors
347of the material; or
348
349e) Declining to grant rights under trademark law for use of some trade names,
350trademarks, or service marks; or
351
352f) Requiring indemnification of licensors and authors of that material by
353anyone who conveys the material (or modified versions of it) with contractual
354assumptions of liability to the recipient, for any liability that these contractual
355assumptions directly impose on those licensors and authors.
356
357All other non-permissive additional terms are considered "further restrictions"
358within the meaning of section 10. If the Program as you received it, or any
359part of it, contains a notice stating that it is governed by this License
360along with a term that is a further restriction, you may remove that term.
361If a license document contains a further restriction but permits relicensing
362or conveying under this License, you may add to a covered work material governed
363by the terms of that license document, provided that the further restriction
364does not survive such relicensing or conveying.
365
366If you add terms to a covered work in accord with this section, you must place,
367in the relevant source files, a statement of the additional terms that apply
368to those files, or a notice indicating where to find the applicable terms.
369
370Additional terms, permissive or non-permissive, may be stated in the form
371of a separately written license, or stated as exceptions; the above requirements
372apply either way.
373
374 8. Termination.
375
376You may not propagate or modify a covered work except as expressly provided
377under this License. Any attempt otherwise to propagate or modify it is void,
378and will automatically terminate your rights under this License (including
379any patent licenses granted under the third paragraph of section 11).
380
381However, if you cease all violation of this License, then your license from
382a particular copyright holder is reinstated (a) provisionally, unless and
383until the copyright holder explicitly and finally terminates your license,
384and (b) permanently, if the copyright holder fails to notify you of the violation
385by some reasonable means prior to 60 days after the cessation.
386
387Moreover, your license from a particular copyright holder is reinstated permanently
388if the copyright holder notifies you of the violation by some reasonable means,
389this is the first time you have received notice of violation of this License
390(for any work) from that copyright holder, and you cure the violation prior
391to 30 days after your receipt of the notice.
392
393Termination of your rights under this section does not terminate the licenses
394of parties who have received copies or rights from you under this License.
395If your rights have been terminated and not permanently reinstated, you do
396not qualify to receive new licenses for the same material under section 10.
397
398 9. Acceptance Not Required for Having Copies.
399
400You are not required to accept this License in order to receive or run a copy
401of the Program. Ancillary propagation of a covered work occurring solely as
402a consequence of using peer-to-peer transmission to receive a copy likewise
403does not require acceptance. However, nothing other than this License grants
404you permission to propagate or modify any covered work. These actions infringe
405copyright if you do not accept this License. Therefore, by modifying or propagating
406a covered work, you indicate your acceptance of this License to do so.
407
408 10. Automatic Licensing of Downstream Recipients.
409
410Each time you convey a covered work, the recipient automatically receives
411a license from the original licensors, to run, modify and propagate that work,
412subject to this License. You are not responsible for enforcing compliance
413by third parties with this License.
414
415An "entity transaction" is a transaction transferring control of an organization,
416or substantially all assets of one, or subdividing an organization, or merging
417organizations. If propagation of a covered work results from an entity transaction,
418each party to that transaction who receives a copy of the work also receives
419whatever licenses to the work the party's predecessor in interest had or could
420give under the previous paragraph, plus a right to possession of the Corresponding
421Source of the work from the predecessor in interest, if the predecessor has
422it or can get it with reasonable efforts.
423
424You may not impose any further restrictions on the exercise of the rights
425granted or affirmed under this License. For example, you may not impose a
426license fee, royalty, or other charge for exercise of rights granted under
427this License, and you may not initiate litigation (including a cross-claim
428or counterclaim in a lawsuit) alleging that any patent claim is infringed
429by making, using, selling, offering for sale, or importing the Program or
430any portion of it.
431
432 11. Patents.
433
434A "contributor" is a copyright holder who authorizes use under this License
435of the Program or a work on which the Program is based. The work thus licensed
436is called the contributor's "contributor version".
437
438A contributor's "essential patent claims" are all patent claims owned or controlled
439by the contributor, whether already acquired or hereafter acquired, that would
440be infringed by some manner, permitted by this License, of making, using,
441or selling its contributor version, but do not include claims that would be
442infringed only as a consequence of further modification of the contributor
443version. For purposes of this definition, "control" includes the right to
444grant patent sublicenses in a manner consistent with the requirements of this
445License.
446
447Each contributor grants you a non-exclusive, worldwide, royalty-free patent
448license under the contributor's essential patent claims, to make, use, sell,
449offer for sale, import and otherwise run, modify and propagate the contents
450of its contributor version.
451
452In the following three paragraphs, a "patent license" is any express agreement
453or commitment, however denominated, not to enforce a patent (such as an express
454permission to practice a patent or covenant not to sue for patent infringement).
455To "grant" such a patent license to a party means to make such an agreement
456or commitment not to enforce a patent against the party.
457
458If you convey a covered work, knowingly relying on a patent license, and the
459Corresponding Source of the work is not available for anyone to copy, free
460of charge and under the terms of this License, through a publicly available
461network server or other readily accessible means, then you must either (1)
462cause the Corresponding Source to be so available, or (2) arrange to deprive
463yourself of the benefit of the patent license for this particular work, or
464(3) arrange, in a manner consistent with the requirements of this License,
465to extend the patent license to downstream recipients. "Knowingly relying"
466means you have actual knowledge that, but for the patent license, your conveying
467the covered work in a country, or your recipient's use of the covered work
468in a country, would infringe one or more identifiable patents in that country
469that you have reason to believe are valid.
470
471If, pursuant to or in connection with a single transaction or arrangement,
472you convey, or propagate by procuring conveyance of, a covered work, and grant
473a patent license to some of the parties receiving the covered work authorizing
474them to use, propagate, modify or convey a specific copy of the covered work,
475then the patent license you grant is automatically extended to all recipients
476of the covered work and works based on it.
477
478A patent license is "discriminatory" if it does not include within the scope
479of its coverage, prohibits the exercise of, or is conditioned on the non-exercise
480of one or more of the rights that are specifically granted under this License.
481You may not convey a covered work if you are a party to an arrangement with
482a third party that is in the business of distributing software, under which
483you make payment to the third party based on the extent of your activity of
484conveying the work, and under which the third party grants, to any of the
485parties who would receive the covered work from you, a discriminatory patent
486license (a) in connection with copies of the covered work conveyed by you
487(or copies made from those copies), or (b) primarily for and in connection
488with specific products or compilations that contain the covered work, unless
489you entered into that arrangement, or that patent license was granted, prior
490to 28 March 2007.
491
492Nothing in this License shall be construed as excluding or limiting any implied
493license or other defenses to infringement that may otherwise be available
494to you under applicable patent law.
495
496 12. No Surrender of Others' Freedom.
497
498If conditions are imposed on you (whether by court order, agreement or otherwise)
499that contradict the conditions of this License, they do not excuse you from
500the conditions of this License. If you cannot convey a covered work so as
501to satisfy simultaneously your obligations under this License and any other
502pertinent obligations, then as a consequence you may not convey it at all.
503For example, if you agree to terms that obligate you to collect a royalty
504for further conveying from those to whom you convey the Program, the only
505way you could satisfy both those terms and this License would be to refrain
506entirely from conveying the Program.
507
508 13. Use with the GNU Affero General Public License.
509
510Notwithstanding any other provision of this License, you have permission to
511link or combine any covered work with a work licensed under version 3 of the
512GNU Affero General Public License into a single combined work, and to convey
513the resulting work. The terms of this License will continue to apply to the
514part which is the covered work, but the special requirements of the GNU Affero
515General Public License, section 13, concerning interaction through a network
516will apply to the combination as such.
517
518 14. Revised Versions of this License.
519
520The Free Software Foundation may publish revised and/or new versions of the
521GNU General Public License from time to time. Such new versions will be similar
522in spirit to the present version, but may differ in detail to address new
523problems or concerns.
524
525Each version is given a distinguishing version number. If the Program specifies
526that a certain numbered version of the GNU General Public License "or any
527later version" applies to it, you have the option of following the terms and
528conditions either of that numbered version or of any later version published
529by the Free Software Foundation. If the Program does not specify a version
530number of the GNU General Public License, you may choose any version ever
531published by the Free Software Foundation.
532
533If the Program specifies that a proxy can decide which future versions of
534the GNU General Public License can be used, that proxy's public statement
535of acceptance of a version permanently authorizes you to choose that version
536for the Program.
537
538Later license versions may give you additional or different permissions. However,
539no additional obligations are imposed on any author or copyright holder as
540a result of your choosing to follow a later version.
541
542 15. Disclaimer of Warranty.
543
544THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE
545LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
546OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER
547EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
548OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
549TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM
550PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR
551CORRECTION.
552
553 16. Limitation of Liability.
554
555IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL
556ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS THE PROGRAM
557AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL,
558INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO
559USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED
560INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE
561PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER
562PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
563
564 17. Interpretation of Sections 15 and 16.
565
566If the disclaimer of warranty and limitation of liability provided above cannot
567be given local legal effect according to their terms, reviewing courts shall
568apply local law that most closely approximates an absolute waiver of all civil
569liability in connection with the Program, unless a warranty or assumption
570of liability accompanies a copy of the Program in return for a fee. END OF
571TERMS AND CONDITIONS
572
573How to Apply These Terms to Your New Programs
574
575If you develop a new program, and you want it to be of the greatest possible
576use to the public, the best way to achieve this is to make it free software
577which everyone can redistribute and change under these terms.
578
579To do so, attach the following notices to the program. It is safest to attach
580them to the start of each source file to most effectively state the exclusion
581of warranty; and each file should have at least the "copyright" line and a
582pointer to where the full notice is found.
583
584<one line to give the program's name and a brief idea of what it does.>
585
586Copyright (C) <year> <name of author>
587
588This program is free software: you can redistribute it and/or modify it under
589the terms of the GNU General Public License as published by the Free Software
590Foundation, either version 3 of the License, or (at your option) any later
591version.
592
593This program is distributed in the hope that it will be useful, but WITHOUT
594ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
595FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
596
597You should have received a copy of the GNU General Public License along with
598this program. If not, see <https://www.gnu.org/licenses/>.
599
600Also add information on how to contact you by electronic and paper mail.
601
602If the program does terminal interaction, make it output a short notice like
603this when it starts in an interactive mode:
604
605<program> Copyright (C) <year> <name of author>
606
607This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
608
609This is free software, and you are welcome to redistribute it under certain
610conditions; type `show c' for details.
611
612The hypothetical commands `show w' and `show c' should show the appropriate
613parts of the General Public License. Of course, your program's commands might
614be different; for a GUI interface, you would use an "about box".
615
616You should also get your employer (if you work as a programmer) or school,
617if any, to sign a "copyright disclaimer" for the program, if necessary. For
618more information on this, and how to apply and follow the GNU GPL, see <https://www.gnu.org/licenses/>.
619
620The GNU General Public License does not permit incorporating your program
621into proprietary programs. If your program is a subroutine library, you may
622consider it more useful to permit linking proprietary applications with the
623library. If this is what you want to do, use the GNU Lesser General Public
624License instead of this License. But first, please read <https://www.gnu.org/
625licenses /why-not-lgpl.html>.
diff --git a/meta/files/common-licenses/LGPL-2.0 b/meta/files/common-licenses/LGPL-2.0-only
index 5931d439b4..5931d439b4 100644
--- a/meta/files/common-licenses/LGPL-2.0
+++ b/meta/files/common-licenses/LGPL-2.0-only
diff --git a/meta/files/common-licenses/LGPL-2.0-or-later b/meta/files/common-licenses/LGPL-2.0-or-later
new file mode 100644
index 0000000000..5c96471aaf
--- /dev/null
+++ b/meta/files/common-licenses/LGPL-2.0-or-later
@@ -0,0 +1,446 @@
1GNU LIBRARY GENERAL PUBLIC LICENSE
2
3Version 2, June 1991 Copyright (C) 1991 Free Software Foundation, Inc.
4
551 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
6
7Everyone is permitted to copy and distribute verbatim copies of this license
8document, but changing it is not allowed.
9
10[This is the first released version of the library GPL. It is numbered 2 because
11it goes with version 2 of the ordinary GPL.]
12
13Preamble
14
15The licenses for most software are designed to take away your freedom to share
16and change it. By contrast, the GNU General Public Licenses are intended to
17guarantee your freedom to share and change free software--to make sure the
18software is free for all its users.
19
20This license, the Library General Public License, applies to some specially
21designated Free Software Foundation software, and to any other libraries whose
22authors decide to use it. You can use it for your libraries, too.
23
24When we speak of free software, we are referring to freedom, not price. Our
25General Public Licenses are designed to make sure that you have the freedom
26to distribute copies of free software (and charge for this service if you
27wish), that you receive source code or can get it if you want it, that you
28can change the software or use pieces of it in new free programs; and that
29you know you can do these things.
30
31To protect your rights, we need to make restrictions that forbid anyone to
32deny you these rights or to ask you to surrender the rights. These restrictions
33translate to certain responsibilities for you if you distribute copies of
34the library, or if you modify it.
35
36For example, if you distribute copies of the library, whether gratis or for
37a fee, you must give the recipients all the rights that we gave you. You must
38make sure that they, too, receive or can get the source code. If you link
39a program with the library, you must provide complete object files to the
40recipients so that they can relink them with the library, after making changes
41to the library and recompiling it. And you must show them these terms so they
42know their rights.
43
44Our method of protecting your rights has two steps: (1) copyright the library,
45and (2) offer you this license which gives you legal permission to copy, distribute
46and/or modify the library.
47
48Also, for each distributor's protection, we want to make certain that everyone
49understands that there is no warranty for this free library. If the library
50is modified by someone else and passed on, we want its recipients to know
51that what they have is not the original version, so that any problems introduced
52by others will not reflect on the original authors' reputations.
53
54Finally, any free program is threatened constantly by software patents. We
55wish to avoid the danger that companies distributing free software will individually
56obtain patent licenses, thus in effect transforming the program into proprietary
57software. To prevent this, we have made it clear that any patent must be licensed
58for everyone's free use or not licensed at all.
59
60Most GNU software, including some libraries, is covered by the ordinary GNU
61General Public License, which was designed for utility programs. This license,
62the GNU Library General Public License, applies to certain designated libraries.
63This license is quite different from the ordinary one; be sure to read it
64in full, and don't assume that anything in it is the same as in the ordinary
65license.
66
67The reason we have a separate public license for some libraries is that they
68blur the distinction we usually make between modifying or adding to a program
69and simply using it. Linking a program with a library, without changing the
70library, is in some sense simply using the library, and is analogous to running
71a utility program or application program. However, in a textual and legal
72sense, the linked executable is a combined work, a derivative of the original
73library, and the ordinary General Public License treats it as such.
74
75Because of this blurred distinction, using the ordinary General Public License
76for libraries did not effectively promote software sharing, because most developers
77did not use the libraries. We concluded that weaker conditions might promote
78sharing better.
79
80However, unrestricted linking of non-free programs would deprive the users
81of those programs of all benefit from the free status of the libraries themselves.
82This Library General Public License is intended to permit developers of non-free
83programs to use free libraries, while preserving your freedom as a user of
84such programs to change the free libraries that are incorporated in them.
85(We have not seen how to achieve this as regards changes in header files,
86but we have achieved it as regards changes in the actual functions of the
87Library.) The hope is that this will lead to faster development of free libraries.
88
89The precise terms and conditions for copying, distribution and modification
90follow. Pay close attention to the difference between a "work based on the
91library" and a "work that uses the library". The former contains code derived
92from the library, while the latter only works together with the library.
93
94Note that it is possible for a library to be covered by the ordinary General
95Public License rather than by this special one.
96
97TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
98
990. This License Agreement applies to any software library which contains a
100notice placed by the copyright holder or other authorized party saying it
101may be distributed under the terms of this Library General Public License
102(also called "this License"). Each licensee is addressed as "you".
103
104A "library" means a collection of software functions and/or data prepared
105so as to be conveniently linked with application programs (which use some
106of those functions and data) to form executables.
107
108The "Library", below, refers to any such software library or work which has
109been distributed under these terms. A "work based on the Library" means either
110the Library or any derivative work under copyright law: that is to say, a
111work containing the Library or a portion of it, either verbatim or with modifications
112and/or translated straightforwardly into another language. (Hereinafter, translation
113is included without limitation in the term "modification".)
114
115"Source code" for a work means the preferred form of the work for making modifications
116to it. For a library, complete source code means all the source code for all
117modules it contains, plus any associated interface definition files, plus
118the scripts used to control compilation and installation of the library.
119
120Activities other than copying, distribution and modification are not covered
121by this License; they are outside its scope. The act of running a program
122using the Library is not restricted, and output from such a program is covered
123only if its contents constitute a work based on the Library (independent of
124the use of the Library in a tool for writing it). Whether that is true depends
125on what the Library does and what the program that uses the Library does.
126
1271. You may copy and distribute verbatim copies of the Library's complete source
128code as you receive it, in any medium, provided that you conspicuously and
129appropriately publish on each copy an appropriate copyright notice and disclaimer
130of warranty; keep intact all the notices that refer to this License and to
131the absence of any warranty; and distribute a copy of this License along with
132the Library.
133
134You may charge a fee for the physical act of transferring a copy, and you
135may at your option offer warranty protection in exchange for a fee.
136
1372. You may modify your copy or copies of the Library or any portion of it,
138thus forming a work based on the Library, and copy and distribute such modifications
139or work under the terms of Section 1 above, provided that you also meet all
140of these conditions:
141
142 a) The modified work must itself be a software library.
143
144b) You must cause the files modified to carry prominent notices stating that
145you changed the files and the date of any change.
146
147c) You must cause the whole of the work to be licensed at no charge to all
148third parties under the terms of this License.
149
150d) If a facility in the modified Library refers to a function or a table of
151data to be supplied by an application program that uses the facility, other
152than as an argument passed when the facility is invoked, then you must make
153a good faith effort to ensure that, in the event an application does not supply
154such function or table, the facility still operates, and performs whatever
155part of its purpose remains meaningful.
156
157(For example, a function in a library to compute square roots has a purpose
158that is entirely well-defined independent of the application. Therefore, Subsection
1592d requires that any application-supplied function or table used by this function
160must be optional: if the application does not supply it, the square root function
161must still compute square roots.)
162
163These requirements apply to the modified work as a whole. If identifiable
164sections of that work are not derived from the Library, and can be reasonably
165considered independent and separate works in themselves, then this License,
166and its terms, do not apply to those sections when you distribute them as
167separate works. But when you distribute the same sections as part of a whole
168which is a work based on the Library, the distribution of the whole must be
169on the terms of this License, whose permissions for other licensees extend
170to the entire whole, and thus to each and every part regardless of who wrote
171it.
172
173Thus, it is not the intent of this section to claim rights or contest your
174rights to work written entirely by you; rather, the intent is to exercise
175the right to control the distribution of derivative or collective works based
176on the Library.
177
178In addition, mere aggregation of another work not based on the Library with
179the Library (or with a work based on the Library) on a volume of a storage
180or distribution medium does not bring the other work under the scope of this
181License.
182
1833. You may opt to apply the terms of the ordinary GNU General Public License
184instead of this License to a given copy of the Library. To do this, you must
185alter all the notices that refer to this License, so that they refer to the
186ordinary GNU General Public License, version 2, instead of to this License.
187(If a newer version than version 2 of the ordinary GNU General Public License
188has appeared, then you can specify that version instead if you wish.) Do not
189make any other change in these notices.
190
191Once this change is made in a given copy, it is irreversible for that copy,
192so the ordinary GNU General Public License applies to all subsequent copies
193and derivative works made from that copy.
194
195This option is useful when you wish to copy part of the code of the Library
196into a program that is not a library.
197
1984. You may copy and distribute the Library (or a portion or derivative of
199it, under Section 2) in object code or executable form under the terms of
200Sections 1 and 2 above provided that you accompany it with the complete corresponding
201machine-readable source code, which must be distributed under the terms of
202Sections 1 and 2 above on a medium customarily used for software interchange.
203
204If distribution of object code is made by offering access to copy from a designated
205place, then offering equivalent access to copy the source code from the same
206place satisfies the requirement to distribute the source code, even though
207third parties are not compelled to copy the source along with the object code.
208
2095. A program that contains no derivative of any portion of the Library, but
210is designed to work with the Library by being compiled or linked with it,
211is called a "work that uses the Library". Such a work, in isolation, is not
212a derivative work of the Library, and therefore falls outside the scope of
213this License.
214
215However, linking a "work that uses the Library" with the Library creates an
216executable that is a derivative of the Library (because it contains portions
217of the Library), rather than a "work that uses the library". The executable
218is therefore covered by this License. Section 6 states terms for distribution
219of such executables.
220
221When a "work that uses the Library" uses material from a header file that
222is part of the Library, the object code for the work may be a derivative work
223of the Library even though the source code is not. Whether this is true is
224especially significant if the work can be linked without the Library, or if
225the work is itself a library. The threshold for this to be true is not precisely
226defined by law.
227
228If such an object file uses only numerical parameters, data structure layouts
229and accessors, and small macros and small inline functions (ten lines or less
230in length), then the use of the object file is unrestricted, regardless of
231whether it is legally a derivative work. (Executables containing this object
232code plus portions of the Library will still fall under Section 6.)
233
234Otherwise, if the work is a derivative of the Library, you may distribute
235the object code for the work under the terms of Section 6. Any executables
236containing that work also fall under Section 6, whether or not they are linked
237directly with the Library itself.
238
2396. As an exception to the Sections above, you may also compile or link a "work
240that uses the Library" with the Library to produce a work containing portions
241of the Library, and distribute that work under terms of your choice, provided
242that the terms permit modification of the work for the customer's own use
243and reverse engineering for debugging such modifications.
244
245You must give prominent notice with each copy of the work that the Library
246is used in it and that the Library and its use are covered by this License.
247You must supply a copy of this License. If the work during execution displays
248copyright notices, you must include the copyright notice for the Library among
249them, as well as a reference directing the user to the copy of this License.
250Also, you must do one of these things:
251
252a) Accompany the work with the complete corresponding machine-readable source
253code for the Library including whatever changes were used in the work (which
254must be distributed under Sections 1 and 2 above); and, if the work is an
255executable linked with the Library, with the complete machine-readable "work
256that uses the Library", as object code and/or source code, so that the user
257can modify the Library and then relink to produce a modified executable containing
258the modified Library. (It is understood that the user who changes the contents
259of definitions files in the Library will not necessarily be able to recompile
260the application to use the modified definitions.)
261
262b) Accompany the work with a written offer, valid for at least three years,
263to give the same user the materials specified in Subsection 6a, above, for
264a charge no more than the cost of performing this distribution.
265
266c) If distribution of the work is made by offering access to copy from a designated
267place, offer equivalent access to copy the above specified materials from
268the same place.
269
270d) Verify that the user has already received a copy of these materials or
271that you have already sent this user a copy.
272
273For an executable, the required form of the "work that uses the Library" must
274include any data and utility programs needed for reproducing the executable
275from it. However, as a special exception, the source code distributed need
276not include anything that is normally distributed (in either source or binary
277form) with the major components (compiler, kernel, and so on) of the operating
278system on which the executable runs, unless that component itself accompanies
279the executable.
280
281It may happen that this requirement contradicts the license restrictions of
282other proprietary libraries that do not normally accompany the operating system.
283Such a contradiction means you cannot use both them and the Library together
284in an executable that you distribute.
285
2867. You may place library facilities that are a work based on the Library side-by-side
287in a single library together with other library facilities not covered by
288this License, and distribute such a combined library, provided that the separate
289distribution of the work based on the Library and of the other library facilities
290is otherwise permitted, and provided that you do these two things:
291
292a) Accompany the combined library with a copy of the same work based on the
293Library, uncombined with any other library facilities. This must be distributed
294under the terms of the Sections above.
295
296b) Give prominent notice with the combined library of the fact that part of
297it is a work based on the Library, and explaining where to find the accompanying
298uncombined form of the same work.
299
3008. You may not copy, modify, sublicense, link with, or distribute the Library
301except as expressly provided under this License. Any attempt otherwise to
302copy, modify, sublicense, link with, or distribute the Library is void, and
303will automatically terminate your rights under this License. However, parties
304who have received copies, or rights, from you under this License will not
305have their licenses terminated so long as such parties remain in full compliance.
306
3079. You are not required to accept this License, since you have not signed
308it. However, nothing else grants you permission to modify or distribute the
309Library or its derivative works. These actions are prohibited by law if you
310do not accept this License. Therefore, by modifying or distributing the Library
311(or any work based on the Library), you indicate your acceptance of this License
312to do so, and all its terms and conditions for copying, distributing or modifying
313the Library or works based on it.
314
31510. Each time you redistribute the Library (or any work based on the Library),
316the recipient automatically receives a license from the original licensor
317to copy, distribute, link with or modify the Library subject to these terms
318and conditions. You may not impose any further restrictions on the recipients'
319exercise of the rights granted herein. You are not responsible for enforcing
320compliance by third parties to this License.
321
32211. If, as a consequence of a court judgment or allegation of patent infringement
323or for any other reason (not limited to patent issues), conditions are imposed
324on you (whether by court order, agreement or otherwise) that contradict the
325conditions of this License, they do not excuse you from the conditions of
326this License. If you cannot distribute so as to satisfy simultaneously your
327obligations under this License and any other pertinent obligations, then as
328a consequence you may not distribute the Library at all. For example, if a
329patent license would not permit royalty-free redistribution of the Library
330by all those who receive copies directly or indirectly through you, then the
331only way you could satisfy both it and this License would be to refrain entirely
332from distribution of the Library.
333
334If any portion of this section is held invalid or unenforceable under any
335particular circumstance, the balance of the section is intended to apply,
336and the section as a whole is intended to apply in other circumstances.
337
338It is not the purpose of this section to induce you to infringe any patents
339or other property right claims or to contest validity of any such claims;
340this section has the sole purpose of protecting the integrity of the free
341software distribution system which is implemented by public license practices.
342Many people have made generous contributions to the wide range of software
343distributed through that system in reliance on consistent application of that
344system; it is up to the author/donor to decide if he or she is willing to
345distribute software through any other system and a licensee cannot impose
346that choice.
347
348This section is intended to make thoroughly clear what is believed to be a
349consequence of the rest of this License.
350
35112. If the distribution and/or use of the Library is restricted in certain
352countries either by patents or by copyrighted interfaces, the original copyright
353holder who places the Library under this License may add an explicit geographical
354distribution limitation excluding those countries, so that distribution is
355permitted only in or among countries not thus excluded. In such case, this
356License incorporates the limitation as if written in the body of this License.
357
35813. The Free Software Foundation may publish revised and/or new versions of
359the Library General Public License from time to time. Such new versions will
360be similar in spirit to the present version, but may differ in detail to address
361new problems or concerns.
362
363Each version is given a distinguishing version number. If the Library specifies
364a version number of this License which applies to it and "any later version",
365you have the option of following the terms and conditions either of that version
366or of any later version published by the Free Software Foundation. If the
367Library does not specify a license version number, you may choose any version
368ever published by the Free Software Foundation.
369
37014. If you wish to incorporate parts of the Library into other free programs
371whose distribution conditions are incompatible with these, write to the author
372to ask for permission. For software which is copyrighted by the Free Software
373Foundation, write to the Free Software Foundation; we sometimes make exceptions
374for this. Our decision will be guided by the two goals of preserving the free
375status of all derivatives of our free software and of promoting the sharing
376and reuse of software generally.
377
378 NO WARRANTY
379
38015. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
381THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
382STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY
383"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
384BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
385FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
386OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
387THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
388
38916. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
390WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
391THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
392GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
393OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
394OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
395OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH
396HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
397END OF TERMS AND CONDITIONS
398
399How to Apply These Terms to Your New Libraries
400
401If you develop a new library, and you want it to be of the greatest possible
402use to the public, we recommend making it free software that everyone can
403redistribute and change. You can do so by permitting redistribution under
404these terms (or, alternatively, under the terms of the ordinary General Public
405License).
406
407To apply these terms, attach the following notices to the library. It is safest
408to attach them to the start of each source file to most effectively convey
409the exclusion of warranty; and each file should have at least the "copyright"
410line and a pointer to where the full notice is found.
411
412one line to give the library's name and an idea of what it does.
413
414Copyright (C) year name of author
415
416This library is free software; you can redistribute it and/or modify it under
417the terms of the GNU Library General Public License as published by the Free
418Software Foundation; either version 2 of the License, or (at your option)
419any later version.
420
421This library is distributed in the hope that it will be useful, but WITHOUT
422ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
423FOR A PARTICULAR PURPOSE. See the GNU Library General Public License for more
424details.
425
426You should have received a copy of the GNU Library General Public License
427along with this library; if not, write to the Free Software Foundation, Inc.,
42851 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
429
430Also add information on how to contact you by electronic and paper mail.
431
432You should also get your employer (if you work as a programmer) or your school,
433if any, to sign a "copyright disclaimer" for the library, if necessary. Here
434is a sample; alter the names:
435
436Yoyodyne, Inc., hereby disclaims all copyright interest in
437
438the library `Frob' (a library for tweaking knobs) written
439
440by James Random Hacker.
441
442signature of Ty Coon, 1 April 1990
443
444Ty Coon, President of Vice
445
446That's all there is to it!
diff --git a/meta/files/common-licenses/LGPL-2.1 b/meta/files/common-licenses/LGPL-2.1-only
index a0e735a98b..a0e735a98b 100644
--- a/meta/files/common-licenses/LGPL-2.1
+++ b/meta/files/common-licenses/LGPL-2.1-only
diff --git a/meta/files/common-licenses/LGPL-2.1-or-later b/meta/files/common-licenses/LGPL-2.1-or-later
new file mode 100644
index 0000000000..04bb156e77
--- /dev/null
+++ b/meta/files/common-licenses/LGPL-2.1-or-later
@@ -0,0 +1,468 @@
1GNU LESSER GENERAL PUBLIC LICENSE
2
3Version 2.1, February 1999
4
5Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6
751 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
8
9Everyone is permitted to copy and distribute verbatim copies of this license
10document, but changing it is not allowed.
11
12[This is the first released version of the Lesser GPL. It also counts as the
13successor of the GNU Library Public License, version 2, hence the version
14number 2.1.]
15
16Preamble
17
18The licenses for most software are designed to take away your freedom to share
19and change it. By contrast, the GNU General Public Licenses are intended to
20guarantee your freedom to share and change free software--to make sure the
21software is free for all its users.
22
23This license, the Lesser General Public License, applies to some specially
24designated software packages--typically libraries--of the Free Software Foundation
25and other authors who decide to use it. You can use it too, but we suggest
26you first think carefully about whether this license or the ordinary General
27Public License is the better strategy to use in any particular case, based
28on the explanations below.
29
30When we speak of free software, we are referring to freedom of use, not price.
31Our General Public Licenses are designed to make sure that you have the freedom
32to distribute copies of free software (and charge for this service if you
33wish); that you receive source code or can get it if you want it; that you
34can change the software and use pieces of it in new free programs; and that
35you are informed that you can do these things.
36
37To protect your rights, we need to make restrictions that forbid distributors
38to deny you these rights or to ask you to surrender these rights. These restrictions
39translate to certain responsibilities for you if you distribute copies of
40the library or if you modify it.
41
42For example, if you distribute copies of the library, whether gratis or for
43a fee, you must give the recipients all the rights that we gave you. You must
44make sure that they, too, receive or can get the source code. If you link
45other code with the library, you must provide complete object files to the
46recipients, so that they can relink them with the library after making changes
47to the library and recompiling it. And you must show them these terms so they
48know their rights.
49
50We protect your rights with a two-step method: (1) we copyright the library,
51and (2) we offer you this license, which gives you legal permission to copy,
52distribute and/or modify the library.
53
54To protect each distributor, we want to make it very clear that there is no
55warranty for the free library. Also, if the library is modified by someone
56else and passed on, the recipients should know that what they have is not
57the original version, so that the original author's reputation will not be
58affected by problems that might be introduced by others.
59
60Finally, software patents pose a constant threat to the existence of any free
61program. We wish to make sure that a company cannot effectively restrict the
62users of a free program by obtaining a restrictive license from a patent holder.
63Therefore, we insist that any patent license obtained for a version of the
64library must be consistent with the full freedom of use specified in this
65license.
66
67Most GNU software, including some libraries, is covered by the ordinary GNU
68General Public License. This license, the GNU Lesser General Public License,
69applies to certain designated libraries, and is quite different from the ordinary
70General Public License. We use this license for certain libraries in order
71to permit linking those libraries into non-free programs.
72
73When a program is linked with a library, whether statically or using a shared
74library, the combination of the two is legally speaking a combined work, a
75derivative of the original library. The ordinary General Public License therefore
76permits such linking only if the entire combination fits its criteria of freedom.
77The Lesser General Public License permits more lax criteria for linking other
78code with the library.
79
80We call this license the "Lesser" General Public License because it does Less
81to protect the user's freedom than the ordinary General Public License. It
82also provides other free software developers Less of an advantage over competing
83non-free programs. These disadvantages are the reason we use the ordinary
84General Public License for many libraries. However, the Lesser license provides
85advantages in certain special circumstances.
86
87For example, on rare occasions, there may be a special need to encourage the
88widest possible use of a certain library, so that it becomes a de-facto standard.
89To achieve this, non-free programs must be allowed to use the library. A more
90frequent case is that a free library does the same job as widely used non-free
91libraries. In this case, there is little to gain by limiting the free library
92to free software only, so we use the Lesser General Public License.
93
94In other cases, permission to use a particular library in non-free programs
95enables a greater number of people to use a large body of free software. For
96example, permission to use the GNU C Library in non-free programs enables
97many more people to use the whole GNU operating system, as well as its variant,
98the GNU/Linux operating system.
99
100Although the Lesser General Public License is Less protective of the users'
101freedom, it does ensure that the user of a program that is linked with the
102Library has the freedom and the wherewithal to run that program using a modified
103version of the Library.
104
105The precise terms and conditions for copying, distribution and modification
106follow. Pay close attention to the difference between a "work based on the
107library" and a "work that uses the library". The former contains code derived
108from the library, whereas the latter must be combined with the library in
109order to run.
110
111TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
112
1130. This License Agreement applies to any software library or other program
114which contains a notice placed by the copyright holder or other authorized
115party saying it may be distributed under the terms of this Lesser General
116Public License (also called "this License"). Each licensee is addressed as
117"you".
118
119A "library" means a collection of software functions and/or data prepared
120so as to be conveniently linked with application programs (which use some
121of those functions and data) to form executables.
122
123The "Library", below, refers to any such software library or work which has
124been distributed under these terms. A "work based on the Library" means either
125the Library or any derivative work under copyright law: that is to say, a
126work containing the Library or a portion of it, either verbatim or with modifications
127and/or translated straightforwardly into another language. (Hereinafter, translation
128is included without limitation in the term "modification".)
129
130"Source code" for a work means the preferred form of the work for making modifications
131to it. For a library, complete source code means all the source code for all
132modules it contains, plus any associated interface definition files, plus
133the scripts used to control compilation and installation of the library.
134
135Activities other than copying, distribution and modification are not covered
136by this License; they are outside its scope. The act of running a program
137using the Library is not restricted, and output from such a program is covered
138only if its contents constitute a work based on the Library (independent of
139the use of the Library in a tool for writing it). Whether that is true depends
140on what the Library does and what the program that uses the Library does.
141
1421. You may copy and distribute verbatim copies of the Library's complete source
143code as you receive it, in any medium, provided that you conspicuously and
144appropriately publish on each copy an appropriate copyright notice and disclaimer
145of warranty; keep intact all the notices that refer to this License and to
146the absence of any warranty; and distribute a copy of this License along with
147the Library.
148
149You may charge a fee for the physical act of transferring a copy, and you
150may at your option offer warranty protection in exchange for a fee.
151
1522. You may modify your copy or copies of the Library or any portion of it,
153thus forming a work based on the Library, and copy and distribute such modifications
154or work under the terms of Section 1 above, provided that you also meet all
155of these conditions:
156
157 a) The modified work must itself be a software library.
158
159b) You must cause the files modified to carry prominent notices stating that
160you changed the files and the date of any change.
161
162c) You must cause the whole of the work to be licensed at no charge to all
163third parties under the terms of this License.
164
165d) If a facility in the modified Library refers to a function or a table of
166data to be supplied by an application program that uses the facility, other
167than as an argument passed when the facility is invoked, then you must make
168a good faith effort to ensure that, in the event an application does not supply
169such function or table, the facility still operates, and performs whatever
170part of its purpose remains meaningful.
171
172(For example, a function in a library to compute square roots has a purpose
173that is entirely well-defined independent of the application. Therefore, Subsection
1742d requires that any application-supplied function or table used by this function
175must be optional: if the application does not supply it, the square root function
176must still compute square roots.)
177
178These requirements apply to the modified work as a whole. If identifiable
179sections of that work are not derived from the Library, and can be reasonably
180considered independent and separate works in themselves, then this License,
181and its terms, do not apply to those sections when you distribute them as
182separate works. But when you distribute the same sections as part of a whole
183which is a work based on the Library, the distribution of the whole must be
184on the terms of this License, whose permissions for other licensees extend
185to the entire whole, and thus to each and every part regardless of who wrote
186it.
187
188Thus, it is not the intent of this section to claim rights or contest your
189rights to work written entirely by you; rather, the intent is to exercise
190the right to control the distribution of derivative or collective works based
191on the Library.
192
193In addition, mere aggregation of another work not based on the Library with
194the Library (or with a work based on the Library) on a volume of a storage
195or distribution medium does not bring the other work under the scope of this
196License.
197
1983. You may opt to apply the terms of the ordinary GNU General Public License
199instead of this License to a given copy of the Library. To do this, you must
200alter all the notices that refer to this License, so that they refer to the
201ordinary GNU General Public License, version 2, instead of to this License.
202(If a newer version than version 2 of the ordinary GNU General Public License
203has appeared, then you can specify that version instead if you wish.) Do not
204make any other change in these notices.
205
206Once this change is made in a given copy, it is irreversible for that copy,
207so the ordinary GNU General Public License applies to all subsequent copies
208and derivative works made from that copy.
209
210This option is useful when you wish to copy part of the code of the Library
211into a program that is not a library.
212
2134. You may copy and distribute the Library (or a portion or derivative of
214it, under Section 2) in object code or executable form under the terms of
215Sections 1 and 2 above provided that you accompany it with the complete corresponding
216machine-readable source code, which must be distributed under the terms of
217Sections 1 and 2 above on a medium customarily used for software interchange.
218
219If distribution of object code is made by offering access to copy from a designated
220place, then offering equivalent access to copy the source code from the same
221place satisfies the requirement to distribute the source code, even though
222third parties are not compelled to copy the source along with the object code.
223
2245. A program that contains no derivative of any portion of the Library, but
225is designed to work with the Library by being compiled or linked with it,
226is called a "work that uses the Library". Such a work, in isolation, is not
227a derivative work of the Library, and therefore falls outside the scope of
228this License.
229
230However, linking a "work that uses the Library" with the Library creates an
231executable that is a derivative of the Library (because it contains portions
232of the Library), rather than a "work that uses the library". The executable
233is therefore covered by this License. Section 6 states terms for distribution
234of such executables.
235
236When a "work that uses the Library" uses material from a header file that
237is part of the Library, the object code for the work may be a derivative work
238of the Library even though the source code is not. Whether this is true is
239especially significant if the work can be linked without the Library, or if
240the work is itself a library. The threshold for this to be true is not precisely
241defined by law.
242
243If such an object file uses only numerical parameters, data structure layouts
244and accessors, and small macros and small inline functions (ten lines or less
245in length), then the use of the object file is unrestricted, regardless of
246whether it is legally a derivative work. (Executables containing this object
247code plus portions of the Library will still fall under Section 6.)
248
249Otherwise, if the work is a derivative of the Library, you may distribute
250the object code for the work under the terms of Section 6. Any executables
251containing that work also fall under Section 6, whether or not they are linked
252directly with the Library itself.
253
2546. As an exception to the Sections above, you may also combine or link a "work
255that uses the Library" with the Library to produce a work containing portions
256of the Library, and distribute that work under terms of your choice, provided
257that the terms permit modification of the work for the customer's own use
258and reverse engineering for debugging such modifications.
259
260You must give prominent notice with each copy of the work that the Library
261is used in it and that the Library and its use are covered by this License.
262You must supply a copy of this License. If the work during execution displays
263copyright notices, you must include the copyright notice for the Library among
264them, as well as a reference directing the user to the copy of this License.
265Also, you must do one of these things:
266
267a) Accompany the work with the complete corresponding machine-readable source
268code for the Library including whatever changes were used in the work (which
269must be distributed under Sections 1 and 2 above); and, if the work is an
270executable linked with the Library, with the complete machine-readable "work
271that uses the Library", as object code and/or source code, so that the user
272can modify the Library and then relink to produce a modified executable containing
273the modified Library. (It is understood that the user who changes the contents
274of definitions files in the Library will not necessarily be able to recompile
275the application to use the modified definitions.)
276
277b) Use a suitable shared library mechanism for linking with the Library. A
278suitable mechanism is one that (1) uses at run time a copy of the library
279already present on the user's computer system, rather than copying library
280functions into the executable, and (2) will operate properly with a modified
281version of the library, if the user installs one, as long as the modified
282version is interface-compatible with the version that the work was made with.
283
284c) Accompany the work with a written offer, valid for at least three years,
285to give the same user the materials specified in Subsection 6a, above, for
286a charge no more than the cost of performing this distribution.
287
288d) If distribution of the work is made by offering access to copy from a designated
289place, offer equivalent access to copy the above specified materials from
290the same place.
291
292e) Verify that the user has already received a copy of these materials or
293that you have already sent this user a copy.
294
295For an executable, the required form of the "work that uses the Library" must
296include any data and utility programs needed for reproducing the executable
297from it. However, as a special exception, the materials to be distributed
298need not include anything that is normally distributed (in either source or
299binary form) with the major components (compiler, kernel, and so on) of the
300operating system on which the executable runs, unless that component itself
301accompanies the executable.
302
303It may happen that this requirement contradicts the license restrictions of
304other proprietary libraries that do not normally accompany the operating system.
305Such a contradiction means you cannot use both them and the Library together
306in an executable that you distribute.
307
3087. You may place library facilities that are a work based on the Library side-by-side
309in a single library together with other library facilities not covered by
310this License, and distribute such a combined library, provided that the separate
311distribution of the work based on the Library and of the other library facilities
312is otherwise permitted, and provided that you do these two things:
313
314a) Accompany the combined library with a copy of the same work based on the
315Library, uncombined with any other library facilities. This must be distributed
316under the terms of the Sections above.
317
318b) Give prominent notice with the combined library of the fact that part of
319it is a work based on the Library, and explaining where to find the accompanying
320uncombined form of the same work.
321
3228. You may not copy, modify, sublicense, link with, or distribute the Library
323except as expressly provided under this License. Any attempt otherwise to
324copy, modify, sublicense, link with, or distribute the Library is void, and
325will automatically terminate your rights under this License. However, parties
326who have received copies, or rights, from you under this License will not
327have their licenses terminated so long as such parties remain in full compliance.
328
3299. You are not required to accept this License, since you have not signed
330it. However, nothing else grants you permission to modify or distribute the
331Library or its derivative works. These actions are prohibited by law if you
332do not accept this License. Therefore, by modifying or distributing the Library
333(or any work based on the Library), you indicate your acceptance of this License
334to do so, and all its terms and conditions for copying, distributing or modifying
335the Library or works based on it.
336
33710. Each time you redistribute the Library (or any work based on the Library),
338the recipient automatically receives a license from the original licensor
339to copy, distribute, link with or modify the Library subject to these terms
340and conditions. You may not impose any further restrictions on the recipients'
341exercise of the rights granted herein. You are not responsible for enforcing
342compliance by third parties with this License.
343
34411. If, as a consequence of a court judgment or allegation of patent infringement
345or for any other reason (not limited to patent issues), conditions are imposed
346on you (whether by court order, agreement or otherwise) that contradict the
347conditions of this License, they do not excuse you from the conditions of
348this License. If you cannot distribute so as to satisfy simultaneously your
349obligations under this License and any other pertinent obligations, then as
350a consequence you may not distribute the Library at all. For example, if a
351patent license would not permit royalty-free redistribution of the Library
352by all those who receive copies directly or indirectly through you, then the
353only way you could satisfy both it and this License would be to refrain entirely
354from distribution of the Library.
355
356If any portion of this section is held invalid or unenforceable under any
357particular circumstance, the balance of the section is intended to apply,
358and the section as a whole is intended to apply in other circumstances.
359
360It is not the purpose of this section to induce you to infringe any patents
361or other property right claims or to contest validity of any such claims;
362this section has the sole purpose of protecting the integrity of the free
363software distribution system which is implemented by public license practices.
364Many people have made generous contributions to the wide range of software
365distributed through that system in reliance on consistent application of that
366system; it is up to the author/donor to decide if he or she is willing to
367distribute software through any other system and a licensee cannot impose
368that choice.
369
370This section is intended to make thoroughly clear what is believed to be a
371consequence of the rest of this License.
372
37312. If the distribution and/or use of the Library is restricted in certain
374countries either by patents or by copyrighted interfaces, the original copyright
375holder who places the Library under this License may add an explicit geographical
376distribution limitation excluding those countries, so that distribution is
377permitted only in or among countries not thus excluded. In such case, this
378License incorporates the limitation as if written in the body of this License.
379
38013. The Free Software Foundation may publish revised and/or new versions of
381the Lesser General Public License from time to time. Such new versions will
382be similar in spirit to the present version, but may differ in detail to address
383new problems or concerns.
384
385Each version is given a distinguishing version number. If the Library specifies
386a version number of this License which applies to it and "any later version",
387you have the option of following the terms and conditions either of that version
388or of any later version published by the Free Software Foundation. If the
389Library does not specify a license version number, you may choose any version
390ever published by the Free Software Foundation.
391
39214. If you wish to incorporate parts of the Library into other free programs
393whose distribution conditions are incompatible with these, write to the author
394to ask for permission. For software which is copyrighted by the Free Software
395Foundation, write to the Free Software Foundation; we sometimes make exceptions
396for this. Our decision will be guided by the two goals of preserving the free
397status of all derivatives of our free software and of promoting the sharing
398and reuse of software generally.
399
400 NO WARRANTY
401
40215. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR
403THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE
404STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE LIBRARY
405"AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
406BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS
407FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE
408OF THE LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
409THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
410
41116. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
412WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE
413THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
414GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE
415OR INABILITY TO USE THE LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA
416OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES
417OR A FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF SUCH
418HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
419END OF TERMS AND CONDITIONS
420
421How to Apply These Terms to Your New Libraries
422
423If you develop a new library, and you want it to be of the greatest possible
424use to the public, we recommend making it free software that everyone can
425redistribute and change. You can do so by permitting redistribution under
426these terms (or, alternatively, under the terms of the ordinary General Public
427License).
428
429To apply these terms, attach the following notices to the library. It is safest
430to attach them to the start of each source file to most effectively convey
431the exclusion of warranty; and each file should have at least the "copyright"
432line and a pointer to where the full notice is found.
433
434<one line to give the library's name and an idea of what it does.>
435
436Copyright (C) <year> <name of author>
437
438This library is free software; you can redistribute it and/or modify it under
439the terms of the GNU Lesser General Public License as published by the Free
440Software Foundation; either version 2.1 of the License, or (at your option)
441any later version.
442
443This library is distributed in the hope that it will be useful, but WITHOUT
444ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
445FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
446details.
447
448You should have received a copy of the GNU Lesser General Public License along
449with this library; if not, write to the Free Software Foundation, Inc., 51
450Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
451
452Also add information on how to contact you by electronic and paper mail.
453
454You should also get your employer (if you work as a programmer) or your school,
455if any, to sign a "copyright disclaimer" for the library, if necessary. Here
456is a sample; alter the names:
457
458Yoyodyne, Inc., hereby disclaims all copyright interest in
459
460the library `Frob' (a library for tweaking knobs) written
461
462by James Random Hacker.
463
464< signature of Ty Coon > , 1 April 1990
465
466Ty Coon, President of Vice
467
468That's all there is to it!
diff --git a/meta/files/common-licenses/LGPL-3.0 b/meta/files/common-licenses/LGPL-3.0-only
index 6be29bf206..6be29bf206 100644
--- a/meta/files/common-licenses/LGPL-3.0
+++ b/meta/files/common-licenses/LGPL-3.0-only
diff --git a/meta/files/common-licenses/LGPL-3.0-or-later b/meta/files/common-licenses/LGPL-3.0-or-later
new file mode 100644
index 0000000000..bd405afbef
--- /dev/null
+++ b/meta/files/common-licenses/LGPL-3.0-or-later
@@ -0,0 +1,163 @@
1GNU LESSER GENERAL PUBLIC LICENSE
2
3Version 3, 29 June 2007
4
5Copyright (C) 2007 Free Software Foundation, Inc. <https://fsf.org/>
6
7Everyone is permitted to copy and distribute verbatim copies of this license
8document, but changing it is not allowed.
9
10This version of the GNU Lesser General Public License incorporates the terms
11and conditions of version 3 of the GNU General Public License, supplemented
12by the additional permissions listed below.
13
14 0. Additional Definitions.
15
16
17
18As used herein, "this License" refers to version 3 of the GNU Lesser General
19Public License, and the "GNU GPL" refers to version 3 of the GNU General Public
20License.
21
22
23
24"The Library" refers to a covered work governed by this License, other than
25an Application or a Combined Work as defined below.
26
27
28
29An "Application" is any work that makes use of an interface provided by the
30Library, but which is not otherwise based on the Library. Defining a subclass
31of a class defined by the Library is deemed a mode of using an interface provided
32by the Library.
33
34
35
36A "Combined Work" is a work produced by combining or linking an Application
37with the Library. The particular version of the Library with which the Combined
38Work was made is also called the "Linked Version".
39
40
41
42The "Minimal Corresponding Source" for a Combined Work means the Corresponding
43Source for the Combined Work, excluding any source code for portions of the
44Combined Work that, considered in isolation, are based on the Application,
45and not on the Linked Version.
46
47
48
49The "Corresponding Application Code" for a Combined Work means the object
50code and/or source code for the Application, including any data and utility
51programs needed for reproducing the Combined Work from the Application, but
52excluding the System Libraries of the Combined Work.
53
54 1. Exception to Section 3 of the GNU GPL.
55
56You may convey a covered work under sections 3 and 4 of this License without
57being bound by section 3 of the GNU GPL.
58
59 2. Conveying Modified Versions.
60
61If you modify a copy of the Library, and, in your modifications, a facility
62refers to a function or data to be supplied by an Application that uses the
63facility (other than as an argument passed when the facility is invoked),
64then you may convey a copy of the modified version:
65
66a) under this License, provided that you make a good faith effort to ensure
67that, in the event an Application does not supply the function or data, the
68facility still operates, and performs whatever part of its purpose remains
69meaningful, or
70
71b) under the GNU GPL, with none of the additional permissions of this License
72applicable to that copy.
73
74 3. Object Code Incorporating Material from Library Header Files.
75
76The object code form of an Application may incorporate material from a header
77file that is part of the Library. You may convey such object code under terms
78of your choice, provided that, if the incorporated material is not limited
79to numerical parameters, data structure layouts and accessors, or small macros,
80inline functions and templates (ten or fewer lines in length), you do both
81of the following:
82
83a) Give prominent notice with each copy of the object code that the Library
84is used in it and that the Library and its use are covered by this License.
85
86b) Accompany the object code with a copy of the GNU GPL and this license document.
87
88 4. Combined Works.
89
90You may convey a Combined Work under terms of your choice that, taken together,
91effectively do not restrict modification of the portions of the Library contained
92in the Combined Work and reverse engineering for debugging such modifications,
93if you also do each of the following:
94
95a) Give prominent notice with each copy of the Combined Work that the Library
96is used in it and that the Library and its use are covered by this License.
97
98b) Accompany the Combined Work with a copy of the GNU GPL and this license
99document.
100
101c) For a Combined Work that displays copyright notices during execution, include
102the copyright notice for the Library among these notices, as well as a reference
103directing the user to the copies of the GNU GPL and this license document.
104
105 d) Do one of the following:
106
1070) Convey the Minimal Corresponding Source under the terms of this License,
108and the Corresponding Application Code in a form suitable for, and under terms
109that permit, the user to recombine or relink the Application with a modified
110version of the Linked Version to produce a modified Combined Work, in the
111manner specified by section 6 of the GNU GPL for conveying Corresponding Source.
112
1131) Use a suitable shared library mechanism for linking with the Library. A
114suitable mechanism is one that (a) uses at run time a copy of the Library
115already present on the user's computer system, and (b) will operate properly
116with a modified version of the Library that is interface-compatible with the
117Linked Version.
118
119e) Provide Installation Information, but only if you would otherwise be required
120to provide such information under section 6 of the GNU GPL, and only to the
121extent that such information is necessary to install and execute a modified
122version of the Combined Work produced by recombining or relinking the Application
123with a modified version of the Linked Version. (If you use option 4d0, the
124Installation Information must accompany the Minimal Corresponding Source and
125Corresponding Application Code. If you use option 4d1, you must provide the
126Installation Information in the manner specified by section 6 of the GNU GPL
127for conveying Corresponding Source.)
128
129 5. Combined Libraries.
130
131You may place library facilities that are a work based on the Library side
132by side in a single library together with other library facilities that are
133not Applications and are not covered by this License, and convey such a combined
134library under terms of your choice, if you do both of the following:
135
136a) Accompany the combined library with a copy of the same work based on the
137Library, uncombined with any other library facilities, conveyed under the
138terms of this License.
139
140b) Give prominent notice with the combined library that part of it is a work
141based on the Library, and explaining where to find the accompanying uncombined
142form of the same work.
143
144 6. Revised Versions of the GNU Lesser General Public License.
145
146The Free Software Foundation may publish revised and/or new versions of the
147GNU Lesser General Public License from time to time. Such new versions will
148be similar in spirit to the present version, but may differ in detail to address
149new problems or concerns.
150
151Each version is given a distinguishing version number. If the Library as you
152received it specifies that a certain numbered version of the GNU Lesser General
153Public License "or any later version" applies to it, you have the option of
154following the terms and conditions either of that published version or of
155any later version published by the Free Software Foundation. If the Library
156as you received it does not specify a version number of the GNU Lesser General
157Public License, you may choose any version of the GNU Lesser General Public
158License ever published by the Free Software Foundation.
159
160If the Library as you received it specifies that a proxy can decide whether
161future versions of the GNU Lesser General Public License shall apply, that
162proxy's public statement of acceptance of any version is permanent authorization
163for you to choose that version for the Library.