summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBeth Flanagan <elizabeth.flanagan@intel.com>2011-01-27 11:25:12 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-01-28 16:49:13 +0000
commit4bda50f28919d62410feabae530e6f7186812938 (patch)
treeec30b488327016be64009b6d185be2b3e1e349fd
parentc7b489c22bcf7f0e062f4dd1c4040928cd71883a (diff)
downloadpoky-4bda50f28919d62410feabae530e6f7186812938.tar.gz
Initial commit of license reporting:
This is an intial commit for the license reporting system. A few notes: The LICENSE fields needs to be standardized throughout poky. As it stands, we throw a warning if the license file is not found (either because it does not exist or because LICENSE_FILE_CHKSUM is munged) in the generic license directory. This should eventually become an error. I've seen a few places where Apache-v2.0 is written differently and I'm sure this will throw the above warning. This does not put the license data on the rootfs. Also, I provide both the actual license text and a link to the best guess of the generic_license. That guessing is not very robust and I'm loath to get into a bunch of pattern matching rather than standardize LICENSE. This adds one new param to poky.conf and one new to license.bbclass: LICENSE_DIR: the base directory we copy all the license results to (set in license.bbclass) COMMON_LICENSE_DIR: this is the directory that holds all the common generic license files. currently meta/files/common-licenses (set in poky.conf) TODO: - We should verify the common-licenses. I stripped these from my Ubuntu 10.10 system. - We should allow the capability of licenses on the rootfs, although the resulting image created would be a lot larger. - More common-licenses. I don't include bzip, zlib, ICS.... I should, but that means tracking down a lot of licenses. - General cleanup of licensing and standardization of names. We should standardize on a naming convention. What's in licenses.conf should match up with what is in the recipes which should match with what is in common-licenses. Outside the scope of this though. See: http://bugzilla.pokylinux.org/show_bug.cgi?id=650
-rw-r--r--meta/classes/license.bbclass101
-rw-r--r--meta/conf/distro/poky.conf4
-rw-r--r--meta/files/common-licenses/Apache-2.0202
-rw-r--r--meta/files/common-licenses/Artistic131
-rw-r--r--meta/files/common-licenses/BSD26
-rw-r--r--meta/files/common-licenses/GFDL451
-rw-r--r--meta/files/common-licenses/GFDL-1.2397
-rw-r--r--meta/files/common-licenses/GFDL-1.3451
-rw-r--r--meta/files/common-licenses/GPL676
-rw-r--r--meta/files/common-licenses/GPLv2339
-rw-r--r--meta/files/common-licenses/GPLv3676
-rw-r--r--meta/files/common-licenses/LGPL165
-rw-r--r--meta/files/common-licenses/LGPLv2481
-rw-r--r--meta/files/common-licenses/LGPLv2.1510
-rw-r--r--meta/files/common-licenses/LGPLv3165
15 files changed, 4774 insertions, 1 deletions
diff --git a/meta/classes/license.bbclass b/meta/classes/license.bbclass
new file mode 100644
index 0000000000..ddedd577cc
--- /dev/null
+++ b/meta/classes/license.bbclass
@@ -0,0 +1,101 @@
1# Populates LICENSE_DIRECTORY as set in poky.conf with the license files as set by
2# LIC_FILES_CHKSUM.
3# TODO:
4# - We should also enable the ability to put the generated license directory onto the
5# rootfs
6# - Gather up more generic licenses
7# - There is a real issue revolving around license naming standards. See license names
8# licenses.conf and compare them to the license names in the recipes. You'll see some
9# differences and that should be corrected.
10
11LICENSE_DIRECTORY ??= "${DEPLOY_DIR_IMAGE}/licenses"
12
13addtask populate_lic after do_patch before do_package
14do_populate_lic[nostamp] = "1"
15python do_populate_lic() {
16 """
17 Populate LICENSE_DIRECTORY with licenses.
18 """
19 import os
20 import bb
21 import shutil
22
23 # All the license types for the package
24 license_types = bb.data.getVar('LICENSE', d, True)
25 # All the license files for the package
26 lic_files = bb.data.getVar('LIC_FILES_CHKSUM', d, True)
27 pn = bb.data.getVar('PN', d, True)
28 # The base directory we wrangle licenses to
29 destdir = os.path.join(bb.data.getVar('LICENSE_DIRECTORY', d, True), pn)
30 # The license files are located in S/LIC_FILE_CHECKSUM.
31 srcdir = bb.data.getVar('S', d, True)
32 # Directory we store the generic licenses as set in poky.conf
33 generic_directory = bb.data.getVar('COMMON_LICENSE_DIR', d, True)
34 if not generic_directory:
35 raise bb.build.FuncFailed("COMMON_LICENSE_DIR is unset. Please set this in your distro config")
36
37 try:
38 # Let's try to clean up the packages license directory
39 shutil.rmtree(destdir)
40 except:
41 pass
42
43 try:
44 # Create the package license directory structure.
45 bb.mkdirhier(destdir)
46 except:
47 pass
48
49 if not lic_files:
50 # No recipe should have an invalid license file. This is checked else
51 # where, but let's be pedantic
52 bb.note(pn + ": Recipe file does not have license file information.")
53 return True
54
55 for url in lic_files.split():
56 (type, host, path, user, pswd, parm) = bb.decodeurl(url)
57 # We want the license file to be copied into the destination
58 srclicfile = os.path.join(srcdir, path)
59 ret = bb.copyfile(srclicfile, os.path.join(destdir, os.path.basename(path)))
60 # If the copy didn't occur, something horrible went wrong and we fail out
61 if ret is False or ret == 0:
62 bb.warn("%s could not be copied for some reason. It may not exist. WARN for now." % srclicfile)
63
64 # This takes some explaining.... we now are going to go an try to symlink
65 # to a generic file. But, with the way LICENSE works, a package can have multiple
66 # licenses. Some of them are, for example, GPLv2+, which means it can use that version
67 # of GPLv2 specified in it's license, or a later version of GPLv2. For the purposes of
68 # what we're doing here, we really don't track license revisions (although we may want to)
69 # So, we strip out the + and link to a generic GPLv2
70 #
71 # That said, there are some entries into LICENSE that either have no generic (bzip, zlib, ICS)
72 # or the LICENSE is messy (Apache 2.0 .... when they mean Apache-2.0). This should be corrected
73 # but it's outside of scope for this.
74 #
75 # Also, you get some clever license fields with logic in the field.
76 # I'm sure someone has written a logic parser for these fields, but if so, I don't know where it is.
77 # So what I do is just link to every license mentioned in the license field.
78
79 for license_type in license_types.replace('&', '').replace('+', '').replace('&', '').replace('(', '').replace(')', '').split():
80 if os.path.isfile(os.path.join(generic_directory, license_type)):
81 gen_lic_dest = os.path.join(bb.data.getVar('LICENSE_DIRECTORY', d, True), "common-licenses")
82 try:
83 bb.mkdirhier(gen_lic_dest)
84 except:
85 pass
86
87 try:
88 bb.copyfile(os.path.join(generic_directory, license_type), os.path.join(gen_lic_dest, license_type))
89 except:
90 bb.warn("%s: No generic license file exists for: %s at %s" % (pn, license_type, generic_directory))
91 pass
92 try:
93 os.symlink(os.path.join(gen_lic_dest, license_type), os.path.join(destdir, "generic_" + license_type))
94 except:
95 bb.warn("%s: No generic license file exists for: %s at %s" % (pn, license_type, generic_directory))
96 pass
97 else:
98 bb.warn("%s: Something went wrong with copying: %s to %s" % (pn, license_type, generic_directory))
99 bb.warn("This could be either because we do not have a generic for this license or the LICENSE field is incorrect")
100 pass
101}
diff --git a/meta/conf/distro/poky.conf b/meta/conf/distro/poky.conf
index 82a5e022f4..6326eeae60 100644
--- a/meta/conf/distro/poky.conf
+++ b/meta/conf/distro/poky.conf
@@ -12,7 +12,7 @@ USER_CLASSES ?= ""
12 12
13PACKAGE_CLASSES ?= "package_ipk" 13PACKAGE_CLASSES ?= "package_ipk"
14INHERIT_INSANE ?= "insane" 14INHERIT_INSANE ?= "insane"
15INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate" 15INHERIT += "${PACKAGE_CLASSES} ${USER_CLASSES} debian devshell ${INHERIT_INSANE} sstate license"
16# For some reason, this doesn't work 16# For some reason, this doesn't work
17# TARGET_OS ?= "linux" 17# TARGET_OS ?= "linux"
18# TARGET_VENDOR ?= "-poky" 18# TARGET_VENDOR ?= "-poky"
@@ -143,6 +143,8 @@ COMMERCIAL_VIDEO_PLUGINS ?= ""
143# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse" 143# COMMERCIAL_VIDEO_PLUGINS ?= "gst-plugins-ugly-mpeg2dec gst-plugins-ugly-mpegstream gst-plugins-bad-mpegvideoparse"
144COMMERCIAL_QT ?= "" 144COMMERCIAL_QT ?= ""
145# COMMERCIAL_QT ?= "qmmp" 145# COMMERCIAL_QT ?= "qmmp"
146# Set of common licenses used for license.bbclass
147COMMON_LICENSE_DIR ??= "${POKYBASE}/meta/files/common-licenses"
146 148
147 149
148require conf/distro/include/world-broken.inc 150require conf/distro/include/world-broken.inc
diff --git a/meta/files/common-licenses/Apache-2.0 b/meta/files/common-licenses/Apache-2.0
new file mode 100644
index 0000000000..d645695673
--- /dev/null
+++ b/meta/files/common-licenses/Apache-2.0
@@ -0,0 +1,202 @@
1
2 Apache License
3 Version 2.0, January 2004
4 http://www.apache.org/licenses/
5
6 TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
7
8 1. Definitions.
9
10 "License" shall mean the terms and conditions for use, reproduction,
11 and distribution as defined by Sections 1 through 9 of this document.
12
13 "Licensor" shall mean the copyright owner or entity authorized by
14 the copyright owner that is granting the License.
15
16 "Legal Entity" shall mean the union of the acting entity and all
17 other entities that control, are controlled by, or are under common
18 control with that entity. For the purposes of this definition,
19 "control" means (i) the power, direct or indirect, to cause the
20 direction or management of such entity, whether by contract or
21 otherwise, or (ii) ownership of fifty percent (50%) or more of the
22 outstanding shares, or (iii) beneficial ownership of such entity.
23
24 "You" (or "Your") shall mean an individual or Legal Entity
25 exercising permissions granted by this License.
26
27 "Source" form shall mean the preferred form for making modifications,
28 including but not limited to software source code, documentation
29 source, and configuration files.
30
31 "Object" form shall mean any form resulting from mechanical
32 transformation or translation of a Source form, including but
33 not limited to compiled object code, generated documentation,
34 and conversions to other media types.
35
36 "Work" shall mean the work of authorship, whether in Source or
37 Object form, made available under the License, as indicated by a
38 copyright notice that is included in or attached to the work
39 (an example is provided in the Appendix below).
40
41 "Derivative Works" shall mean any work, whether in Source or Object
42 form, that is based on (or derived from) the Work and for which the
43 editorial revisions, annotations, elaborations, or other modifications
44 represent, as a whole, an original work of authorship. For the purposes
45 of this License, Derivative Works shall not include works that remain
46 separable from, or merely link (or bind by name) to the interfaces of,
47 the Work and Derivative Works thereof.
48
49 "Contribution" shall mean any work of authorship, including
50 the original version of the Work and any modifications or additions
51 to that Work or Derivative Works thereof, that is intentionally
52 submitted to Licensor for inclusion in the Work by the copyright owner
53 or by an individual or Legal Entity authorized to submit on behalf of
54 the copyright owner. For the purposes of this definition, "submitted"
55 means any form of electronic, verbal, or written communication sent
56 to the Licensor or its representatives, including but not limited to
57 communication on electronic mailing lists, source code control systems,
58 and issue tracking systems that are managed by, or on behalf of, the
59 Licensor for the purpose of discussing and improving the Work, but
60 excluding communication that is conspicuously marked or otherwise
61 designated in writing by the copyright owner as "Not a Contribution."
62
63 "Contributor" shall mean Licensor and any individual or Legal Entity
64 on behalf of whom a Contribution has been received by Licensor and
65 subsequently incorporated within the Work.
66
67 2. Grant of Copyright License. Subject to the terms and conditions of
68 this License, each Contributor hereby grants to You a perpetual,
69 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
70 copyright license to reproduce, prepare Derivative Works of,
71 publicly display, publicly perform, sublicense, and distribute the
72 Work and such Derivative Works in Source or Object form.
73
74 3. Grant of Patent License. Subject to the terms and conditions of
75 this License, each Contributor hereby grants to You a perpetual,
76 worldwide, non-exclusive, no-charge, royalty-free, irrevocable
77 (except as stated in this section) patent license to make, have made,
78 use, offer to sell, sell, import, and otherwise transfer the Work,
79 where such license applies only to those patent claims licensable
80 by such Contributor that are necessarily infringed by their
81 Contribution(s) alone or by combination of their Contribution(s)
82 with the Work to which such Contribution(s) was submitted. If You
83 institute patent litigation against any entity (including a
84 cross-claim or counterclaim in a lawsuit) alleging that the Work
85 or a Contribution incorporated within the Work constitutes direct
86 or contributory patent infringement, then any patent licenses
87 granted to You under this License for that Work shall terminate
88 as of the date such litigation is filed.
89
90 4. Redistribution. You may reproduce and distribute copies of the
91 Work or Derivative Works thereof in any medium, with or without
92 modifications, and in Source or Object form, provided that You
93 meet the following conditions:
94
95 (a) You must give any other recipients of the Work or
96 Derivative Works a copy of this License; and
97
98 (b) You must cause any modified files to carry prominent notices
99 stating that You changed the files; and
100
101 (c) You must retain, in the Source form of any Derivative Works
102 that You distribute, all copyright, patent, trademark, and
103 attribution notices from the Source form of the Work,
104 excluding those notices that do not pertain to any part of
105 the Derivative Works; and
106
107 (d) If the Work includes a "NOTICE" text file as part of its
108 distribution, then any Derivative Works that You distribute must
109 include a readable copy of the attribution notices contained
110 within such NOTICE file, excluding those notices that do not
111 pertain to any part of the Derivative Works, in at least one
112 of the following places: within a NOTICE text file distributed
113 as part of the Derivative Works; within the Source form or
114 documentation, if provided along with the Derivative Works; or,
115 within a display generated by the Derivative Works, if and
116 wherever such third-party notices normally appear. The contents
117 of the NOTICE file are for informational purposes only and
118 do not modify the License. You may add Your own attribution
119 notices within Derivative Works that You distribute, alongside
120 or as an addendum to the NOTICE text from the Work, provided
121 that such additional attribution notices cannot be construed
122 as modifying the License.
123
124 You may add Your own copyright statement to Your modifications and
125 may provide additional or different license terms and conditions
126 for use, reproduction, or distribution of Your modifications, or
127 for any such Derivative Works as a whole, provided Your use,
128 reproduction, and distribution of the Work otherwise complies with
129 the conditions stated in this License.
130
131 5. Submission of Contributions. Unless You explicitly state otherwise,
132 any Contribution intentionally submitted for inclusion in the Work
133 by You to the Licensor shall be under the terms and conditions of
134 this License, without any additional terms or conditions.
135 Notwithstanding the above, nothing herein shall supersede or modify
136 the terms of any separate license agreement you may have executed
137 with Licensor regarding such Contributions.
138
139 6. Trademarks. This License does not grant permission to use the trade
140 names, trademarks, service marks, or product names of the Licensor,
141 except as required for reasonable and customary use in describing the
142 origin of the Work and reproducing the content of the NOTICE file.
143
144 7. Disclaimer of Warranty. Unless required by applicable law or
145 agreed to in writing, Licensor provides the Work (and each
146 Contributor provides its Contributions) on an "AS IS" BASIS,
147 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
148 implied, including, without limitation, any warranties or conditions
149 of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
150 PARTICULAR PURPOSE. You are solely responsible for determining the
151 appropriateness of using or redistributing the Work and assume any
152 risks associated with Your exercise of permissions under this License.
153
154 8. Limitation of Liability. In no event and under no legal theory,
155 whether in tort (including negligence), contract, or otherwise,
156 unless required by applicable law (such as deliberate and grossly
157 negligent acts) or agreed to in writing, shall any Contributor be
158 liable to You for damages, including any direct, indirect, special,
159 incidental, or consequential damages of any character arising as a
160 result of this License or out of the use or inability to use the
161 Work (including but not limited to damages for loss of goodwill,
162 work stoppage, computer failure or malfunction, or any and all
163 other commercial damages or losses), even if such Contributor
164 has been advised of the possibility of such damages.
165
166 9. Accepting Warranty or Additional Liability. While redistributing
167 the Work or Derivative Works thereof, You may choose to offer,
168 and charge a fee for, acceptance of support, warranty, indemnity,
169 or other liability obligations and/or rights consistent with this
170 License. However, in accepting such obligations, You may act only
171 on Your own behalf and on Your sole responsibility, not on behalf
172 of any other Contributor, and only if You agree to indemnify,
173 defend, and hold each Contributor harmless for any liability
174 incurred by, or claims asserted against, such Contributor by reason
175 of your accepting any such warranty or additional liability.
176
177 END OF TERMS AND CONDITIONS
178
179 APPENDIX: How to apply the Apache License to your work.
180
181 To apply the Apache License to your work, attach the following
182 boilerplate notice, with the fields enclosed by brackets "[]"
183 replaced with your own identifying information. (Don't include
184 the brackets!) The text should be enclosed in the appropriate
185 comment syntax for the file format. We also recommend that a
186 file or class name and description of purpose be included on the
187 same "printed page" as the copyright notice for easier
188 identification within third-party archives.
189
190 Copyright [yyyy] [name of copyright owner]
191
192 Licensed under the Apache License, Version 2.0 (the "License");
193 you may not use this file except in compliance with the License.
194 You may obtain a copy of the License at
195
196 http://www.apache.org/licenses/LICENSE-2.0
197
198 Unless required by applicable law or agreed to in writing, software
199 distributed under the License is distributed on an "AS IS" BASIS,
200 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
201 See the License for the specific language governing permissions and
202 limitations under the License.
diff --git a/meta/files/common-licenses/Artistic b/meta/files/common-licenses/Artistic
new file mode 100644
index 0000000000..5f221241e8
--- /dev/null
+++ b/meta/files/common-licenses/Artistic
@@ -0,0 +1,131 @@
1
2
3
4
5 The "Artistic License"
6
7 Preamble
8
9The intent of this document is to state the conditions under which a
10Package may be copied, such that the Copyright Holder maintains some
11semblance of artistic control over the development of the package,
12while giving the users of the package the right to use and distribute
13the Package in a more-or-less customary fashion, plus the right to make
14reasonable modifications.
15
16Definitions:
17
18 "Package" refers to the collection of files distributed by the
19 Copyright Holder, and derivatives of that collection of files
20 created through textual modification.
21
22 "Standard Version" refers to such a Package if it has not been
23 modified, or has been modified in accordance with the wishes
24 of the Copyright Holder as specified below.
25
26 "Copyright Holder" is whoever is named in the copyright or
27 copyrights for the package.
28
29 "You" is you, if you're thinking about copying or distributing
30 this Package.
31
32 "Reasonable copying fee" is whatever you can justify on the
33 basis of media cost, duplication charges, time of people involved,
34 and so on. (You will not be required to justify it to the
35 Copyright Holder, but only to the computing community at large
36 as a market that must bear the fee.)
37
38 "Freely Available" means that no fee is charged for the item
39 itself, though there may be fees involved in handling the item.
40 It also means that recipients of the item may redistribute it
41 under the same conditions they received it.
42
431. You may make and give away verbatim copies of the source form of the
44Standard Version of this Package without restriction, provided that you
45duplicate all of the original copyright notices and associated disclaimers.
46
472. You may apply bug fixes, portability fixes and other modifications
48derived from the Public Domain or from the Copyright Holder. A Package
49modified in such a way shall still be considered the Standard Version.
50
513. You may otherwise modify your copy of this Package in any way, provided
52that you insert a prominent notice in each changed file stating how and
53when you changed that file, and provided that you do at least ONE of the
54following:
55
56 a) place your modifications in the Public Domain or otherwise make them
57 Freely Available, such as by posting said modifications to Usenet or
58 an equivalent medium, or placing the modifications on a major archive
59 site such as uunet.uu.net, or by allowing the Copyright Holder to include
60 your modifications in the Standard Version of the Package.
61
62 b) use the modified Package only within your corporation or organization.
63
64 c) rename any non-standard executables so the names do not conflict
65 with standard executables, which must also be provided, and provide
66 a separate manual page for each non-standard executable that clearly
67 documents how it differs from the Standard Version.
68
69 d) make other distribution arrangements with the Copyright Holder.
70
714. You may distribute the programs of this Package in object code or
72executable form, provided that you do at least ONE of the following:
73
74 a) distribute a Standard Version of the executables and library files,
75 together with instructions (in the manual page or equivalent) on where
76 to get the Standard Version.
77
78 b) accompany the distribution with the machine-readable source of
79 the Package with your modifications.
80
81 c) give non-standard executables non-standard names, and clearly
82 document the differences in manual pages (or equivalent), together
83 with instructions on where to get the Standard Version.
84
85 d) make other distribution arrangements with the Copyright Holder.
86
875. You may charge a reasonable copying fee for any distribution of this
88Package. You may charge any fee you choose for support of this
89Package. You may not charge a fee for this Package itself. However,
90you may distribute this Package in aggregate with other (possibly
91commercial) programs as part of a larger (possibly commercial) software
92distribution provided that you do not advertise this Package as a
93product of your own. You may embed this Package's interpreter within
94an executable of yours (by linking); this shall be construed as a mere
95form of aggregation, provided that the complete Standard Version of the
96interpreter is so embedded.
97
986. The scripts and library files supplied as input to or produced as
99output from the programs of this Package do not automatically fall
100under the copyright of this Package, but belong to whoever generated
101them, and may be sold commercially, and may be aggregated with this
102Package. If such scripts or library files are aggregated with this
103Package via the so-called "undump" or "unexec" methods of producing a
104binary executable image, then distribution of such an image shall
105neither be construed as a distribution of this Package nor shall it
106fall under the restrictions of Paragraphs 3 and 4, provided that you do
107not represent such an executable image as a Standard Version of this
108Package.
109
1107. C subroutines (or comparably compiled subroutines in other
111languages) supplied by you and linked into this Package in order to
112emulate subroutines and variables of the language defined by this
113Package shall not be considered part of this Package, but are the
114equivalent of input as in Paragraph 6, provided these subroutines do
115not change the language in any way that would cause it to fail the
116regression tests for the language.
117
1188. Aggregation of this Package with a commercial distribution is always
119permitted provided that the use of this Package is embedded; that is,
120when no overt attempt is made to make this Package's interfaces visible
121to the end user of the commercial distribution. Such use shall not be
122construed as a distribution of this Package.
123
1249. The name of the Copyright Holder may not be used to endorse or promote
125products derived from this software without specific prior written permission.
126
12710. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
128IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
129WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
130
131 The End
diff --git a/meta/files/common-licenses/BSD b/meta/files/common-licenses/BSD
new file mode 100644
index 0000000000..c7a0aa4f94
--- /dev/null
+++ b/meta/files/common-licenses/BSD
@@ -0,0 +1,26 @@
1Copyright (c) The Regents of the University of California.
2All rights reserved.
3
4Redistribution and use in source and binary forms, with or without
5modification, are permitted provided that the following conditions
6are met:
71. Redistributions of source code must retain the above copyright
8 notice, this list of conditions and the following disclaimer.
92. Redistributions in binary form must reproduce the above copyright
10 notice, this list of conditions and the following disclaimer in the
11 documentation and/or other materials provided with the distribution.
123. Neither the name of the University nor the names of its contributors
13 may be used to endorse or promote products derived from this software
14 without specific prior written permission.
15
16THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
17ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
18IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
19ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
20FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
21DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
22OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
23HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
24LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
25OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
26SUCH DAMAGE.
diff --git a/meta/files/common-licenses/GFDL b/meta/files/common-licenses/GFDL
new file mode 100644
index 0000000000..2f7e03ca51
--- /dev/null
+++ b/meta/files/common-licenses/GFDL
@@ -0,0 +1,451 @@
1
2 GNU Free Documentation License
3 Version 1.3, 3 November 2008
4
5
6 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
7 <http://fsf.org/>
8 Everyone is permitted to copy and distribute verbatim copies
9 of this license document, but changing it is not allowed.
10
110. PREAMBLE
12
13The purpose of this License is to make a manual, textbook, or other
14functional and useful document "free" in the sense of freedom: to
15assure everyone the effective freedom to copy and redistribute it,
16with or without modifying it, either commercially or noncommercially.
17Secondarily, this License preserves for the author and publisher a way
18to get credit for their work, while not being considered responsible
19for modifications made by others.
20
21This License is a kind of "copyleft", which means that derivative
22works of the document must themselves be free in the same sense. It
23complements the GNU General Public License, which is a copyleft
24license designed for free software.
25
26We have designed this License in order to use it for manuals for free
27software, because free software needs free documentation: a free
28program should come with manuals providing the same freedoms that the
29software does. But this License is not limited to software manuals;
30it can be used for any textual work, regardless of subject matter or
31whether it is published as a printed book. We recommend this License
32principally for works whose purpose is instruction or reference.
33
34
351. APPLICABILITY AND DEFINITIONS
36
37This License applies to any manual or other work, in any medium, that
38contains a notice placed by the copyright holder saying it can be
39distributed under the terms of this License. Such a notice grants a
40world-wide, royalty-free license, unlimited in duration, to use that
41work under the conditions stated herein. The "Document", below,
42refers to any such manual or work. Any member of the public is a
43licensee, and is addressed as "you". You accept the license if you
44copy, modify or distribute the work in a way requiring permission
45under copyright law.
46
47A "Modified Version" of the Document means any work containing the
48Document or a portion of it, either copied verbatim, or with
49modifications and/or translated into another language.
50
51A "Secondary Section" is a named appendix or a front-matter section of
52the Document that deals exclusively with the relationship of the
53publishers or authors of the Document to the Document's overall
54subject (or to related matters) and contains nothing that could fall
55directly within that overall subject. (Thus, if the Document is in
56part a textbook of mathematics, a Secondary Section may not explain
57any mathematics.) The relationship could be a matter of historical
58connection with the subject or with related matters, or of legal,
59commercial, philosophical, ethical or political position regarding
60them.
61
62The "Invariant Sections" are certain Secondary Sections whose titles
63are designated, as being those of Invariant Sections, in the notice
64that says that the Document is released under this License. If a
65section does not fit the above definition of Secondary then it is not
66allowed to be designated as Invariant. The Document may contain zero
67Invariant Sections. If the Document does not identify any Invariant
68Sections then there are none.
69
70The "Cover Texts" are certain short passages of text that are listed,
71as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72the Document is released under this License. A Front-Cover Text may
73be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
75A "Transparent" copy of the Document means a machine-readable copy,
76represented in a format whose specification is available to the
77general public, that is suitable for revising the document
78straightforwardly with generic text editors or (for images composed of
79pixels) generic paint programs or (for drawings) some widely available
80drawing editor, and that is suitable for input to text formatters or
81for automatic translation to a variety of formats suitable for input
82to text formatters. A copy made in an otherwise Transparent file
83format whose markup, or absence of markup, has been arranged to thwart
84or discourage subsequent modification by readers is not Transparent.
85An image format is not Transparent if used for any substantial amount
86of text. A copy that is not "Transparent" is called "Opaque".
87
88Examples of suitable formats for Transparent copies include plain
89ASCII without markup, Texinfo input format, LaTeX input format, SGML
90or XML using a publicly available DTD, and standard-conforming simple
91HTML, PostScript or PDF designed for human modification. Examples of
92transparent image formats include PNG, XCF and JPG. Opaque formats
93include proprietary formats that can be read and edited only by
94proprietary word processors, SGML or XML for which the DTD and/or
95processing tools are not generally available, and the
96machine-generated HTML, PostScript or PDF produced by some word
97processors for output purposes only.
98
99The "Title Page" means, for a printed book, the title page itself,
100plus such following pages as are needed to hold, legibly, the material
101this License requires to appear in the title page. For works in
102formats which do not have any title page as such, "Title Page" means
103the text near the most prominent appearance of the work's title,
104preceding the beginning of the body of the text.
105
106The "publisher" means any person or entity that distributes copies of
107the Document to the public.
108
109A section "Entitled XYZ" means a named subunit of the Document whose
110title either is precisely XYZ or contains XYZ in parentheses following
111text that translates XYZ in another language. (Here XYZ stands for a
112specific section name mentioned below, such as "Acknowledgements",
113"Dedications", "Endorsements", or "History".) To "Preserve the Title"
114of such a section when you modify the Document means that it remains a
115section "Entitled XYZ" according to this definition.
116
117The Document may include Warranty Disclaimers next to the notice which
118states that this License applies to the Document. These Warranty
119Disclaimers are considered to be included by reference in this
120License, but only as regards disclaiming warranties: any other
121implication that these Warranty Disclaimers may have is void and has
122no effect on the meaning of this License.
123
1242. VERBATIM COPYING
125
126You may copy and distribute the Document in any medium, either
127commercially or noncommercially, provided that this License, the
128copyright notices, and the license notice saying this License applies
129to the Document are reproduced in all copies, and that you add no
130other conditions whatsoever to those of this License. You may not use
131technical measures to obstruct or control the reading or further
132copying of the copies you make or distribute. However, you may accept
133compensation in exchange for copies. If you distribute a large enough
134number of copies you must also follow the conditions in section 3.
135
136You may also lend copies, under the same conditions stated above, and
137you may publicly display copies.
138
139
1403. COPYING IN QUANTITY
141
142If you publish printed copies (or copies in media that commonly have
143printed covers) of the Document, numbering more than 100, and the
144Document's license notice requires Cover Texts, you must enclose the
145copies in covers that carry, clearly and legibly, all these Cover
146Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
147the back cover. Both covers must also clearly and legibly identify
148you as the publisher of these copies. The front cover must present
149the full title with all words of the title equally prominent and
150visible. You may add other material on the covers in addition.
151Copying with changes limited to the covers, as long as they preserve
152the title of the Document and satisfy these conditions, can be treated
153as verbatim copying in other respects.
154
155If the required texts for either cover are too voluminous to fit
156legibly, you should put the first ones listed (as many as fit
157reasonably) on the actual cover, and continue the rest onto adjacent
158pages.
159
160If you publish or distribute Opaque copies of the Document numbering
161more than 100, you must either include a machine-readable Transparent
162copy along with each Opaque copy, or state in or with each Opaque copy
163a computer-network location from which the general network-using
164public has access to download using public-standard network protocols
165a complete Transparent copy of the Document, free of added material.
166If you use the latter option, you must take reasonably prudent steps,
167when you begin distribution of Opaque copies in quantity, to ensure
168that this Transparent copy will remain thus accessible at the stated
169location until at least one year after the last time you distribute an
170Opaque copy (directly or through your agents or retailers) of that
171edition to the public.
172
173It is requested, but not required, that you contact the authors of the
174Document well before redistributing any large number of copies, to
175give them a chance to provide you with an updated version of the
176Document.
177
178
1794. MODIFICATIONS
180
181You may copy and distribute a Modified Version of the Document under
182the conditions of sections 2 and 3 above, provided that you release
183the Modified Version under precisely this License, with the Modified
184Version filling the role of the Document, thus licensing distribution
185and modification of the Modified Version to whoever possesses a copy
186of it. In addition, you must do these things in the Modified Version:
187
188A. Use in the Title Page (and on the covers, if any) a title distinct
189 from that of the Document, and from those of previous versions
190 (which should, if there were any, be listed in the History section
191 of the Document). You may use the same title as a previous version
192 if the original publisher of that version gives permission.
193B. List on the Title Page, as authors, one or more persons or entities
194 responsible for authorship of the modifications in the Modified
195 Version, together with at least five of the principal authors of the
196 Document (all of its principal authors, if it has fewer than five),
197 unless they release you from this requirement.
198C. State on the Title page the name of the publisher of the
199 Modified Version, as the publisher.
200D. Preserve all the copyright notices of the Document.
201E. Add an appropriate copyright notice for your modifications
202 adjacent to the other copyright notices.
203F. Include, immediately after the copyright notices, a license notice
204 giving the public permission to use the Modified Version under the
205 terms of this License, in the form shown in the Addendum below.
206G. Preserve in that license notice the full lists of Invariant Sections
207 and required Cover Texts given in the Document's license notice.
208H. Include an unaltered copy of this License.
209I. Preserve the section Entitled "History", Preserve its Title, and add
210 to it an item stating at least the title, year, new authors, and
211 publisher of the Modified Version as given on the Title Page. If
212 there is no section Entitled "History" in the Document, create one
213 stating the title, year, authors, and publisher of the Document as
214 given on its Title Page, then add an item describing the Modified
215 Version as stated in the previous sentence.
216J. Preserve the network location, if any, given in the Document for
217 public access to a Transparent copy of the Document, and likewise
218 the network locations given in the Document for previous versions
219 it was based on. These may be placed in the "History" section.
220 You may omit a network location for a work that was published at
221 least four years before the Document itself, or if the original
222 publisher of the version it refers to gives permission.
223K. For any section Entitled "Acknowledgements" or "Dedications",
224 Preserve the Title of the section, and preserve in the section all
225 the substance and tone of each of the contributor acknowledgements
226 and/or dedications given therein.
227L. Preserve all the Invariant Sections of the Document,
228 unaltered in their text and in their titles. Section numbers
229 or the equivalent are not considered part of the section titles.
230M. Delete any section Entitled "Endorsements". Such a section
231 may not be included in the Modified Version.
232N. Do not retitle any existing section to be Entitled "Endorsements"
233 or to conflict in title with any Invariant Section.
234O. Preserve any Warranty Disclaimers.
235
236If the Modified Version includes new front-matter sections or
237appendices that qualify as Secondary Sections and contain no material
238copied from the Document, you may at your option designate some or all
239of these sections as invariant. To do this, add their titles to the
240list of Invariant Sections in the Modified Version's license notice.
241These titles must be distinct from any other section titles.
242
243You may add a section Entitled "Endorsements", provided it contains
244nothing but endorsements of your Modified Version by various
245parties--for example, statements of peer review or that the text has
246been approved by an organization as the authoritative definition of a
247standard.
248
249You may add a passage of up to five words as a Front-Cover Text, and a
250passage of up to 25 words as a Back-Cover Text, to the end of the list
251of Cover Texts in the Modified Version. Only one passage of
252Front-Cover Text and one of Back-Cover Text may be added by (or
253through arrangements made by) any one entity. If the Document already
254includes a cover text for the same cover, previously added by you or
255by arrangement made by the same entity you are acting on behalf of,
256you may not add another; but you may replace the old one, on explicit
257permission from the previous publisher that added the old one.
258
259The author(s) and publisher(s) of the Document do not by this License
260give permission to use their names for publicity for or to assert or
261imply endorsement of any Modified Version.
262
263
2645. COMBINING DOCUMENTS
265
266You may combine the Document with other documents released under this
267License, under the terms defined in section 4 above for modified
268versions, provided that you include in the combination all of the
269Invariant Sections of all of the original documents, unmodified, and
270list them all as Invariant Sections of your combined work in its
271license notice, and that you preserve all their Warranty Disclaimers.
272
273The combined work need only contain one copy of this License, and
274multiple identical Invariant Sections may be replaced with a single
275copy. If there are multiple Invariant Sections with the same name but
276different contents, make the title of each such section unique by
277adding at the end of it, in parentheses, the name of the original
278author or publisher of that section if known, or else a unique number.
279Make the same adjustment to the section titles in the list of
280Invariant Sections in the license notice of the combined work.
281
282In the combination, you must combine any sections Entitled "History"
283in the various original documents, forming one section Entitled
284"History"; likewise combine any sections Entitled "Acknowledgements",
285and any sections Entitled "Dedications". You must delete all sections
286Entitled "Endorsements".
287
288
2896. COLLECTIONS OF DOCUMENTS
290
291You may make a collection consisting of the Document and other
292documents released under this License, and replace the individual
293copies of this License in the various documents with a single copy
294that is included in the collection, provided that you follow the rules
295of this License for verbatim copying of each of the documents in all
296other respects.
297
298You may extract a single document from such a collection, and
299distribute it individually under this License, provided you insert a
300copy of this License into the extracted document, and follow this
301License in all other respects regarding verbatim copying of that
302document.
303
304
3057. AGGREGATION WITH INDEPENDENT WORKS
306
307A compilation of the Document or its derivatives with other separate
308and independent documents or works, in or on a volume of a storage or
309distribution medium, is called an "aggregate" if the copyright
310resulting from the compilation is not used to limit the legal rights
311of the compilation's users beyond what the individual works permit.
312When the Document is included in an aggregate, this License does not
313apply to the other works in the aggregate which are not themselves
314derivative works of the Document.
315
316If the Cover Text requirement of section 3 is applicable to these
317copies of the Document, then if the Document is less than one half of
318the entire aggregate, the Document's Cover Texts may be placed on
319covers that bracket the Document within the aggregate, or the
320electronic equivalent of covers if the Document is in electronic form.
321Otherwise they must appear on printed covers that bracket the whole
322aggregate.
323
324
3258. TRANSLATION
326
327Translation is considered a kind of modification, so you may
328distribute translations of the Document under the terms of section 4.
329Replacing Invariant Sections with translations requires special
330permission from their copyright holders, but you may include
331translations of some or all Invariant Sections in addition to the
332original versions of these Invariant Sections. You may include a
333translation of this License, and all the license notices in the
334Document, and any Warranty Disclaimers, provided that you also include
335the original English version of this License and the original versions
336of those notices and disclaimers. In case of a disagreement between
337the translation and the original version of this License or a notice
338or disclaimer, the original version will prevail.
339
340If a section in the Document is Entitled "Acknowledgements",
341"Dedications", or "History", the requirement (section 4) to Preserve
342its Title (section 1) will typically require changing the actual
343title.
344
345
3469. TERMINATION
347
348You may not copy, modify, sublicense, or distribute the Document
349except as expressly provided under this License. Any attempt
350otherwise to copy, modify, sublicense, or distribute it is void, and
351will automatically terminate your rights under this License.
352
353However, if you cease all violation of this License, then your license
354from a particular copyright holder is reinstated (a) provisionally,
355unless and until the copyright holder explicitly and finally
356terminates your license, and (b) permanently, if the copyright holder
357fails to notify you of the violation by some reasonable means prior to
35860 days after the cessation.
359
360Moreover, your license from a particular copyright holder is
361reinstated permanently if the copyright holder notifies you of the
362violation by some reasonable means, this is the first time you have
363received notice of violation of this License (for any work) from that
364copyright holder, and you cure the violation prior to 30 days after
365your receipt of the notice.
366
367Termination of your rights under this section does not terminate the
368licenses of parties who have received copies or rights from you under
369this License. If your rights have been terminated and not permanently
370reinstated, receipt of a copy of some or all of the same material does
371not give you any rights to use it.
372
373
37410. FUTURE REVISIONS OF THIS LICENSE
375
376The Free Software Foundation may publish new, revised versions of the
377GNU Free Documentation License from time to time. Such new versions
378will be similar in spirit to the present version, but may differ in
379detail to address new problems or concerns. See
380http://www.gnu.org/copyleft/.
381
382Each version of the License is given a distinguishing version number.
383If the Document specifies that a particular numbered version of this
384License "or any later version" applies to it, you have the option of
385following the terms and conditions either of that specified version or
386of any later version that has been published (not as a draft) by the
387Free Software Foundation. If the Document does not specify a version
388number of this License, you may choose any version ever published (not
389as a draft) by the Free Software Foundation. If the Document
390specifies that a proxy can decide which future versions of this
391License can be used, that proxy's public statement of acceptance of a
392version permanently authorizes you to choose that version for the
393Document.
394
39511. RELICENSING
396
397"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
398World Wide Web server that publishes copyrightable works and also
399provides prominent facilities for anybody to edit those works. A
400public wiki that anybody can edit is an example of such a server. A
401"Massive Multiauthor Collaboration" (or "MMC") contained in the site
402means any set of copyrightable works thus published on the MMC site.
403
404"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
405license published by Creative Commons Corporation, a not-for-profit
406corporation with a principal place of business in San Francisco,
407California, as well as future copyleft versions of that license
408published by that same organization.
409
410"Incorporate" means to publish or republish a Document, in whole or in
411part, as part of another Document.
412
413An MMC is "eligible for relicensing" if it is licensed under this
414License, and if all works that were first published under this License
415somewhere other than this MMC, and subsequently incorporated in whole or
416in part into the MMC, (1) had no cover texts or invariant sections, and
417(2) were thus incorporated prior to November 1, 2008.
418
419The operator of an MMC Site may republish an MMC contained in the site
420under CC-BY-SA on the same site at any time before August 1, 2009,
421provided the MMC is eligible for relicensing.
422
423
424ADDENDUM: How to use this License for your documents
425
426To use this License in a document you have written, include a copy of
427the License in the document and put the following copyright and
428license notices just after the title page:
429
430 Copyright (c) YEAR YOUR NAME.
431 Permission is granted to copy, distribute and/or modify this document
432 under the terms of the GNU Free Documentation License, Version 1.3
433 or any later version published by the Free Software Foundation;
434 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
435 A copy of the license is included in the section entitled "GNU
436 Free Documentation License".
437
438If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
439replace the "with...Texts." line with this:
440
441 with the Invariant Sections being LIST THEIR TITLES, with the
442 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
443
444If you have Invariant Sections without Cover Texts, or some other
445combination of the three, merge those two alternatives to suit the
446situation.
447
448If your document contains nontrivial examples of program code, we
449recommend releasing these examples in parallel under your choice of
450free software license, such as the GNU General Public License,
451to permit their use in free software.
diff --git a/meta/files/common-licenses/GFDL-1.2 b/meta/files/common-licenses/GFDL-1.2
new file mode 100644
index 0000000000..4a0fe1c8de
--- /dev/null
+++ b/meta/files/common-licenses/GFDL-1.2
@@ -0,0 +1,397 @@
1 GNU Free Documentation License
2 Version 1.2, November 2002
3
4
5 Copyright (C) 2000,2001,2002 Free Software Foundation, Inc.
6 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7 Everyone is permitted to copy and distribute verbatim copies
8 of this license document, but changing it is not allowed.
9
10
110. PREAMBLE
12
13The purpose of this License is to make a manual, textbook, or other
14functional and useful document "free" in the sense of freedom: to
15assure everyone the effective freedom to copy and redistribute it,
16with or without modifying it, either commercially or noncommercially.
17Secondarily, this License preserves for the author and publisher a way
18to get credit for their work, while not being considered responsible
19for modifications made by others.
20
21This License is a kind of "copyleft", which means that derivative
22works of the document must themselves be free in the same sense. It
23complements the GNU General Public License, which is a copyleft
24license designed for free software.
25
26We have designed this License in order to use it for manuals for free
27software, because free software needs free documentation: a free
28program should come with manuals providing the same freedoms that the
29software does. But this License is not limited to software manuals;
30it can be used for any textual work, regardless of subject matter or
31whether it is published as a printed book. We recommend this License
32principally for works whose purpose is instruction or reference.
33
34
351. APPLICABILITY AND DEFINITIONS
36
37This License applies to any manual or other work, in any medium, that
38contains a notice placed by the copyright holder saying it can be
39distributed under the terms of this License. Such a notice grants a
40world-wide, royalty-free license, unlimited in duration, to use that
41work under the conditions stated herein. The "Document", below,
42refers to any such manual or work. Any member of the public is a
43licensee, and is addressed as "you". You accept the license if you
44copy, modify or distribute the work in a way requiring permission
45under copyright law.
46
47A "Modified Version" of the Document means any work containing the
48Document or a portion of it, either copied verbatim, or with
49modifications and/or translated into another language.
50
51A "Secondary Section" is a named appendix or a front-matter section of
52the Document that deals exclusively with the relationship of the
53publishers or authors of the Document to the Document's overall subject
54(or to related matters) and contains nothing that could fall directly
55within that overall subject. (Thus, if the Document is in part a
56textbook of mathematics, a Secondary Section may not explain any
57mathematics.) The relationship could be a matter of historical
58connection with the subject or with related matters, or of legal,
59commercial, philosophical, ethical or political position regarding
60them.
61
62The "Invariant Sections" are certain Secondary Sections whose titles
63are designated, as being those of Invariant Sections, in the notice
64that says that the Document is released under this License. If a
65section does not fit the above definition of Secondary then it is not
66allowed to be designated as Invariant. The Document may contain zero
67Invariant Sections. If the Document does not identify any Invariant
68Sections then there are none.
69
70The "Cover Texts" are certain short passages of text that are listed,
71as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72the Document is released under this License. A Front-Cover Text may
73be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
75A "Transparent" copy of the Document means a machine-readable copy,
76represented in a format whose specification is available to the
77general public, that is suitable for revising the document
78straightforwardly with generic text editors or (for images composed of
79pixels) generic paint programs or (for drawings) some widely available
80drawing editor, and that is suitable for input to text formatters or
81for automatic translation to a variety of formats suitable for input
82to text formatters. A copy made in an otherwise Transparent file
83format whose markup, or absence of markup, has been arranged to thwart
84or discourage subsequent modification by readers is not Transparent.
85An image format is not Transparent if used for any substantial amount
86of text. A copy that is not "Transparent" is called "Opaque".
87
88Examples of suitable formats for Transparent copies include plain
89ASCII without markup, Texinfo input format, LaTeX input format, SGML
90or XML using a publicly available DTD, and standard-conforming simple
91HTML, PostScript or PDF designed for human modification. Examples of
92transparent image formats include PNG, XCF and JPG. Opaque formats
93include proprietary formats that can be read and edited only by
94proprietary word processors, SGML or XML for which the DTD and/or
95processing tools are not generally available, and the
96machine-generated HTML, PostScript or PDF produced by some word
97processors for output purposes only.
98
99The "Title Page" means, for a printed book, the title page itself,
100plus such following pages as are needed to hold, legibly, the material
101this License requires to appear in the title page. For works in
102formats which do not have any title page as such, "Title Page" means
103the text near the most prominent appearance of the work's title,
104preceding the beginning of the body of the text.
105
106A section "Entitled XYZ" means a named subunit of the Document whose
107title either is precisely XYZ or contains XYZ in parentheses following
108text that translates XYZ in another language. (Here XYZ stands for a
109specific section name mentioned below, such as "Acknowledgements",
110"Dedications", "Endorsements", or "History".) To "Preserve the Title"
111of such a section when you modify the Document means that it remains a
112section "Entitled XYZ" according to this definition.
113
114The Document may include Warranty Disclaimers next to the notice which
115states that this License applies to the Document. These Warranty
116Disclaimers are considered to be included by reference in this
117License, but only as regards disclaiming warranties: any other
118implication that these Warranty Disclaimers may have is void and has
119no effect on the meaning of this License.
120
121
1222. VERBATIM COPYING
123
124You may copy and distribute the Document in any medium, either
125commercially or noncommercially, provided that this License, the
126copyright notices, and the license notice saying this License applies
127to the Document are reproduced in all copies, and that you add no other
128conditions whatsoever to those of this License. You may not use
129technical measures to obstruct or control the reading or further
130copying of the copies you make or distribute. However, you may accept
131compensation in exchange for copies. If you distribute a large enough
132number of copies you must also follow the conditions in section 3.
133
134You may also lend copies, under the same conditions stated above, and
135you may publicly display copies.
136
137
1383. COPYING IN QUANTITY
139
140If you publish printed copies (or copies in media that commonly have
141printed covers) of the Document, numbering more than 100, and the
142Document's license notice requires Cover Texts, you must enclose the
143copies in covers that carry, clearly and legibly, all these Cover
144Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
145the back cover. Both covers must also clearly and legibly identify
146you as the publisher of these copies. The front cover must present
147the full title with all words of the title equally prominent and
148visible. You may add other material on the covers in addition.
149Copying with changes limited to the covers, as long as they preserve
150the title of the Document and satisfy these conditions, can be treated
151as verbatim copying in other respects.
152
153If the required texts for either cover are too voluminous to fit
154legibly, you should put the first ones listed (as many as fit
155reasonably) on the actual cover, and continue the rest onto adjacent
156pages.
157
158If you publish or distribute Opaque copies of the Document numbering
159more than 100, you must either include a machine-readable Transparent
160copy along with each Opaque copy, or state in or with each Opaque copy
161a computer-network location from which the general network-using
162public has access to download using public-standard network protocols
163a complete Transparent copy of the Document, free of added material.
164If you use the latter option, you must take reasonably prudent steps,
165when you begin distribution of Opaque copies in quantity, to ensure
166that this Transparent copy will remain thus accessible at the stated
167location until at least one year after the last time you distribute an
168Opaque copy (directly or through your agents or retailers) of that
169edition to the public.
170
171It is requested, but not required, that you contact the authors of the
172Document well before redistributing any large number of copies, to give
173them a chance to provide you with an updated version of the Document.
174
175
1764. MODIFICATIONS
177
178You may copy and distribute a Modified Version of the Document under
179the conditions of sections 2 and 3 above, provided that you release
180the Modified Version under precisely this License, with the Modified
181Version filling the role of the Document, thus licensing distribution
182and modification of the Modified Version to whoever possesses a copy
183of it. In addition, you must do these things in the Modified Version:
184
185A. Use in the Title Page (and on the covers, if any) a title distinct
186 from that of the Document, and from those of previous versions
187 (which should, if there were any, be listed in the History section
188 of the Document). You may use the same title as a previous version
189 if the original publisher of that version gives permission.
190B. List on the Title Page, as authors, one or more persons or entities
191 responsible for authorship of the modifications in the Modified
192 Version, together with at least five of the principal authors of the
193 Document (all of its principal authors, if it has fewer than five),
194 unless they release you from this requirement.
195C. State on the Title page the name of the publisher of the
196 Modified Version, as the publisher.
197D. Preserve all the copyright notices of the Document.
198E. Add an appropriate copyright notice for your modifications
199 adjacent to the other copyright notices.
200F. Include, immediately after the copyright notices, a license notice
201 giving the public permission to use the Modified Version under the
202 terms of this License, in the form shown in the Addendum below.
203G. Preserve in that license notice the full lists of Invariant Sections
204 and required Cover Texts given in the Document's license notice.
205H. Include an unaltered copy of this License.
206I. Preserve the section Entitled "History", Preserve its Title, and add
207 to it an item stating at least the title, year, new authors, and
208 publisher of the Modified Version as given on the Title Page. If
209 there is no section Entitled "History" in the Document, create one
210 stating the title, year, authors, and publisher of the Document as
211 given on its Title Page, then add an item describing the Modified
212 Version as stated in the previous sentence.
213J. Preserve the network location, if any, given in the Document for
214 public access to a Transparent copy of the Document, and likewise
215 the network locations given in the Document for previous versions
216 it was based on. These may be placed in the "History" section.
217 You may omit a network location for a work that was published at
218 least four years before the Document itself, or if the original
219 publisher of the version it refers to gives permission.
220K. For any section Entitled "Acknowledgements" or "Dedications",
221 Preserve the Title of the section, and preserve in the section all
222 the substance and tone of each of the contributor acknowledgements
223 and/or dedications given therein.
224L. Preserve all the Invariant Sections of the Document,
225 unaltered in their text and in their titles. Section numbers
226 or the equivalent are not considered part of the section titles.
227M. Delete any section Entitled "Endorsements". Such a section
228 may not be included in the Modified Version.
229N. Do not retitle any existing section to be Entitled "Endorsements"
230 or to conflict in title with any Invariant Section.
231O. Preserve any Warranty Disclaimers.
232
233If the Modified Version includes new front-matter sections or
234appendices that qualify as Secondary Sections and contain no material
235copied from the Document, you may at your option designate some or all
236of these sections as invariant. To do this, add their titles to the
237list of Invariant Sections in the Modified Version's license notice.
238These titles must be distinct from any other section titles.
239
240You may add a section Entitled "Endorsements", provided it contains
241nothing but endorsements of your Modified Version by various
242parties--for example, statements of peer review or that the text has
243been approved by an organization as the authoritative definition of a
244standard.
245
246You may add a passage of up to five words as a Front-Cover Text, and a
247passage of up to 25 words as a Back-Cover Text, to the end of the list
248of Cover Texts in the Modified Version. Only one passage of
249Front-Cover Text and one of Back-Cover Text may be added by (or
250through arrangements made by) any one entity. If the Document already
251includes a cover text for the same cover, previously added by you or
252by arrangement made by the same entity you are acting on behalf of,
253you may not add another; but you may replace the old one, on explicit
254permission from the previous publisher that added the old one.
255
256The author(s) and publisher(s) of the Document do not by this License
257give permission to use their names for publicity for or to assert or
258imply endorsement of any Modified Version.
259
260
2615. COMBINING DOCUMENTS
262
263You may combine the Document with other documents released under this
264License, under the terms defined in section 4 above for modified
265versions, provided that you include in the combination all of the
266Invariant Sections of all of the original documents, unmodified, and
267list them all as Invariant Sections of your combined work in its
268license notice, and that you preserve all their Warranty Disclaimers.
269
270The combined work need only contain one copy of this License, and
271multiple identical Invariant Sections may be replaced with a single
272copy. If there are multiple Invariant Sections with the same name but
273different contents, make the title of each such section unique by
274adding at the end of it, in parentheses, the name of the original
275author or publisher of that section if known, or else a unique number.
276Make the same adjustment to the section titles in the list of
277Invariant Sections in the license notice of the combined work.
278
279In the combination, you must combine any sections Entitled "History"
280in the various original documents, forming one section Entitled
281"History"; likewise combine any sections Entitled "Acknowledgements",
282and any sections Entitled "Dedications". You must delete all sections
283Entitled "Endorsements".
284
285
2866. COLLECTIONS OF DOCUMENTS
287
288You may make a collection consisting of the Document and other documents
289released under this License, and replace the individual copies of this
290License in the various documents with a single copy that is included in
291the collection, provided that you follow the rules of this License for
292verbatim copying of each of the documents in all other respects.
293
294You may extract a single document from such a collection, and distribute
295it individually under this License, provided you insert a copy of this
296License into the extracted document, and follow this License in all
297other respects regarding verbatim copying of that document.
298
299
3007. AGGREGATION WITH INDEPENDENT WORKS
301
302A compilation of the Document or its derivatives with other separate
303and independent documents or works, in or on a volume of a storage or
304distribution medium, is called an "aggregate" if the copyright
305resulting from the compilation is not used to limit the legal rights
306of the compilation's users beyond what the individual works permit.
307When the Document is included in an aggregate, this License does not
308apply to the other works in the aggregate which are not themselves
309derivative works of the Document.
310
311If the Cover Text requirement of section 3 is applicable to these
312copies of the Document, then if the Document is less than one half of
313the entire aggregate, the Document's Cover Texts may be placed on
314covers that bracket the Document within the aggregate, or the
315electronic equivalent of covers if the Document is in electronic form.
316Otherwise they must appear on printed covers that bracket the whole
317aggregate.
318
319
3208. TRANSLATION
321
322Translation is considered a kind of modification, so you may
323distribute translations of the Document under the terms of section 4.
324Replacing Invariant Sections with translations requires special
325permission from their copyright holders, but you may include
326translations of some or all Invariant Sections in addition to the
327original versions of these Invariant Sections. You may include a
328translation of this License, and all the license notices in the
329Document, and any Warranty Disclaimers, provided that you also include
330the original English version of this License and the original versions
331of those notices and disclaimers. In case of a disagreement between
332the translation and the original version of this License or a notice
333or disclaimer, the original version will prevail.
334
335If a section in the Document is Entitled "Acknowledgements",
336"Dedications", or "History", the requirement (section 4) to Preserve
337its Title (section 1) will typically require changing the actual
338title.
339
340
3419. TERMINATION
342
343You may not copy, modify, sublicense, or distribute the Document except
344as expressly provided for under this License. Any other attempt to
345copy, modify, sublicense or distribute the Document is void, and will
346automatically terminate your rights under this License. However,
347parties who have received copies, or rights, from you under this
348License will not have their licenses terminated so long as such
349parties remain in full compliance.
350
351
35210. FUTURE REVISIONS OF THIS LICENSE
353
354The Free Software Foundation may publish new, revised versions
355of the GNU Free Documentation License from time to time. Such new
356versions will be similar in spirit to the present version, but may
357differ in detail to address new problems or concerns. See
358http://www.gnu.org/copyleft/.
359
360Each version of the License is given a distinguishing version number.
361If the Document specifies that a particular numbered version of this
362License "or any later version" applies to it, you have the option of
363following the terms and conditions either of that specified version or
364of any later version that has been published (not as a draft) by the
365Free Software Foundation. If the Document does not specify a version
366number of this License, you may choose any version ever published (not
367as a draft) by the Free Software Foundation.
368
369
370ADDENDUM: How to use this License for your documents
371
372To use this License in a document you have written, include a copy of
373the License in the document and put the following copyright and
374license notices just after the title page:
375
376 Copyright (c) YEAR YOUR NAME.
377 Permission is granted to copy, distribute and/or modify this document
378 under the terms of the GNU Free Documentation License, Version 1.2
379 or any later version published by the Free Software Foundation;
380 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
381 A copy of the license is included in the section entitled "GNU
382 Free Documentation License".
383
384If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
385replace the "with...Texts." line with this:
386
387 with the Invariant Sections being LIST THEIR TITLES, with the
388 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
389
390If you have Invariant Sections without Cover Texts, or some other
391combination of the three, merge those two alternatives to suit the
392situation.
393
394If your document contains nontrivial examples of program code, we
395recommend releasing these examples in parallel under your choice of
396free software license, such as the GNU General Public License,
397to permit their use in free software.
diff --git a/meta/files/common-licenses/GFDL-1.3 b/meta/files/common-licenses/GFDL-1.3
new file mode 100644
index 0000000000..2f7e03ca51
--- /dev/null
+++ b/meta/files/common-licenses/GFDL-1.3
@@ -0,0 +1,451 @@
1
2 GNU Free Documentation License
3 Version 1.3, 3 November 2008
4
5
6 Copyright (C) 2000, 2001, 2002, 2007, 2008 Free Software Foundation, Inc.
7 <http://fsf.org/>
8 Everyone is permitted to copy and distribute verbatim copies
9 of this license document, but changing it is not allowed.
10
110. PREAMBLE
12
13The purpose of this License is to make a manual, textbook, or other
14functional and useful document "free" in the sense of freedom: to
15assure everyone the effective freedom to copy and redistribute it,
16with or without modifying it, either commercially or noncommercially.
17Secondarily, this License preserves for the author and publisher a way
18to get credit for their work, while not being considered responsible
19for modifications made by others.
20
21This License is a kind of "copyleft", which means that derivative
22works of the document must themselves be free in the same sense. It
23complements the GNU General Public License, which is a copyleft
24license designed for free software.
25
26We have designed this License in order to use it for manuals for free
27software, because free software needs free documentation: a free
28program should come with manuals providing the same freedoms that the
29software does. But this License is not limited to software manuals;
30it can be used for any textual work, regardless of subject matter or
31whether it is published as a printed book. We recommend this License
32principally for works whose purpose is instruction or reference.
33
34
351. APPLICABILITY AND DEFINITIONS
36
37This License applies to any manual or other work, in any medium, that
38contains a notice placed by the copyright holder saying it can be
39distributed under the terms of this License. Such a notice grants a
40world-wide, royalty-free license, unlimited in duration, to use that
41work under the conditions stated herein. The "Document", below,
42refers to any such manual or work. Any member of the public is a
43licensee, and is addressed as "you". You accept the license if you
44copy, modify or distribute the work in a way requiring permission
45under copyright law.
46
47A "Modified Version" of the Document means any work containing the
48Document or a portion of it, either copied verbatim, or with
49modifications and/or translated into another language.
50
51A "Secondary Section" is a named appendix or a front-matter section of
52the Document that deals exclusively with the relationship of the
53publishers or authors of the Document to the Document's overall
54subject (or to related matters) and contains nothing that could fall
55directly within that overall subject. (Thus, if the Document is in
56part a textbook of mathematics, a Secondary Section may not explain
57any mathematics.) The relationship could be a matter of historical
58connection with the subject or with related matters, or of legal,
59commercial, philosophical, ethical or political position regarding
60them.
61
62The "Invariant Sections" are certain Secondary Sections whose titles
63are designated, as being those of Invariant Sections, in the notice
64that says that the Document is released under this License. If a
65section does not fit the above definition of Secondary then it is not
66allowed to be designated as Invariant. The Document may contain zero
67Invariant Sections. If the Document does not identify any Invariant
68Sections then there are none.
69
70The "Cover Texts" are certain short passages of text that are listed,
71as Front-Cover Texts or Back-Cover Texts, in the notice that says that
72the Document is released under this License. A Front-Cover Text may
73be at most 5 words, and a Back-Cover Text may be at most 25 words.
74
75A "Transparent" copy of the Document means a machine-readable copy,
76represented in a format whose specification is available to the
77general public, that is suitable for revising the document
78straightforwardly with generic text editors or (for images composed of
79pixels) generic paint programs or (for drawings) some widely available
80drawing editor, and that is suitable for input to text formatters or
81for automatic translation to a variety of formats suitable for input
82to text formatters. A copy made in an otherwise Transparent file
83format whose markup, or absence of markup, has been arranged to thwart
84or discourage subsequent modification by readers is not Transparent.
85An image format is not Transparent if used for any substantial amount
86of text. A copy that is not "Transparent" is called "Opaque".
87
88Examples of suitable formats for Transparent copies include plain
89ASCII without markup, Texinfo input format, LaTeX input format, SGML
90or XML using a publicly available DTD, and standard-conforming simple
91HTML, PostScript or PDF designed for human modification. Examples of
92transparent image formats include PNG, XCF and JPG. Opaque formats
93include proprietary formats that can be read and edited only by
94proprietary word processors, SGML or XML for which the DTD and/or
95processing tools are not generally available, and the
96machine-generated HTML, PostScript or PDF produced by some word
97processors for output purposes only.
98
99The "Title Page" means, for a printed book, the title page itself,
100plus such following pages as are needed to hold, legibly, the material
101this License requires to appear in the title page. For works in
102formats which do not have any title page as such, "Title Page" means
103the text near the most prominent appearance of the work's title,
104preceding the beginning of the body of the text.
105
106The "publisher" means any person or entity that distributes copies of
107the Document to the public.
108
109A section "Entitled XYZ" means a named subunit of the Document whose
110title either is precisely XYZ or contains XYZ in parentheses following
111text that translates XYZ in another language. (Here XYZ stands for a
112specific section name mentioned below, such as "Acknowledgements",
113"Dedications", "Endorsements", or "History".) To "Preserve the Title"
114of such a section when you modify the Document means that it remains a
115section "Entitled XYZ" according to this definition.
116
117The Document may include Warranty Disclaimers next to the notice which
118states that this License applies to the Document. These Warranty
119Disclaimers are considered to be included by reference in this
120License, but only as regards disclaiming warranties: any other
121implication that these Warranty Disclaimers may have is void and has
122no effect on the meaning of this License.
123
1242. VERBATIM COPYING
125
126You may copy and distribute the Document in any medium, either
127commercially or noncommercially, provided that this License, the
128copyright notices, and the license notice saying this License applies
129to the Document are reproduced in all copies, and that you add no
130other conditions whatsoever to those of this License. You may not use
131technical measures to obstruct or control the reading or further
132copying of the copies you make or distribute. However, you may accept
133compensation in exchange for copies. If you distribute a large enough
134number of copies you must also follow the conditions in section 3.
135
136You may also lend copies, under the same conditions stated above, and
137you may publicly display copies.
138
139
1403. COPYING IN QUANTITY
141
142If you publish printed copies (or copies in media that commonly have
143printed covers) of the Document, numbering more than 100, and the
144Document's license notice requires Cover Texts, you must enclose the
145copies in covers that carry, clearly and legibly, all these Cover
146Texts: Front-Cover Texts on the front cover, and Back-Cover Texts on
147the back cover. Both covers must also clearly and legibly identify
148you as the publisher of these copies. The front cover must present
149the full title with all words of the title equally prominent and
150visible. You may add other material on the covers in addition.
151Copying with changes limited to the covers, as long as they preserve
152the title of the Document and satisfy these conditions, can be treated
153as verbatim copying in other respects.
154
155If the required texts for either cover are too voluminous to fit
156legibly, you should put the first ones listed (as many as fit
157reasonably) on the actual cover, and continue the rest onto adjacent
158pages.
159
160If you publish or distribute Opaque copies of the Document numbering
161more than 100, you must either include a machine-readable Transparent
162copy along with each Opaque copy, or state in or with each Opaque copy
163a computer-network location from which the general network-using
164public has access to download using public-standard network protocols
165a complete Transparent copy of the Document, free of added material.
166If you use the latter option, you must take reasonably prudent steps,
167when you begin distribution of Opaque copies in quantity, to ensure
168that this Transparent copy will remain thus accessible at the stated
169location until at least one year after the last time you distribute an
170Opaque copy (directly or through your agents or retailers) of that
171edition to the public.
172
173It is requested, but not required, that you contact the authors of the
174Document well before redistributing any large number of copies, to
175give them a chance to provide you with an updated version of the
176Document.
177
178
1794. MODIFICATIONS
180
181You may copy and distribute a Modified Version of the Document under
182the conditions of sections 2 and 3 above, provided that you release
183the Modified Version under precisely this License, with the Modified
184Version filling the role of the Document, thus licensing distribution
185and modification of the Modified Version to whoever possesses a copy
186of it. In addition, you must do these things in the Modified Version:
187
188A. Use in the Title Page (and on the covers, if any) a title distinct
189 from that of the Document, and from those of previous versions
190 (which should, if there were any, be listed in the History section
191 of the Document). You may use the same title as a previous version
192 if the original publisher of that version gives permission.
193B. List on the Title Page, as authors, one or more persons or entities
194 responsible for authorship of the modifications in the Modified
195 Version, together with at least five of the principal authors of the
196 Document (all of its principal authors, if it has fewer than five),
197 unless they release you from this requirement.
198C. State on the Title page the name of the publisher of the
199 Modified Version, as the publisher.
200D. Preserve all the copyright notices of the Document.
201E. Add an appropriate copyright notice for your modifications
202 adjacent to the other copyright notices.
203F. Include, immediately after the copyright notices, a license notice
204 giving the public permission to use the Modified Version under the
205 terms of this License, in the form shown in the Addendum below.
206G. Preserve in that license notice the full lists of Invariant Sections
207 and required Cover Texts given in the Document's license notice.
208H. Include an unaltered copy of this License.
209I. Preserve the section Entitled "History", Preserve its Title, and add
210 to it an item stating at least the title, year, new authors, and
211 publisher of the Modified Version as given on the Title Page. If
212 there is no section Entitled "History" in the Document, create one
213 stating the title, year, authors, and publisher of the Document as
214 given on its Title Page, then add an item describing the Modified
215 Version as stated in the previous sentence.
216J. Preserve the network location, if any, given in the Document for
217 public access to a Transparent copy of the Document, and likewise
218 the network locations given in the Document for previous versions
219 it was based on. These may be placed in the "History" section.
220 You may omit a network location for a work that was published at
221 least four years before the Document itself, or if the original
222 publisher of the version it refers to gives permission.
223K. For any section Entitled "Acknowledgements" or "Dedications",
224 Preserve the Title of the section, and preserve in the section all
225 the substance and tone of each of the contributor acknowledgements
226 and/or dedications given therein.
227L. Preserve all the Invariant Sections of the Document,
228 unaltered in their text and in their titles. Section numbers
229 or the equivalent are not considered part of the section titles.
230M. Delete any section Entitled "Endorsements". Such a section
231 may not be included in the Modified Version.
232N. Do not retitle any existing section to be Entitled "Endorsements"
233 or to conflict in title with any Invariant Section.
234O. Preserve any Warranty Disclaimers.
235
236If the Modified Version includes new front-matter sections or
237appendices that qualify as Secondary Sections and contain no material
238copied from the Document, you may at your option designate some or all
239of these sections as invariant. To do this, add their titles to the
240list of Invariant Sections in the Modified Version's license notice.
241These titles must be distinct from any other section titles.
242
243You may add a section Entitled "Endorsements", provided it contains
244nothing but endorsements of your Modified Version by various
245parties--for example, statements of peer review or that the text has
246been approved by an organization as the authoritative definition of a
247standard.
248
249You may add a passage of up to five words as a Front-Cover Text, and a
250passage of up to 25 words as a Back-Cover Text, to the end of the list
251of Cover Texts in the Modified Version. Only one passage of
252Front-Cover Text and one of Back-Cover Text may be added by (or
253through arrangements made by) any one entity. If the Document already
254includes a cover text for the same cover, previously added by you or
255by arrangement made by the same entity you are acting on behalf of,
256you may not add another; but you may replace the old one, on explicit
257permission from the previous publisher that added the old one.
258
259The author(s) and publisher(s) of the Document do not by this License
260give permission to use their names for publicity for or to assert or
261imply endorsement of any Modified Version.
262
263
2645. COMBINING DOCUMENTS
265
266You may combine the Document with other documents released under this
267License, under the terms defined in section 4 above for modified
268versions, provided that you include in the combination all of the
269Invariant Sections of all of the original documents, unmodified, and
270list them all as Invariant Sections of your combined work in its
271license notice, and that you preserve all their Warranty Disclaimers.
272
273The combined work need only contain one copy of this License, and
274multiple identical Invariant Sections may be replaced with a single
275copy. If there are multiple Invariant Sections with the same name but
276different contents, make the title of each such section unique by
277adding at the end of it, in parentheses, the name of the original
278author or publisher of that section if known, or else a unique number.
279Make the same adjustment to the section titles in the list of
280Invariant Sections in the license notice of the combined work.
281
282In the combination, you must combine any sections Entitled "History"
283in the various original documents, forming one section Entitled
284"History"; likewise combine any sections Entitled "Acknowledgements",
285and any sections Entitled "Dedications". You must delete all sections
286Entitled "Endorsements".
287
288
2896. COLLECTIONS OF DOCUMENTS
290
291You may make a collection consisting of the Document and other
292documents released under this License, and replace the individual
293copies of this License in the various documents with a single copy
294that is included in the collection, provided that you follow the rules
295of this License for verbatim copying of each of the documents in all
296other respects.
297
298You may extract a single document from such a collection, and
299distribute it individually under this License, provided you insert a
300copy of this License into the extracted document, and follow this
301License in all other respects regarding verbatim copying of that
302document.
303
304
3057. AGGREGATION WITH INDEPENDENT WORKS
306
307A compilation of the Document or its derivatives with other separate
308and independent documents or works, in or on a volume of a storage or
309distribution medium, is called an "aggregate" if the copyright
310resulting from the compilation is not used to limit the legal rights
311of the compilation's users beyond what the individual works permit.
312When the Document is included in an aggregate, this License does not
313apply to the other works in the aggregate which are not themselves
314derivative works of the Document.
315
316If the Cover Text requirement of section 3 is applicable to these
317copies of the Document, then if the Document is less than one half of
318the entire aggregate, the Document's Cover Texts may be placed on
319covers that bracket the Document within the aggregate, or the
320electronic equivalent of covers if the Document is in electronic form.
321Otherwise they must appear on printed covers that bracket the whole
322aggregate.
323
324
3258. TRANSLATION
326
327Translation is considered a kind of modification, so you may
328distribute translations of the Document under the terms of section 4.
329Replacing Invariant Sections with translations requires special
330permission from their copyright holders, but you may include
331translations of some or all Invariant Sections in addition to the
332original versions of these Invariant Sections. You may include a
333translation of this License, and all the license notices in the
334Document, and any Warranty Disclaimers, provided that you also include
335the original English version of this License and the original versions
336of those notices and disclaimers. In case of a disagreement between
337the translation and the original version of this License or a notice
338or disclaimer, the original version will prevail.
339
340If a section in the Document is Entitled "Acknowledgements",
341"Dedications", or "History", the requirement (section 4) to Preserve
342its Title (section 1) will typically require changing the actual
343title.
344
345
3469. TERMINATION
347
348You may not copy, modify, sublicense, or distribute the Document
349except as expressly provided under this License. Any attempt
350otherwise to copy, modify, sublicense, or distribute it is void, and
351will automatically terminate your rights under this License.
352
353However, if you cease all violation of this License, then your license
354from a particular copyright holder is reinstated (a) provisionally,
355unless and until the copyright holder explicitly and finally
356terminates your license, and (b) permanently, if the copyright holder
357fails to notify you of the violation by some reasonable means prior to
35860 days after the cessation.
359
360Moreover, your license from a particular copyright holder is
361reinstated permanently if the copyright holder notifies you of the
362violation by some reasonable means, this is the first time you have
363received notice of violation of this License (for any work) from that
364copyright holder, and you cure the violation prior to 30 days after
365your receipt of the notice.
366
367Termination of your rights under this section does not terminate the
368licenses of parties who have received copies or rights from you under
369this License. If your rights have been terminated and not permanently
370reinstated, receipt of a copy of some or all of the same material does
371not give you any rights to use it.
372
373
37410. FUTURE REVISIONS OF THIS LICENSE
375
376The Free Software Foundation may publish new, revised versions of the
377GNU Free Documentation License from time to time. Such new versions
378will be similar in spirit to the present version, but may differ in
379detail to address new problems or concerns. See
380http://www.gnu.org/copyleft/.
381
382Each version of the License is given a distinguishing version number.
383If the Document specifies that a particular numbered version of this
384License "or any later version" applies to it, you have the option of
385following the terms and conditions either of that specified version or
386of any later version that has been published (not as a draft) by the
387Free Software Foundation. If the Document does not specify a version
388number of this License, you may choose any version ever published (not
389as a draft) by the Free Software Foundation. If the Document
390specifies that a proxy can decide which future versions of this
391License can be used, that proxy's public statement of acceptance of a
392version permanently authorizes you to choose that version for the
393Document.
394
39511. RELICENSING
396
397"Massive Multiauthor Collaboration Site" (or "MMC Site") means any
398World Wide Web server that publishes copyrightable works and also
399provides prominent facilities for anybody to edit those works. A
400public wiki that anybody can edit is an example of such a server. A
401"Massive Multiauthor Collaboration" (or "MMC") contained in the site
402means any set of copyrightable works thus published on the MMC site.
403
404"CC-BY-SA" means the Creative Commons Attribution-Share Alike 3.0
405license published by Creative Commons Corporation, a not-for-profit
406corporation with a principal place of business in San Francisco,
407California, as well as future copyleft versions of that license
408published by that same organization.
409
410"Incorporate" means to publish or republish a Document, in whole or in
411part, as part of another Document.
412
413An MMC is "eligible for relicensing" if it is licensed under this
414License, and if all works that were first published under this License
415somewhere other than this MMC, and subsequently incorporated in whole or
416in part into the MMC, (1) had no cover texts or invariant sections, and
417(2) were thus incorporated prior to November 1, 2008.
418
419The operator of an MMC Site may republish an MMC contained in the site
420under CC-BY-SA on the same site at any time before August 1, 2009,
421provided the MMC is eligible for relicensing.
422
423
424ADDENDUM: How to use this License for your documents
425
426To use this License in a document you have written, include a copy of
427the License in the document and put the following copyright and
428license notices just after the title page:
429
430 Copyright (c) YEAR YOUR NAME.
431 Permission is granted to copy, distribute and/or modify this document
432 under the terms of the GNU Free Documentation License, Version 1.3
433 or any later version published by the Free Software Foundation;
434 with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
435 A copy of the license is included in the section entitled "GNU
436 Free Documentation License".
437
438If you have Invariant Sections, Front-Cover Texts and Back-Cover Texts,
439replace the "with...Texts." line with this:
440
441 with the Invariant Sections being LIST THEIR TITLES, with the
442 Front-Cover Texts being LIST, and with the Back-Cover Texts being LIST.
443
444If you have Invariant Sections without Cover Texts, or some other
445combination of the three, merge those two alternatives to suit the
446situation.
447
448If your document contains nontrivial examples of program code, we
449recommend releasing these examples in parallel under your choice of
450free software license, such as the GNU General Public License,
451to permit their use in free software.
diff --git a/meta/files/common-licenses/GPL b/meta/files/common-licenses/GPL
new file mode 100644
index 0000000000..4432540474
--- /dev/null
+++ b/meta/files/common-licenses/GPL
@@ -0,0 +1,676 @@
1
2 GNU GENERAL PUBLIC LICENSE
3 Version 3, 29 June 2007
4
5 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The GNU General Public License is a free, copyleft license for
12software and other kinds of works.
13
14 The licenses for most software and other practical works are designed
15to take away your freedom to share and change the works. By contrast,
16the GNU General Public License is intended to guarantee your freedom to
17share and change all versions of a program--to make sure it remains free
18software for all its users. We, the Free Software Foundation, use the
19GNU General Public License for most of our software; it applies also to
20any other work released this way by its authors. You can apply it to
21your programs, too.
22
23 When we speak of free software, we are referring to freedom, not
24price. Our General Public Licenses are designed to make sure that you
25have the freedom to distribute copies of free software (and charge for
26them if you wish), that you receive source code or can get it if you
27want it, that you can change the software or use pieces of it in new
28free programs, and that you know you can do these things.
29
30 To protect your rights, we need to prevent others from denying you
31these rights or asking you to surrender the rights. Therefore, you have
32certain responsibilities if you distribute copies of the software, or if
33you modify it: responsibilities to respect the freedom of others.
34
35 For example, if you distribute copies of such a program, whether
36gratis or for a fee, you must pass on to the recipients the same
37freedoms that you received. You must make sure that they, too, receive
38or can get the source code. And you must show them these terms so they
39know their rights.
40
41 Developers that use the GNU GPL protect your rights with two steps:
42(1) assert copyright on the software, and (2) offer you this License
43giving you legal permission to copy, distribute and/or modify it.
44
45 For the developers' and authors' protection, the GPL clearly explains
46that there is no warranty for this free software. For both users' and
47authors' sake, the GPL requires that modified versions be marked as
48changed, so that their problems will not be attributed erroneously to
49authors of previous versions.
50
51 Some devices are designed to deny users access to install or run
52modified versions of the software inside them, although the manufacturer
53can do so. This is fundamentally incompatible with the aim of
54protecting users' freedom to change the software. The systematic
55pattern of such abuse occurs in the area of products for individuals to
56use, which is precisely where it is most unacceptable. Therefore, we
57have designed this version of the GPL to prohibit the practice for those
58products. If such problems arise substantially in other domains, we
59stand ready to extend this provision to those domains in future versions
60of the GPL, as needed to protect the freedom of users.
61
62 Finally, every program is threatened constantly by software patents.
63States should not allow patents to restrict development and use of
64software on general-purpose computers, but in those that do, we wish to
65avoid the special danger that patents applied to a free program could
66make it effectively proprietary. To prevent this, the GPL assures that
67patents cannot be used to render the program non-free.
68
69 The precise terms and conditions for copying, distribution and
70modification follow.
71
72 TERMS AND CONDITIONS
73
74 0. Definitions.
75
76 "This License" refers to version 3 of the GNU General Public License.
77
78 "Copyright" also means copyright-like laws that apply to other kinds of
79works, such as semiconductor masks.
80
81 "The Program" refers to any copyrightable work licensed under this
82License. Each licensee is addressed as "you". "Licensees" and
83"recipients" may be individuals or organizations.
84
85 To "modify" a work means to copy from or adapt all or part of the work
86in a fashion requiring copyright permission, other than the making of an
87exact copy. The resulting work is called a "modified version" of the
88earlier work or a work "based on" the earlier work.
89
90 A "covered work" means either the unmodified Program or a work based
91on the Program.
92
93 To "propagate" a work means to do anything with it that, without
94permission, would make you directly or secondarily liable for
95infringement under applicable copyright law, except executing it on a
96computer or modifying a private copy. Propagation includes copying,
97distribution (with or without modification), making available to the
98public, and in some countries other activities as well.
99
100 To "convey" a work means any kind of propagation that enables other
101parties to make or receive copies. Mere interaction with a user through
102a computer network, with no transfer of a copy, is not conveying.
103
104 An interactive user interface displays "Appropriate Legal Notices"
105to the extent that it includes a convenient and prominently visible
106feature that (1) displays an appropriate copyright notice, and (2)
107tells the user that there is no warranty for the work (except to the
108extent that warranties are provided), that licensees may convey the
109work under this License, and how to view a copy of this License. If
110the interface presents a list of user commands or options, such as a
111menu, a prominent item in the list meets this criterion.
112
113 1. Source Code.
114
115 The "source code" for a work means the preferred form of the work
116for making modifications to it. "Object code" means any non-source
117form of a work.
118
119 A "Standard Interface" means an interface that either is an official
120standard defined by a recognized standards body, or, in the case of
121interfaces specified for a particular programming language, one that
122is widely used among developers working in that language.
123
124 The "System Libraries" of an executable work include anything, other
125than the work as a whole, that (a) is included in the normal form of
126packaging a Major Component, but which is not part of that Major
127Component, and (b) serves only to enable use of the work with that
128Major Component, or to implement a Standard Interface for which an
129implementation is available to the public in source code form. A
130"Major Component", in this context, means a major essential component
131(kernel, window system, and so on) of the specific operating system
132(if any) on which the executable work runs, or a compiler used to
133produce the work, or an object code interpreter used to run it.
134
135 The "Corresponding Source" for a work in object code form means all
136the source code needed to generate, install, and (for an executable
137work) run the object code and to modify the work, including scripts to
138control those activities. However, it does not include the work's
139System Libraries, or general-purpose tools or generally available free
140programs which are used unmodified in performing those activities but
141which are not part of the work. For example, Corresponding Source
142includes interface definition files associated with source files for
143the work, and the source code for shared libraries and dynamically
144linked subprograms that the work is specifically designed to require,
145such as by intimate data communication or control flow between those
146subprograms and other parts of the work.
147
148 The Corresponding Source need not include anything that users
149can regenerate automatically from other parts of the Corresponding
150Source.
151
152 The Corresponding Source for a work in source code form is that
153same work.
154
155 2. Basic Permissions.
156
157 All rights granted under this License are granted for the term of
158copyright on the Program, and are irrevocable provided the stated
159conditions are met. This License explicitly affirms your unlimited
160permission to run the unmodified Program. The output from running a
161covered work is covered by this License only if the output, given its
162content, constitutes a covered work. This License acknowledges your
163rights of fair use or other equivalent, as provided by copyright law.
164
165 You may make, run and propagate covered works that you do not
166convey, without conditions so long as your license otherwise remains
167in force. You may convey covered works to others for the sole purpose
168of having them make modifications exclusively for you, or provide you
169with facilities for running those works, provided that you comply with
170the terms of this License in conveying all material for which you do
171not control copyright. Those thus making or running the covered works
172for you must do so exclusively on your behalf, under your direction
173and control, on terms that prohibit them from making any copies of
174your copyrighted material outside their relationship with you.
175
176 Conveying under any other circumstances is permitted solely under
177the conditions stated below. Sublicensing is not allowed; section 10
178makes it unnecessary.
179
180 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
181
182 No covered work shall be deemed part of an effective technological
183measure under any applicable law fulfilling obligations under article
18411 of the WIPO copyright treaty adopted on 20 December 1996, or
185similar laws prohibiting or restricting circumvention of such
186measures.
187
188 When you convey a covered work, you waive any legal power to forbid
189circumvention of technological measures to the extent such circumvention
190is effected by exercising rights under this License with respect to
191the covered work, and you disclaim any intention to limit operation or
192modification of the work as a means of enforcing, against the work's
193users, your or third parties' legal rights to forbid circumvention of
194technological measures.
195
196 4. Conveying Verbatim Copies.
197
198 You may convey verbatim copies of the Program's source code as you
199receive it, in any medium, provided that you conspicuously and
200appropriately publish on each copy an appropriate copyright notice;
201keep intact all notices stating that this License and any
202non-permissive terms added in accord with section 7 apply to the code;
203keep intact all notices of the absence of any warranty; and give all
204recipients a copy of this License along with the Program.
205
206 You may charge any price or no price for each copy that you convey,
207and you may offer support or warranty protection for a fee.
208
209 5. Conveying Modified Source Versions.
210
211 You may convey a work based on the Program, or the modifications to
212produce it from the Program, in the form of source code under the
213terms of section 4, provided that you also meet all of these conditions:
214
215 a) The work must carry prominent notices stating that you modified
216 it, and giving a relevant date.
217
218 b) The work must carry prominent notices stating that it is
219 released under this License and any conditions added under section
220 7. This requirement modifies the requirement in section 4 to
221 "keep intact all notices".
222
223 c) You must license the entire work, as a whole, under this
224 License to anyone who comes into possession of a copy. This
225 License will therefore apply, along with any applicable section 7
226 additional terms, to the whole of the work, and all its parts,
227 regardless of how they are packaged. This License gives no
228 permission to license the work in any other way, but it does not
229 invalidate such permission if you have separately received it.
230
231 d) If the work has interactive user interfaces, each must display
232 Appropriate Legal Notices; however, if the Program has interactive
233 interfaces that do not display Appropriate Legal Notices, your
234 work need not make them do so.
235
236 A compilation of a covered work with other separate and independent
237works, which are not by their nature extensions of the covered work,
238and which are not combined with it such as to form a larger program,
239in or on a volume of a storage or distribution medium, is called an
240"aggregate" if the compilation and its resulting copyright are not
241used to limit the access or legal rights of the compilation's users
242beyond what the individual works permit. Inclusion of a covered work
243in an aggregate does not cause this License to apply to the other
244parts of the aggregate.
245
246 6. Conveying Non-Source Forms.
247
248 You may convey a covered work in object code form under the terms
249of sections 4 and 5, provided that you also convey the
250machine-readable Corresponding Source under the terms of this License,
251in one of these ways:
252
253 a) Convey the object code in, or embodied in, a physical product
254 (including a physical distribution medium), accompanied by the
255 Corresponding Source fixed on a durable physical medium
256 customarily used for software interchange.
257
258 b) Convey the object code in, or embodied in, a physical product
259 (including a physical distribution medium), accompanied by a
260 written offer, valid for at least three years and valid for as
261 long as you offer spare parts or customer support for that product
262 model, to give anyone who possesses the object code either (1) a
263 copy of the Corresponding Source for all the software in the
264 product that is covered by this License, on a durable physical
265 medium customarily used for software interchange, for a price no
266 more than your reasonable cost of physically performing this
267 conveying of source, or (2) access to copy the
268 Corresponding Source from a network server at no charge.
269
270 c) Convey individual copies of the object code with a copy of the
271 written offer to provide the Corresponding Source. This
272 alternative is allowed only occasionally and noncommercially, and
273 only if you received the object code with such an offer, in accord
274 with subsection 6b.
275
276 d) Convey the object code by offering access from a designated
277 place (gratis or for a charge), and offer equivalent access to the
278 Corresponding Source in the same way through the same place at no
279 further charge. You need not require recipients to copy the
280 Corresponding Source along with the object code. If the place to
281 copy the object code is a network server, the Corresponding Source
282 may be on a different server (operated by you or a third party)
283 that supports equivalent copying facilities, provided you maintain
284 clear directions next to the object code saying where to find the
285 Corresponding Source. Regardless of what server hosts the
286 Corresponding Source, you remain obligated to ensure that it is
287 available for as long as needed to satisfy these requirements.
288
289 e) Convey the object code using peer-to-peer transmission, provided
290 you inform other peers where the object code and Corresponding
291 Source of the work are being offered to the general public at no
292 charge under subsection 6d.
293
294 A separable portion of the object code, whose source code is excluded
295from the Corresponding Source as a System Library, need not be
296included in conveying the object code work.
297
298 A "User Product" is either (1) a "consumer product", which means any
299tangible personal property which is normally used for personal, family,
300or household purposes, or (2) anything designed or sold for incorporation
301into a dwelling. In determining whether a product is a consumer product,
302doubtful cases shall be resolved in favor of coverage. For a particular
303product received by a particular user, "normally used" refers to a
304typical or common use of that class of product, regardless of the status
305of the particular user or of the way in which the particular user
306actually uses, or expects or is expected to use, the product. A product
307is a consumer product regardless of whether the product has substantial
308commercial, industrial or non-consumer uses, unless such uses represent
309the only significant mode of use of the product.
310
311 "Installation Information" for a User Product means any methods,
312procedures, authorization keys, or other information required to install
313and execute modified versions of a covered work in that User Product from
314a modified version of its Corresponding Source. The information must
315suffice to ensure that the continued functioning of the modified object
316code is in no case prevented or interfered with solely because
317modification has been made.
318
319 If you convey an object code work under this section in, or with, or
320specifically for use in, a User Product, and the conveying occurs as
321part of a transaction in which the right of possession and use of the
322User Product is transferred to the recipient in perpetuity or for a
323fixed term (regardless of how the transaction is characterized), the
324Corresponding Source conveyed under this section must be accompanied
325by the Installation Information. But this requirement does not apply
326if neither you nor any third party retains the ability to install
327modified object code on the User Product (for example, the work has
328been installed in ROM).
329
330 The requirement to provide Installation Information does not include a
331requirement to continue to provide support service, warranty, or updates
332for a work that has been modified or installed by the recipient, or for
333the User Product in which it has been modified or installed. Access to a
334network may be denied when the modification itself materially and
335adversely affects the operation of the network or violates the rules and
336protocols for communication across the network.
337
338 Corresponding Source conveyed, and Installation Information provided,
339in accord with this section must be in a format that is publicly
340documented (and with an implementation available to the public in
341source code form), and must require no special password or key for
342unpacking, reading or copying.
343
344 7. Additional Terms.
345
346 "Additional permissions" are terms that supplement the terms of this
347License by making exceptions from one or more of its conditions.
348Additional permissions that are applicable to the entire Program shall
349be treated as though they were included in this License, to the extent
350that they are valid under applicable law. If additional permissions
351apply only to part of the Program, that part may be used separately
352under those permissions, but the entire Program remains governed by
353this License without regard to the additional permissions.
354
355 When you convey a copy of a covered work, you may at your option
356remove any additional permissions from that copy, or from any part of
357it. (Additional permissions may be written to require their own
358removal in certain cases when you modify the work.) You may place
359additional permissions on material, added by you to a covered work,
360for which you have or can give appropriate copyright permission.
361
362 Notwithstanding any other provision of this License, for material you
363add to a covered work, you may (if authorized by the copyright holders of
364that material) supplement the terms of this License with terms:
365
366 a) Disclaiming warranty or limiting liability differently from the
367 terms of sections 15 and 16 of this License; or
368
369 b) Requiring preservation of specified reasonable legal notices or
370 author attributions in that material or in the Appropriate Legal
371 Notices displayed by works containing it; or
372
373 c) Prohibiting misrepresentation of the origin of that material, or
374 requiring that modified versions of such material be marked in
375 reasonable ways as different from the original version; or
376
377 d) Limiting the use for publicity purposes of names of licensors or
378 authors of the material; or
379
380 e) Declining to grant rights under trademark law for use of some
381 trade names, trademarks, or service marks; or
382
383 f) Requiring indemnification of licensors and authors of that
384 material by anyone who conveys the material (or modified versions of
385 it) with contractual assumptions of liability to the recipient, for
386 any liability that these contractual assumptions directly impose on
387 those licensors and authors.
388
389 All other non-permissive additional terms are considered "further
390restrictions" within the meaning of section 10. If the Program as you
391received it, or any part of it, contains a notice stating that it is
392governed by this License along with a term that is a further
393restriction, you may remove that term. If a license document contains
394a further restriction but permits relicensing or conveying under this
395License, you may add to a covered work material governed by the terms
396of that license document, provided that the further restriction does
397not survive such relicensing or conveying.
398
399 If you add terms to a covered work in accord with this section, you
400must place, in the relevant source files, a statement of the
401additional terms that apply to those files, or a notice indicating
402where to find the applicable terms.
403
404 Additional terms, permissive or non-permissive, may be stated in the
405form of a separately written license, or stated as exceptions;
406the above requirements apply either way.
407
408 8. Termination.
409
410 You may not propagate or modify a covered work except as expressly
411provided under this License. Any attempt otherwise to propagate or
412modify it is void, and will automatically terminate your rights under
413this License (including any patent licenses granted under the third
414paragraph of section 11).
415
416 However, if you cease all violation of this License, then your
417license from a particular copyright holder is reinstated (a)
418provisionally, unless and until the copyright holder explicitly and
419finally terminates your license, and (b) permanently, if the copyright
420holder fails to notify you of the violation by some reasonable means
421prior to 60 days after the cessation.
422
423 Moreover, your license from a particular copyright holder is
424reinstated permanently if the copyright holder notifies you of the
425violation by some reasonable means, this is the first time you have
426received notice of violation of this License (for any work) from that
427copyright holder, and you cure the violation prior to 30 days after
428your receipt of the notice.
429
430 Termination of your rights under this section does not terminate the
431licenses of parties who have received copies or rights from you under
432this License. If your rights have been terminated and not permanently
433reinstated, you do not qualify to receive new licenses for the same
434material under section 10.
435
436 9. Acceptance Not Required for Having Copies.
437
438 You are not required to accept this License in order to receive or
439run a copy of the Program. Ancillary propagation of a covered work
440occurring solely as a consequence of using peer-to-peer transmission
441to receive a copy likewise does not require acceptance. However,
442nothing other than this License grants you permission to propagate or
443modify any covered work. These actions infringe copyright if you do
444not accept this License. Therefore, by modifying or propagating a
445covered work, you indicate your acceptance of this License to do so.
446
447 10. Automatic Licensing of Downstream Recipients.
448
449 Each time you convey a covered work, the recipient automatically
450receives a license from the original licensors, to run, modify and
451propagate that work, subject to this License. You are not responsible
452for enforcing compliance by third parties with this License.
453
454 An "entity transaction" is a transaction transferring control of an
455organization, or substantially all assets of one, or subdividing an
456organization, or merging organizations. If propagation of a covered
457work results from an entity transaction, each party to that
458transaction who receives a copy of the work also receives whatever
459licenses to the work the party's predecessor in interest had or could
460give under the previous paragraph, plus a right to possession of the
461Corresponding Source of the work from the predecessor in interest, if
462the predecessor has it or can get it with reasonable efforts.
463
464 You may not impose any further restrictions on the exercise of the
465rights granted or affirmed under this License. For example, you may
466not impose a license fee, royalty, or other charge for exercise of
467rights granted under this License, and you may not initiate litigation
468(including a cross-claim or counterclaim in a lawsuit) alleging that
469any patent claim is infringed by making, using, selling, offering for
470sale, or importing the Program or any portion of it.
471
472 11. Patents.
473
474 A "contributor" is a copyright holder who authorizes use under this
475License of the Program or a work on which the Program is based. The
476work thus licensed is called the contributor's "contributor version".
477
478 A contributor's "essential patent claims" are all patent claims
479owned or controlled by the contributor, whether already acquired or
480hereafter acquired, that would be infringed by some manner, permitted
481by this License, of making, using, or selling its contributor version,
482but do not include claims that would be infringed only as a
483consequence of further modification of the contributor version. For
484purposes of this definition, "control" includes the right to grant
485patent sublicenses in a manner consistent with the requirements of
486this License.
487
488 Each contributor grants you a non-exclusive, worldwide, royalty-free
489patent license under the contributor's essential patent claims, to
490make, use, sell, offer for sale, import and otherwise run, modify and
491propagate the contents of its contributor version.
492
493 In the following three paragraphs, a "patent license" is any express
494agreement or commitment, however denominated, not to enforce a patent
495(such as an express permission to practice a patent or covenant not to
496sue for patent infringement). To "grant" such a patent license to a
497party means to make such an agreement or commitment not to enforce a
498patent against the party.
499
500 If you convey a covered work, knowingly relying on a patent license,
501and the Corresponding Source of the work is not available for anyone
502to copy, free of charge and under the terms of this License, through a
503publicly available network server or other readily accessible means,
504then you must either (1) cause the Corresponding Source to be so
505available, or (2) arrange to deprive yourself of the benefit of the
506patent license for this particular work, or (3) arrange, in a manner
507consistent with the requirements of this License, to extend the patent
508license to downstream recipients. "Knowingly relying" means you have
509actual knowledge that, but for the patent license, your conveying the
510covered work in a country, or your recipient's use of the covered work
511in a country, would infringe one or more identifiable patents in that
512country that you have reason to believe are valid.
513
514 If, pursuant to or in connection with a single transaction or
515arrangement, you convey, or propagate by procuring conveyance of, a
516covered work, and grant a patent license to some of the parties
517receiving the covered work authorizing them to use, propagate, modify
518or convey a specific copy of the covered work, then the patent license
519you grant is automatically extended to all recipients of the covered
520work and works based on it.
521
522 A patent license is "discriminatory" if it does not include within
523the scope of its coverage, prohibits the exercise of, or is
524conditioned on the non-exercise of one or more of the rights that are
525specifically granted under this License. You may not convey a covered
526work if you are a party to an arrangement with a third party that is
527in the business of distributing software, under which you make payment
528to the third party based on the extent of your activity of conveying
529the work, and under which the third party grants, to any of the
530parties who would receive the covered work from you, a discriminatory
531patent license (a) in connection with copies of the covered work
532conveyed by you (or copies made from those copies), or (b) primarily
533for and in connection with specific products or compilations that
534contain the covered work, unless you entered into that arrangement,
535or that patent license was granted, prior to 28 March 2007.
536
537 Nothing in this License shall be construed as excluding or limiting
538any implied license or other defenses to infringement that may
539otherwise be available to you under applicable patent law.
540
541 12. No Surrender of Others' Freedom.
542
543 If conditions are imposed on you (whether by court order, agreement or
544otherwise) that contradict the conditions of this License, they do not
545excuse you from the conditions of this License. If you cannot convey a
546covered work so as to satisfy simultaneously your obligations under this
547License and any other pertinent obligations, then as a consequence you may
548not convey it at all. For example, if you agree to terms that obligate you
549to collect a royalty for further conveying from those to whom you convey
550the Program, the only way you could satisfy both those terms and this
551License would be to refrain entirely from conveying the Program.
552
553 13. Use with the GNU Affero General Public License.
554
555 Notwithstanding any other provision of this License, you have
556permission to link or combine any covered work with a work licensed
557under version 3 of the GNU Affero General Public License into a single
558combined work, and to convey the resulting work. The terms of this
559License will continue to apply to the part which is the covered work,
560but the special requirements of the GNU Affero General Public License,
561section 13, concerning interaction through a network will apply to the
562combination as such.
563
564 14. Revised Versions of this License.
565
566 The Free Software Foundation may publish revised and/or new versions of
567the GNU General Public License from time to time. Such new versions will
568be similar in spirit to the present version, but may differ in detail to
569address new problems or concerns.
570
571 Each version is given a distinguishing version number. If the
572Program specifies that a certain numbered version of the GNU General
573Public License "or any later version" applies to it, you have the
574option of following the terms and conditions either of that numbered
575version or of any later version published by the Free Software
576Foundation. If the Program does not specify a version number of the
577GNU General Public License, you may choose any version ever published
578by the Free Software Foundation.
579
580 If the Program specifies that a proxy can decide which future
581versions of the GNU General Public License can be used, that proxy's
582public statement of acceptance of a version permanently authorizes you
583to choose that version for the Program.
584
585 Later license versions may give you additional or different
586permissions. However, no additional obligations are imposed on any
587author or copyright holder as a result of your choosing to follow a
588later version.
589
590 15. Disclaimer of Warranty.
591
592 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
593APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
594HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
595OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
596THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
597PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
598IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
599ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
600
601 16. Limitation of Liability.
602
603 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
604WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
605THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
606GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
607USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
608DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
609PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
610EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
611SUCH DAMAGES.
612
613 17. Interpretation of Sections 15 and 16.
614
615 If the disclaimer of warranty and limitation of liability provided
616above cannot be given local legal effect according to their terms,
617reviewing courts shall apply local law that most closely approximates
618an absolute waiver of all civil liability in connection with the
619Program, unless a warranty or assumption of liability accompanies a
620copy of the Program in return for a fee.
621
622 END OF TERMS AND CONDITIONS
623
624 How to Apply These Terms to Your New Programs
625
626 If you develop a new program, and you want it to be of the greatest
627possible use to the public, the best way to achieve this is to make it
628free software which everyone can redistribute and change under these terms.
629
630 To do so, attach the following notices to the program. It is safest
631to attach them to the start of each source file to most effectively
632state the exclusion of warranty; and each file should have at least
633the "copyright" line and a pointer to where the full notice is found.
634
635 <one line to give the program's name and a brief idea of what it does.>
636 Copyright (C) <year> <name of author>
637
638 This program is free software: you can redistribute it and/or modify
639 it under the terms of the GNU General Public License as published by
640 the Free Software Foundation, either version 3 of the License, or
641 (at your option) any later version.
642
643 This program is distributed in the hope that it will be useful,
644 but WITHOUT ANY WARRANTY; without even the implied warranty of
645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
646 GNU General Public License for more details.
647
648 You should have received a copy of the GNU General Public License
649 along with this program. If not, see <http://www.gnu.org/licenses/>.
650
651Also add information on how to contact you by electronic and paper mail.
652
653 If the program does terminal interaction, make it output a short
654notice like this when it starts in an interactive mode:
655
656 <program> Copyright (C) <year> <name of author>
657 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
658 This is free software, and you are welcome to redistribute it
659 under certain conditions; type `show c' for details.
660
661The hypothetical commands `show w' and `show c' should show the appropriate
662parts of the General Public License. Of course, your program's commands
663might be different; for a GUI interface, you would use an "about box".
664
665 You should also get your employer (if you work as a programmer) or school,
666if any, to sign a "copyright disclaimer" for the program, if necessary.
667For more information on this, and how to apply and follow the GNU GPL, see
668<http://www.gnu.org/licenses/>.
669
670 The GNU General Public License does not permit incorporating your program
671into proprietary programs. If your program is a subroutine library, you
672may consider it more useful to permit linking proprietary applications with
673the library. If this is what you want to do, use the GNU Lesser General
674Public License instead of this License. But first, please read
675<http://www.gnu.org/philosophy/why-not-lgpl.html>.
676
diff --git a/meta/files/common-licenses/GPLv2 b/meta/files/common-licenses/GPLv2
new file mode 100644
index 0000000000..d511905c16
--- /dev/null
+++ b/meta/files/common-licenses/GPLv2
@@ -0,0 +1,339 @@
1 GNU GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The licenses for most software are designed to take away your
12freedom to share and change it. By contrast, the GNU General Public
13License is intended to guarantee your freedom to share and change free
14software--to make sure the software is free for all its users. This
15General Public License applies to most of the Free Software
16Foundation's software and to any other program whose authors commit to
17using it. (Some other Free Software Foundation software is covered by
18the GNU Lesser General Public License instead.) You can apply it to
19your programs, too.
20
21 When we speak of free software, we are referring to freedom, not
22price. Our General Public Licenses are designed to make sure that you
23have the freedom to distribute copies of free software (and charge for
24this service if you wish), that you receive source code or can get it
25if you want it, that you can change the software or use pieces of it
26in new free programs; and that you know you can do these things.
27
28 To protect your rights, we need to make restrictions that forbid
29anyone to deny you these rights or to ask you to surrender the rights.
30These restrictions translate to certain responsibilities for you if you
31distribute copies of the software, or if you modify it.
32
33 For example, if you distribute copies of such a program, whether
34gratis or for a fee, you must give the recipients all the rights that
35you have. You must make sure that they, too, receive or can get the
36source code. And you must show them these terms so they know their
37rights.
38
39 We protect your rights with two steps: (1) copyright the software, and
40(2) offer you this license which gives you legal permission to copy,
41distribute and/or modify the software.
42
43 Also, for each author's protection and ours, we want to make certain
44that everyone understands that there is no warranty for this free
45software. If the software is modified by someone else and passed on, we
46want its recipients to know that what they have is not the original, so
47that any problems introduced by others will not reflect on the original
48authors' reputations.
49
50 Finally, any free program is threatened constantly by software
51patents. We wish to avoid the danger that redistributors of a free
52program will individually obtain patent licenses, in effect making the
53program proprietary. To prevent this, we have made it clear that any
54patent must be licensed for everyone's free use or not licensed at all.
55
56 The precise terms and conditions for copying, distribution and
57modification follow.
58
59 GNU GENERAL PUBLIC LICENSE
60 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
62 0. This License applies to any program or other work which contains
63a notice placed by the copyright holder saying it may be distributed
64under the terms of this General Public License. The "Program", below,
65refers to any such program or work, and a "work based on the Program"
66means either the Program or any derivative work under copyright law:
67that is to say, a work containing the Program or a portion of it,
68either verbatim or with modifications and/or translated into another
69language. (Hereinafter, translation is included without limitation in
70the term "modification".) Each licensee is addressed as "you".
71
72Activities other than copying, distribution and modification are not
73covered by this License; they are outside its scope. The act of
74running the Program is not restricted, and the output from the Program
75is covered only if its contents constitute a work based on the
76Program (independent of having been made by running the Program).
77Whether that is true depends on what the Program does.
78
79 1. You may copy and distribute verbatim copies of the Program's
80source code as you receive it, in any medium, provided that you
81conspicuously and appropriately publish on each copy an appropriate
82copyright notice and disclaimer of warranty; keep intact all the
83notices that refer to this License and to the absence of any warranty;
84and give any other recipients of the Program a copy of this License
85along with the Program.
86
87You may charge a fee for the physical act of transferring a copy, and
88you may at your option offer warranty protection in exchange for a fee.
89
90 2. You may modify your copy or copies of the Program or any portion
91of it, thus forming a work based on the Program, and copy and
92distribute such modifications or work under the terms of Section 1
93above, provided that you also meet all of these conditions:
94
95 a) You must cause the modified files to carry prominent notices
96 stating that you changed the files and the date of any change.
97
98 b) You must cause any work that you distribute or publish, that in
99 whole or in part contains or is derived from the Program or any
100 part thereof, to be licensed as a whole at no charge to all third
101 parties under the terms of this License.
102
103 c) If the modified program normally reads commands interactively
104 when run, you must cause it, when started running for such
105 interactive use in the most ordinary way, to print or display an
106 announcement including an appropriate copyright notice and a
107 notice that there is no warranty (or else, saying that you provide
108 a warranty) and that users may redistribute the program under
109 these conditions, and telling the user how to view a copy of this
110 License. (Exception: if the Program itself is interactive but
111 does not normally print such an announcement, your work based on
112 the Program is not required to print an announcement.)
113
114These requirements apply to the modified work as a whole. If
115identifiable sections of that work are not derived from the Program,
116and can be reasonably considered independent and separate works in
117themselves, then this License, and its terms, do not apply to those
118sections when you distribute them as separate works. But when you
119distribute the same sections as part of a whole which is a work based
120on the Program, the distribution of the whole must be on the terms of
121this License, whose permissions for other licensees extend to the
122entire whole, and thus to each and every part regardless of who wrote it.
123
124Thus, it is not the intent of this section to claim rights or contest
125your rights to work written entirely by you; rather, the intent is to
126exercise the right to control the distribution of derivative or
127collective works based on the Program.
128
129In addition, mere aggregation of another work not based on the Program
130with the Program (or with a work based on the Program) on a volume of
131a storage or distribution medium does not bring the other work under
132the scope of this License.
133
134 3. You may copy and distribute the Program (or a work based on it,
135under Section 2) in object code or executable form under the terms of
136Sections 1 and 2 above provided that you also do one of the following:
137
138 a) Accompany it with the complete corresponding machine-readable
139 source code, which must be distributed under the terms of Sections
140 1 and 2 above on a medium customarily used for software interchange; or,
141
142 b) Accompany it with a written offer, valid for at least three
143 years, to give any third party, for a charge no more than your
144 cost of physically performing source distribution, a complete
145 machine-readable copy of the corresponding source code, to be
146 distributed under the terms of Sections 1 and 2 above on a medium
147 customarily used for software interchange; or,
148
149 c) Accompany it with the information you received as to the offer
150 to distribute corresponding source code. (This alternative is
151 allowed only for noncommercial distribution and only if you
152 received the program in object code or executable form with such
153 an offer, in accord with Subsection b above.)
154
155The source code for a work means the preferred form of the work for
156making modifications to it. For an executable work, complete source
157code means all the source code for all modules it contains, plus any
158associated interface definition files, plus the scripts used to
159control compilation and installation of the executable. However, as a
160special exception, the source code distributed need not include
161anything that is normally distributed (in either source or binary
162form) with the major components (compiler, kernel, and so on) of the
163operating system on which the executable runs, unless that component
164itself accompanies the executable.
165
166If distribution of executable or object code is made by offering
167access to copy from a designated place, then offering equivalent
168access to copy the source code from the same place counts as
169distribution of the source code, even though third parties are not
170compelled to copy the source along with the object code.
171
172 4. You may not copy, modify, sublicense, or distribute the Program
173except as expressly provided under this License. Any attempt
174otherwise to copy, modify, sublicense or distribute the Program is
175void, and will automatically terminate your rights under this License.
176However, parties who have received copies, or rights, from you under
177this License will not have their licenses terminated so long as such
178parties remain in full compliance.
179
180 5. You are not required to accept this License, since you have not
181signed it. However, nothing else grants you permission to modify or
182distribute the Program or its derivative works. These actions are
183prohibited by law if you do not accept this License. Therefore, by
184modifying or distributing the Program (or any work based on the
185Program), you indicate your acceptance of this License to do so, and
186all its terms and conditions for copying, distributing or modifying
187the Program or works based on it.
188
189 6. Each time you redistribute the Program (or any work based on the
190Program), the recipient automatically receives a license from the
191original licensor to copy, distribute or modify the Program subject to
192these terms and conditions. You may not impose any further
193restrictions on the recipients' exercise of the rights granted herein.
194You are not responsible for enforcing compliance by third parties to
195this License.
196
197 7. If, as a consequence of a court judgment or allegation of patent
198infringement or for any other reason (not limited to patent issues),
199conditions are imposed on you (whether by court order, agreement or
200otherwise) that contradict the conditions of this License, they do not
201excuse you from the conditions of this License. If you cannot
202distribute so as to satisfy simultaneously your obligations under this
203License and any other pertinent obligations, then as a consequence you
204may not distribute the Program at all. For example, if a patent
205license would not permit royalty-free redistribution of the Program by
206all those who receive copies directly or indirectly through you, then
207the only way you could satisfy both it and this License would be to
208refrain entirely from distribution of the Program.
209
210If any portion of this section is held invalid or unenforceable under
211any particular circumstance, the balance of the section is intended to
212apply and the section as a whole is intended to apply in other
213circumstances.
214
215It is not the purpose of this section to induce you to infringe any
216patents or other property right claims or to contest validity of any
217such claims; this section has the sole purpose of protecting the
218integrity of the free software distribution system, which is
219implemented by public license practices. Many people have made
220generous contributions to the wide range of software distributed
221through that system in reliance on consistent application of that
222system; it is up to the author/donor to decide if he or she is willing
223to distribute software through any other system and a licensee cannot
224impose that choice.
225
226This section is intended to make thoroughly clear what is believed to
227be a consequence of the rest of this License.
228
229 8. If the distribution and/or use of the Program is restricted in
230certain countries either by patents or by copyrighted interfaces, the
231original copyright holder who places the Program under this License
232may add an explicit geographical distribution limitation excluding
233those countries, so that distribution is permitted only in or among
234countries not thus excluded. In such case, this License incorporates
235the limitation as if written in the body of this License.
236
237 9. The Free Software Foundation may publish revised and/or new versions
238of the General Public License from time to time. Such new versions will
239be similar in spirit to the present version, but may differ in detail to
240address new problems or concerns.
241
242Each version is given a distinguishing version number. If the Program
243specifies a version number of this License which applies to it and "any
244later version", you have the option of following the terms and conditions
245either of that version or of any later version published by the Free
246Software Foundation. If the Program does not specify a version number of
247this License, you may choose any version ever published by the Free Software
248Foundation.
249
250 10. If you wish to incorporate parts of the Program into other free
251programs whose distribution conditions are different, write to the author
252to ask for permission. For software which is copyrighted by the Free
253Software Foundation, write to the Free Software Foundation; we sometimes
254make exceptions for this. Our decision will be guided by the two goals
255of preserving the free status of all derivatives of our free software and
256of promoting the sharing and reuse of software generally.
257
258 NO WARRANTY
259
260 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268REPAIR OR CORRECTION.
269
270 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278POSSIBILITY OF SUCH DAMAGES.
279
280 END OF TERMS AND CONDITIONS
281
282 How to Apply These Terms to Your New Programs
283
284 If you develop a new program, and you want it to be of the greatest
285possible use to the public, the best way to achieve this is to make it
286free software which everyone can redistribute and change under these terms.
287
288 To do so, attach the following notices to the program. It is safest
289to attach them to the start of each source file to most effectively
290convey the exclusion of warranty; and each file should have at least
291the "copyright" line and a pointer to where the full notice is found.
292
293 <one line to give the program's name and a brief idea of what it does.>
294 Copyright (C) <year> <name of author>
295
296 This program is free software; you can redistribute it and/or modify
297 it under the terms of the GNU General Public License as published by
298 the Free Software Foundation; either version 2 of the License, or
299 (at your option) any later version.
300
301 This program is distributed in the hope that it will be useful,
302 but WITHOUT ANY WARRANTY; without even the implied warranty of
303 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304 GNU General Public License for more details.
305
306 You should have received a copy of the GNU General Public License along
307 with this program; if not, write to the Free Software Foundation, Inc.,
308 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
310Also add information on how to contact you by electronic and paper mail.
311
312If the program is interactive, make it output a short notice like this
313when it starts in an interactive mode:
314
315 Gnomovision version 69, Copyright (C) year name of author
316 Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317 This is free software, and you are welcome to redistribute it
318 under certain conditions; type `show c' for details.
319
320The hypothetical commands `show w' and `show c' should show the appropriate
321parts of the General Public License. Of course, the commands you use may
322be called something other than `show w' and `show c'; they could even be
323mouse-clicks or menu items--whatever suits your program.
324
325You should also get your employer (if you work as a programmer) or your
326school, if any, to sign a "copyright disclaimer" for the program, if
327necessary. Here is a sample; alter the names:
328
329 Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330 `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
332 <signature of Ty Coon>, 1 April 1989
333 Ty Coon, President of Vice
334
335This General Public License does not permit incorporating your program into
336proprietary programs. If your program is a subroutine library, you may
337consider it more useful to permit linking proprietary applications with the
338library. If this is what you want to do, use the GNU Lesser General
339Public License instead of this License.
diff --git a/meta/files/common-licenses/GPLv3 b/meta/files/common-licenses/GPLv3
new file mode 100644
index 0000000000..4432540474
--- /dev/null
+++ b/meta/files/common-licenses/GPLv3
@@ -0,0 +1,676 @@
1
2 GNU GENERAL PUBLIC LICENSE
3 Version 3, 29 June 2007
4
5 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9 Preamble
10
11 The GNU General Public License is a free, copyleft license for
12software and other kinds of works.
13
14 The licenses for most software and other practical works are designed
15to take away your freedom to share and change the works. By contrast,
16the GNU General Public License is intended to guarantee your freedom to
17share and change all versions of a program--to make sure it remains free
18software for all its users. We, the Free Software Foundation, use the
19GNU General Public License for most of our software; it applies also to
20any other work released this way by its authors. You can apply it to
21your programs, too.
22
23 When we speak of free software, we are referring to freedom, not
24price. Our General Public Licenses are designed to make sure that you
25have the freedom to distribute copies of free software (and charge for
26them if you wish), that you receive source code or can get it if you
27want it, that you can change the software or use pieces of it in new
28free programs, and that you know you can do these things.
29
30 To protect your rights, we need to prevent others from denying you
31these rights or asking you to surrender the rights. Therefore, you have
32certain responsibilities if you distribute copies of the software, or if
33you modify it: responsibilities to respect the freedom of others.
34
35 For example, if you distribute copies of such a program, whether
36gratis or for a fee, you must pass on to the recipients the same
37freedoms that you received. You must make sure that they, too, receive
38or can get the source code. And you must show them these terms so they
39know their rights.
40
41 Developers that use the GNU GPL protect your rights with two steps:
42(1) assert copyright on the software, and (2) offer you this License
43giving you legal permission to copy, distribute and/or modify it.
44
45 For the developers' and authors' protection, the GPL clearly explains
46that there is no warranty for this free software. For both users' and
47authors' sake, the GPL requires that modified versions be marked as
48changed, so that their problems will not be attributed erroneously to
49authors of previous versions.
50
51 Some devices are designed to deny users access to install or run
52modified versions of the software inside them, although the manufacturer
53can do so. This is fundamentally incompatible with the aim of
54protecting users' freedom to change the software. The systematic
55pattern of such abuse occurs in the area of products for individuals to
56use, which is precisely where it is most unacceptable. Therefore, we
57have designed this version of the GPL to prohibit the practice for those
58products. If such problems arise substantially in other domains, we
59stand ready to extend this provision to those domains in future versions
60of the GPL, as needed to protect the freedom of users.
61
62 Finally, every program is threatened constantly by software patents.
63States should not allow patents to restrict development and use of
64software on general-purpose computers, but in those that do, we wish to
65avoid the special danger that patents applied to a free program could
66make it effectively proprietary. To prevent this, the GPL assures that
67patents cannot be used to render the program non-free.
68
69 The precise terms and conditions for copying, distribution and
70modification follow.
71
72 TERMS AND CONDITIONS
73
74 0. Definitions.
75
76 "This License" refers to version 3 of the GNU General Public License.
77
78 "Copyright" also means copyright-like laws that apply to other kinds of
79works, such as semiconductor masks.
80
81 "The Program" refers to any copyrightable work licensed under this
82License. Each licensee is addressed as "you". "Licensees" and
83"recipients" may be individuals or organizations.
84
85 To "modify" a work means to copy from or adapt all or part of the work
86in a fashion requiring copyright permission, other than the making of an
87exact copy. The resulting work is called a "modified version" of the
88earlier work or a work "based on" the earlier work.
89
90 A "covered work" means either the unmodified Program or a work based
91on the Program.
92
93 To "propagate" a work means to do anything with it that, without
94permission, would make you directly or secondarily liable for
95infringement under applicable copyright law, except executing it on a
96computer or modifying a private copy. Propagation includes copying,
97distribution (with or without modification), making available to the
98public, and in some countries other activities as well.
99
100 To "convey" a work means any kind of propagation that enables other
101parties to make or receive copies. Mere interaction with a user through
102a computer network, with no transfer of a copy, is not conveying.
103
104 An interactive user interface displays "Appropriate Legal Notices"
105to the extent that it includes a convenient and prominently visible
106feature that (1) displays an appropriate copyright notice, and (2)
107tells the user that there is no warranty for the work (except to the
108extent that warranties are provided), that licensees may convey the
109work under this License, and how to view a copy of this License. If
110the interface presents a list of user commands or options, such as a
111menu, a prominent item in the list meets this criterion.
112
113 1. Source Code.
114
115 The "source code" for a work means the preferred form of the work
116for making modifications to it. "Object code" means any non-source
117form of a work.
118
119 A "Standard Interface" means an interface that either is an official
120standard defined by a recognized standards body, or, in the case of
121interfaces specified for a particular programming language, one that
122is widely used among developers working in that language.
123
124 The "System Libraries" of an executable work include anything, other
125than the work as a whole, that (a) is included in the normal form of
126packaging a Major Component, but which is not part of that Major
127Component, and (b) serves only to enable use of the work with that
128Major Component, or to implement a Standard Interface for which an
129implementation is available to the public in source code form. A
130"Major Component", in this context, means a major essential component
131(kernel, window system, and so on) of the specific operating system
132(if any) on which the executable work runs, or a compiler used to
133produce the work, or an object code interpreter used to run it.
134
135 The "Corresponding Source" for a work in object code form means all
136the source code needed to generate, install, and (for an executable
137work) run the object code and to modify the work, including scripts to
138control those activities. However, it does not include the work's
139System Libraries, or general-purpose tools or generally available free
140programs which are used unmodified in performing those activities but
141which are not part of the work. For example, Corresponding Source
142includes interface definition files associated with source files for
143the work, and the source code for shared libraries and dynamically
144linked subprograms that the work is specifically designed to require,
145such as by intimate data communication or control flow between those
146subprograms and other parts of the work.
147
148 The Corresponding Source need not include anything that users
149can regenerate automatically from other parts of the Corresponding
150Source.
151
152 The Corresponding Source for a work in source code form is that
153same work.
154
155 2. Basic Permissions.
156
157 All rights granted under this License are granted for the term of
158copyright on the Program, and are irrevocable provided the stated
159conditions are met. This License explicitly affirms your unlimited
160permission to run the unmodified Program. The output from running a
161covered work is covered by this License only if the output, given its
162content, constitutes a covered work. This License acknowledges your
163rights of fair use or other equivalent, as provided by copyright law.
164
165 You may make, run and propagate covered works that you do not
166convey, without conditions so long as your license otherwise remains
167in force. You may convey covered works to others for the sole purpose
168of having them make modifications exclusively for you, or provide you
169with facilities for running those works, provided that you comply with
170the terms of this License in conveying all material for which you do
171not control copyright. Those thus making or running the covered works
172for you must do so exclusively on your behalf, under your direction
173and control, on terms that prohibit them from making any copies of
174your copyrighted material outside their relationship with you.
175
176 Conveying under any other circumstances is permitted solely under
177the conditions stated below. Sublicensing is not allowed; section 10
178makes it unnecessary.
179
180 3. Protecting Users' Legal Rights From Anti-Circumvention Law.
181
182 No covered work shall be deemed part of an effective technological
183measure under any applicable law fulfilling obligations under article
18411 of the WIPO copyright treaty adopted on 20 December 1996, or
185similar laws prohibiting or restricting circumvention of such
186measures.
187
188 When you convey a covered work, you waive any legal power to forbid
189circumvention of technological measures to the extent such circumvention
190is effected by exercising rights under this License with respect to
191the covered work, and you disclaim any intention to limit operation or
192modification of the work as a means of enforcing, against the work's
193users, your or third parties' legal rights to forbid circumvention of
194technological measures.
195
196 4. Conveying Verbatim Copies.
197
198 You may convey verbatim copies of the Program's source code as you
199receive it, in any medium, provided that you conspicuously and
200appropriately publish on each copy an appropriate copyright notice;
201keep intact all notices stating that this License and any
202non-permissive terms added in accord with section 7 apply to the code;
203keep intact all notices of the absence of any warranty; and give all
204recipients a copy of this License along with the Program.
205
206 You may charge any price or no price for each copy that you convey,
207and you may offer support or warranty protection for a fee.
208
209 5. Conveying Modified Source Versions.
210
211 You may convey a work based on the Program, or the modifications to
212produce it from the Program, in the form of source code under the
213terms of section 4, provided that you also meet all of these conditions:
214
215 a) The work must carry prominent notices stating that you modified
216 it, and giving a relevant date.
217
218 b) The work must carry prominent notices stating that it is
219 released under this License and any conditions added under section
220 7. This requirement modifies the requirement in section 4 to
221 "keep intact all notices".
222
223 c) You must license the entire work, as a whole, under this
224 License to anyone who comes into possession of a copy. This
225 License will therefore apply, along with any applicable section 7
226 additional terms, to the whole of the work, and all its parts,
227 regardless of how they are packaged. This License gives no
228 permission to license the work in any other way, but it does not
229 invalidate such permission if you have separately received it.
230
231 d) If the work has interactive user interfaces, each must display
232 Appropriate Legal Notices; however, if the Program has interactive
233 interfaces that do not display Appropriate Legal Notices, your
234 work need not make them do so.
235
236 A compilation of a covered work with other separate and independent
237works, which are not by their nature extensions of the covered work,
238and which are not combined with it such as to form a larger program,
239in or on a volume of a storage or distribution medium, is called an
240"aggregate" if the compilation and its resulting copyright are not
241used to limit the access or legal rights of the compilation's users
242beyond what the individual works permit. Inclusion of a covered work
243in an aggregate does not cause this License to apply to the other
244parts of the aggregate.
245
246 6. Conveying Non-Source Forms.
247
248 You may convey a covered work in object code form under the terms
249of sections 4 and 5, provided that you also convey the
250machine-readable Corresponding Source under the terms of this License,
251in one of these ways:
252
253 a) Convey the object code in, or embodied in, a physical product
254 (including a physical distribution medium), accompanied by the
255 Corresponding Source fixed on a durable physical medium
256 customarily used for software interchange.
257
258 b) Convey the object code in, or embodied in, a physical product
259 (including a physical distribution medium), accompanied by a
260 written offer, valid for at least three years and valid for as
261 long as you offer spare parts or customer support for that product
262 model, to give anyone who possesses the object code either (1) a
263 copy of the Corresponding Source for all the software in the
264 product that is covered by this License, on a durable physical
265 medium customarily used for software interchange, for a price no
266 more than your reasonable cost of physically performing this
267 conveying of source, or (2) access to copy the
268 Corresponding Source from a network server at no charge.
269
270 c) Convey individual copies of the object code with a copy of the
271 written offer to provide the Corresponding Source. This
272 alternative is allowed only occasionally and noncommercially, and
273 only if you received the object code with such an offer, in accord
274 with subsection 6b.
275
276 d) Convey the object code by offering access from a designated
277 place (gratis or for a charge), and offer equivalent access to the
278 Corresponding Source in the same way through the same place at no
279 further charge. You need not require recipients to copy the
280 Corresponding Source along with the object code. If the place to
281 copy the object code is a network server, the Corresponding Source
282 may be on a different server (operated by you or a third party)
283 that supports equivalent copying facilities, provided you maintain
284 clear directions next to the object code saying where to find the
285 Corresponding Source. Regardless of what server hosts the
286 Corresponding Source, you remain obligated to ensure that it is
287 available for as long as needed to satisfy these requirements.
288
289 e) Convey the object code using peer-to-peer transmission, provided
290 you inform other peers where the object code and Corresponding
291 Source of the work are being offered to the general public at no
292 charge under subsection 6d.
293
294 A separable portion of the object code, whose source code is excluded
295from the Corresponding Source as a System Library, need not be
296included in conveying the object code work.
297
298 A "User Product" is either (1) a "consumer product", which means any
299tangible personal property which is normally used for personal, family,
300or household purposes, or (2) anything designed or sold for incorporation
301into a dwelling. In determining whether a product is a consumer product,
302doubtful cases shall be resolved in favor of coverage. For a particular
303product received by a particular user, "normally used" refers to a
304typical or common use of that class of product, regardless of the status
305of the particular user or of the way in which the particular user
306actually uses, or expects or is expected to use, the product. A product
307is a consumer product regardless of whether the product has substantial
308commercial, industrial or non-consumer uses, unless such uses represent
309the only significant mode of use of the product.
310
311 "Installation Information" for a User Product means any methods,
312procedures, authorization keys, or other information required to install
313and execute modified versions of a covered work in that User Product from
314a modified version of its Corresponding Source. The information must
315suffice to ensure that the continued functioning of the modified object
316code is in no case prevented or interfered with solely because
317modification has been made.
318
319 If you convey an object code work under this section in, or with, or
320specifically for use in, a User Product, and the conveying occurs as
321part of a transaction in which the right of possession and use of the
322User Product is transferred to the recipient in perpetuity or for a
323fixed term (regardless of how the transaction is characterized), the
324Corresponding Source conveyed under this section must be accompanied
325by the Installation Information. But this requirement does not apply
326if neither you nor any third party retains the ability to install
327modified object code on the User Product (for example, the work has
328been installed in ROM).
329
330 The requirement to provide Installation Information does not include a
331requirement to continue to provide support service, warranty, or updates
332for a work that has been modified or installed by the recipient, or for
333the User Product in which it has been modified or installed. Access to a
334network may be denied when the modification itself materially and
335adversely affects the operation of the network or violates the rules and
336protocols for communication across the network.
337
338 Corresponding Source conveyed, and Installation Information provided,
339in accord with this section must be in a format that is publicly
340documented (and with an implementation available to the public in
341source code form), and must require no special password or key for
342unpacking, reading or copying.
343
344 7. Additional Terms.
345
346 "Additional permissions" are terms that supplement the terms of this
347License by making exceptions from one or more of its conditions.
348Additional permissions that are applicable to the entire Program shall
349be treated as though they were included in this License, to the extent
350that they are valid under applicable law. If additional permissions
351apply only to part of the Program, that part may be used separately
352under those permissions, but the entire Program remains governed by
353this License without regard to the additional permissions.
354
355 When you convey a copy of a covered work, you may at your option
356remove any additional permissions from that copy, or from any part of
357it. (Additional permissions may be written to require their own
358removal in certain cases when you modify the work.) You may place
359additional permissions on material, added by you to a covered work,
360for which you have or can give appropriate copyright permission.
361
362 Notwithstanding any other provision of this License, for material you
363add to a covered work, you may (if authorized by the copyright holders of
364that material) supplement the terms of this License with terms:
365
366 a) Disclaiming warranty or limiting liability differently from the
367 terms of sections 15 and 16 of this License; or
368
369 b) Requiring preservation of specified reasonable legal notices or
370 author attributions in that material or in the Appropriate Legal
371 Notices displayed by works containing it; or
372
373 c) Prohibiting misrepresentation of the origin of that material, or
374 requiring that modified versions of such material be marked in
375 reasonable ways as different from the original version; or
376
377 d) Limiting the use for publicity purposes of names of licensors or
378 authors of the material; or
379
380 e) Declining to grant rights under trademark law for use of some
381 trade names, trademarks, or service marks; or
382
383 f) Requiring indemnification of licensors and authors of that
384 material by anyone who conveys the material (or modified versions of
385 it) with contractual assumptions of liability to the recipient, for
386 any liability that these contractual assumptions directly impose on
387 those licensors and authors.
388
389 All other non-permissive additional terms are considered "further
390restrictions" within the meaning of section 10. If the Program as you
391received it, or any part of it, contains a notice stating that it is
392governed by this License along with a term that is a further
393restriction, you may remove that term. If a license document contains
394a further restriction but permits relicensing or conveying under this
395License, you may add to a covered work material governed by the terms
396of that license document, provided that the further restriction does
397not survive such relicensing or conveying.
398
399 If you add terms to a covered work in accord with this section, you
400must place, in the relevant source files, a statement of the
401additional terms that apply to those files, or a notice indicating
402where to find the applicable terms.
403
404 Additional terms, permissive or non-permissive, may be stated in the
405form of a separately written license, or stated as exceptions;
406the above requirements apply either way.
407
408 8. Termination.
409
410 You may not propagate or modify a covered work except as expressly
411provided under this License. Any attempt otherwise to propagate or
412modify it is void, and will automatically terminate your rights under
413this License (including any patent licenses granted under the third
414paragraph of section 11).
415
416 However, if you cease all violation of this License, then your
417license from a particular copyright holder is reinstated (a)
418provisionally, unless and until the copyright holder explicitly and
419finally terminates your license, and (b) permanently, if the copyright
420holder fails to notify you of the violation by some reasonable means
421prior to 60 days after the cessation.
422
423 Moreover, your license from a particular copyright holder is
424reinstated permanently if the copyright holder notifies you of the
425violation by some reasonable means, this is the first time you have
426received notice of violation of this License (for any work) from that
427copyright holder, and you cure the violation prior to 30 days after
428your receipt of the notice.
429
430 Termination of your rights under this section does not terminate the
431licenses of parties who have received copies or rights from you under
432this License. If your rights have been terminated and not permanently
433reinstated, you do not qualify to receive new licenses for the same
434material under section 10.
435
436 9. Acceptance Not Required for Having Copies.
437
438 You are not required to accept this License in order to receive or
439run a copy of the Program. Ancillary propagation of a covered work
440occurring solely as a consequence of using peer-to-peer transmission
441to receive a copy likewise does not require acceptance. However,
442nothing other than this License grants you permission to propagate or
443modify any covered work. These actions infringe copyright if you do
444not accept this License. Therefore, by modifying or propagating a
445covered work, you indicate your acceptance of this License to do so.
446
447 10. Automatic Licensing of Downstream Recipients.
448
449 Each time you convey a covered work, the recipient automatically
450receives a license from the original licensors, to run, modify and
451propagate that work, subject to this License. You are not responsible
452for enforcing compliance by third parties with this License.
453
454 An "entity transaction" is a transaction transferring control of an
455organization, or substantially all assets of one, or subdividing an
456organization, or merging organizations. If propagation of a covered
457work results from an entity transaction, each party to that
458transaction who receives a copy of the work also receives whatever
459licenses to the work the party's predecessor in interest had or could
460give under the previous paragraph, plus a right to possession of the
461Corresponding Source of the work from the predecessor in interest, if
462the predecessor has it or can get it with reasonable efforts.
463
464 You may not impose any further restrictions on the exercise of the
465rights granted or affirmed under this License. For example, you may
466not impose a license fee, royalty, or other charge for exercise of
467rights granted under this License, and you may not initiate litigation
468(including a cross-claim or counterclaim in a lawsuit) alleging that
469any patent claim is infringed by making, using, selling, offering for
470sale, or importing the Program or any portion of it.
471
472 11. Patents.
473
474 A "contributor" is a copyright holder who authorizes use under this
475License of the Program or a work on which the Program is based. The
476work thus licensed is called the contributor's "contributor version".
477
478 A contributor's "essential patent claims" are all patent claims
479owned or controlled by the contributor, whether already acquired or
480hereafter acquired, that would be infringed by some manner, permitted
481by this License, of making, using, or selling its contributor version,
482but do not include claims that would be infringed only as a
483consequence of further modification of the contributor version. For
484purposes of this definition, "control" includes the right to grant
485patent sublicenses in a manner consistent with the requirements of
486this License.
487
488 Each contributor grants you a non-exclusive, worldwide, royalty-free
489patent license under the contributor's essential patent claims, to
490make, use, sell, offer for sale, import and otherwise run, modify and
491propagate the contents of its contributor version.
492
493 In the following three paragraphs, a "patent license" is any express
494agreement or commitment, however denominated, not to enforce a patent
495(such as an express permission to practice a patent or covenant not to
496sue for patent infringement). To "grant" such a patent license to a
497party means to make such an agreement or commitment not to enforce a
498patent against the party.
499
500 If you convey a covered work, knowingly relying on a patent license,
501and the Corresponding Source of the work is not available for anyone
502to copy, free of charge and under the terms of this License, through a
503publicly available network server or other readily accessible means,
504then you must either (1) cause the Corresponding Source to be so
505available, or (2) arrange to deprive yourself of the benefit of the
506patent license for this particular work, or (3) arrange, in a manner
507consistent with the requirements of this License, to extend the patent
508license to downstream recipients. "Knowingly relying" means you have
509actual knowledge that, but for the patent license, your conveying the
510covered work in a country, or your recipient's use of the covered work
511in a country, would infringe one or more identifiable patents in that
512country that you have reason to believe are valid.
513
514 If, pursuant to or in connection with a single transaction or
515arrangement, you convey, or propagate by procuring conveyance of, a
516covered work, and grant a patent license to some of the parties
517receiving the covered work authorizing them to use, propagate, modify
518or convey a specific copy of the covered work, then the patent license
519you grant is automatically extended to all recipients of the covered
520work and works based on it.
521
522 A patent license is "discriminatory" if it does not include within
523the scope of its coverage, prohibits the exercise of, or is
524conditioned on the non-exercise of one or more of the rights that are
525specifically granted under this License. You may not convey a covered
526work if you are a party to an arrangement with a third party that is
527in the business of distributing software, under which you make payment
528to the third party based on the extent of your activity of conveying
529the work, and under which the third party grants, to any of the
530parties who would receive the covered work from you, a discriminatory
531patent license (a) in connection with copies of the covered work
532conveyed by you (or copies made from those copies), or (b) primarily
533for and in connection with specific products or compilations that
534contain the covered work, unless you entered into that arrangement,
535or that patent license was granted, prior to 28 March 2007.
536
537 Nothing in this License shall be construed as excluding or limiting
538any implied license or other defenses to infringement that may
539otherwise be available to you under applicable patent law.
540
541 12. No Surrender of Others' Freedom.
542
543 If conditions are imposed on you (whether by court order, agreement or
544otherwise) that contradict the conditions of this License, they do not
545excuse you from the conditions of this License. If you cannot convey a
546covered work so as to satisfy simultaneously your obligations under this
547License and any other pertinent obligations, then as a consequence you may
548not convey it at all. For example, if you agree to terms that obligate you
549to collect a royalty for further conveying from those to whom you convey
550the Program, the only way you could satisfy both those terms and this
551License would be to refrain entirely from conveying the Program.
552
553 13. Use with the GNU Affero General Public License.
554
555 Notwithstanding any other provision of this License, you have
556permission to link or combine any covered work with a work licensed
557under version 3 of the GNU Affero General Public License into a single
558combined work, and to convey the resulting work. The terms of this
559License will continue to apply to the part which is the covered work,
560but the special requirements of the GNU Affero General Public License,
561section 13, concerning interaction through a network will apply to the
562combination as such.
563
564 14. Revised Versions of this License.
565
566 The Free Software Foundation may publish revised and/or new versions of
567the GNU General Public License from time to time. Such new versions will
568be similar in spirit to the present version, but may differ in detail to
569address new problems or concerns.
570
571 Each version is given a distinguishing version number. If the
572Program specifies that a certain numbered version of the GNU General
573Public License "or any later version" applies to it, you have the
574option of following the terms and conditions either of that numbered
575version or of any later version published by the Free Software
576Foundation. If the Program does not specify a version number of the
577GNU General Public License, you may choose any version ever published
578by the Free Software Foundation.
579
580 If the Program specifies that a proxy can decide which future
581versions of the GNU General Public License can be used, that proxy's
582public statement of acceptance of a version permanently authorizes you
583to choose that version for the Program.
584
585 Later license versions may give you additional or different
586permissions. However, no additional obligations are imposed on any
587author or copyright holder as a result of your choosing to follow a
588later version.
589
590 15. Disclaimer of Warranty.
591
592 THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY
593APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT
594HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY
595OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
596THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
597PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM
598IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF
599ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
600
601 16. Limitation of Liability.
602
603 IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
604WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS
605THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY
606GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE
607USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF
608DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD
609PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),
610EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF
611SUCH DAMAGES.
612
613 17. Interpretation of Sections 15 and 16.
614
615 If the disclaimer of warranty and limitation of liability provided
616above cannot be given local legal effect according to their terms,
617reviewing courts shall apply local law that most closely approximates
618an absolute waiver of all civil liability in connection with the
619Program, unless a warranty or assumption of liability accompanies a
620copy of the Program in return for a fee.
621
622 END OF TERMS AND CONDITIONS
623
624 How to Apply These Terms to Your New Programs
625
626 If you develop a new program, and you want it to be of the greatest
627possible use to the public, the best way to achieve this is to make it
628free software which everyone can redistribute and change under these terms.
629
630 To do so, attach the following notices to the program. It is safest
631to attach them to the start of each source file to most effectively
632state the exclusion of warranty; and each file should have at least
633the "copyright" line and a pointer to where the full notice is found.
634
635 <one line to give the program's name and a brief idea of what it does.>
636 Copyright (C) <year> <name of author>
637
638 This program is free software: you can redistribute it and/or modify
639 it under the terms of the GNU General Public License as published by
640 the Free Software Foundation, either version 3 of the License, or
641 (at your option) any later version.
642
643 This program is distributed in the hope that it will be useful,
644 but WITHOUT ANY WARRANTY; without even the implied warranty of
645 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
646 GNU General Public License for more details.
647
648 You should have received a copy of the GNU General Public License
649 along with this program. If not, see <http://www.gnu.org/licenses/>.
650
651Also add information on how to contact you by electronic and paper mail.
652
653 If the program does terminal interaction, make it output a short
654notice like this when it starts in an interactive mode:
655
656 <program> Copyright (C) <year> <name of author>
657 This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
658 This is free software, and you are welcome to redistribute it
659 under certain conditions; type `show c' for details.
660
661The hypothetical commands `show w' and `show c' should show the appropriate
662parts of the General Public License. Of course, your program's commands
663might be different; for a GUI interface, you would use an "about box".
664
665 You should also get your employer (if you work as a programmer) or school,
666if any, to sign a "copyright disclaimer" for the program, if necessary.
667For more information on this, and how to apply and follow the GNU GPL, see
668<http://www.gnu.org/licenses/>.
669
670 The GNU General Public License does not permit incorporating your program
671into proprietary programs. If your program is a subroutine library, you
672may consider it more useful to permit linking proprietary applications with
673the library. If this is what you want to do, use the GNU Lesser General
674Public License instead of this License. But first, please read
675<http://www.gnu.org/philosophy/why-not-lgpl.html>.
676
diff --git a/meta/files/common-licenses/LGPL b/meta/files/common-licenses/LGPL
new file mode 100644
index 0000000000..fc8a5de7ed
--- /dev/null
+++ b/meta/files/common-licenses/LGPL
@@ -0,0 +1,165 @@
1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007
3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8
9 This version of the GNU Lesser General Public License incorporates
10the terms and conditions of version 3 of the GNU General Public
11License, supplemented by the additional permissions listed below.
12
13 0. Additional Definitions.
14
15 As used herein, "this License" refers to version 3 of the GNU Lesser
16General Public License, and the "GNU GPL" refers to version 3 of the GNU
17General Public License.
18
19 "The Library" refers to a covered work governed by this License,
20other than an Application or a Combined Work as defined below.
21
22 An "Application" is any work that makes use of an interface provided
23by the Library, but which is not otherwise based on the Library.
24Defining a subclass of a class defined by the Library is deemed a mode
25of using an interface provided by the Library.
26
27 A "Combined Work" is a work produced by combining or linking an
28Application with the Library. The particular version of the Library
29with which the Combined Work was made is also called the "Linked
30Version".
31
32 The "Minimal Corresponding Source" for a Combined Work means the
33Corresponding Source for the Combined Work, excluding any source code
34for portions of the Combined Work that, considered in isolation, are
35based on the Application, and not on the Linked Version.
36
37 The "Corresponding Application Code" for a Combined Work means the
38object code and/or source code for the Application, including any data
39and utility programs needed for reproducing the Combined Work from the
40Application, but excluding the System Libraries of the Combined Work.
41
42 1. Exception to Section 3 of the GNU GPL.
43
44 You may convey a covered work under sections 3 and 4 of this License
45without being bound by section 3 of the GNU GPL.
46
47 2. Conveying Modified Versions.
48
49 If you modify a copy of the Library, and, in your modifications, a
50facility refers to a function or data to be supplied by an Application
51that uses the facility (other than as an argument passed when the
52facility is invoked), then you may convey a copy of the modified
53version:
54
55 a) under this License, provided that you make a good faith effort to
56 ensure that, in the event an Application does not supply the
57 function or data, the facility still operates, and performs
58 whatever part of its purpose remains meaningful, or
59
60 b) under the GNU GPL, with none of the additional permissions of
61 this License applicable to that copy.
62
63 3. Object Code Incorporating Material from Library Header Files.
64
65 The object code form of an Application may incorporate material from
66a header file that is part of the Library. You may convey such object
67code under terms of your choice, provided that, if the incorporated
68material is not limited to numerical parameters, data structure
69layouts and accessors, or small macros, inline functions and templates
70(ten or fewer lines in length), you do both of the following:
71
72 a) Give prominent notice with each copy of the object code that the
73 Library is used in it and that the Library and its use are
74 covered by this License.
75
76 b) Accompany the object code with a copy of the GNU GPL and this license
77 document.
78
79 4. Combined Works.
80
81 You may convey a Combined Work under terms of your choice that,
82taken together, effectively do not restrict modification of the
83portions of the Library contained in the Combined Work and reverse
84engineering for debugging such modifications, if you also do each of
85the following:
86
87 a) Give prominent notice with each copy of the Combined Work that
88 the Library is used in it and that the Library and its use are
89 covered by this License.
90
91 b) Accompany the Combined Work with a copy of the GNU GPL and this license
92 document.
93
94 c) For a Combined Work that displays copyright notices during
95 execution, include the copyright notice for the Library among
96 these notices, as well as a reference directing the user to the
97 copies of the GNU GPL and this license document.
98
99 d) Do one of the following:
100
101 0) Convey the Minimal Corresponding Source under the terms of this
102 License, and the Corresponding Application Code in a form
103 suitable for, and under terms that permit, the user to
104 recombine or relink the Application with a modified version of
105 the Linked Version to produce a modified Combined Work, in the
106 manner specified by section 6 of the GNU GPL for conveying
107 Corresponding Source.
108
109 1) Use a suitable shared library mechanism for linking with the
110 Library. A suitable mechanism is one that (a) uses at run time
111 a copy of the Library already present on the user's computer
112 system, and (b) will operate properly with a modified version
113 of the Library that is interface-compatible with the Linked
114 Version.
115
116 e) Provide Installation Information, but only if you would otherwise
117 be required to provide such information under section 6 of the
118 GNU GPL, and only to the extent that such information is
119 necessary to install and execute a modified version of the
120 Combined Work produced by recombining or relinking the
121 Application with a modified version of the Linked Version. (If
122 you use option 4d0, the Installation Information must accompany
123 the Minimal Corresponding Source and Corresponding Application
124 Code. If you use option 4d1, you must provide the Installation
125 Information in the manner specified by section 6 of the GNU GPL
126 for conveying Corresponding Source.)
127
128 5. Combined Libraries.
129
130 You may place library facilities that are a work based on the
131Library side by side in a single library together with other library
132facilities that are not Applications and are not covered by this
133License, and convey such a combined library under terms of your
134choice, if you do both of the following:
135
136 a) Accompany the combined library with a copy of the same work based
137 on the Library, uncombined with any other library facilities,
138 conveyed under the terms of this License.
139
140 b) Give prominent notice with the combined library that part of it
141 is a work based on the Library, and explaining where to find the
142 accompanying uncombined form of the same work.
143
144 6. Revised Versions of the GNU Lesser General Public License.
145
146 The Free Software Foundation may publish revised and/or new versions
147of the GNU Lesser General Public License from time to time. Such new
148versions will be similar in spirit to the present version, but may
149differ in detail to address new problems or concerns.
150
151 Each version is given a distinguishing version number. If the
152Library as you received it specifies that a certain numbered version
153of the GNU Lesser General Public License "or any later version"
154applies to it, you have the option of following the terms and
155conditions either of that published version or of any later version
156published by the Free Software Foundation. If the Library as you
157received it does not specify a version number of the GNU Lesser
158General Public License, you may choose any version of the GNU Lesser
159General Public License ever published by the Free Software Foundation.
160
161 If the Library as you received it specifies that a proxy can decide
162whether future versions of the GNU Lesser General Public License shall
163apply, that proxy's public statement of acceptance of any version is
164permanent authorization for you to choose that version for the
165Library.
diff --git a/meta/files/common-licenses/LGPLv2 b/meta/files/common-licenses/LGPLv2
new file mode 100644
index 0000000000..2676d08aec
--- /dev/null
+++ b/meta/files/common-licenses/LGPLv2
@@ -0,0 +1,481 @@
1 GNU LIBRARY GENERAL PUBLIC LICENSE
2 Version 2, June 1991
3
4 Copyright (C) 1991 Free Software Foundation, Inc.
5 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
6 Everyone is permitted to copy and distribute verbatim copies
7 of this license document, but changing it is not allowed.
8
9[This is the first released version of the library GPL. It is
10 numbered 2 because it goes with version 2 of the ordinary GPL.]
11
12 Preamble
13
14 The licenses for most software are designed to take away your
15freedom to share and change it. By contrast, the GNU General Public
16Licenses are intended to guarantee your freedom to share and change
17free software--to make sure the software is free for all its users.
18
19 This license, the Library General Public License, applies to some
20specially designated Free Software Foundation software, and to any
21other libraries whose authors decide to use it. You can use it for
22your libraries, too.
23
24 When we speak of free software, we are referring to freedom, not
25price. Our General Public Licenses are designed to make sure that you
26have the freedom to distribute copies of free software (and charge for
27this service if you wish), that you receive source code or can get it
28if you want it, that you can change the software or use pieces of it
29in new free programs; and that you know you can do these things.
30
31 To protect your rights, we need to make restrictions that forbid
32anyone to deny you these rights or to ask you to surrender the rights.
33These restrictions translate to certain responsibilities for you if
34you distribute copies of the library, or if you modify it.
35
36 For example, if you distribute copies of the library, whether gratis
37or for a fee, you must give the recipients all the rights that we gave
38you. You must make sure that they, too, receive or can get the source
39code. If you link a program with the library, you must provide
40complete object files to the recipients so that they can relink them
41with the library, after making changes to the library and recompiling
42it. And you must show them these terms so they know their rights.
43
44 Our method of protecting your rights has two steps: (1) copyright
45the library, and (2) offer you this license which gives you legal
46permission to copy, distribute and/or modify the library.
47
48 Also, for each distributor's protection, we want to make certain
49that everyone understands that there is no warranty for this free
50library. If the library is modified by someone else and passed on, we
51want its recipients to know that what they have is not the original
52version, so that any problems introduced by others will not reflect on
53the original authors' reputations.
54
55 Finally, any free program is threatened constantly by software
56patents. We wish to avoid the danger that companies distributing free
57software will individually obtain patent licenses, thus in effect
58transforming the program into proprietary software. To prevent this,
59we have made it clear that any patent must be licensed for everyone's
60free use or not licensed at all.
61
62 Most GNU software, including some libraries, is covered by the ordinary
63GNU General Public License, which was designed for utility programs. This
64license, the GNU Library General Public License, applies to certain
65designated libraries. This license is quite different from the ordinary
66one; be sure to read it in full, and don't assume that anything in it is
67the same as in the ordinary license.
68
69 The reason we have a separate public license for some libraries is that
70they blur the distinction we usually make between modifying or adding to a
71program and simply using it. Linking a program with a library, without
72changing the library, is in some sense simply using the library, and is
73analogous to running a utility program or application program. However, in
74a textual and legal sense, the linked executable is a combined work, a
75derivative of the original library, and the ordinary General Public License
76treats it as such.
77
78 Because of this blurred distinction, using the ordinary General
79Public License for libraries did not effectively promote software
80sharing, because most developers did not use the libraries. We
81concluded that weaker conditions might promote sharing better.
82
83 However, unrestricted linking of non-free programs would deprive the
84users of those programs of all benefit from the free status of the
85libraries themselves. This Library General Public License is intended to
86permit developers of non-free programs to use free libraries, while
87preserving your freedom as a user of such programs to change the free
88libraries that are incorporated in them. (We have not seen how to achieve
89this as regards changes in header files, but we have achieved it as regards
90changes in the actual functions of the Library.) The hope is that this
91will lead to faster development of free libraries.
92
93 The precise terms and conditions for copying, distribution and
94modification follow. Pay close attention to the difference between a
95"work based on the library" and a "work that uses the library". The
96former contains code derived from the library, while the latter only
97works together with the library.
98
99 Note that it is possible for a library to be covered by the ordinary
100General Public License rather than by this special one.
101
102 GNU LIBRARY GENERAL PUBLIC LICENSE
103 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
104
105 0. This License Agreement applies to any software library which
106contains a notice placed by the copyright holder or other authorized
107party saying it may be distributed under the terms of this Library
108General Public License (also called "this License"). Each licensee is
109addressed as "you".
110
111 A "library" means a collection of software functions and/or data
112prepared so as to be conveniently linked with application programs
113(which use some of those functions and data) to form executables.
114
115 The "Library", below, refers to any such software library or work
116which has been distributed under these terms. A "work based on the
117Library" means either the Library or any derivative work under
118copyright law: that is to say, a work containing the Library or a
119portion of it, either verbatim or with modifications and/or translated
120straightforwardly into another language. (Hereinafter, translation is
121included without limitation in the term "modification".)
122
123 "Source code" for a work means the preferred form of the work for
124making modifications to it. For a library, complete source code means
125all the source code for all modules it contains, plus any associated
126interface definition files, plus the scripts used to control compilation
127and installation of the library.
128
129 Activities other than copying, distribution and modification are not
130covered by this License; they are outside its scope. The act of
131running a program using the Library is not restricted, and output from
132such a program is covered only if its contents constitute a work based
133on the Library (independent of the use of the Library in a tool for
134writing it). Whether that is true depends on what the Library does
135and what the program that uses the Library does.
136
137 1. You may copy and distribute verbatim copies of the Library's
138complete source code as you receive it, in any medium, provided that
139you conspicuously and appropriately publish on each copy an
140appropriate copyright notice and disclaimer of warranty; keep intact
141all the notices that refer to this License and to the absence of any
142warranty; and distribute a copy of this License along with the
143Library.
144
145 You may charge a fee for the physical act of transferring a copy,
146and you may at your option offer warranty protection in exchange for a
147fee.
148
149 2. You may modify your copy or copies of the Library or any portion
150of it, thus forming a work based on the Library, and copy and
151distribute such modifications or work under the terms of Section 1
152above, provided that you also meet all of these conditions:
153
154 a) The modified work must itself be a software library.
155
156 b) You must cause the files modified to carry prominent notices
157 stating that you changed the files and the date of any change.
158
159 c) You must cause the whole of the work to be licensed at no
160 charge to all third parties under the terms of this License.
161
162 d) If a facility in the modified Library refers to a function or a
163 table of data to be supplied by an application program that uses
164 the facility, other than as an argument passed when the facility
165 is invoked, then you must make a good faith effort to ensure that,
166 in the event an application does not supply such function or
167 table, the facility still operates, and performs whatever part of
168 its purpose remains meaningful.
169
170 (For example, a function in a library to compute square roots has
171 a purpose that is entirely well-defined independent of the
172 application. Therefore, Subsection 2d requires that any
173 application-supplied function or table used by this function must
174 be optional: if the application does not supply it, the square
175 root function must still compute square roots.)
176
177These requirements apply to the modified work as a whole. If
178identifiable sections of that work are not derived from the Library,
179and can be reasonably considered independent and separate works in
180themselves, then this License, and its terms, do not apply to those
181sections when you distribute them as separate works. But when you
182distribute the same sections as part of a whole which is a work based
183on the Library, the distribution of the whole must be on the terms of
184this License, whose permissions for other licensees extend to the
185entire 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
189your rights to work written entirely by you; rather, the intent is to
190exercise the right to control the distribution of derivative or
191collective works based on the Library.
192
193In addition, mere aggregation of another work not based on the Library
194with the Library (or with a work based on the Library) on a volume of
195a storage or distribution medium does not bring the other work under
196the scope of this License.
197
198 3. You may opt to apply the terms of the ordinary GNU General Public
199License instead of this License to a given copy of the Library. To do
200this, you must alter all the notices that refer to this License, so
201that they refer to the ordinary GNU General Public License, version 2,
202instead of to this License. (If a newer version than version 2 of the
203ordinary GNU General Public License has appeared, then you can specify
204that version instead if you wish.) Do not make any other change in
205these notices.
206
207 Once this change is made in a given copy, it is irreversible for
208that copy, so the ordinary GNU General Public License applies to all
209subsequent copies and derivative works made from that copy.
210
211 This option is useful when you wish to copy part of the code of
212the Library into a program that is not a library.
213
214 4. You may copy and distribute the Library (or a portion or
215derivative of it, under Section 2) in object code or executable form
216under the terms of Sections 1 and 2 above provided that you accompany
217it with the complete corresponding machine-readable source code, which
218must be distributed under the terms of Sections 1 and 2 above on a
219medium customarily used for software interchange.
220
221 If distribution of object code is made by offering access to copy
222from a designated place, then offering equivalent access to copy the
223source code from the same place satisfies the requirement to
224distribute the source code, even though third parties are not
225compelled to copy the source along with the object code.
226
227 5. A program that contains no derivative of any portion of the
228Library, but is designed to work with the Library by being compiled or
229linked with it, is called a "work that uses the Library". Such a
230work, in isolation, is not a derivative work of the Library, and
231therefore falls outside the scope of this License.
232
233 However, linking a "work that uses the Library" with the Library
234creates an executable that is a derivative of the Library (because it
235contains portions of the Library), rather than a "work that uses the
236library". The executable is therefore covered by this License.
237Section 6 states terms for distribution of such executables.
238
239 When a "work that uses the Library" uses material from a header file
240that is part of the Library, the object code for the work may be a
241derivative work of the Library even though the source code is not.
242Whether this is true is especially significant if the work can be
243linked without the Library, or if the work is itself a library. The
244threshold for this to be true is not precisely defined by law.
245
246 If such an object file uses only numerical parameters, data
247structure layouts and accessors, and small macros and small inline
248functions (ten lines or less in length), then the use of the object
249file is unrestricted, regardless of whether it is legally a derivative
250work. (Executables containing this object code plus portions of the
251Library will still fall under Section 6.)
252
253 Otherwise, if the work is a derivative of the Library, you may
254distribute the object code for the work under the terms of Section 6.
255Any executables containing that work also fall under Section 6,
256whether or not they are linked directly with the Library itself.
257
258 6. As an exception to the Sections above, you may also compile or
259link a "work that uses the Library" with the Library to produce a
260work containing portions of the Library, and distribute that work
261under terms of your choice, provided that the terms permit
262modification of the work for the customer's own use and reverse
263engineering for debugging such modifications.
264
265 You must give prominent notice with each copy of the work that the
266Library is used in it and that the Library and its use are covered by
267this License. You must supply a copy of this License. If the work
268during execution displays copyright notices, you must include the
269copyright notice for the Library among them, as well as a reference
270directing the user to the copy of this License. Also, you must do one
271of these things:
272
273 a) Accompany the work with the complete corresponding
274 machine-readable source code for the Library including whatever
275 changes were used in the work (which must be distributed under
276 Sections 1 and 2 above); and, if the work is an executable linked
277 with the Library, with the complete machine-readable "work that
278 uses the Library", as object code and/or source code, so that the
279 user can modify the Library and then relink to produce a modified
280 executable containing the modified Library. (It is understood
281 that the user who changes the contents of definitions files in the
282 Library will not necessarily be able to recompile the application
283 to use the modified definitions.)
284
285 b) Accompany the work with a written offer, valid for at
286 least three years, to give the same user the materials
287 specified in Subsection 6a, above, for a charge no more
288 than the cost of performing this distribution.
289
290 c) If distribution of the work is made by offering access to copy
291 from a designated place, offer equivalent access to copy the above
292 specified materials from the same place.
293
294 d) Verify that the user has already received a copy of these
295 materials or that you have already sent this user a copy.
296
297 For an executable, the required form of the "work that uses the
298Library" must include any data and utility programs needed for
299reproducing the executable from it. However, as a special exception,
300the source code distributed need not include anything that is normally
301distributed (in either source or binary form) with the major
302components (compiler, kernel, and so on) of the operating system on
303which the executable runs, unless that component itself accompanies
304the executable.
305
306 It may happen that this requirement contradicts the license
307restrictions of other proprietary libraries that do not normally
308accompany the operating system. Such a contradiction means you cannot
309use both them and the Library together in an executable that you
310distribute.
311
312 7. You may place library facilities that are a work based on the
313Library side-by-side in a single library together with other library
314facilities not covered by this License, and distribute such a combined
315library, provided that the separate distribution of the work based on
316the Library and of the other library facilities is otherwise
317permitted, and provided that you do these two things:
318
319 a) Accompany the combined library with a copy of the same work
320 based on the Library, uncombined with any other library
321 facilities. This must be distributed under the terms of the
322 Sections above.
323
324 b) Give prominent notice with the combined library of the fact
325 that part of it is a work based on the Library, and explaining
326 where to find the accompanying uncombined form of the same work.
327
328 8. You may not copy, modify, sublicense, link with, or distribute
329the Library except as expressly provided under this License. Any
330attempt otherwise to copy, modify, sublicense, link with, or
331distribute the Library is void, and will automatically terminate your
332rights under this License. However, parties who have received copies,
333or rights, from you under this License will not have their licenses
334terminated so long as such parties remain in full compliance.
335
336 9. You are not required to accept this License, since you have not
337signed it. However, nothing else grants you permission to modify or
338distribute the Library or its derivative works. These actions are
339prohibited by law if you do not accept this License. Therefore, by
340modifying or distributing the Library (or any work based on the
341Library), you indicate your acceptance of this License to do so, and
342all its terms and conditions for copying, distributing or modifying
343the Library or works based on it.
344
345 10. Each time you redistribute the Library (or any work based on the
346Library), the recipient automatically receives a license from the
347original licensor to copy, distribute, link with or modify the Library
348subject to these terms and conditions. You may not impose any further
349restrictions on the recipients' exercise of the rights granted herein.
350You are not responsible for enforcing compliance by third parties to
351this License.
352
353 11. If, as a consequence of a court judgment or allegation of patent
354infringement or for any other reason (not limited to patent issues),
355conditions are imposed on you (whether by court order, agreement or
356otherwise) that contradict the conditions of this License, they do not
357excuse you from the conditions of this License. If you cannot
358distribute so as to satisfy simultaneously your obligations under this
359License and any other pertinent obligations, then as a consequence you
360may not distribute the Library at all. For example, if a patent
361license would not permit royalty-free redistribution of the Library by
362all those who receive copies directly or indirectly through you, then
363the only way you could satisfy both it and this License would be to
364refrain entirely from distribution of the Library.
365
366If any portion of this section is held invalid or unenforceable under any
367particular circumstance, the balance of the section is intended to apply,
368and the section as a whole is intended to apply in other circumstances.
369
370It is not the purpose of this section to induce you to infringe any
371patents or other property right claims or to contest validity of any
372such claims; this section has the sole purpose of protecting the
373integrity of the free software distribution system which is
374implemented by public license practices. Many people have made
375generous contributions to the wide range of software distributed
376through that system in reliance on consistent application of that
377system; it is up to the author/donor to decide if he or she is willing
378to distribute software through any other system and a licensee cannot
379impose that choice.
380
381This section is intended to make thoroughly clear what is believed to
382be a consequence of the rest of this License.
383
384 12. If the distribution and/or use of the Library is restricted in
385certain countries either by patents or by copyrighted interfaces, the
386original copyright holder who places the Library under this License may add
387an explicit geographical distribution limitation excluding those countries,
388so that distribution is permitted only in or among countries not thus
389excluded. In such case, this License incorporates the limitation as if
390written in the body of this License.
391
392 13. The Free Software Foundation may publish revised and/or new
393versions of the Library General Public License from time to time.
394Such new versions will be similar in spirit to the present version,
395but may differ in detail to address new problems or concerns.
396
397Each version is given a distinguishing version number. If the Library
398specifies a version number of this License which applies to it and
399"any later version", you have the option of following the terms and
400conditions either of that version or of any later version published by
401the Free Software Foundation. If the Library does not specify a
402license version number, you may choose any version ever published by
403the Free Software Foundation.
404
405 14. If you wish to incorporate parts of the Library into other free
406programs whose distribution conditions are incompatible with these,
407write to the author to ask for permission. For software which is
408copyrighted by the Free Software Foundation, write to the Free
409Software Foundation; we sometimes make exceptions for this. Our
410decision will be guided by the two goals of preserving the free status
411of all derivatives of our free software and of promoting the sharing
412and reuse of software generally.
413
414 NO WARRANTY
415
416 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
417WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
418EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
419OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
420KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
421IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
422PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
423LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
424THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
425
426 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
427WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
428AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
429FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
430CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
431LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
432RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
433FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
434SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
435DAMAGES.
436
437 END OF TERMS AND CONDITIONS
438
439 How to Apply These Terms to Your New Libraries
440
441 If you develop a new library, and you want it to be of the greatest
442possible use to the public, we recommend making it free software that
443everyone can redistribute and change. You can do so by permitting
444redistribution under these terms (or, alternatively, under the terms of the
445ordinary General Public License).
446
447 To apply these terms, attach the following notices to the library. It is
448safest to attach them to the start of each source file to most effectively
449convey the exclusion of warranty; and each file should have at least the
450"copyright" line and a pointer to where the full notice is found.
451
452 <one line to give the library's name and a brief idea of what it does.>
453 Copyright (C) <year> <name of author>
454
455 This library is free software; you can redistribute it and/or
456 modify it under the terms of the GNU Library General Public
457 License as published by the Free Software Foundation; either
458 version 2 of the License, or (at your option) any later version.
459
460 This library is distributed in the hope that it will be useful,
461 but WITHOUT ANY WARRANTY; without even the implied warranty of
462 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
463 Library General Public License for more details.
464
465 You should have received a copy of the GNU Library General Public
466 License along with this library; if not, write to the Free Software
467 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301 USA
468
469Also add information on how to contact you by electronic and paper mail.
470
471You should also get your employer (if you work as a programmer) or your
472school, if any, to sign a "copyright disclaimer" for the library, if
473necessary. Here is a sample; alter the names:
474
475 Yoyodyne, Inc., hereby disclaims all copyright interest in the
476 library `Frob' (a library for tweaking knobs) written by James Random Hacker.
477
478 <signature of Ty Coon>, 1 April 1990
479 Ty Coon, President of Vice
480
481That's all there is to it!
diff --git a/meta/files/common-licenses/LGPLv2.1 b/meta/files/common-licenses/LGPLv2.1
new file mode 100644
index 0000000000..2d2d780e60
--- /dev/null
+++ b/meta/files/common-licenses/LGPLv2.1
@@ -0,0 +1,510 @@
1
2 GNU LESSER GENERAL PUBLIC LICENSE
3 Version 2.1, February 1999
4
5 Copyright (C) 1991, 1999 Free Software Foundation, Inc.
6 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
7 Everyone is permitted to copy and distribute verbatim copies
8 of this license document, but changing it is not allowed.
9
10[This is the first released version of the Lesser GPL. It also counts
11 as the successor of the GNU Library Public License, version 2, hence
12 the version number 2.1.]
13
14 Preamble
15
16 The licenses for most software are designed to take away your
17freedom to share and change it. By contrast, the GNU General Public
18Licenses are intended to guarantee your freedom to share and change
19free software--to make sure the software is free for all its users.
20
21 This license, the Lesser General Public License, applies to some
22specially designated software packages--typically libraries--of the
23Free Software Foundation and other authors who decide to use it. You
24can use it too, but we suggest you first think carefully about whether
25this license or the ordinary General Public License is the better
26strategy to use in any particular case, based on the explanations
27below.
28
29 When we speak of free software, we are referring to freedom of use,
30not price. Our General Public Licenses are designed to make sure that
31you have the freedom to distribute copies of free software (and charge
32for this service if you wish); that you receive source code or can get
33it if you want it; that you can change the software and use pieces of
34it in new free programs; and that you are informed that you can do
35these things.
36
37 To protect your rights, we need to make restrictions that forbid
38distributors to deny you these rights or to ask you to surrender these
39rights. These restrictions translate to certain responsibilities for
40you if you distribute copies of the library or if you modify it.
41
42 For example, if you distribute copies of the library, whether gratis
43or for a fee, you must give the recipients all the rights that we gave
44you. You must make sure that they, too, receive or can get the source
45code. If you link other code with the library, you must provide
46complete object files to the recipients, so that they can relink them
47with the library after making changes to the library and recompiling
48it. And you must show them these terms so they know their rights.
49
50 We protect your rights with a two-step method: (1) we copyright the
51library, and (2) we offer you this license, which gives you legal
52permission to copy, distribute and/or modify the library.
53
54 To protect each distributor, we want to make it very clear that
55there is no warranty for the free library. Also, if the library is
56modified by someone else and passed on, the recipients should know
57that what they have is not the original version, so that the original
58author's reputation will not be affected by problems that might be
59introduced by others.
60
61 Finally, software patents pose a constant threat to the existence of
62any free program. We wish to make sure that a company cannot
63effectively restrict the users of a free program by obtaining a
64restrictive license from a patent holder. Therefore, we insist that
65any patent license obtained for a version of the library must be
66consistent with the full freedom of use specified in this license.
67
68 Most GNU software, including some libraries, is covered by the
69ordinary GNU General Public License. This license, the GNU Lesser
70General Public License, applies to certain designated libraries, and
71is quite different from the ordinary General Public License. We use
72this license for certain libraries in order to permit linking those
73libraries into non-free programs.
74
75 When a program is linked with a library, whether statically or using
76a shared library, the combination of the two is legally speaking a
77combined work, a derivative of the original library. The ordinary
78General Public License therefore permits such linking only if the
79entire combination fits its criteria of freedom. The Lesser General
80Public License permits more lax criteria for linking other code with
81the library.
82
83 We call this license the "Lesser" General Public License because it
84does Less to protect the user's freedom than the ordinary General
85Public License. It also provides other free software developers Less
86of an advantage over competing non-free programs. These disadvantages
87are the reason we use the ordinary General Public License for many
88libraries. However, the Lesser license provides advantages in certain
89special circumstances.
90
91 For example, on rare occasions, there may be a special need to
92encourage the widest possible use of a certain library, so that it
93becomes a de-facto standard. To achieve this, non-free programs must
94be allowed to use the library. A more frequent case is that a free
95library does the same job as widely used non-free libraries. In this
96case, there is little to gain by limiting the free library to free
97software only, so we use the Lesser General Public License.
98
99 In other cases, permission to use a particular library in non-free
100programs enables a greater number of people to use a large body of
101free software. For example, permission to use the GNU C Library in
102non-free programs enables many more people to use the whole GNU
103operating system, as well as its variant, the GNU/Linux operating
104system.
105
106 Although the Lesser General Public License is Less protective of the
107users' freedom, it does ensure that the user of a program that is
108linked with the Library has the freedom and the wherewithal to run
109that program using a modified version of the Library.
110
111 The precise terms and conditions for copying, distribution and
112modification follow. Pay close attention to the difference between a
113"work based on the library" and a "work that uses the library". The
114former contains code derived from the library, whereas the latter must
115be combined with the library in order to run.
116
117 GNU LESSER GENERAL PUBLIC LICENSE
118 TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
119
120 0. This License Agreement applies to any software library or other
121program which contains a notice placed by the copyright holder or
122other authorized party saying it may be distributed under the terms of
123this Lesser General Public License (also called "this License").
124Each licensee is addressed as "you".
125
126 A "library" means a collection of software functions and/or data
127prepared so as to be conveniently linked with application programs
128(which use some of those functions and data) to form executables.
129
130 The "Library", below, refers to any such software library or work
131which has been distributed under these terms. A "work based on the
132Library" means either the Library or any derivative work under
133copyright law: that is to say, a work containing the Library or a
134portion of it, either verbatim or with modifications and/or translated
135straightforwardly into another language. (Hereinafter, translation is
136included without limitation in the term "modification".)
137
138 "Source code" for a work means the preferred form of the work for
139making modifications to it. For a library, complete source code means
140all the source code for all modules it contains, plus any associated
141interface definition files, plus the scripts used to control
142compilation and installation of the library.
143
144 Activities other than copying, distribution and modification are not
145covered by this License; they are outside its scope. The act of
146running a program using the Library is not restricted, and output from
147such a program is covered only if its contents constitute a work based
148on the Library (independent of the use of the Library in a tool for
149writing it). Whether that is true depends on what the Library does
150and what the program that uses the Library does.
151
152 1. You may copy and distribute verbatim copies of the Library's
153complete source code as you receive it, in any medium, provided that
154you conspicuously and appropriately publish on each copy an
155appropriate copyright notice and disclaimer of warranty; keep intact
156all the notices that refer to this License and to the absence of any
157warranty; and distribute a copy of this License along with the
158Library.
159
160 You may charge a fee for the physical act of transferring a copy,
161and you may at your option offer warranty protection in exchange for a
162fee.
163
164 2. You may modify your copy or copies of the Library or any portion
165of it, thus forming a work based on the Library, and copy and
166distribute such modifications or work under the terms of Section 1
167above, provided that you also meet all of these conditions:
168
169 a) The modified work must itself be a software library.
170
171 b) You must cause the files modified to carry prominent notices
172 stating that you changed the files and the date of any change.
173
174 c) You must cause the whole of the work to be licensed at no
175 charge to all third parties under the terms of this License.
176
177 d) If a facility in the modified Library refers to a function or a
178 table of data to be supplied by an application program that uses
179 the facility, other than as an argument passed when the facility
180 is invoked, then you must make a good faith effort to ensure that,
181 in the event an application does not supply such function or
182 table, the facility still operates, and performs whatever part of
183 its purpose remains meaningful.
184
185 (For example, a function in a library to compute square roots has
186 a purpose that is entirely well-defined independent of the
187 application. Therefore, Subsection 2d requires that any
188 application-supplied function or table used by this function must
189 be optional: if the application does not supply it, the square
190 root function must still compute square roots.)
191
192These requirements apply to the modified work as a whole. If
193identifiable sections of that work are not derived from the Library,
194and can be reasonably considered independent and separate works in
195themselves, then this License, and its terms, do not apply to those
196sections when you distribute them as separate works. But when you
197distribute the same sections as part of a whole which is a work based
198on the Library, the distribution of the whole must be on the terms of
199this License, whose permissions for other licensees extend to the
200entire whole, and thus to each and every part regardless of who wrote
201it.
202
203Thus, it is not the intent of this section to claim rights or contest
204your rights to work written entirely by you; rather, the intent is to
205exercise the right to control the distribution of derivative or
206collective works based on the Library.
207
208In addition, mere aggregation of another work not based on the Library
209with the Library (or with a work based on the Library) on a volume of
210a storage or distribution medium does not bring the other work under
211the scope of this License.
212
213 3. You may opt to apply the terms of the ordinary GNU General Public
214License instead of this License to a given copy of the Library. To do
215this, you must alter all the notices that refer to this License, so
216that they refer to the ordinary GNU General Public License, version 2,
217instead of to this License. (If a newer version than version 2 of the
218ordinary GNU General Public License has appeared, then you can specify
219that version instead if you wish.) Do not make any other change in
220these notices.
221
222 Once this change is made in a given copy, it is irreversible for
223that copy, so the ordinary GNU General Public License applies to all
224subsequent copies and derivative works made from that copy.
225
226 This option is useful when you wish to copy part of the code of
227the Library into a program that is not a library.
228
229 4. You may copy and distribute the Library (or a portion or
230derivative of it, under Section 2) in object code or executable form
231under the terms of Sections 1 and 2 above provided that you accompany
232it with the complete corresponding machine-readable source code, which
233must be distributed under the terms of Sections 1 and 2 above on a
234medium customarily used for software interchange.
235
236 If distribution of object code is made by offering access to copy
237from a designated place, then offering equivalent access to copy the
238source code from the same place satisfies the requirement to
239distribute the source code, even though third parties are not
240compelled to copy the source along with the object code.
241
242 5. A program that contains no derivative of any portion of the
243Library, but is designed to work with the Library by being compiled or
244linked with it, is called a "work that uses the Library". Such a
245work, in isolation, is not a derivative work of the Library, and
246therefore falls outside the scope of this License.
247
248 However, linking a "work that uses the Library" with the Library
249creates an executable that is a derivative of the Library (because it
250contains portions of the Library), rather than a "work that uses the
251library". The executable is therefore covered by this License.
252Section 6 states terms for distribution of such executables.
253
254 When a "work that uses the Library" uses material from a header file
255that is part of the Library, the object code for the work may be a
256derivative work of the Library even though the source code is not.
257Whether this is true is especially significant if the work can be
258linked without the Library, or if the work is itself a library. The
259threshold for this to be true is not precisely defined by law.
260
261 If such an object file uses only numerical parameters, data
262structure layouts and accessors, and small macros and small inline
263functions (ten lines or less in length), then the use of the object
264file is unrestricted, regardless of whether it is legally a derivative
265work. (Executables containing this object code plus portions of the
266Library will still fall under Section 6.)
267
268 Otherwise, if the work is a derivative of the Library, you may
269distribute the object code for the work under the terms of Section 6.
270Any executables containing that work also fall under Section 6,
271whether or not they are linked directly with the Library itself.
272
273 6. As an exception to the Sections above, you may also combine or
274link a "work that uses the Library" with the Library to produce a
275work containing portions of the Library, and distribute that work
276under terms of your choice, provided that the terms permit
277modification of the work for the customer's own use and reverse
278engineering for debugging such modifications.
279
280 You must give prominent notice with each copy of the work that the
281Library is used in it and that the Library and its use are covered by
282this License. You must supply a copy of this License. If the work
283during execution displays copyright notices, you must include the
284copyright notice for the Library among them, as well as a reference
285directing the user to the copy of this License. Also, you must do one
286of these things:
287
288 a) Accompany the work with the complete corresponding
289 machine-readable source code for the Library including whatever
290 changes were used in the work (which must be distributed under
291 Sections 1 and 2 above); and, if the work is an executable linked
292 with the Library, with the complete machine-readable "work that
293 uses the Library", as object code and/or source code, so that the
294 user can modify the Library and then relink to produce a modified
295 executable containing the modified Library. (It is understood
296 that the user who changes the contents of definitions files in the
297 Library will not necessarily be able to recompile the application
298 to use the modified definitions.)
299
300 b) Use a suitable shared library mechanism for linking with the
301 Library. A suitable mechanism is one that (1) uses at run time a
302 copy of the library already present on the user's computer system,
303 rather than copying library functions into the executable, and (2)
304 will operate properly with a modified version of the library, if
305 the user installs one, as long as the modified version is
306 interface-compatible with the version that the work was made with.
307
308 c) Accompany the work with a written offer, valid for at least
309 three years, to give the same user the materials specified in
310 Subsection 6a, above, for a charge no more than the cost of
311 performing this distribution.
312
313 d) If distribution of the work is made by offering access to copy
314 from a designated place, offer equivalent access to copy the above
315 specified materials from the same place.
316
317 e) Verify that the user has already received a copy of these
318 materials or that you have already sent this user a copy.
319
320 For an executable, the required form of the "work that uses the
321Library" must include any data and utility programs needed for
322reproducing the executable from it. However, as a special exception,
323the materials to be distributed need not include anything that is
324normally distributed (in either source or binary form) with the major
325components (compiler, kernel, and so on) of the operating system on
326which the executable runs, unless that component itself accompanies
327the executable.
328
329 It may happen that this requirement contradicts the license
330restrictions of other proprietary libraries that do not normally
331accompany the operating system. Such a contradiction means you cannot
332use both them and the Library together in an executable that you
333distribute.
334
335 7. You may place library facilities that are a work based on the
336Library side-by-side in a single library together with other library
337facilities not covered by this License, and distribute such a combined
338library, provided that the separate distribution of the work based on
339the Library and of the other library facilities is otherwise
340permitted, and provided that you do these two things:
341
342 a) Accompany the combined library with a copy of the same work
343 based on the Library, uncombined with any other library
344 facilities. This must be distributed under the terms of the
345 Sections above.
346
347 b) Give prominent notice with the combined library of the fact
348 that part of it is a work based on the Library, and explaining
349 where to find the accompanying uncombined form of the same work.
350
351 8. You may not copy, modify, sublicense, link with, or distribute
352the Library except as expressly provided under this License. Any
353attempt otherwise to copy, modify, sublicense, link with, or
354distribute the Library is void, and will automatically terminate your
355rights under this License. However, parties who have received copies,
356or rights, from you under this License will not have their licenses
357terminated so long as such parties remain in full compliance.
358
359 9. You are not required to accept this License, since you have not
360signed it. However, nothing else grants you permission to modify or
361distribute the Library or its derivative works. These actions are
362prohibited by law if you do not accept this License. Therefore, by
363modifying or distributing the Library (or any work based on the
364Library), you indicate your acceptance of this License to do so, and
365all its terms and conditions for copying, distributing or modifying
366the Library or works based on it.
367
368 10. Each time you redistribute the Library (or any work based on the
369Library), the recipient automatically receives a license from the
370original licensor to copy, distribute, link with or modify the Library
371subject to these terms and conditions. You may not impose any further
372restrictions on the recipients' exercise of the rights granted herein.
373You are not responsible for enforcing compliance by third parties with
374this License.
375
376 11. If, as a consequence of a court judgment or allegation of patent
377infringement or for any other reason (not limited to patent issues),
378conditions are imposed on you (whether by court order, agreement or
379otherwise) that contradict the conditions of this License, they do not
380excuse you from the conditions of this License. If you cannot
381distribute so as to satisfy simultaneously your obligations under this
382License and any other pertinent obligations, then as a consequence you
383may not distribute the Library at all. For example, if a patent
384license would not permit royalty-free redistribution of the Library by
385all those who receive copies directly or indirectly through you, then
386the only way you could satisfy both it and this License would be to
387refrain entirely from distribution of the Library.
388
389If any portion of this section is held invalid or unenforceable under
390any particular circumstance, the balance of the section is intended to
391apply, and the section as a whole is intended to apply in other
392circumstances.
393
394It is not the purpose of this section to induce you to infringe any
395patents or other property right claims or to contest validity of any
396such claims; this section has the sole purpose of protecting the
397integrity of the free software distribution system which is
398implemented by public license practices. Many people have made
399generous contributions to the wide range of software distributed
400through that system in reliance on consistent application of that
401system; it is up to the author/donor to decide if he or she is willing
402to distribute software through any other system and a licensee cannot
403impose that choice.
404
405This section is intended to make thoroughly clear what is believed to
406be a consequence of the rest of this License.
407
408 12. If the distribution and/or use of the Library is restricted in
409certain countries either by patents or by copyrighted interfaces, the
410original copyright holder who places the Library under this License
411may add an explicit geographical distribution limitation excluding those
412countries, so that distribution is permitted only in or among
413countries not thus excluded. In such case, this License incorporates
414the limitation as if written in the body of this License.
415
416 13. The Free Software Foundation may publish revised and/or new
417versions of the Lesser General Public License from time to time.
418Such new versions will be similar in spirit to the present version,
419but may differ in detail to address new problems or concerns.
420
421Each version is given a distinguishing version number. If the Library
422specifies a version number of this License which applies to it and
423"any later version", you have the option of following the terms and
424conditions either of that version or of any later version published by
425the Free Software Foundation. If the Library does not specify a
426license version number, you may choose any version ever published by
427the Free Software Foundation.
428
429 14. If you wish to incorporate parts of the Library into other free
430programs whose distribution conditions are incompatible with these,
431write to the author to ask for permission. For software which is
432copyrighted by the Free Software Foundation, write to the Free
433Software Foundation; we sometimes make exceptions for this. Our
434decision will be guided by the two goals of preserving the free status
435of all derivatives of our free software and of promoting the sharing
436and reuse of software generally.
437
438 NO WARRANTY
439
440 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
441WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
442EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
443OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
444KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
445IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
446PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
447LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
448THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
449
450 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN
451WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY
452AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU
453FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR
454CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE
455LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING
456RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A
457FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF
458SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH
459DAMAGES.
460
461 END OF TERMS AND CONDITIONS
462
463 How to Apply These Terms to Your New Libraries
464
465 If you develop a new library, and you want it to be of the greatest
466possible use to the public, we recommend making it free software that
467everyone can redistribute and change. You can do so by permitting
468redistribution under these terms (or, alternatively, under the terms
469of the ordinary General Public License).
470
471 To apply these terms, attach the following notices to the library.
472It is safest to attach them to the start of each source file to most
473effectively convey the exclusion of warranty; and each file should
474have at least the "copyright" line and a pointer to where the full
475notice is found.
476
477
478 <one line to give the library's name and a brief idea of what it does.>
479 Copyright (C) <year> <name of author>
480
481 This library is free software; you can redistribute it and/or
482 modify it under the terms of the GNU Lesser General Public
483 License as published by the Free Software Foundation; either
484 version 2.1 of the License, or (at your option) any later version.
485
486 This library is distributed in the hope that it will be useful,
487 but WITHOUT ANY WARRANTY; without even the implied warranty of
488 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
489 Lesser General Public License for more details.
490
491 You should have received a copy of the GNU Lesser General Public
492 License along with this library; if not, write to the Free Software
493 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
494
495Also add information on how to contact you by electronic and paper mail.
496
497You should also get your employer (if you work as a programmer) or
498your school, if any, to sign a "copyright disclaimer" for the library,
499if necessary. Here is a sample; alter the names:
500
501 Yoyodyne, Inc., hereby disclaims all copyright interest in the
502 library `Frob' (a library for tweaking knobs) written by James
503 Random Hacker.
504
505 <signature of Ty Coon>, 1 April 1990
506 Ty Coon, President of Vice
507
508That's all there is to it!
509
510
diff --git a/meta/files/common-licenses/LGPLv3 b/meta/files/common-licenses/LGPLv3
new file mode 100644
index 0000000000..fc8a5de7ed
--- /dev/null
+++ b/meta/files/common-licenses/LGPLv3
@@ -0,0 +1,165 @@
1 GNU LESSER GENERAL PUBLIC LICENSE
2 Version 3, 29 June 2007
3
4 Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>
5 Everyone is permitted to copy and distribute verbatim copies
6 of this license document, but changing it is not allowed.
7
8
9 This version of the GNU Lesser General Public License incorporates
10the terms and conditions of version 3 of the GNU General Public
11License, supplemented by the additional permissions listed below.
12
13 0. Additional Definitions.
14
15 As used herein, "this License" refers to version 3 of the GNU Lesser
16General Public License, and the "GNU GPL" refers to version 3 of the GNU
17General Public License.
18
19 "The Library" refers to a covered work governed by this License,
20other than an Application or a Combined Work as defined below.
21
22 An "Application" is any work that makes use of an interface provided
23by the Library, but which is not otherwise based on the Library.
24Defining a subclass of a class defined by the Library is deemed a mode
25of using an interface provided by the Library.
26
27 A "Combined Work" is a work produced by combining or linking an
28Application with the Library. The particular version of the Library
29with which the Combined Work was made is also called the "Linked
30Version".
31
32 The "Minimal Corresponding Source" for a Combined Work means the
33Corresponding Source for the Combined Work, excluding any source code
34for portions of the Combined Work that, considered in isolation, are
35based on the Application, and not on the Linked Version.
36
37 The "Corresponding Application Code" for a Combined Work means the
38object code and/or source code for the Application, including any data
39and utility programs needed for reproducing the Combined Work from the
40Application, but excluding the System Libraries of the Combined Work.
41
42 1. Exception to Section 3 of the GNU GPL.
43
44 You may convey a covered work under sections 3 and 4 of this License
45without being bound by section 3 of the GNU GPL.
46
47 2. Conveying Modified Versions.
48
49 If you modify a copy of the Library, and, in your modifications, a
50facility refers to a function or data to be supplied by an Application
51that uses the facility (other than as an argument passed when the
52facility is invoked), then you may convey a copy of the modified
53version:
54
55 a) under this License, provided that you make a good faith effort to
56 ensure that, in the event an Application does not supply the
57 function or data, the facility still operates, and performs
58 whatever part of its purpose remains meaningful, or
59
60 b) under the GNU GPL, with none of the additional permissions of
61 this License applicable to that copy.
62
63 3. Object Code Incorporating Material from Library Header Files.
64
65 The object code form of an Application may incorporate material from
66a header file that is part of the Library. You may convey such object
67code under terms of your choice, provided that, if the incorporated
68material is not limited to numerical parameters, data structure
69layouts and accessors, or small macros, inline functions and templates
70(ten or fewer lines in length), you do both of the following:
71
72 a) Give prominent notice with each copy of the object code that the
73 Library is used in it and that the Library and its use are
74 covered by this License.
75
76 b) Accompany the object code with a copy of the GNU GPL and this license
77 document.
78
79 4. Combined Works.
80
81 You may convey a Combined Work under terms of your choice that,
82taken together, effectively do not restrict modification of the
83portions of the Library contained in the Combined Work and reverse
84engineering for debugging such modifications, if you also do each of
85the following:
86
87 a) Give prominent notice with each copy of the Combined Work that
88 the Library is used in it and that the Library and its use are
89 covered by this License.
90
91 b) Accompany the Combined Work with a copy of the GNU GPL and this license
92 document.
93
94 c) For a Combined Work that displays copyright notices during
95 execution, include the copyright notice for the Library among
96 these notices, as well as a reference directing the user to the
97 copies of the GNU GPL and this license document.
98
99 d) Do one of the following:
100
101 0) Convey the Minimal Corresponding Source under the terms of this
102 License, and the Corresponding Application Code in a form
103 suitable for, and under terms that permit, the user to
104 recombine or relink the Application with a modified version of
105 the Linked Version to produce a modified Combined Work, in the
106 manner specified by section 6 of the GNU GPL for conveying
107 Corresponding Source.
108
109 1) Use a suitable shared library mechanism for linking with the
110 Library. A suitable mechanism is one that (a) uses at run time
111 a copy of the Library already present on the user's computer
112 system, and (b) will operate properly with a modified version
113 of the Library that is interface-compatible with the Linked
114 Version.
115
116 e) Provide Installation Information, but only if you would otherwise
117 be required to provide such information under section 6 of the
118 GNU GPL, and only to the extent that such information is
119 necessary to install and execute a modified version of the
120 Combined Work produced by recombining or relinking the
121 Application with a modified version of the Linked Version. (If
122 you use option 4d0, the Installation Information must accompany
123 the Minimal Corresponding Source and Corresponding Application
124 Code. If you use option 4d1, you must provide the Installation
125 Information in the manner specified by section 6 of the GNU GPL
126 for conveying Corresponding Source.)
127
128 5. Combined Libraries.
129
130 You may place library facilities that are a work based on the
131Library side by side in a single library together with other library
132facilities that are not Applications and are not covered by this
133License, and convey such a combined library under terms of your
134choice, if you do both of the following:
135
136 a) Accompany the combined library with a copy of the same work based
137 on the Library, uncombined with any other library facilities,
138 conveyed under the terms of this License.
139
140 b) Give prominent notice with the combined library that part of it
141 is a work based on the Library, and explaining where to find the
142 accompanying uncombined form of the same work.
143
144 6. Revised Versions of the GNU Lesser General Public License.
145
146 The Free Software Foundation may publish revised and/or new versions
147of the GNU Lesser General Public License from time to time. Such new
148versions will be similar in spirit to the present version, but may
149differ in detail to address new problems or concerns.
150
151 Each version is given a distinguishing version number. If the
152Library as you received it specifies that a certain numbered version
153of the GNU Lesser General Public License "or any later version"
154applies to it, you have the option of following the terms and
155conditions either of that published version or of any later version
156published by the Free Software Foundation. If the Library as you
157received it does not specify a version number of the GNU Lesser
158General Public License, you may choose any version of the GNU Lesser
159General Public License ever published by the Free Software Foundation.
160
161 If the Library as you received it specifies that a proxy can decide
162whether future versions of the GNU Lesser General Public License shall
163apply, that proxy's public statement of acceptance of any version is
164permanent authorization for you to choose that version for the
165Library.