Blame third_party/rust/gcc/LICENSE-APACHE

Packit f0b94e
                              Apache License
Packit f0b94e
                        Version 2.0, January 2004
Packit f0b94e
                     http://www.apache.org/licenses/
Packit f0b94e
Packit f0b94e
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
Packit f0b94e
Packit f0b94e
1. Definitions.
Packit f0b94e
Packit f0b94e
   "License" shall mean the terms and conditions for use, reproduction,
Packit f0b94e
   and distribution as defined by Sections 1 through 9 of this document.
Packit f0b94e
Packit f0b94e
   "Licensor" shall mean the copyright owner or entity authorized by
Packit f0b94e
   the copyright owner that is granting the License.
Packit f0b94e
Packit f0b94e
   "Legal Entity" shall mean the union of the acting entity and all
Packit f0b94e
   other entities that control, are controlled by, or are under common
Packit f0b94e
   control with that entity. For the purposes of this definition,
Packit f0b94e
   "control" means (i) the power, direct or indirect, to cause the
Packit f0b94e
   direction or management of such entity, whether by contract or
Packit f0b94e
   otherwise, or (ii) ownership of fifty percent (50%) or more of the
Packit f0b94e
   outstanding shares, or (iii) beneficial ownership of such entity.
Packit f0b94e
Packit f0b94e
   "You" (or "Your") shall mean an individual or Legal Entity
Packit f0b94e
   exercising permissions granted by this License.
Packit f0b94e
Packit f0b94e
   "Source" form shall mean the preferred form for making modifications,
Packit f0b94e
   including but not limited to software source code, documentation
Packit f0b94e
   source, and configuration files.
Packit f0b94e
Packit f0b94e
   "Object" form shall mean any form resulting from mechanical
Packit f0b94e
   transformation or translation of a Source form, including but
Packit f0b94e
   not limited to compiled object code, generated documentation,
Packit f0b94e
   and conversions to other media types.
Packit f0b94e
Packit f0b94e
   "Work" shall mean the work of authorship, whether in Source or
Packit f0b94e
   Object form, made available under the License, as indicated by a
Packit f0b94e
   copyright notice that is included in or attached to the work
Packit f0b94e
   (an example is provided in the Appendix below).
Packit f0b94e
Packit f0b94e
   "Derivative Works" shall mean any work, whether in Source or Object
Packit f0b94e
   form, that is based on (or derived from) the Work and for which the
Packit f0b94e
   editorial revisions, annotations, elaborations, or other modifications
Packit f0b94e
   represent, as a whole, an original work of authorship. For the purposes
Packit f0b94e
   of this License, Derivative Works shall not include works that remain
Packit f0b94e
   separable from, or merely link (or bind by name) to the interfaces of,
Packit f0b94e
   the Work and Derivative Works thereof.
Packit f0b94e
Packit f0b94e
   "Contribution" shall mean any work of authorship, including
Packit f0b94e
   the original version of the Work and any modifications or additions
Packit f0b94e
   to that Work or Derivative Works thereof, that is intentionally
Packit f0b94e
   submitted to Licensor for inclusion in the Work by the copyright owner
Packit f0b94e
   or by an individual or Legal Entity authorized to submit on behalf of
Packit f0b94e
   the copyright owner. For the purposes of this definition, "submitted"
Packit f0b94e
   means any form of electronic, verbal, or written communication sent
Packit f0b94e
   to the Licensor or its representatives, including but not limited to
Packit f0b94e
   communication on electronic mailing lists, source code control systems,
Packit f0b94e
   and issue tracking systems that are managed by, or on behalf of, the
Packit f0b94e
   Licensor for the purpose of discussing and improving the Work, but
Packit f0b94e
   excluding communication that is conspicuously marked or otherwise
Packit f0b94e
   designated in writing by the copyright owner as "Not a Contribution."
Packit f0b94e
Packit f0b94e
   "Contributor" shall mean Licensor and any individual or Legal Entity
Packit f0b94e
   on behalf of whom a Contribution has been received by Licensor and
Packit f0b94e
   subsequently incorporated within the Work.
Packit f0b94e
Packit f0b94e
2. Grant of Copyright License. Subject to the terms and conditions of
Packit f0b94e
   this License, each Contributor hereby grants to You a perpetual,
Packit f0b94e
   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
