~juju-qa/ubuntu/trusty/juju/juju-1.25.8

« back to all changes in this revision

Viewing changes to src/gopkg.in/yaml.v2/LICENSE

  • Committer: Nicholas Skaggs
  • Date: 2016-12-02 18:01:10 UTC
  • Revision ID: nicholas.skaggs@canonical.com-20161202180110-dl1helep8qfebmhx
ImportĀ upstreamĀ 1.25.6

Show diffs side-by-side

added added

removed removed

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