license 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354
  1. Apple Public Source License
  2. Version 2.0 - August 6, 2003
  3. Please read this License carefully before downloading this software. By
  4. downloading or using this software, you are agreeing to be bound by the
  5. terms of this License. If you do not or cannot agree to the terms of
  6. this License, please do not download or use the software.
  7. 1. General; Definitions. This License applies to any program or other
  8. work which Apple Computer, Inc. ("Apple") makes publicly available and
  9. which contains a notice placed by Apple identifying such program or work
  10. as "Original Code" and stating that it is subject to the terms of this
  11. Apple Public Source License version 2.0 ("License"). As used in this
  12. License:
  13. 1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is the
  14. grantor of rights, (i) claims of patents that are now or hereafter
  15. acquired, owned by or assigned to Apple and (ii) that cover subject
  16. matter contained in the Original Code, but only to the extent necessary
  17. to use, reproduce and/or distribute the Original Code without
  18. infringement; and (b) in the case where You are the grantor of rights,
  19. (i) claims of patents that are now or hereafter acquired, owned by or
  20. assigned to You and (ii) that cover subject matter in Your
  21. Modifications, taken alone or in combination with Original Code.
  22. 1.2 "Contributor" means any person or entity that creates or contributes
  23. to the creation of Modifications.
  24. 1.3 "Covered Code" means the Original Code, Modifications, the
  25. combination of Original Code and any Modifications, and/or any
  26. respective portions thereof.
  27. 1.4 "Externally Deploy" means: (a) to sublicense, distribute or
  28. otherwise make Covered Code available, directly or indirectly, to anyone
  29. other than You; and/or (b) to use Covered Code, alone or as part of a
  30. Larger Work, in any way to provide a service, including but not limited
  31. to delivery of content, through electronic communication with a client
  32. other than You.
  33. 1.5 "Larger Work" means a work which combines Covered Code or portions
  34. thereof with code not governed by the terms of this License.
  35. 1.6 "Modifications" mean any addition to, deletion from, and/or change
  36. to, the substance and/or structure of the Original Code, any previous
  37. Modifications, the combination of Original Code and any previous
  38. Modifications, and/or any respective portions thereof. When code is
  39. released as a series of files, a Modification is: (a) any addition to or
  40. deletion from the contents of a file containing Covered Code; and/or (b)
  41. any new file or other representation of computer program statements that
  42. contains any part of Covered Code.
  43. 1.7 "Original Code" means (a) the Source Code of a program or other work
  44. as originally made available by Apple under this License, including the
  45. Source Code of any updates or upgrades to such programs or works made
  46. available by Apple under this License, and that has been expressly
  47. identified by Apple as such in the header file(s) of such work; and (b)
  48. the object code compiled from such Source Code and originally made
  49. available by Apple under this License
  50. 1.8 "Source Code" means the human readable form of a program or other
  51. work that is suitable for making modifications to it, including all
  52. modules it contains, plus any associated interface definition files,
  53. scripts used to control compilation and installation of an executable
  54. (object code).
  55. 1.9 "You" or "Your" means an individual or a legal entity exercising
  56. rights under this License. For legal entities, "You" or "Your" includes
  57. any entity which controls, is controlled by, or is under common control
  58. with, You, where "control" means (a) the power, direct or indirect, to
  59. cause the direction or management of such entity, whether by contract or
  60. otherwise, or (b) ownership of fifty percent (50%) or more of the
  61. outstanding shares or beneficial ownership of such entity.
  62. 2. Permitted Uses; Conditions & Restrictions. Subject to the terms and
  63. conditions of this License, Apple hereby grants You, effective on the
  64. date You accept this License and download the Original Code, a
  65. world-wide, royalty-free, non-exclusive license, to the extent of
  66. Apple's Applicable Patent Rights and copyrights covering the Original
  67. Code, to do the following:
  68. 2.1 Unmodified Code. You may use, reproduce, display, perform,
  69. internally distribute within Your organization, and Externally Deploy
  70. verbatim, unmodified copies of the Original Code, for commercial or
  71. non-commercial purposes, provided that in each instance:
  72. (a) You must retain and reproduce in all copies of Original Code the
  73. copyright and other proprietary notices and disclaimers of Apple as they
  74. appear in the Original Code, and keep intact all notices in the Original
  75. Code that refer to this License; and
  76. (b) You must include a copy of this License with every copy of Source
  77. Code of Covered Code and documentation You distribute or Externally
  78. Deploy, and You may not offer or impose any terms on such Source Code
  79. that alter or restrict this License or the recipients' rights hereunder,
  80. except as permitted under Section 6.
  81. 2.2 Modified Code. You may modify Covered Code and use, reproduce,
  82. display, perform, internally distribute within Your organization, and
  83. Externally Deploy Your Modifications and Covered Code, for commercial or
  84. non-commercial purposes, provided that in each instance You also meet
  85. all of these conditions:
  86. (a) You must satisfy all the conditions of Section 2.1 with respect to
  87. the Source Code of the Covered Code;
  88. (b) You must duplicate, to the extent it does not already exist, the
  89. notice in Exhibit A in each file of the Source Code of all Your
  90. Modifications, and cause the modified files to carry prominent notices
  91. stating that You changed the files and the date of any change; and
  92. (c) If You Externally Deploy Your Modifications, You must make Source
  93. Code of all Your Externally Deployed Modifications either available to
  94. those to whom You have Externally Deployed Your Modifications, or
  95. publicly available. Source Code of Your Externally Deployed
  96. Modifications must be released under the terms set forth in this
  97. License, including the license grants set forth in Section 3 below, for
  98. as long as you Externally Deploy the Covered Code or twelve (12) months
  99. from the date of initial External Deployment, whichever is longer. You
  100. should preferably distribute the Source Code of Your Externally Deployed
  101. Modifications electronically (e.g. download from a web site).
  102. 2.3 Distribution of Executable Versions. In addition, if You Externally
  103. Deploy Covered Code (Original Code and/or Modifications) in object code,
  104. executable form only, You must include a prominent notice, in the code
  105. itself as well as in related documentatble under the terms of this
  106. License with information on how and where to obtain such Source Code.
  107. 2.4 Third Party Rights. You expressly acknowledge and agree that
  108. although Apple and each Contributor grants the licenses to their
  109. respective portions of the Covered Code set forth herein, no assurances
  110. are provided by Apple or any Contributor that the Covered Code does not
  111. infringe the patent or other intellectual property rights of any other
  112. entity. Apple and each Contributor disclaim any liability to You for
  113. claims brought by any other entity based on infringement of intellectual
  114. property rights or otherwise. As a condition to exercising the rights
  115. and licenses granted hereunder, You hereby assume sole responsibility to
  116. secure any other intellectual property rights needed, if any. For
  117. example, if a third party patent license is required to allow You to
  118. distribute the Covered Code, it is Your responsibility to acquire that
  119. license before distributing the Covered Code.
  120. 3. Your Grants. In consideration of, and as a condition to, the licenses
  121. granted to You under this License, You hereby grant to any person or
  122. entity receiving or distributing Covered Code under this License a
  123. non-exclusive, royalty-free, perpetual, irrevocable license, under Your
  124. Applicable Patent Rights and other intellectual property rights (other
  125. than patent) owned or controlled by You, to use, reproduce, display,
  126. perform, modify, sublicense, distribute and Externally Deploy Your
  127. Modifications of the same scope and extent as Apple's licenses under
  128. Sections 2.1 and 2.2 above.
  129. 4. Larger Works. You may create a Larger Work by combining Covered Code
  130. with other code not governed by the terms of this License and distribute
  131. the Larger Work as a single product. In each such instance, You must
  132. make sure the requirements of this License are fulfilled for the Covered
  133. Code or any portion thereof.
  134. 5. Limitations on Patent License. Except as expressly stated in Section
  135. 2, no other patent rights, express or implied, are granted by Apple
  136. herein. Modifications and/or Larger Works may require additional patent
  137. licensesrms") to one or more recipients of Covered Code. However, You
  138. may do so only on Your own behalf and as Your sole responsibility, and
  139. not on behalf of Apple or any Contributor. You must obtain the
  140. recipient's agreement that any such Additional Terms are offered by You
  141. alone, and You hereby agree to indemnify, defend and hold Apple and
  142. every Contributor harmless for any liability incurred by or claims
  143. asserted against Apple or such Contributor by reason of any such
  144. Additional Terms.
  145. 7. Versions of the License. Apple may publish revised and/or new
  146. versions of this License from time to time. Each version will be given a
  147. distinguishing version number. Once Original Code has been published
  148. under a particular version of this License, You may continue to use it
  149. under the terms of that version. You may also choose to use such
  150. Original Code under the terms of any subsequent version of this License
  151. published by Apple. No one other than Apple has the right to modify the
  152. terms applicable to Covered Code created under this License.
  153. 8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in
  154. part pre-release, untested, or not fully tested works. The Covered Code
  155. may contain errors that could cause failures or loss of data, and may be
  156. incomplete or contain inaccuracies. You expressly acknowledge and agree
  157. that use of the Covered Code, or any portion thereof, is at Your sole
  158. and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND WITHOUT
  159. WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND APPLE'S
  160. LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE PURPOSES OF
  161. SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM ALL WARRANTIES
  162. AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,
  163. THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY, OF
  164. SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR PURPOSE, OF ACCURACY,
  165. OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD PARTY RIGHTS. APPLE AND
  166. EACH CONTRIBUTOR DOES NOT WARRANT AGAINST INTERFERENCE WITH YOUR
  167. ENJOYMENT OF THE COVERED CODE, THAT THE FUNCTIONS CONTAINED IN THE
  168. COVERED CODE WILL MEET YOUR REQUIREMENTS, THAT THE OPERATION OF THE
  169. COVERED CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN THE
  170. COVERED CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE
  171. GIVEN BY APPLE, AN APPLE AUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR
  172. SHALL CREATE A WARRANTY. You acknowledge that the Covered Code is not
  173. intended for use in the operation of nuclear facilities, aircraft
  174. navigation, communication systems, or air traffic control machines in
  175. which case the failure of the Covered Code could lead to death, personal
  176. injury, or severe physical or environmental damage.
  177. 9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO
  178. EVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL,
  179. SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING TO
  180. THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR ANY
  181. PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, TORT
  182. (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE
  183. OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES
  184. AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY REMEDY. SOME
  185. JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF INCIDENTAL OR
  186. CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY TO YOU. In no
  187. event shall Apple's total liability to You for all damages (other than
  188. as may be required by applicable law) under this License exceed the
  189. amount of fifty dollars ($50.00).
  190. 10. Trademarks. This License does not grant any rights to use the
  191. trademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS",
  192. "QuickTime", "QuickTime Streaming Server" or any other trademarks,
  193. service marks, logos or trade names belonging to Apple (collectively
  194. "Apple Marks") or to any trademark, service mark, logo or trade name
  195. belonging to any Contributor. You agree not to use any Apple Marks in or
  196. as part of the name of products derived from the Original Code or to
  197. endorse or promote products derived from the Original Code other than as
  198. expressly permitted by and in strict compliance at all times with
  199. Apple's third party trademark usage guidelines which are posted at
  200. http://www.apple.com/legal/guidelinesfor3rdparties.html.
  201. 11. Ownership. Subject to the licenses granted under this License, each
  202. Contributor retains all rights, title and interest in and to any
  203. Modifications made by such Contributor. Apple retains all rights, title
  204. and interest in and to the Original Code and any Modifications made by
  205. or on behalf of Apple ("Apple Modifications"), and such Apple
  206. Modifications will not be automatically subject to this License. Apple
  207. may, at its sole discretion, choose to license such Apple Modifications
  208. under this License, or on different terms from those contained in this
  209. License or may choose not to license them at all.
  210. 12. Termination.
  211. 12.1 Termination. This License and the rights granted hereunder will
  212. terminate:
  213. (a) automatically without notice from Apple if You fail to comply with
  214. any term(s) of this License and fail to cure such breach within 30 days
  215. of becoming aware of such breach;
  216. (b) immediately in the event of the circumstances described in Section
  217. 13.5(b); or
  218. (c) automatically without notice from Apple if You, at any time during
  219. the term of this License, commence an action for patent infringement
  220. against Apple; provided that Apple did not first commence an action for
  221. patent infringement against You in that instance.
  222. 12.2 Effect of Termination. Upon termination, You agree to immediately
  223. stop any further use, reproduction, modification, sublicensing and
  224. distribution of the Covered Code. All sublicenses to the Covered Code
  225. which have been properly granted prior to termination shall survive any
  226. termination of this License. Provisions which, by their nature, should
  227. remain in effect beyond the termination of this License shall survive,
  228. including but not limited to Sections 3, 5, 8, 9, 10, 11, 12.2 and 13.
  229. No party will be liable to any other for compensation, indemnity or
  230. damages of any sort solely as a result of terminating this License in
  231. accordance with its terms, and termination of this License will be
  232. without prejudice to any other right or remedy of any party.
  233. 13. Miscellaneous.
  234. 13.1 Government End Users. The Covered Code is a "commercial item" as
  235. defined in FAR 2.101. Government software and technical data rights in
  236. the Covered Code include only those rights customarily provided to the
  237. public as defined in this License. This customary commercial license in
  238. technical data and software is provided in accordance with FAR 12.211
  239. (Technical Data) and 12.212 (Computer Software) and, for Department of
  240. Defense purchases, DFAR 252.227-7015 (Technical Data -- Commercial
  241. Items) and 227.7202-3 (Rights in Commercial Computer Software or
  242. Computer Software Documentation). Accordingly, all U.S. Government End
  243. Users acquire Covered Code with only those rights set forth herein.
  244. 13.2 Relationship of Parties. This License will not be construed as
  245. creating an agency, partnership, joint venture or any other form of
  246. legal association between or among You, Apple or any Contributor, and
  247. You will not represent to the contrary, whether expressly, by
  248. implication, appearance or otherwise.
  249. 13.3 Independent Development. Nothing in this License will impair
  250. Apple's right to acquire, license, develop, have others develop for it,
  251. market and/or distribute technology or products that perform the same or
  252. similar functions as, or otherwise compete with, Modifications, Larger
  253. Works, technology or products that You may develop, produce, market or
  254. distribute.
  255. 13.4 Waiver; Construction. Failure by Apple or any Contributor to
  256. enforce any provision of this License will not be deemed a waiver of
  257. future enforcement of that or any other provision. Any law or regulation
  258. which provides that the language of a contract shall be construed
  259. against the drafter will not apply to this License.
  260. 13.5 Severability. (a) If for any reason a court of competent
  261. jurisdiction finds any provision of this License, or portion thereof, to
  262. be unenforceable, that provision of the License will be enforced to the
  263. maximum extent permissible so as to effect the economic benefits and
  264. intent of the parties, and the remainder of this License will continue
  265. in full force and effect. (b) Notwithstanding the foregoing, if
  266. applicable law prohibits or restricts You from fully and/or specifically
  267. complying with Sections 2 and/or 3 or prevents the enforceability of
  268. either of those Sections, this License will immediately terminate and
  269. You must immediately discontinue any use of the Covered Code and destroy
  270. all copies of it that are in your possession or control.
  271. 13.6 Dispute Resolution. Any litigation or other dispute resolution
  272. between You and Apple relating to this License shall take place in the
  273. Northern District of California, and You and Apple hereby consent to the
  274. personal jurisdiction of, and venue in, the state and federal courts
  275. within that District with respect to this License. The application of
  276. the United Nations Convention on Contracts for the International Sale of
  277. Goods isce of Quebec, Canada, the following clause applies: The parties
  278. hereby confirm that they have requested that this License and all
  279. related documents be drafted in English. Les parties ont exigé que le
  280. présent contrat et tous les documents connexes soient rédigés en
  281. anglais.
  282. EXHIBIT A.
  283. "Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights
  284. Reserved.
  285. This file contains Original Code and/or Modifications of Original Code
  286. as defined in and that are subject to the Apple Public Source License
  287. Version 2.0 (the 'License'). You may not use this file except in
  288. compliance with the License. Please obtain a copy of the License at
  289. http://www.opensource.apple.com/apsl/ and read it before using this
  290. file.
  291. The Original Code and all software distributed under the License are
  292. distributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER
  293. EXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES,
  294. INCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, FITNESS
  295. FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. Please
  296. see the License for the specific language governing rights and
  297. limitations under the License."
  298. Please read the terms of this license carefully. By clicking on the
  299. "Yes, I Accept" button below you are accepting and agreeing to the terms
  300. of this license with Apple Computer, Inc. If you are agreeing to this
  301. license on behalf of a company, you represent that you are authorized to
  302. bind the company to such a license. If you do not meet this criterion or
  303. you do not agree to any of the terms of this license, please click on
  304. the "No, I Reject" button below or use your browser's Back button to
  305. exit this page.