Packit f0b94e
   copyright license to reproduce, prepare Derivative Works of,
Packit f0b94e
   publicly display, publicly perform, sublicense, and distribute the
Packit f0b94e
   Work and such Derivative Works in Source or Object form.
Packit f0b94e
Packit f0b94e
3. Grant of Patent License. Subject to the terms and conditions of
Packit f0b94e
   this License, each Contributor hereby grants to You a perpetual,
Packit f0b94e
   worldwide, non-exclusive, no-charge, royalty-free, irrevocable
Packit f0b94e
   (except as stated in this section) patent license to make, have made,
Packit f0b94e
   use, offer to sell, sell, import, and otherwise transfer the Work,
Packit f0b94e
   where such license applies only to those patent claims licensable
Packit f0b94e
   by such Contributor that are necessarily infringed by their
Packit f0b94e
   Contribution(s) alone or by combination of their Contribution(s)
Packit f0b94e
   with the Work to which such Contribution(s) was submitted. If You
Packit f0b94e
   institute patent litigation against any entity (including a
Packit f0b94e
   cross-claim or counterclaim in a lawsuit) alleging that the Work
Packit f0b94e
   or a Contribution incorporated within the Work constitutes direct
Packit f0b94e
   or contributory patent infringement, then any patent licenses
Packit f0b94e
   granted to You under this License for that Work shall terminate
Packit f0b94e
   as of the date such litigation is filed.
Packit f0b94e
Packit f0b94e
4. Redistribution. You may reproduce and distribute copies of the
Packit f0b94e
   Work or Derivative Works thereof in any medium, with or without
Packit f0b94e
   modifications, and in Source or Object form, provided that You
Packit f0b94e
   meet the following conditions:
Packit f0b94e
Packit f0b94e
   (a) You must give any other recipients of the Work or
Packit f0b94e
       Derivative Works a copy of this License; and
Packit f0b94e
Packit f0b94e
   (b) You must cause any modified files to carry prominent notices
Packit f0b94e
       stating that You changed the files; and
Packit f0b94e
Packit f0b94e
   (c) You must retain, in the Source form of any Derivative Works
Packit f0b94e
       that You distribute, all copyright, patent, trademark, and
Packit f0b94e
       attribution notices from the Source form of the Work,
Packit f0b94e
       excluding those notices that do not pertain to any part of
Packit f0b94e
       the Derivative Works; and
Packit f0b94e
Packit f0b94e
   (d) If the Work includes a "NOTICE" text file as part of its
Packit f0b94e
       distribution, then any Derivative Works that You distribute must
Packit f0b94e
       include a readable copy of the attribution notices contained
Packit f0b94e
       within such NOTICE file, excluding those notices that do not
Packit f0b94e
       pertain to any part of the Derivative Works, in at least one
Packit f0b94e
       of the following places: within a NOTICE text file distributed
Packit f0b94e
       as part of the Derivative Works; within the Source form or
Packit f0b94e
       documentation, if provided along with the Derivative Works; or,
Packit f0b94e
       within a display generated by the Derivative Works, if and
Packit f0b94e
       wherever such third-party notices normally appear. The contents
Packit f0b94e
       of the NOTICE file are for informational purposes only and
Packit f0b94e
       do not modify the License. You may add Your own attribution
Packit f0b94e
       notices within Derivative Works that You distribute, alongside
Packit f0b94e
       or as an addendum to the NOTICE text from the Work, provided
Packit f0b94e
       that such additional attribution notices cannot be construed
Packit f0b94e
       as modifying the License.
Packit f0b94e
Packit f0b94e
   You may add Your own copyright statement to Your modifications and
Packit f0b94e
   may provide additional or different license terms and conditions
Packit f0b94e
   for use, reproduction, or distribution of Your modifications, or
Packit f0b94e
   for any such Derivative Works as a whole, provided Your use,
Packit f0b94e
   reproduction, and distribution of the Work otherwise complies with
Packit f0b94e
   the conditions stated in this License.
Packit f0b94e
Packit f0b94e
5. Submission of Contributions. Unless You explicitly state otherwise,
Packit f0b94e
   any Contribution intentionally submitted for inclusion in the Work
Packit f0b94e
   by You to the Licensor shall be under the terms and conditions of
Packit f0b94e
   this License, without any additional terms or conditions.
