xref: /aosp_15_r20/external/libcups/doc/help/license.html (revision 5e7646d21f1134fb0638875d812ef646c12ab91e)
1*5e7646d2SAndroid Build Coastguard Worker<HTML>
2*5e7646d2SAndroid Build Coastguard Worker<!-- SECTION: Getting Started -->
3*5e7646d2SAndroid Build Coastguard Worker<HEAD>
4*5e7646d2SAndroid Build Coastguard Worker	<TITLE>Apache License Version 2.0</TITLE>
5*5e7646d2SAndroid Build Coastguard Worker	<LINK REL="STYLESHEET" TYPE="text/css" HREF="../cups-printable.css">
6*5e7646d2SAndroid Build Coastguard Worker</HEAD>
7*5e7646d2SAndroid Build Coastguard Worker<BODY>
8*5e7646d2SAndroid Build Coastguard Worker
9*5e7646d2SAndroid Build Coastguard Worker<h1>Apache License</h1>
10*5e7646d2SAndroid Build Coastguard Worker
11*5e7646d2SAndroid Build Coastguard Worker<p>Version 2.0, January 2004<br></br>
12*5e7646d2SAndroid Build Coastguard Worker<a href="http://www.apache.org/licenses/">http://www.apache.org/licenses/</a> </p>
13*5e7646d2SAndroid Build Coastguard Worker
14*5e7646d2SAndroid Build Coastguard Worker<p>TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION</p>
15*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="definitions">1. Definitions</a></strong>.</p>
16*5e7646d2SAndroid Build Coastguard Worker<p>"License" shall mean the terms and conditions for use, reproduction, and
17*5e7646d2SAndroid Build Coastguard Workerdistribution as defined by Sections 1 through 9 of this document.</p>
18*5e7646d2SAndroid Build Coastguard Worker<p>"Licensor" shall mean the copyright owner or entity authorized by the
19*5e7646d2SAndroid Build Coastguard Workercopyright owner that is granting the License.</p>
20*5e7646d2SAndroid Build Coastguard Worker<p>"Legal Entity" shall mean the union of the acting entity and all other
21*5e7646d2SAndroid Build Coastguard Workerentities that control, are controlled by, or are under common control with
22*5e7646d2SAndroid Build Coastguard Workerthat entity. For the purposes of this definition, "control" means (i) the
23*5e7646d2SAndroid Build Coastguard Workerpower, direct or indirect, to cause the direction or management of such
24*5e7646d2SAndroid Build Coastguard Workerentity, whether by contract or otherwise, or (ii) ownership of fifty
25*5e7646d2SAndroid Build Coastguard Workerpercent (50%) or more of the outstanding shares, or (iii) beneficial
26*5e7646d2SAndroid Build Coastguard Workerownership of such entity.</p>
27*5e7646d2SAndroid Build Coastguard Worker<p>"You" (or "Your") shall mean an individual or Legal Entity exercising
28*5e7646d2SAndroid Build Coastguard Workerpermissions granted by this License.</p>
29*5e7646d2SAndroid Build Coastguard Worker<p>"Source" form shall mean the preferred form for making modifications,
30*5e7646d2SAndroid Build Coastguard Workerincluding but not limited to software source code, documentation source,
31*5e7646d2SAndroid Build Coastguard Workerand configuration files.</p>
32*5e7646d2SAndroid Build Coastguard Worker<p>"Object" form shall mean any form resulting from mechanical transformation
33*5e7646d2SAndroid Build Coastguard Workeror translation of a Source form, including but not limited to compiled
34*5e7646d2SAndroid Build Coastguard Workerobject code, generated documentation, and conversions to other media types.</p>
35*5e7646d2SAndroid Build Coastguard Worker<p>"Work" shall mean the work of authorship, whether in Source or Object form,
36*5e7646d2SAndroid Build Coastguard Workermade available under the License, as indicated by a copyright notice that
37*5e7646d2SAndroid Build Coastguard Workeris included in or attached to the work (an example is provided in the
38*5e7646d2SAndroid Build Coastguard WorkerAppendix below).</p>
39*5e7646d2SAndroid Build Coastguard Worker<p>"Derivative Works" shall mean any work, whether in Source or Object form,
40*5e7646d2SAndroid Build Coastguard Workerthat is based on (or derived from) the Work and for which the editorial
41*5e7646d2SAndroid Build Coastguard Workerrevisions, annotations, elaborations, or other modifications represent, as
42*5e7646d2SAndroid Build Coastguard Workera whole, an original work of authorship. For the purposes of this License,
43*5e7646d2SAndroid Build Coastguard WorkerDerivative Works shall not include works that remain separable from, or
44*5e7646d2SAndroid Build Coastguard Workermerely link (or bind by name) to the interfaces of, the Work and Derivative
45*5e7646d2SAndroid Build Coastguard WorkerWorks thereof.</p>
46*5e7646d2SAndroid Build Coastguard Worker<p>"Contribution" shall mean any work of authorship, including the original
47*5e7646d2SAndroid Build Coastguard Workerversion of the Work and any modifications or additions to that Work or
48*5e7646d2SAndroid Build Coastguard WorkerDerivative Works thereof, that is intentionally submitted to Licensor for
49*5e7646d2SAndroid Build Coastguard Workerinclusion in the Work by the copyright owner or by an individual or Legal
50*5e7646d2SAndroid Build Coastguard WorkerEntity authorized to submit on behalf of the copyright owner. For the
51*5e7646d2SAndroid Build Coastguard Workerpurposes of this definition, "submitted" means any form of electronic,
52*5e7646d2SAndroid Build Coastguard Workerverbal, or written communication sent to the Licensor or its
53*5e7646d2SAndroid Build Coastguard Workerrepresentatives, including but not limited to communication on electronic
54*5e7646d2SAndroid Build Coastguard Workermailing lists, source code control systems, and issue tracking systems that
55*5e7646d2SAndroid Build Coastguard Workerare managed by, or on behalf of, the Licensor for the purpose of discussing
56*5e7646d2SAndroid Build Coastguard Workerand improving the Work, but excluding communication that is conspicuously
57*5e7646d2SAndroid Build Coastguard Workermarked or otherwise designated in writing by the copyright owner as "Not a
58*5e7646d2SAndroid Build Coastguard WorkerContribution."</p>
59*5e7646d2SAndroid Build Coastguard Worker<p>"Contributor" shall mean Licensor and any individual or Legal Entity on
60*5e7646d2SAndroid Build Coastguard Workerbehalf of whom a Contribution has been received by Licensor and
61*5e7646d2SAndroid Build Coastguard Workersubsequently incorporated within the Work.</p>
62*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="copyright">2. Grant of Copyright License</a></strong>. Subject to the
63*5e7646d2SAndroid Build Coastguard Workerterms and conditions of this License, each Contributor hereby grants to You
64*5e7646d2SAndroid Build Coastguard Workera perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
65*5e7646d2SAndroid Build Coastguard Workercopyright license to reproduce, prepare Derivative Works of, publicly
66*5e7646d2SAndroid Build Coastguard Workerdisplay, publicly perform, sublicense, and distribute the Work and such
67*5e7646d2SAndroid Build Coastguard WorkerDerivative Works in Source or Object form.</p>
68*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="patent">3. Grant of Patent License</a></strong>. Subject to the terms
69*5e7646d2SAndroid Build Coastguard Workerand conditions of this License, each Contributor hereby grants to You a
70*5e7646d2SAndroid Build Coastguard Workerperpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable
71*5e7646d2SAndroid Build Coastguard Worker(except as stated in this section) patent license to make, have made, use,
72*5e7646d2SAndroid Build Coastguard Workeroffer to sell, sell, import, and otherwise transfer the Work, where such
73*5e7646d2SAndroid Build Coastguard Workerlicense applies only to those patent claims licensable by such Contributor
74*5e7646d2SAndroid Build Coastguard Workerthat are necessarily infringed by their Contribution(s) alone or by
75*5e7646d2SAndroid Build Coastguard Workercombination of their Contribution(s) with the Work to which such
76*5e7646d2SAndroid Build Coastguard WorkerContribution(s) was submitted. If You institute patent litigation against
77*5e7646d2SAndroid Build Coastguard Workerany entity (including a cross-claim or counterclaim in a lawsuit) alleging
78*5e7646d2SAndroid Build Coastguard Workerthat the Work or a Contribution incorporated within the Work constitutes
79*5e7646d2SAndroid Build Coastguard Workerdirect or contributory patent infringement, then any patent licenses
80*5e7646d2SAndroid Build Coastguard Workergranted to You under this License for that Work shall terminate as of the
81*5e7646d2SAndroid Build Coastguard Workerdate such litigation is filed.</p>
82*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="redistribution">4. Redistribution</a></strong>. You may reproduce and
83*5e7646d2SAndroid Build Coastguard Workerdistribute copies of the Work or Derivative Works thereof in any medium,
84*5e7646d2SAndroid Build Coastguard Workerwith or without modifications, and in Source or Object form, provided that
85*5e7646d2SAndroid Build Coastguard WorkerYou meet the following conditions:</p>
86*5e7646d2SAndroid Build Coastguard Worker<ol style="list-style: lower-latin;">
87*5e7646d2SAndroid Build Coastguard Worker<li>You must give any other recipients of the Work or Derivative Works a
88*5e7646d2SAndroid Build Coastguard Workercopy of this License; and</li>
89*5e7646d2SAndroid Build Coastguard Worker
90*5e7646d2SAndroid Build Coastguard Worker<li>You must cause any modified files to carry prominent notices stating
91*5e7646d2SAndroid Build Coastguard Workerthat You changed the files; and</li>
92*5e7646d2SAndroid Build Coastguard Worker
93*5e7646d2SAndroid Build Coastguard Worker<li>You must retain, in the Source form of any Derivative Works that You
94*5e7646d2SAndroid Build Coastguard Workerdistribute, all copyright, patent, trademark, and attribution notices from
95*5e7646d2SAndroid Build Coastguard Workerthe Source form of the Work, excluding those notices that do not pertain to
96*5e7646d2SAndroid Build Coastguard Workerany part of the Derivative Works; and</li>
97*5e7646d2SAndroid Build Coastguard Worker
98*5e7646d2SAndroid Build Coastguard Worker<li>If the Work includes a "NOTICE" text file as part of its distribution,
99*5e7646d2SAndroid Build Coastguard Workerthen any Derivative Works that You distribute must include a readable copy
100*5e7646d2SAndroid Build Coastguard Workerof the attribution notices contained within such NOTICE file, excluding
101*5e7646d2SAndroid Build Coastguard Workerthose notices that do not pertain to any part of the Derivative Works, in
102*5e7646d2SAndroid Build Coastguard Workerat least one of the following places: within a NOTICE text file distributed
103*5e7646d2SAndroid Build Coastguard Workeras part of the Derivative Works; within the Source form or documentation,
104*5e7646d2SAndroid Build Coastguard Workerif provided along with the Derivative Works; or, within a display generated
105*5e7646d2SAndroid Build Coastguard Workerby the Derivative Works, if and wherever such third-party notices normally
106*5e7646d2SAndroid Build Coastguard Workerappear. The contents of the NOTICE file are for informational purposes only
107*5e7646d2SAndroid Build Coastguard Workerand do not modify the License. You may add Your own attribution notices
108*5e7646d2SAndroid Build Coastguard Workerwithin Derivative Works that You distribute, alongside or as an addendum to
109*5e7646d2SAndroid Build Coastguard Workerthe NOTICE text from the Work, provided that such additional attribution
110*5e7646d2SAndroid Build Coastguard Workernotices cannot be construed as modifying the License.
111*5e7646d2SAndroid Build Coastguard Worker<br/>
112*5e7646d2SAndroid Build Coastguard Worker<br/>
113*5e7646d2SAndroid Build Coastguard WorkerYou may add Your own copyright statement to Your modifications and may
114*5e7646d2SAndroid Build Coastguard Workerprovide additional or different license terms and conditions for use,
115*5e7646d2SAndroid Build Coastguard Workerreproduction, or distribution of Your modifications, or for any such
116*5e7646d2SAndroid Build Coastguard WorkerDerivative Works as a whole, provided Your use, reproduction, and
117*5e7646d2SAndroid Build Coastguard Workerdistribution of the Work otherwise complies with the conditions stated in
118*5e7646d2SAndroid Build Coastguard Workerthis License.
119*5e7646d2SAndroid Build Coastguard Worker</li>
120*5e7646d2SAndroid Build Coastguard Worker
121*5e7646d2SAndroid Build Coastguard Worker</ol>
122*5e7646d2SAndroid Build Coastguard Worker
123*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="contributions">5. Submission of Contributions</a></strong>. Unless You
124*5e7646d2SAndroid Build Coastguard Workerexplicitly state otherwise, any Contribution intentionally submitted for
125*5e7646d2SAndroid Build Coastguard Workerinclusion in the Work by You to the Licensor shall be under the terms and
126*5e7646d2SAndroid Build Coastguard Workerconditions of this License, without any additional terms or conditions.
127*5e7646d2SAndroid Build Coastguard WorkerNotwithstanding the above, nothing herein shall supersede or modify the
128*5e7646d2SAndroid Build Coastguard Workerterms of any separate license agreement you may have executed with Licensor
129*5e7646d2SAndroid Build Coastguard Workerregarding such Contributions.</p>
130*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="trademarks">6. Trademarks</a></strong>. This License does not grant
131*5e7646d2SAndroid Build Coastguard Workerpermission to use the trade names, trademarks, service marks, or product
132*5e7646d2SAndroid Build Coastguard Workernames of the Licensor, except as required for reasonable and customary use
133*5e7646d2SAndroid Build Coastguard Workerin describing the origin of the Work and reproducing the content of the
134*5e7646d2SAndroid Build Coastguard WorkerNOTICE file.</p>
135*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="no-warranty">7. Disclaimer of Warranty</a></strong>. Unless required by
136*5e7646d2SAndroid Build Coastguard Workerapplicable law or agreed to in writing, Licensor provides the Work (and
137*5e7646d2SAndroid Build Coastguard Workereach Contributor provides its Contributions) on an "AS IS" BASIS, WITHOUT
138*5e7646d2SAndroid Build Coastguard WorkerWARRANTIES OR CONDITIONS OF ANY KIND, either express or implied, including,
139*5e7646d2SAndroid Build Coastguard Workerwithout limitation, any warranties or conditions of TITLE,
140*5e7646d2SAndroid Build Coastguard WorkerNON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A PARTICULAR PURPOSE. You
141*5e7646d2SAndroid Build Coastguard Workerare solely responsible for determining the appropriateness of using or
142*5e7646d2SAndroid Build Coastguard Workerredistributing the Work and assume any risks associated with Your exercise
143*5e7646d2SAndroid Build Coastguard Workerof permissions under this License.</p>
144*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="no-liability">8. Limitation of Liability</a></strong>. In no event and
145*5e7646d2SAndroid Build Coastguard Workerunder no legal theory, whether in tort (including negligence), contract, or
146*5e7646d2SAndroid Build Coastguard Workerotherwise, unless required by applicable law (such as deliberate and
147*5e7646d2SAndroid Build Coastguard Workergrossly negligent acts) or agreed to in writing, shall any Contributor be
148*5e7646d2SAndroid Build Coastguard Workerliable to You for damages, including any direct, indirect, special,
149*5e7646d2SAndroid Build Coastguard Workerincidental, or consequential damages of any character arising as a result
150*5e7646d2SAndroid Build Coastguard Workerof this License or out of the use or inability to use the Work (including
151*5e7646d2SAndroid Build Coastguard Workerbut not limited to damages for loss of goodwill, work stoppage, computer
152*5e7646d2SAndroid Build Coastguard Workerfailure or malfunction, or any and all other commercial damages or losses),
153*5e7646d2SAndroid Build Coastguard Workereven if such Contributor has been advised of the possibility of such
154*5e7646d2SAndroid Build Coastguard Workerdamages.</p>
155*5e7646d2SAndroid Build Coastguard Worker<p><strong><a name="additional">9. Accepting Warranty or Additional Liability</a></strong>.
156*5e7646d2SAndroid Build Coastguard WorkerWhile redistributing the Work or Derivative Works thereof, You may choose
157*5e7646d2SAndroid Build Coastguard Workerto offer, and charge a fee for, acceptance of support, warranty, indemnity,
158*5e7646d2SAndroid Build Coastguard Workeror other liability obligations and/or rights consistent with this License.
159*5e7646d2SAndroid Build Coastguard WorkerHowever, in accepting such obligations, You may act only on Your own behalf
160*5e7646d2SAndroid Build Coastguard Workerand on Your sole responsibility, not on behalf of any other Contributor,
161*5e7646d2SAndroid Build Coastguard Workerand only if You agree to indemnify, defend, and hold each Contributor
162*5e7646d2SAndroid Build Coastguard Workerharmless for any liability incurred by, or claims asserted against, such
163*5e7646d2SAndroid Build Coastguard WorkerContributor by reason of your accepting any such warranty or additional
164*5e7646d2SAndroid Build Coastguard Workerliability.</p>
165*5e7646d2SAndroid Build Coastguard Worker<p>END OF TERMS AND CONDITIONS</p>
166*5e7646d2SAndroid Build Coastguard Worker<h2 id="apply">APPENDIX: How to apply the Apache License to your work</h2>
167*5e7646d2SAndroid Build Coastguard Worker<p>To apply the Apache License to your work, attach the following boilerplate
168*5e7646d2SAndroid Build Coastguard Workernotice, with the fields enclosed by brackets "[]" replaced with your own
169*5e7646d2SAndroid Build Coastguard Workeridentifying information. (Don't include the brackets!) The text should be
170*5e7646d2SAndroid Build Coastguard Workerenclosed in the appropriate comment syntax for the file format. We also
171*5e7646d2SAndroid Build Coastguard Workerrecommend that a file or class name and description of purpose be included
172*5e7646d2SAndroid Build Coastguard Workeron the same "printed page" as the copyright notice for easier
173*5e7646d2SAndroid Build Coastguard Workeridentification within third-party archives.</p>
174*5e7646d2SAndroid Build Coastguard Worker
175*5e7646d2SAndroid Build Coastguard Worker<pre>Copyright [yyyy] [name of copyright owner]
176*5e7646d2SAndroid Build Coastguard Worker
177*5e7646d2SAndroid Build Coastguard WorkerLicensed under the Apache License, Version 2.0 (the &quot;License&quot;);
178*5e7646d2SAndroid Build Coastguard Workeryou may not use this file except in compliance with the License.
179*5e7646d2SAndroid Build Coastguard WorkerYou may obtain a copy of the License at
180*5e7646d2SAndroid Build Coastguard Worker
181*5e7646d2SAndroid Build Coastguard Worker    http://www.apache.org/licenses/LICENSE-2.0
182*5e7646d2SAndroid Build Coastguard Worker
183*5e7646d2SAndroid Build Coastguard WorkerUnless required by applicable law or agreed to in writing, software
184*5e7646d2SAndroid Build Coastguard Workerdistributed under the License is distributed on an &quot;AS IS&quot; BASIS,
185*5e7646d2SAndroid Build Coastguard WorkerWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
186*5e7646d2SAndroid Build Coastguard WorkerSee the License for the specific language governing permissions and
187*5e7646d2SAndroid Build Coastguard Workerlimitations under the License.
188*5e7646d2SAndroid Build Coastguard Worker</pre>
189*5e7646d2SAndroid Build Coastguard Worker
190*5e7646d2SAndroid Build Coastguard Worker<h2>CUPS Exceptions to the Apache 2.0 License</h2>
191*5e7646d2SAndroid Build Coastguard Worker
192*5e7646d2SAndroid Build Coastguard Worker<p>As an exception, if, as a result of your compiling your source code, portions
193*5e7646d2SAndroid Build Coastguard Workerof this Software are embedded into an Object form of such source code, you
194*5e7646d2SAndroid Build Coastguard Workermay redistribute such embedded portions in such Object form without complying
195*5e7646d2SAndroid Build Coastguard Workerwith the conditions of Sections 4(a), 4(b) and 4(d) of the License.</p>
196*5e7646d2SAndroid Build Coastguard Worker
197*5e7646d2SAndroid Build Coastguard Worker<p>In addition, if you combine or link compiled forms of this Software with
198*5e7646d2SAndroid Build Coastguard Workersoftware that is licensed under the GPLv2 ("Combined Software") and if a
199*5e7646d2SAndroid Build Coastguard Workercourt of competent jurisdiction determines that the patent provision (Section
200*5e7646d2SAndroid Build Coastguard Worker3), the indemnity provision (Section 9) or other Section of the License
201*5e7646d2SAndroid Build Coastguard Workerconflicts with the conditions of the GPLv2, you may retroactively and
202*5e7646d2SAndroid Build Coastguard Workerprospectively choose to deem waived or otherwise exclude such Section(s) of
203*5e7646d2SAndroid Build Coastguard Workerthe License, but only in their entirety and only with respect to the Combined
204*5e7646d2SAndroid Build Coastguard WorkerSoftware.</p>
205*5e7646d2SAndroid Build Coastguard Worker
206*5e7646d2SAndroid Build Coastguard Worker</BODY>
207*5e7646d2SAndroid Build Coastguard Worker</HTML>
208