本站源代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

328 lines
19KB

  1. APPLE PUBLIC SOURCE LICENSE
  2. Version 1.0 - March 16, 1999 Please read this License carefully before downloading
  3. this software. By downloading and using this software, you are agreeing to
  4. be bound by the terms of this License. If you do not or cannot agree to the
  5. terms of this License, please do not download or use the software.
  6. 1. General; Definitions. This License applies to any program or other work
  7. which Apple Computer, Inc. ("Apple") publicly announces as subject to this
  8. Apple Public Source License and which contains a notice placed by Apple identifying
  9. such program or work as "Original Code" and stating that it is subject to
  10. the terms of this Apple Public Source License version 1.0 (or subsequent version
  11. thereof), as it may be revised from time to time by Apple ("License"). As
  12. used in this License:
  13. 1.1 "Applicable Patents" mean: (a) in the case where Apple is the grantor
  14. of rights, (i) patents or patent applications that are now or hereafter acquired,
  15. owned by or assigned to Apple and (ii) whose claims cover subject matter contained
  16. in the Original Code, but only to the extent necessary to use, reproduce and/or
  17. distribute the Original Code without infringement; and (b) in the case where
  18. You are the grantor of rights, (i) patents and patent applications that are
  19. now or hereafter acquired, owned by or assigned to You and (ii) whose claims
  20. cover subject matter in Your Modifications, taken alone or in combination
  21. with Original Code.
  22. 1.2 "Covered Code" means the Original Code, Modifications, the combination
  23. of Original Code and any Modifications, and/or any respective portions thereof.
  24. 1.3 "Deploy" means to use, sublicense or distribute Covered Code other than
  25. for Your internal research and development (R&D), and includes without limitation,
  26. any and all internal use or distribution of Covered Code within Your business
  27. or organization except for R&D use, as well as direct or indirect sublicensing
  28. or distribution of Covered Code by You to any third party in any form or manner.
  29. 1.4 "Larger Work" means a work which combines Covered Code or portions thereof
  30. with code not governed by the terms of this License.
  31. 1.5 "Modifications" mean any addition to, deletion from, and/or change to,
  32. the substance and/or structure of Covered Code. When code is released as a
  33. series of files, a Modification is: (a) any addition to or deletion from the
  34. contents of a file containing Covered Code; and/or (b) any new file or other
  35. representation of computer program statements that contains any part of Covered
  36. Code.
  37. 1.6 "Original Code" means the Source Code of a program or other work as originally
  38. made available by Apple under this License, including the Source Code of any
  39. updates or upgrades to such programs or works made available by Apple under
  40. this License, and that has been expressly identified by Apple as such in the
  41. header file(s) of such work.
  42. 1.7 "Source Code" means the human readable form of a program or other work
  43. that is suitable for making modifications to it, including all modules it
  44. contains, plus any associated interface definition files, scripts used to
  45. control compilation and installation of an executable (object code).
  46. 1.8 "You" or "Your" means an individual or a legal entity exercising rights
  47. under this License. For legal entities, "You" or "Your" includes any entity
  48. which controls, is controlled by, or is under common control with, You, where
  49. "control" means (a) the power, direct or indirect, to cause the direction
  50. or management of such entity, whether by contract or otherwise, or (b) ownership
  51. of fifty percent (50%) or more of the outstanding shares or beneficial ownership
  52. of such entity.
  53. 2. Permitted Uses; Conditions & Restrictions. Subject to the terms and conditions
  54. of this License, Apple hereby grants You, effective on the date You accept
  55. this License and download the Original Code, a world-wide, royalty-free, non-exclusive
  56. license, to the extent of Apple's Applicable Patents and copyrights covering
  57. the Original Code, to do the following:
  58. 2.1 You may use, copy, modify and distribute Original Code, with or without
  59. Modifications, solely for Your internal research and development, provided
  60. that You must in each instance:
  61. (a) retain and reproduce in all copies of Original Code the copyright and
  62. other proprietary notices and disclaimers of Apple as they appear in the Original
  63. Code, and keep intact all notices in the Original Code that refer to this
  64. License;
  65. (b) include a copy of this License with every copy of Source Code of Covered
  66. Code and documentation You distribute, and You may not offer or impose any
  67. terms on such Source Code that alter or restrict this License or the recipients'
  68. rights hereunder, except as permitted under Section 6; and
  69. (c) completely and accurately document all Modifications that you have made
  70. and the date of each such Modification, designate the version of the Original
  71. Code you used, prominently include a file carrying such information with the
  72. Modifications, and duplicate the notice in Exhibit A in each file of the Source
  73. Code of all such Modifications.
  74. 2.2 You may Deploy Covered Code, provided that You must in each instance:
  75. (a) satisfy all the conditions of Section 2.1 with respect to the Source Code
  76. of the Covered Code;
  77. (b) make all Your Deployed Modifications publicly available in Source Code
  78. form via electronic distribution (e.g. download from a web site) under the
  79. terms of this License and subject to the license grants set forth in Section
  80. 3 below, and any additional terms You may choose to offer under Section 6.
  81. You must continue to make the Source Code of Your Deployed Modifications available
  82. for as long as you Deploy the Covered Code or twelve (12) months from the
  83. date of initial Deployment, whichever is longer;
  84. (c) must notify Apple and other third parties of how to obtain Your Deployed
  85. Modifications by filling out and submitting the required information found
  86. at http://www.apple.com/publicsource/modifications.html; and
  87. (d) if you Deploy Covered Code in object code, executable form only, include
  88. a prominent notice, in the code itself as well as in related documentation,
  89. stating that Source Code of the Covered Code is available under the terms
  90. of this License with information on how and where to obtain such Source Code.
  91. 3. Your Grants. In consideration of, and as a condition to, the licenses granted
  92. to You under this License:
  93. (a) You hereby grant to Apple and all third parties a non-exclusive, royalty-free
  94. license, under Your Applicable Patents and other intellectual property rights
  95. owned or controlled by You, to use, reproduce, modify, distribute and Deploy
  96. Your Modifications of the same scope and extent as Apple's licenses under
  97. Sections 2.1 and 2.2; and
  98. (b) You hereby grant to Apple and its subsidiaries a non-exclusive, worldwide,
  99. royalty-free, perpetual and irrevocable license, under Your Applicable Patents
  100. and other intellectual property rights owned or controlled by You, to use,
  101. reproduce, execute, compile, display, perform, modify or have modified (for
  102. Apple and/or its subsidiaries), sublicense and distribute Your Modifications,
  103. in any form, through multiple tiers of distribution.
  104. 4. Larger Works. You may create a Larger Work by combining Covered Code with
  105. other code not governed by the terms of this License and distribute the Larger
  106. Work as a single product. In each such instance, You must make sure the requirements
  107. of this License are fulfilled for the Covered Code or any portion thereof.
  108. 5. Limitations on Patent License. Except as expressly stated in Section 2,
  109. no other patent rights, express or implied, are granted by Apple herein. Modifications
  110. and/or Larger Works may require additional patent licenses from Apple which
  111. Apple may grant in its sole discretion.
  112. 6. Additional Terms. You may choose to offer, and to charge a fee for, warranty,
  113. support, indemnity or liability obligations and/or other rights consistent
  114. with the scope of the license granted herein ("Additional Terms") to one or
  115. more recipients of Covered Code. However, You may do so only on Your own behalf
  116. and as Your sole responsibility, and not on behalf of Apple. You must obtain
  117. the recipient's agreement that any such Additional Terms are offered by You
  118. alone, and You hereby agree to indemnify, defend and hold Apple harmless for
  119. any liability incurred by or claims asserted against Apple by reason of any
  120. such Additional Terms.
  121. 7. Versions of the License. Apple may publish revised and/or new versions
  122. of this License from time to time. Each version will be given a distinguishing
  123. version number. Once Original Code has been published under a particular version
  124. of this License, You may continue to use it under the terms of that version.
  125. You may also choose to use such Original Code under the terms of any subsequent
  126. version of this License published by Apple. No one other than Apple has the
  127. right to modify the terms applicable to Covered Code created under this License.
  128. 8. NO WARRANTY OR SUPPORT. The Original Code may contain in whole or in part
  129. pre-release, untested, or not fully tested works. The Original Code may contain
  130. errors that could cause failures or loss of data, and may be incomplete or
  131. contain inaccuracies. You expressly acknowledge and agree that use of the
  132. Original Code, or any portion thereof, is at Your sole and entire risk. THE
  133. ORIGINAL CODE IS PROVIDED "AS IS" AND WITHOUT WARRANTY, UPGRADES OR SUPPORT
  134. OF ANY KIND AND APPLE AND APPLE'S LICENSOR(S) (FOR THE PURPOSES OF SECTIONS
  135. 8 AND 9, APPLE AND APPLE'S LICENSOR(S) ARE COLLECTIVELY REFERRED TO AS "APPLE")
  136. EXPRESSLY DISCLAIM ALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING,
  137. BUT NOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF MERCHANTABILITY
  138. OR SATISFACTORY QUALITY AND FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT
  139. OF THIRD PARTY RIGHTS. APPLE DOES NOT WARRANT THAT THE FUNCTIONS CONTAINED
  140. IN THE ORIGINAL CODE WILL MEET YOUR REQUIREMENTS, OR THAT THE OPERATION OF
  141. THE ORIGINAL CODE WILL BE UNINTERRUPTED OR ERROR-FREE, OR THAT DEFECTS IN
  142. THE ORIGINAL CODE WILL BE CORRECTED. NO ORAL OR WRITTEN INFORMATION OR ADVICE
  143. GIVEN BY APPLE OR AN APPLE AUTHORIZED REPRESENTATIVE SHALL CREATE A WARRANTY
  144. OR IN ANY WAY INCREASE THE SCOPE OF THIS WARRANTY. You acknowledge that the
  145. Original Code is not intended for use in the operation of nuclear facilities,
  146. aircraft navigation, communication systems, or air traffic control machines
  147. in which case the failure of the Original Code could lead to death, personal
  148. injury, or severe physical or environmental damage.
  149. 9. Liability.
  150. 9.1 Infringement. If any of the Original Code becomes the subject ofa claim
  151. of infringement ("Affected Original Code"), Apple may, at its sole discretion
  152. and option: (a) attempt to procure the rights necessary for You to continue
  153. using the Affected Original Code; (b) modify the Affected Original Code so
  154. that it is no longer infringing; or (c) terminate Your rights to use the Affected
  155. Original Code, effective immediately upon Apple's posting of a notice to such
  156. effect on the Apple web site that is used for implementation of this License.
  157. 9.2 LIMITATION OF LIABILITY. UNDER NO CIRCUMSTANCES SHALL APPLE BE LIABLE
  158. FOR ANY INCIDENTAL, SPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT
  159. OF OR RELATING TO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE ORIGINAL
  160. CODE, OR ANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY,
  161. TORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF APPLE
  162. HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES AND NOTWITHSTANDING THE
  163. FAILURE OF ESSENTIAL PURPOSE OF ANY REMEDY. In no event shall Apple's total
  164. liability to You for all damages under this License exceed the amount of fifty
  165. dollars ($50.00).
  166. 10. Trademarks. This License does not grant any rights to use the trademarks
  167. or trade names "Apple", "Apple Computer", "Mac OS X", "Mac OS X Server" or
  168. any other trademarks or trade names belonging to Apple (collectively "Apple
  169. Marks") and no Apple Marks may be used to endorse or promote products derived
  170. from the Original Code
  171. other than as permitted by and in strict compliance at all times with Apple's
  172. third party trademark usage guidelines which are posted at http://www.apple.com/legal/guidelinesfor3rdparties.html.
  173. 11. Ownership. Apple retains all rights, title and interest in and to the
  174. Original Code and any Modifications made by or on behalf of Apple ("Apple
  175. Modifications"), and such Apple Modifications will not be automatically subject
  176. to this License. Apple may, at its sole discretion, choose to license such
  177. Apple Modifications under this License, or on different terms from those contained
  178. in this License or may choose not to license them at all. Apple's development,
  179. use, reproduction, modification, sublicensing and distribution of Covered
  180. Code will not be subject to this License.
  181. 12. Termination.
  182. 12.1 Termination. This License and the rights granted hereunder will terminate:
  183. (a) automatically without notice from Apple if You fail to comply with any
  184. term(s) of this License and fail to cure such breach within 30 days of becoming
  185. aware of such breach;
  186. (b) immediately in the event of the circumstances described in Sections 9.1
  187. and/or 13.6(b); or
  188. (c) automatically without notice from Apple if You, at any time during the
  189. term of this License, commence an action for patent infringement against Apple.
  190. 12.2 Effect of Termination. Upon termination, You agree to immediately stop
  191. any further use, reproduction, modification and distribution of the Covered
  192. Code, or Affected Original Code in the case of termination under Section 9.1,
  193. and to destroy all copies of the Covered Code or Affected Original Code (in
  194. the case of
  195. termination under Section 9.1) that are in your possession or control. All
  196. sublicenses to the Covered Code which have been properly granted prior to
  197. termination shall survive any termination of this License. Provisions which,
  198. by their nature, should remain in effect beyond the termination of this License
  199. shall survive, including but not limited to Sections 3, 5, 8, 9, 10, 11, 12.2
  200. and 13. Neither party will be liable to the other for compensation, indemnity
  201. or damages of any sort solely as a result of terminating this License in accordance
  202. with its terms, and termination of this License will be without prejudice
  203. to any other right or remedy of either party.
  204. 13. Miscellaneous.
  205. 13.1 Export Law Assurances. You may not use or otherwise export or re-export
  206. the Original Code except as authorized by United States law and the laws of
  207. the jurisdiction in which the Original Code was obtained. In particular, but
  208. without limitation, the Original Code may not be exported or re-exported (a)
  209. into (or to a national or resident of) any U.S. embargoed country or (b) to
  210. anyone on the U.S. Treasury Department's list of Specially Designated Nationals
  211. or the U.S. Department of Commerce's Table of Denial Orders. By using the
  212. Original Code, You represent and warrant that You are not located in, under
  213. control of, or a national or resident of any such country or on any such list.
  214. 13.2 Government End Users. The Covered Code is a "commercial item" as defined
  215. in FAR 2.101. Government software and technical data rights in the Covered
  216. Code include only those rights customarily provided to the public as defined
  217. in this License. This customary commercial license in technical data and software
  218. is provided in
  219. accordance with FAR 12.211 (Technical Data) and 12.212 (Computer Software)
  220. and, for Department of Defense purchases, DFAR 252.227-7015 (Technical Data
  221. -- Commercial Items) and 227.7202-3 (Rights in Commercial Computer Software
  222. or Computer Software Documentation). Accordingly, all U.S. Government End
  223. Users acquire Covered Code with only those rights set forth herein.
  224. 13.3 Relationship of Parties. This License will not be construed as creating
  225. an agency, partnership, joint venture or any other form of legal association
  226. between You and Apple, and You will not represent to the contrary, whether
  227. expressly, by implication, appearance or otherwise.
  228. 13.4 Independent Development. Nothing in this License will impair Apple's
  229. right to acquire, license, develop, have others develop for it, market and/or
  230. distribute technology or products that perform the same or similar functions
  231. as, or otherwise compete with, Modifications, Larger Works, technology or
  232. products that You may develop, produce, market or distribute.
  233. 13.5 Waiver; Construction. Failure by Apple to enforce any provision of this
  234. License will not be deemed a waiver of future enforcement of that or any other
  235. provision. Any law or regulation which provides that the language of a contract
  236. shall be construed against the drafter will not apply to this License.
  237. 13.6 Severability. (a) If for any reason a court of competent jurisdiction
  238. finds any provision of this License, or portion thereof, to be unenforceable,
  239. that provision of the License will be enforced to the maximum extent permissible
  240. so as to effect the economic benefits and intent of the parties, and the remainder
  241. of this License will continue in full force and effect. (b) Notwithstanding
  242. the foregoing, if applicable law prohibits or restricts You from fully and/or
  243. specifically complying with Sections 2 and/or 3 or prevents the enforceability
  244. of either of those Sections, this License will immediately terminate and You
  245. must immediately discontinue any use of the Covered Code and destroy all copies
  246. of it that are in your possession or control.
  247. 13.7 Dispute Resolution. Any litigation or other dispute resolution between
  248. You and Apple relating to this License shall take place in the Northern District
  249. of California, and You and Apple hereby consent to the personal jurisdiction
  250. of, and venue in, the state and federal courts within that District with respect
  251. to this License. The application of the United Nations Convention on Contracts
  252. for the International Sale of Goods is expressly excluded.
  253. 13.8 Entire Agreement; Governing Law. This License constitutes the entire
  254. agreement between the parties with respect to the subject matter hereof. This
  255. License shall be governed by the laws of the United States and the State of
  256. California, except that body of California law concerning conflicts of law.
  257. Where You are located in the province of Quebec, Canada, the following clause
  258. applies: The parties hereby confirm that they have requested that this License
  259. and all related documents be drafted in English. Les parties ont exige que
  260. le present contrat et tous les documents connexes soient rediges en anglais.
  261. EXHIBIT A.
  262. "Portions Copyright (c) 1999 Apple Computer, Inc. All Rights Reserved. This
  263. file contains Original Code and/or Modifications of Original Code as defined
  264. in and that are subject to the Apple Public Source License Version 1.0 (the
  265. 'License'). You may not use this file except in compliance with the License.
  266. Please obtain a copy of the License at http://www.apple.com/publicsource and
  267. read it before using this file.
  268. The Original Code and all software distributed under the License are distributed
  269. on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESS OR IMPLIED,
  270. AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, INCLUDING WITHOUT LIMITATION,
  271. ANY WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE OR NON-INFRINGEMENT.
  272. Please see the License for the specific language governing rights and limitations
  273. under the License."
上海开阖软件有限公司 沪ICP备12045867号-1