Packit f0b94e
   Notwithstanding the above, nothing herein shall supersede or modify
Packit f0b94e
   the terms of any separate license agreement you may have executed
Packit f0b94e
   with Licensor regarding such Contributions.
Packit f0b94e
Packit f0b94e
6. Trademarks. This License does not grant permission to use the trade
Packit f0b94e
   names, trademarks, service marks, or product names of the Licensor,
Packit f0b94e
   except as required for reasonable and customary use in describing the
Packit f0b94e
   origin of the Work and reproducing the content of the NOTICE file.
Packit f0b94e
Packit f0b94e
7. Disclaimer of Warranty. Unless required by applicable law or
Packit f0b94e
   agreed to in writing, Licensor provides the Work (and each
Packit f0b94e
   Contributor provides its Contributions) on an "AS IS" BASIS,
Packit f0b94e
   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
Packit f0b94e
   implied, including, without limitation, any warranties or conditions
Packit f0b94e
   of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
Packit f0b94e
   PARTICULAR PURPOSE. You are solely responsible for determining the
Packit f0b94e
   appropriateness of using or redistributing the Work and assume any
Packit f0b94e
   risks associated with Your exercise of permissions under this License.
Packit f0b94e
Packit f0b94e
8. Limitation of Liability. In no event and under no legal theory,
Packit f0b94e
   whether in tort (including negligence), contract, or otherwise,
Packit f0b94e
   unless required by applicable law (such as deliberate and grossly
Packit f0b94e
   negligent acts) or agreed to in writing, shall any Contributor be
Packit f0b94e
   liable to You for damages, including any direct, indirect, special,
Packit f0b94e
   incidental, or consequential damages of any character arising as a
Packit f0b94e
   result of this License or out of the use or inability to use the
Packit f0b94e
   Work (including but not limited to damages for loss of goodwill,
Packit f0b94e
   work stoppage, computer failure or malfunction, or any and all
Packit f0b94e
   other commercial damages or losses), even if such Contributor
Packit f0b94e
   has been advised of the possibility of such damages.
Packit f0b94e
Packit f0b94e
9. Accepting Warranty or Additional Liability. While redistributing
Packit f0b94e
   the Work or Derivative Works thereof, You may choose to offer,
Packit f0b94e
   and charge a fee for, acceptance of support, warranty, indemnity,
Packit f0b94e
   or other liability obligations and/or rights consistent with this
Packit f0b94e
   License. However, in accepting such obligations, You may act only
Packit f0b94e
   on Your own behalf and on Your sole responsibility, not on behalf
Packit f0b94e
   of any other Contributor, and only if You agree to indemnify,
Packit f0b94e
   defend, and hold each Contributor harmless for any liability
Packit f0b94e
   incurred by, or claims asserted against, such Contributor by reason
Packit f0b94e
   of your accepting any such warranty or additional liability.
Packit f0b94e
Packit f0b94e
END OF TERMS AND CONDITIONS
Packit f0b94e
Packit f0b94e
APPENDIX: How to apply the Apache License to your work.
Packit f0b94e
Packit f0b94e
   To apply the Apache License to your work, attach the following
Packit f0b94e
   boilerplate notice, with the fields enclosed by brackets "[]"
Packit f0b94e
   replaced with your own identifying information. (Don't include
Packit f0b94e
   the brackets!)  The text should be enclosed in the appropriate
Packit f0b94e
   comment syntax for the file format. We also recommend that a
Packit f0b94e
   file or class name and description of purpose be included on the
Packit f0b94e
   same "printed page" as the copyright notice for easier
Packit f0b94e
   identification within third-party archives.
Packit f0b94e
Packit f0b94e
Copyright [yyyy] [name of copyright owner]
Packit f0b94e
Packit f0b94e
Licensed under the Apache License, Version 2.0 (the "License");
Packit f0b94e
you may not use this file except in compliance with the License.
Packit f0b94e
You may obtain a copy of the License at
Packit f0b94e
Packit f0b94e
	http://www.apache.org/licenses/LICENSE-2.0
Packit f0b94e
Packit f0b94e
Unless required by applicable law or agreed to in writing, software
Packit f0b94e
distributed under the License is distributed on an "AS IS" BASIS,
Packit f0b94e
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
Packit f0b94e
See the License for the specific language governing permissions and
Packit f0b94e
limitations under the License.