xref: /aosp_15_r20/external/trace-cmd/LICENSES/GPL-2.0 (revision 58e6ee5f017f6a8912852c892d18457e4bafb554)
1*58e6ee5fSAndroid Build Coastguard WorkerValid-License-Identifier: GPL-2.0
2*58e6ee5fSAndroid Build Coastguard WorkerValid-License-Identifier: GPL-2.0-only
3*58e6ee5fSAndroid Build Coastguard WorkerValid-License-Identifier: GPL-2.0+
4*58e6ee5fSAndroid Build Coastguard WorkerValid-License-Identifier: GPL-2.0-or-later
5*58e6ee5fSAndroid Build Coastguard WorkerSPDX-URL: https://spdx.org/licenses/GPL-2.0.html
6*58e6ee5fSAndroid Build Coastguard WorkerUsage-Guide:
7*58e6ee5fSAndroid Build Coastguard Worker  To use this license in source code, put one of the following SPDX
8*58e6ee5fSAndroid Build Coastguard Worker  tag/value pairs into a comment according to the placement
9*58e6ee5fSAndroid Build Coastguard Worker  guidelines in the licensing rules documentation.
10*58e6ee5fSAndroid Build Coastguard Worker  For 'GNU General Public License (GPL) version 2 only' use:
11*58e6ee5fSAndroid Build Coastguard Worker    SPDX-License-Identifier: GPL-2.0
12*58e6ee5fSAndroid Build Coastguard Worker  or
13*58e6ee5fSAndroid Build Coastguard Worker    SPDX-License-Identifier: GPL-2.0-only
14*58e6ee5fSAndroid Build Coastguard Worker  For 'GNU General Public License (GPL) version 2 or any later version' use:
15*58e6ee5fSAndroid Build Coastguard Worker    SPDX-License-Identifier: GPL-2.0+
16*58e6ee5fSAndroid Build Coastguard Worker  or
17*58e6ee5fSAndroid Build Coastguard Worker    SPDX-License-Identifier: GPL-2.0-or-later
18*58e6ee5fSAndroid Build Coastguard WorkerLicense-Text:
19*58e6ee5fSAndroid Build Coastguard Worker
20*58e6ee5fSAndroid Build Coastguard Worker		    GNU GENERAL PUBLIC LICENSE
21*58e6ee5fSAndroid Build Coastguard Worker		       Version 2, June 1991
22*58e6ee5fSAndroid Build Coastguard Worker
23*58e6ee5fSAndroid Build Coastguard Worker Copyright (C) 1989, 1991 Free Software Foundation, Inc.
24*58e6ee5fSAndroid Build Coastguard Worker                       51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
25*58e6ee5fSAndroid Build Coastguard Worker Everyone is permitted to copy and distribute verbatim copies
26*58e6ee5fSAndroid Build Coastguard Worker of this license document, but changing it is not allowed.
27*58e6ee5fSAndroid Build Coastguard Worker
28*58e6ee5fSAndroid Build Coastguard Worker			    Preamble
29*58e6ee5fSAndroid Build Coastguard Worker
30*58e6ee5fSAndroid Build Coastguard Worker  The licenses for most software are designed to take away your
31*58e6ee5fSAndroid Build Coastguard Workerfreedom to share and change it.  By contrast, the GNU General Public
32*58e6ee5fSAndroid Build Coastguard WorkerLicense is intended to guarantee your freedom to share and change free
33*58e6ee5fSAndroid Build Coastguard Workersoftware--to make sure the software is free for all its users.  This
34*58e6ee5fSAndroid Build Coastguard WorkerGeneral Public License applies to most of the Free Software
35*58e6ee5fSAndroid Build Coastguard WorkerFoundation's software and to any other program whose authors commit to
36*58e6ee5fSAndroid Build Coastguard Workerusing it.  (Some other Free Software Foundation software is covered by
37*58e6ee5fSAndroid Build Coastguard Workerthe GNU Library General Public License instead.)  You can apply it to
38*58e6ee5fSAndroid Build Coastguard Workeryour programs, too.
39*58e6ee5fSAndroid Build Coastguard Worker
40*58e6ee5fSAndroid Build Coastguard Worker  When we speak of free software, we are referring to freedom, not
41*58e6ee5fSAndroid Build Coastguard Workerprice.  Our General Public Licenses are designed to make sure that you
42*58e6ee5fSAndroid Build Coastguard Workerhave the freedom to distribute copies of free software (and charge for
43*58e6ee5fSAndroid Build Coastguard Workerthis service if you wish), that you receive source code or can get it
44*58e6ee5fSAndroid Build Coastguard Workerif you want it, that you can change the software or use pieces of it
45*58e6ee5fSAndroid Build Coastguard Workerin new free programs; and that you know you can do these things.
46*58e6ee5fSAndroid Build Coastguard Worker
47*58e6ee5fSAndroid Build Coastguard Worker  To protect your rights, we need to make restrictions that forbid
48*58e6ee5fSAndroid Build Coastguard Workeranyone to deny you these rights or to ask you to surrender the rights.
49*58e6ee5fSAndroid Build Coastguard WorkerThese restrictions translate to certain responsibilities for you if you
50*58e6ee5fSAndroid Build Coastguard Workerdistribute copies of the software, or if you modify it.
51*58e6ee5fSAndroid Build Coastguard Worker
52*58e6ee5fSAndroid Build Coastguard Worker  For example, if you distribute copies of such a program, whether
53*58e6ee5fSAndroid Build Coastguard Workergratis or for a fee, you must give the recipients all the rights that
54*58e6ee5fSAndroid Build Coastguard Workeryou have.  You must make sure that they, too, receive or can get the
55*58e6ee5fSAndroid Build Coastguard Workersource code.  And you must show them these terms so they know their
56*58e6ee5fSAndroid Build Coastguard Workerrights.
57*58e6ee5fSAndroid Build Coastguard Worker
58*58e6ee5fSAndroid Build Coastguard Worker  We protect your rights with two steps: (1) copyright the software, and
59*58e6ee5fSAndroid Build Coastguard Worker(2) offer you this license which gives you legal permission to copy,
60*58e6ee5fSAndroid Build Coastguard Workerdistribute and/or modify the software.
61*58e6ee5fSAndroid Build Coastguard Worker
62*58e6ee5fSAndroid Build Coastguard Worker  Also, for each author's protection and ours, we want to make certain
63*58e6ee5fSAndroid Build Coastguard Workerthat everyone understands that there is no warranty for this free
64*58e6ee5fSAndroid Build Coastguard Workersoftware.  If the software is modified by someone else and passed on, we
65*58e6ee5fSAndroid Build Coastguard Workerwant its recipients to know that what they have is not the original, so
66*58e6ee5fSAndroid Build Coastguard Workerthat any problems introduced by others will not reflect on the original
67*58e6ee5fSAndroid Build Coastguard Workerauthors' reputations.
68*58e6ee5fSAndroid Build Coastguard Worker
69*58e6ee5fSAndroid Build Coastguard Worker  Finally, any free program is threatened constantly by software
70*58e6ee5fSAndroid Build Coastguard Workerpatents.  We wish to avoid the danger that redistributors of a free
71*58e6ee5fSAndroid Build Coastguard Workerprogram will individually obtain patent licenses, in effect making the
72*58e6ee5fSAndroid Build Coastguard Workerprogram proprietary.  To prevent this, we have made it clear that any
73*58e6ee5fSAndroid Build Coastguard Workerpatent must be licensed for everyone's free use or not licensed at all.
74*58e6ee5fSAndroid Build Coastguard Worker
75*58e6ee5fSAndroid Build Coastguard Worker  The precise terms and conditions for copying, distribution and
76*58e6ee5fSAndroid Build Coastguard Workermodification follow.
77*58e6ee5fSAndroid Build Coastguard Worker
78*58e6ee5fSAndroid Build Coastguard Worker		    GNU GENERAL PUBLIC LICENSE
79*58e6ee5fSAndroid Build Coastguard Worker   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
80*58e6ee5fSAndroid Build Coastguard Worker
81*58e6ee5fSAndroid Build Coastguard Worker  0. This License applies to any program or other work which contains
82*58e6ee5fSAndroid Build Coastguard Workera notice placed by the copyright holder saying it may be distributed
83*58e6ee5fSAndroid Build Coastguard Workerunder the terms of this General Public License.  The "Program", below,
84*58e6ee5fSAndroid Build Coastguard Workerrefers to any such program or work, and a "work based on the Program"
85*58e6ee5fSAndroid Build Coastguard Workermeans either the Program or any derivative work under copyright law:
86*58e6ee5fSAndroid Build Coastguard Workerthat is to say, a work containing the Program or a portion of it,
87*58e6ee5fSAndroid Build Coastguard Workereither verbatim or with modifications and/or translated into another
88*58e6ee5fSAndroid Build Coastguard Workerlanguage.  (Hereinafter, translation is included without limitation in
89*58e6ee5fSAndroid Build Coastguard Workerthe term "modification".)  Each licensee is addressed as "you".
90*58e6ee5fSAndroid Build Coastguard Worker
91*58e6ee5fSAndroid Build Coastguard WorkerActivities other than copying, distribution and modification are not
92*58e6ee5fSAndroid Build Coastguard Workercovered by this License; they are outside its scope.  The act of
93*58e6ee5fSAndroid Build Coastguard Workerrunning the Program is not restricted, and the output from the Program
94*58e6ee5fSAndroid Build Coastguard Workeris covered only if its contents constitute a work based on the
95*58e6ee5fSAndroid Build Coastguard WorkerProgram (independent of having been made by running the Program).
96*58e6ee5fSAndroid Build Coastguard WorkerWhether that is true depends on what the Program does.
97*58e6ee5fSAndroid Build Coastguard Worker
98*58e6ee5fSAndroid Build Coastguard Worker  1. You may copy and distribute verbatim copies of the Program's
99*58e6ee5fSAndroid Build Coastguard Workersource code as you receive it, in any medium, provided that you
100*58e6ee5fSAndroid Build Coastguard Workerconspicuously and appropriately publish on each copy an appropriate
101*58e6ee5fSAndroid Build Coastguard Workercopyright notice and disclaimer of warranty; keep intact all the
102*58e6ee5fSAndroid Build Coastguard Workernotices that refer to this License and to the absence of any warranty;
103*58e6ee5fSAndroid Build Coastguard Workerand give any other recipients of the Program a copy of this License
104*58e6ee5fSAndroid Build Coastguard Workeralong with the Program.
105*58e6ee5fSAndroid Build Coastguard Worker
106*58e6ee5fSAndroid Build Coastguard WorkerYou may charge a fee for the physical act of transferring a copy, and
107*58e6ee5fSAndroid Build Coastguard Workeryou may at your option offer warranty protection in exchange for a fee.
108*58e6ee5fSAndroid Build Coastguard Worker
109*58e6ee5fSAndroid Build Coastguard Worker  2. You may modify your copy or copies of the Program or any portion
110*58e6ee5fSAndroid Build Coastguard Workerof it, thus forming a work based on the Program, and copy and
111*58e6ee5fSAndroid Build Coastguard Workerdistribute such modifications or work under the terms of Section 1
112*58e6ee5fSAndroid Build Coastguard Workerabove, provided that you also meet all of these conditions:
113*58e6ee5fSAndroid Build Coastguard Worker
114*58e6ee5fSAndroid Build Coastguard Worker    a) You must cause the modified files to carry prominent notices
115*58e6ee5fSAndroid Build Coastguard Worker    stating that you changed the files and the date of any change.
116*58e6ee5fSAndroid Build Coastguard Worker
117*58e6ee5fSAndroid Build Coastguard Worker    b) You must cause any work that you distribute or publish, that in
118*58e6ee5fSAndroid Build Coastguard Worker    whole or in part contains or is derived from the Program or any
119*58e6ee5fSAndroid Build Coastguard Worker    part thereof, to be licensed as a whole at no charge to all third
120*58e6ee5fSAndroid Build Coastguard Worker    parties under the terms of this License.
121*58e6ee5fSAndroid Build Coastguard Worker
122*58e6ee5fSAndroid Build Coastguard Worker    c) If the modified program normally reads commands interactively
123*58e6ee5fSAndroid Build Coastguard Worker    when run, you must cause it, when started running for such
124*58e6ee5fSAndroid Build Coastguard Worker    interactive use in the most ordinary way, to print or display an
125*58e6ee5fSAndroid Build Coastguard Worker    announcement including an appropriate copyright notice and a
126*58e6ee5fSAndroid Build Coastguard Worker    notice that there is no warranty (or else, saying that you provide
127*58e6ee5fSAndroid Build Coastguard Worker    a warranty) and that users may redistribute the program under
128*58e6ee5fSAndroid Build Coastguard Worker    these conditions, and telling the user how to view a copy of this
129*58e6ee5fSAndroid Build Coastguard Worker    License.  (Exception: if the Program itself is interactive but
130*58e6ee5fSAndroid Build Coastguard Worker    does not normally print such an announcement, your work based on
131*58e6ee5fSAndroid Build Coastguard Worker    the Program is not required to print an announcement.)
132*58e6ee5fSAndroid Build Coastguard Worker
133*58e6ee5fSAndroid Build Coastguard WorkerThese requirements apply to the modified work as a whole.  If
134*58e6ee5fSAndroid Build Coastguard Workeridentifiable sections of that work are not derived from the Program,
135*58e6ee5fSAndroid Build Coastguard Workerand can be reasonably considered independent and separate works in
136*58e6ee5fSAndroid Build Coastguard Workerthemselves, then this License, and its terms, do not apply to those
137*58e6ee5fSAndroid Build Coastguard Workersections when you distribute them as separate works.  But when you
138*58e6ee5fSAndroid Build Coastguard Workerdistribute the same sections as part of a whole which is a work based
139*58e6ee5fSAndroid Build Coastguard Workeron the Program, the distribution of the whole must be on the terms of
140*58e6ee5fSAndroid Build Coastguard Workerthis License, whose permissions for other licensees extend to the
141*58e6ee5fSAndroid Build Coastguard Workerentire whole, and thus to each and every part regardless of who wrote it.
142*58e6ee5fSAndroid Build Coastguard Worker
143*58e6ee5fSAndroid Build Coastguard WorkerThus, it is not the intent of this section to claim rights or contest
144*58e6ee5fSAndroid Build Coastguard Workeryour rights to work written entirely by you; rather, the intent is to
145*58e6ee5fSAndroid Build Coastguard Workerexercise the right to control the distribution of derivative or
146*58e6ee5fSAndroid Build Coastguard Workercollective works based on the Program.
147*58e6ee5fSAndroid Build Coastguard Worker
148*58e6ee5fSAndroid Build Coastguard WorkerIn addition, mere aggregation of another work not based on the Program
149*58e6ee5fSAndroid Build Coastguard Workerwith the Program (or with a work based on the Program) on a volume of
150*58e6ee5fSAndroid Build Coastguard Workera storage or distribution medium does not bring the other work under
151*58e6ee5fSAndroid Build Coastguard Workerthe scope of this License.
152*58e6ee5fSAndroid Build Coastguard Worker
153*58e6ee5fSAndroid Build Coastguard Worker  3. You may copy and distribute the Program (or a work based on it,
154*58e6ee5fSAndroid Build Coastguard Workerunder Section 2) in object code or executable form under the terms of
155*58e6ee5fSAndroid Build Coastguard WorkerSections 1 and 2 above provided that you also do one of the following:
156*58e6ee5fSAndroid Build Coastguard Worker
157*58e6ee5fSAndroid Build Coastguard Worker    a) Accompany it with the complete corresponding machine-readable
158*58e6ee5fSAndroid Build Coastguard Worker    source code, which must be distributed under the terms of Sections
159*58e6ee5fSAndroid Build Coastguard Worker    1 and 2 above on a medium customarily used for software interchange; or,
160*58e6ee5fSAndroid Build Coastguard Worker
161*58e6ee5fSAndroid Build Coastguard Worker    b) Accompany it with a written offer, valid for at least three
162*58e6ee5fSAndroid Build Coastguard Worker    years, to give any third party, for a charge no more than your
163*58e6ee5fSAndroid Build Coastguard Worker    cost of physically performing source distribution, a complete
164*58e6ee5fSAndroid Build Coastguard Worker    machine-readable copy of the corresponding source code, to be
165*58e6ee5fSAndroid Build Coastguard Worker    distributed under the terms of Sections 1 and 2 above on a medium
166*58e6ee5fSAndroid Build Coastguard Worker    customarily used for software interchange; or,
167*58e6ee5fSAndroid Build Coastguard Worker
168*58e6ee5fSAndroid Build Coastguard Worker    c) Accompany it with the information you received as to the offer
169*58e6ee5fSAndroid Build Coastguard Worker    to distribute corresponding source code.  (This alternative is
170*58e6ee5fSAndroid Build Coastguard Worker    allowed only for noncommercial distribution and only if you
171*58e6ee5fSAndroid Build Coastguard Worker    received the program in object code or executable form with such
172*58e6ee5fSAndroid Build Coastguard Worker    an offer, in accord with Subsection b above.)
173*58e6ee5fSAndroid Build Coastguard Worker
174*58e6ee5fSAndroid Build Coastguard WorkerThe source code for a work means the preferred form of the work for
175*58e6ee5fSAndroid Build Coastguard Workermaking modifications to it.  For an executable work, complete source
176*58e6ee5fSAndroid Build Coastguard Workercode means all the source code for all modules it contains, plus any
177*58e6ee5fSAndroid Build Coastguard Workerassociated interface definition files, plus the scripts used to
178*58e6ee5fSAndroid Build Coastguard Workercontrol compilation and installation of the executable.  However, as a
179*58e6ee5fSAndroid Build Coastguard Workerspecial exception, the source code distributed need not include
180*58e6ee5fSAndroid Build Coastguard Workeranything that is normally distributed (in either source or binary
181*58e6ee5fSAndroid Build Coastguard Workerform) with the major components (compiler, kernel, and so on) of the
182*58e6ee5fSAndroid Build Coastguard Workeroperating system on which the executable runs, unless that component
183*58e6ee5fSAndroid Build Coastguard Workeritself accompanies the executable.
184*58e6ee5fSAndroid Build Coastguard Worker
185*58e6ee5fSAndroid Build Coastguard WorkerIf distribution of executable or object code is made by offering
186*58e6ee5fSAndroid Build Coastguard Workeraccess to copy from a designated place, then offering equivalent
187*58e6ee5fSAndroid Build Coastguard Workeraccess to copy the source code from the same place counts as
188*58e6ee5fSAndroid Build Coastguard Workerdistribution of the source code, even though third parties are not
189*58e6ee5fSAndroid Build Coastguard Workercompelled to copy the source along with the object code.
190*58e6ee5fSAndroid Build Coastguard Worker
191*58e6ee5fSAndroid Build Coastguard Worker  4. You may not copy, modify, sublicense, or distribute the Program
192*58e6ee5fSAndroid Build Coastguard Workerexcept as expressly provided under this License.  Any attempt
193*58e6ee5fSAndroid Build Coastguard Workerotherwise to copy, modify, sublicense or distribute the Program is
194*58e6ee5fSAndroid Build Coastguard Workervoid, and will automatically terminate your rights under this License.
195*58e6ee5fSAndroid Build Coastguard WorkerHowever, parties who have received copies, or rights, from you under
196*58e6ee5fSAndroid Build Coastguard Workerthis License will not have their licenses terminated so long as such
197*58e6ee5fSAndroid Build Coastguard Workerparties remain in full compliance.
198*58e6ee5fSAndroid Build Coastguard Worker
199*58e6ee5fSAndroid Build Coastguard Worker  5. You are not required to accept this License, since you have not
200*58e6ee5fSAndroid Build Coastguard Workersigned it.  However, nothing else grants you permission to modify or
201*58e6ee5fSAndroid Build Coastguard Workerdistribute the Program or its derivative works.  These actions are
202*58e6ee5fSAndroid Build Coastguard Workerprohibited by law if you do not accept this License.  Therefore, by
203*58e6ee5fSAndroid Build Coastguard Workermodifying or distributing the Program (or any work based on the
204*58e6ee5fSAndroid Build Coastguard WorkerProgram), you indicate your acceptance of this License to do so, and
205*58e6ee5fSAndroid Build Coastguard Workerall its terms and conditions for copying, distributing or modifying
206*58e6ee5fSAndroid Build Coastguard Workerthe Program or works based on it.
207*58e6ee5fSAndroid Build Coastguard Worker
208*58e6ee5fSAndroid Build Coastguard Worker  6. Each time you redistribute the Program (or any work based on the
209*58e6ee5fSAndroid Build Coastguard WorkerProgram), the recipient automatically receives a license from the
210*58e6ee5fSAndroid Build Coastguard Workeroriginal licensor to copy, distribute or modify the Program subject to
211*58e6ee5fSAndroid Build Coastguard Workerthese terms and conditions.  You may not impose any further
212*58e6ee5fSAndroid Build Coastguard Workerrestrictions on the recipients' exercise of the rights granted herein.
213*58e6ee5fSAndroid Build Coastguard WorkerYou are not responsible for enforcing compliance by third parties to
214*58e6ee5fSAndroid Build Coastguard Workerthis License.
215*58e6ee5fSAndroid Build Coastguard Worker
216*58e6ee5fSAndroid Build Coastguard Worker  7. If, as a consequence of a court judgment or allegation of patent
217*58e6ee5fSAndroid Build Coastguard Workerinfringement or for any other reason (not limited to patent issues),
218*58e6ee5fSAndroid Build Coastguard Workerconditions are imposed on you (whether by court order, agreement or
219*58e6ee5fSAndroid Build Coastguard Workerotherwise) that contradict the conditions of this License, they do not
220*58e6ee5fSAndroid Build Coastguard Workerexcuse you from the conditions of this License.  If you cannot
221*58e6ee5fSAndroid Build Coastguard Workerdistribute so as to satisfy simultaneously your obligations under this
222*58e6ee5fSAndroid Build Coastguard WorkerLicense and any other pertinent obligations, then as a consequence you
223*58e6ee5fSAndroid Build Coastguard Workermay not distribute the Program at all.  For example, if a patent
224*58e6ee5fSAndroid Build Coastguard Workerlicense would not permit royalty-free redistribution of the Program by
225*58e6ee5fSAndroid Build Coastguard Workerall those who receive copies directly or indirectly through you, then
226*58e6ee5fSAndroid Build Coastguard Workerthe only way you could satisfy both it and this License would be to
227*58e6ee5fSAndroid Build Coastguard Workerrefrain entirely from distribution of the Program.
228*58e6ee5fSAndroid Build Coastguard Worker
229*58e6ee5fSAndroid Build Coastguard WorkerIf any portion of this section is held invalid or unenforceable under
230*58e6ee5fSAndroid Build Coastguard Workerany particular circumstance, the balance of the section is intended to
231*58e6ee5fSAndroid Build Coastguard Workerapply and the section as a whole is intended to apply in other
232*58e6ee5fSAndroid Build Coastguard Workercircumstances.
233*58e6ee5fSAndroid Build Coastguard Worker
234*58e6ee5fSAndroid Build Coastguard WorkerIt is not the purpose of this section to induce you to infringe any
235*58e6ee5fSAndroid Build Coastguard Workerpatents or other property right claims or to contest validity of any
236*58e6ee5fSAndroid Build Coastguard Workersuch claims; this section has the sole purpose of protecting the
237*58e6ee5fSAndroid Build Coastguard Workerintegrity of the free software distribution system, which is
238*58e6ee5fSAndroid Build Coastguard Workerimplemented by public license practices.  Many people have made
239*58e6ee5fSAndroid Build Coastguard Workergenerous contributions to the wide range of software distributed
240*58e6ee5fSAndroid Build Coastguard Workerthrough that system in reliance on consistent application of that
241*58e6ee5fSAndroid Build Coastguard Workersystem; it is up to the author/donor to decide if he or she is willing
242*58e6ee5fSAndroid Build Coastguard Workerto distribute software through any other system and a licensee cannot
243*58e6ee5fSAndroid Build Coastguard Workerimpose that choice.
244*58e6ee5fSAndroid Build Coastguard Worker
245*58e6ee5fSAndroid Build Coastguard WorkerThis section is intended to make thoroughly clear what is believed to
246*58e6ee5fSAndroid Build Coastguard Workerbe a consequence of the rest of this License.
247*58e6ee5fSAndroid Build Coastguard Worker
248*58e6ee5fSAndroid Build Coastguard Worker  8. If the distribution and/or use of the Program is restricted in
249*58e6ee5fSAndroid Build Coastguard Workercertain countries either by patents or by copyrighted interfaces, the
250*58e6ee5fSAndroid Build Coastguard Workeroriginal copyright holder who places the Program under this License
251*58e6ee5fSAndroid Build Coastguard Workermay add an explicit geographical distribution limitation excluding
252*58e6ee5fSAndroid Build Coastguard Workerthose countries, so that distribution is permitted only in or among
253*58e6ee5fSAndroid Build Coastguard Workercountries not thus excluded.  In such case, this License incorporates
254*58e6ee5fSAndroid Build Coastguard Workerthe limitation as if written in the body of this License.
255*58e6ee5fSAndroid Build Coastguard Worker
256*58e6ee5fSAndroid Build Coastguard Worker  9. The Free Software Foundation may publish revised and/or new versions
257*58e6ee5fSAndroid Build Coastguard Workerof the General Public License from time to time.  Such new versions will
258*58e6ee5fSAndroid Build Coastguard Workerbe similar in spirit to the present version, but may differ in detail to
259*58e6ee5fSAndroid Build Coastguard Workeraddress new problems or concerns.
260*58e6ee5fSAndroid Build Coastguard Worker
261*58e6ee5fSAndroid Build Coastguard WorkerEach version is given a distinguishing version number.  If the Program
262*58e6ee5fSAndroid Build Coastguard Workerspecifies a version number of this License which applies to it and "any
263*58e6ee5fSAndroid Build Coastguard Workerlater version", you have the option of following the terms and conditions
264*58e6ee5fSAndroid Build Coastguard Workereither of that version or of any later version published by the Free
265*58e6ee5fSAndroid Build Coastguard WorkerSoftware Foundation.  If the Program does not specify a version number of
266*58e6ee5fSAndroid Build Coastguard Workerthis License, you may choose any version ever published by the Free Software
267*58e6ee5fSAndroid Build Coastguard WorkerFoundation.
268*58e6ee5fSAndroid Build Coastguard Worker
269*58e6ee5fSAndroid Build Coastguard Worker  10. If you wish to incorporate parts of the Program into other free
270*58e6ee5fSAndroid Build Coastguard Workerprograms whose distribution conditions are different, write to the author
271*58e6ee5fSAndroid Build Coastguard Workerto ask for permission.  For software which is copyrighted by the Free
272*58e6ee5fSAndroid Build Coastguard WorkerSoftware Foundation, write to the Free Software Foundation; we sometimes
273*58e6ee5fSAndroid Build Coastguard Workermake exceptions for this.  Our decision will be guided by the two goals
274*58e6ee5fSAndroid Build Coastguard Workerof preserving the free status of all derivatives of our free software and
275*58e6ee5fSAndroid Build Coastguard Workerof promoting the sharing and reuse of software generally.
276*58e6ee5fSAndroid Build Coastguard Worker
277*58e6ee5fSAndroid Build Coastguard Worker			    NO WARRANTY
278*58e6ee5fSAndroid Build Coastguard Worker
279*58e6ee5fSAndroid Build Coastguard Worker  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
280*58e6ee5fSAndroid Build Coastguard WorkerFOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
281*58e6ee5fSAndroid Build Coastguard WorkerOTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
282*58e6ee5fSAndroid Build Coastguard WorkerPROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
283*58e6ee5fSAndroid Build Coastguard WorkerOR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
284*58e6ee5fSAndroid Build Coastguard WorkerMERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
285*58e6ee5fSAndroid Build Coastguard WorkerTO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
286*58e6ee5fSAndroid Build Coastguard WorkerPROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
287*58e6ee5fSAndroid Build Coastguard WorkerREPAIR OR CORRECTION.
288*58e6ee5fSAndroid Build Coastguard Worker
289*58e6ee5fSAndroid Build Coastguard Worker  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
290*58e6ee5fSAndroid Build Coastguard WorkerWILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
291*58e6ee5fSAndroid Build Coastguard WorkerREDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
292*58e6ee5fSAndroid Build Coastguard WorkerINCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
293*58e6ee5fSAndroid Build Coastguard WorkerOUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
294*58e6ee5fSAndroid Build Coastguard WorkerTO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
295*58e6ee5fSAndroid Build Coastguard WorkerYOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
296*58e6ee5fSAndroid Build Coastguard WorkerPROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
297*58e6ee5fSAndroid Build Coastguard WorkerPOSSIBILITY OF SUCH DAMAGES.
298*58e6ee5fSAndroid Build Coastguard Worker
299*58e6ee5fSAndroid Build Coastguard Worker		     END OF TERMS AND CONDITIONS
300*58e6ee5fSAndroid Build Coastguard Worker
301*58e6ee5fSAndroid Build Coastguard Worker	    How to Apply These Terms to Your New Programs
302*58e6ee5fSAndroid Build Coastguard Worker
303*58e6ee5fSAndroid Build Coastguard Worker  If you develop a new program, and you want it to be of the greatest
304*58e6ee5fSAndroid Build Coastguard Workerpossible use to the public, the best way to achieve this is to make it
305*58e6ee5fSAndroid Build Coastguard Workerfree software which everyone can redistribute and change under these terms.
306*58e6ee5fSAndroid Build Coastguard Worker
307*58e6ee5fSAndroid Build Coastguard Worker  To do so, attach the following notices to the program.  It is safest
308*58e6ee5fSAndroid Build Coastguard Workerto attach them to the start of each source file to most effectively
309*58e6ee5fSAndroid Build Coastguard Workerconvey the exclusion of warranty; and each file should have at least
310*58e6ee5fSAndroid Build Coastguard Workerthe "copyright" line and a pointer to where the full notice is found.
311*58e6ee5fSAndroid Build Coastguard Worker
312*58e6ee5fSAndroid Build Coastguard Worker    <one line to give the program's name and a brief idea of what it does.>
313*58e6ee5fSAndroid Build Coastguard Worker    Copyright (C) <year>  <name of author>
314*58e6ee5fSAndroid Build Coastguard Worker
315*58e6ee5fSAndroid Build Coastguard Worker    This program is free software; you can redistribute it and/or modify
316*58e6ee5fSAndroid Build Coastguard Worker    it under the terms of the GNU General Public License as published by
317*58e6ee5fSAndroid Build Coastguard Worker    the Free Software Foundation; either version 2 of the License, or
318*58e6ee5fSAndroid Build Coastguard Worker    (at your option) any later version.
319*58e6ee5fSAndroid Build Coastguard Worker
320*58e6ee5fSAndroid Build Coastguard Worker    This program is distributed in the hope that it will be useful,
321*58e6ee5fSAndroid Build Coastguard Worker    but WITHOUT ANY WARRANTY; without even the implied warranty of
322*58e6ee5fSAndroid Build Coastguard Worker    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
323*58e6ee5fSAndroid Build Coastguard Worker    GNU General Public License for more details.
324*58e6ee5fSAndroid Build Coastguard Worker
325*58e6ee5fSAndroid Build Coastguard Worker    You should have received a copy of the GNU General Public License
326*58e6ee5fSAndroid Build Coastguard Worker    along with this program; if not, write to the Free Software
327*58e6ee5fSAndroid Build Coastguard Worker    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
328*58e6ee5fSAndroid Build Coastguard Worker
329*58e6ee5fSAndroid Build Coastguard Worker
330*58e6ee5fSAndroid Build Coastguard WorkerAlso add information on how to contact you by electronic and paper mail.
331*58e6ee5fSAndroid Build Coastguard Worker
332*58e6ee5fSAndroid Build Coastguard WorkerIf the program is interactive, make it output a short notice like this
333*58e6ee5fSAndroid Build Coastguard Workerwhen it starts in an interactive mode:
334*58e6ee5fSAndroid Build Coastguard Worker
335*58e6ee5fSAndroid Build Coastguard Worker    Gnomovision version 69, Copyright (C) year name of author
336*58e6ee5fSAndroid Build Coastguard Worker    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
337*58e6ee5fSAndroid Build Coastguard Worker    This is free software, and you are welcome to redistribute it
338*58e6ee5fSAndroid Build Coastguard Worker    under certain conditions; type `show c' for details.
339*58e6ee5fSAndroid Build Coastguard Worker
340*58e6ee5fSAndroid Build Coastguard WorkerThe hypothetical commands `show w' and `show c' should show the appropriate
341*58e6ee5fSAndroid Build Coastguard Workerparts of the General Public License.  Of course, the commands you use may
342*58e6ee5fSAndroid Build Coastguard Workerbe called something other than `show w' and `show c'; they could even be
343*58e6ee5fSAndroid Build Coastguard Workermouse-clicks or menu items--whatever suits your program.
344*58e6ee5fSAndroid Build Coastguard Worker
345*58e6ee5fSAndroid Build Coastguard WorkerYou should also get your employer (if you work as a programmer) or your
346*58e6ee5fSAndroid Build Coastguard Workerschool, if any, to sign a "copyright disclaimer" for the program, if
347*58e6ee5fSAndroid Build Coastguard Workernecessary.  Here is a sample; alter the names:
348*58e6ee5fSAndroid Build Coastguard Worker
349*58e6ee5fSAndroid Build Coastguard Worker  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
350*58e6ee5fSAndroid Build Coastguard Worker  `Gnomovision' (which makes passes at compilers) written by James Hacker.
351*58e6ee5fSAndroid Build Coastguard Worker
352*58e6ee5fSAndroid Build Coastguard Worker  <signature of Ty Coon>, 1 April 1989
353*58e6ee5fSAndroid Build Coastguard Worker  Ty Coon, President of Vice
354*58e6ee5fSAndroid Build Coastguard Worker
355*58e6ee5fSAndroid Build Coastguard WorkerThis General Public License does not permit incorporating your program into
356*58e6ee5fSAndroid Build Coastguard Workerproprietary programs.  If your program is a subroutine library, you may
357*58e6ee5fSAndroid Build Coastguard Workerconsider it more useful to permit linking proprietary applications with the
358*58e6ee5fSAndroid Build Coastguard Workerlibrary.  If this is what you want to do, use the GNU Library General
359*58e6ee5fSAndroid Build Coastguard WorkerPublic License instead of this License.
360