1*5e3eaea3SApple OSS DistributionsAPPLE PUBLIC SOURCE LICENSE 2*5e3eaea3SApple OSS DistributionsVersion 2.0 - August 6, 2003 3*5e3eaea3SApple OSS Distributions 4*5e3eaea3SApple OSS DistributionsPlease read this License carefully before downloading this software. 5*5e3eaea3SApple OSS DistributionsBy downloading or using this software, you are agreeing to be bound by 6*5e3eaea3SApple OSS Distributionsthe terms of this License. If you do not or cannot agree to the terms 7*5e3eaea3SApple OSS Distributionsof this License, please do not download or use the software. 8*5e3eaea3SApple OSS Distributions 9*5e3eaea3SApple OSS Distributions1. General; Definitions. This License applies to any program or other 10*5e3eaea3SApple OSS Distributionswork which Apple Computer, Inc. ("Apple") makes publicly available and 11*5e3eaea3SApple OSS Distributionswhich contains a notice placed by Apple identifying such program or 12*5e3eaea3SApple OSS Distributionswork as "Original Code" and stating that it is subject to the terms of 13*5e3eaea3SApple OSS Distributionsthis Apple Public Source License version 2.0 ("License"). As used in 14*5e3eaea3SApple OSS Distributionsthis License: 15*5e3eaea3SApple OSS Distributions 16*5e3eaea3SApple OSS Distributions1.1 "Applicable Patent Rights" mean: (a) in the case where Apple is 17*5e3eaea3SApple OSS Distributionsthe grantor of rights, (i) claims of patents that are now or hereafter 18*5e3eaea3SApple OSS Distributionsacquired, owned by or assigned to Apple and (ii) that cover subject 19*5e3eaea3SApple OSS Distributionsmatter contained in the Original Code, but only to the extent 20*5e3eaea3SApple OSS Distributionsnecessary to use, reproduce and/or distribute the Original Code 21*5e3eaea3SApple OSS Distributionswithout infringement; and (b) in the case where You are the grantor of 22*5e3eaea3SApple OSS Distributionsrights, (i) claims of patents that are now or hereafter acquired, 23*5e3eaea3SApple OSS Distributionsowned by or assigned to You and (ii) that cover subject matter in Your 24*5e3eaea3SApple OSS DistributionsModifications, taken alone or in combination with Original Code. 25*5e3eaea3SApple OSS Distributions 26*5e3eaea3SApple OSS Distributions1.2 "Contributor" means any person or entity that creates or 27*5e3eaea3SApple OSS Distributionscontributes to the creation of Modifications. 28*5e3eaea3SApple OSS Distributions 29*5e3eaea3SApple OSS Distributions1.3 "Covered Code" means the Original Code, Modifications, the 30*5e3eaea3SApple OSS Distributionscombination of Original Code and any Modifications, and/or any 31*5e3eaea3SApple OSS Distributionsrespective portions thereof. 32*5e3eaea3SApple OSS Distributions 33*5e3eaea3SApple OSS Distributions1.4 "Externally Deploy" means: (a) to sublicense, distribute or 34*5e3eaea3SApple OSS Distributionsotherwise make Covered Code available, directly or indirectly, to 35*5e3eaea3SApple OSS Distributionsanyone other than You; and/or (b) to use Covered Code, alone or as 36*5e3eaea3SApple OSS Distributionspart of a Larger Work, in any way to provide a service, including but 37*5e3eaea3SApple OSS Distributionsnot limited to delivery of content, through electronic communication 38*5e3eaea3SApple OSS Distributionswith a client other than You. 39*5e3eaea3SApple OSS Distributions 40*5e3eaea3SApple OSS Distributions1.5 "Larger Work" means a work which combines Covered Code or portions 41*5e3eaea3SApple OSS Distributionsthereof with code not governed by the terms of this License. 42*5e3eaea3SApple OSS Distributions 43*5e3eaea3SApple OSS Distributions1.6 "Modifications" mean any addition to, deletion from, and/or change 44*5e3eaea3SApple OSS Distributionsto, the substance and/or structure of the Original Code, any previous 45*5e3eaea3SApple OSS DistributionsModifications, the combination of Original Code and any previous 46*5e3eaea3SApple OSS DistributionsModifications, and/or any respective portions thereof. When code is 47*5e3eaea3SApple OSS Distributionsreleased as a series of files, a Modification is: (a) any addition to 48*5e3eaea3SApple OSS Distributionsor deletion from the contents of a file containing Covered Code; 49*5e3eaea3SApple OSS Distributionsand/or (b) any new file or other representation of computer program 50*5e3eaea3SApple OSS Distributionsstatements that contains any part of Covered Code. 51*5e3eaea3SApple OSS Distributions 52*5e3eaea3SApple OSS Distributions1.7 "Original Code" means (a) the Source Code of a program or other 53*5e3eaea3SApple OSS Distributionswork as originally made available by Apple under this License, 54*5e3eaea3SApple OSS Distributionsincluding the Source Code of any updates or upgrades to such programs 55*5e3eaea3SApple OSS Distributionsor works made available by Apple under this License, and that has been 56*5e3eaea3SApple OSS Distributionsexpressly identified by Apple as such in the header file(s) of such 57*5e3eaea3SApple OSS Distributionswork; and (b) the object code compiled from such Source Code and 58*5e3eaea3SApple OSS Distributionsoriginally made available by Apple under this License. 59*5e3eaea3SApple OSS Distributions 60*5e3eaea3SApple OSS Distributions1.8 "Source Code" means the human readable form of a program or other 61*5e3eaea3SApple OSS Distributionswork that is suitable for making modifications to it, including all 62*5e3eaea3SApple OSS Distributionsmodules it contains, plus any associated interface definition files, 63*5e3eaea3SApple OSS Distributionsscripts used to control compilation and installation of an executable 64*5e3eaea3SApple OSS Distributions(object code). 65*5e3eaea3SApple OSS Distributions 66*5e3eaea3SApple OSS Distributions1.9 "You" or "Your" means an individual or a legal entity exercising 67*5e3eaea3SApple OSS Distributionsrights under this License. For legal entities, "You" or "Your" 68*5e3eaea3SApple OSS Distributionsincludes any entity which controls, is controlled by, or is under 69*5e3eaea3SApple OSS Distributionscommon control with, You, where "control" means (a) the power, direct 70*5e3eaea3SApple OSS Distributionsor indirect, to cause the direction or management of such entity, 71*5e3eaea3SApple OSS Distributionswhether by contract or otherwise, or (b) ownership of fifty percent 72*5e3eaea3SApple OSS Distributions(50%) or more of the outstanding shares or beneficial ownership of 73*5e3eaea3SApple OSS Distributionssuch entity. 74*5e3eaea3SApple OSS Distributions 75*5e3eaea3SApple OSS Distributions2. Permitted Uses; Conditions & Restrictions. Subject to the terms 76*5e3eaea3SApple OSS Distributionsand conditions of this License, Apple hereby grants You, effective on 77*5e3eaea3SApple OSS Distributionsthe date You accept this License and download the Original Code, a 78*5e3eaea3SApple OSS Distributionsworld-wide, royalty-free, non-exclusive license, to the extent of 79*5e3eaea3SApple OSS DistributionsApple's Applicable Patent Rights and copyrights covering the Original 80*5e3eaea3SApple OSS DistributionsCode, to do the following: 81*5e3eaea3SApple OSS Distributions 82*5e3eaea3SApple OSS Distributions2.1 Unmodified Code. You may use, reproduce, display, perform, 83*5e3eaea3SApple OSS Distributionsinternally distribute within Your organization, and Externally Deploy 84*5e3eaea3SApple OSS Distributionsverbatim, unmodified copies of the Original Code, for commercial or 85*5e3eaea3SApple OSS Distributionsnon-commercial purposes, provided that in each instance: 86*5e3eaea3SApple OSS Distributions 87*5e3eaea3SApple OSS Distributions(a) You must retain and reproduce in all copies of Original Code the 88*5e3eaea3SApple OSS Distributionscopyright and other proprietary notices and disclaimers of Apple as 89*5e3eaea3SApple OSS Distributionsthey appear in the Original Code, and keep intact all notices in the 90*5e3eaea3SApple OSS DistributionsOriginal Code that refer to this License; and 91*5e3eaea3SApple OSS Distributions 92*5e3eaea3SApple OSS Distributions(b) You must include a copy of this License with every copy of Source 93*5e3eaea3SApple OSS DistributionsCode of Covered Code and documentation You distribute or Externally 94*5e3eaea3SApple OSS DistributionsDeploy, and You may not offer or impose any terms on such Source Code 95*5e3eaea3SApple OSS Distributionsthat alter or restrict this License or the recipients' rights 96*5e3eaea3SApple OSS Distributionshereunder, except as permitted under Section 6. 97*5e3eaea3SApple OSS Distributions 98*5e3eaea3SApple OSS Distributions2.2 Modified Code. You may modify Covered Code and use, reproduce, 99*5e3eaea3SApple OSS Distributionsdisplay, perform, internally distribute within Your organization, and 100*5e3eaea3SApple OSS DistributionsExternally Deploy Your Modifications and Covered Code, for commercial 101*5e3eaea3SApple OSS Distributionsor non-commercial purposes, provided that in each instance You also 102*5e3eaea3SApple OSS Distributionsmeet all of these conditions: 103*5e3eaea3SApple OSS Distributions 104*5e3eaea3SApple OSS Distributions(a) You must satisfy all the conditions of Section 2.1 with respect to 105*5e3eaea3SApple OSS Distributionsthe Source Code of the Covered Code; 106*5e3eaea3SApple OSS Distributions 107*5e3eaea3SApple OSS Distributions(b) You must duplicate, to the extent it does not already exist, the 108*5e3eaea3SApple OSS Distributionsnotice in Exhibit A in each file of the Source Code of all Your 109*5e3eaea3SApple OSS DistributionsModifications, and cause the modified files to carry prominent notices 110*5e3eaea3SApple OSS Distributionsstating that You changed the files and the date of any change; and 111*5e3eaea3SApple OSS Distributions 112*5e3eaea3SApple OSS Distributions(c) If You Externally Deploy Your Modifications, You must make 113*5e3eaea3SApple OSS DistributionsSource Code of all Your Externally Deployed Modifications either 114*5e3eaea3SApple OSS Distributionsavailable to those to whom You have Externally Deployed Your 115*5e3eaea3SApple OSS DistributionsModifications, or publicly available. Source Code of Your Externally 116*5e3eaea3SApple OSS DistributionsDeployed Modifications must be released under the terms set forth in 117*5e3eaea3SApple OSS Distributionsthis License, including the license grants set forth in Section 3 118*5e3eaea3SApple OSS Distributionsbelow, for as long as you Externally Deploy the Covered Code or twelve 119*5e3eaea3SApple OSS Distributions(12) months from the date of initial External Deployment, whichever is 120*5e3eaea3SApple OSS Distributionslonger. You should preferably distribute the Source Code of Your 121*5e3eaea3SApple OSS DistributionsExternally Deployed Modifications electronically (e.g. download from a 122*5e3eaea3SApple OSS Distributionsweb site). 123*5e3eaea3SApple OSS Distributions 124*5e3eaea3SApple OSS Distributions2.3 Distribution of Executable Versions. In addition, if You 125*5e3eaea3SApple OSS DistributionsExternally Deploy Covered Code (Original Code and/or Modifications) in 126*5e3eaea3SApple OSS Distributionsobject code, executable form only, You must include a prominent 127*5e3eaea3SApple OSS Distributionsnotice, in the code itself as well as in related documentation, 128*5e3eaea3SApple OSS Distributionsstating that Source Code of the Covered Code is available under the 129*5e3eaea3SApple OSS Distributionsterms of this License with information on how and where to obtain such 130*5e3eaea3SApple OSS DistributionsSource Code. 131*5e3eaea3SApple OSS Distributions 132*5e3eaea3SApple OSS Distributions2.4 Third Party Rights. You expressly acknowledge and agree that 133*5e3eaea3SApple OSS Distributionsalthough Apple and each Contributor grants the licenses to their 134*5e3eaea3SApple OSS Distributionsrespective portions of the Covered Code set forth herein, no 135*5e3eaea3SApple OSS Distributionsassurances are provided by Apple or any Contributor that the Covered 136*5e3eaea3SApple OSS DistributionsCode does not infringe the patent or other intellectual property 137*5e3eaea3SApple OSS Distributionsrights of any other entity. Apple and each Contributor disclaim any 138*5e3eaea3SApple OSS Distributionsliability to You for claims brought by any other entity based on 139*5e3eaea3SApple OSS Distributionsinfringement of intellectual property rights or otherwise. As a 140*5e3eaea3SApple OSS Distributionscondition to exercising the rights and licenses granted hereunder, You 141*5e3eaea3SApple OSS Distributionshereby assume sole responsibility to secure any other intellectual 142*5e3eaea3SApple OSS Distributionsproperty rights needed, if any. For example, if a third party patent 143*5e3eaea3SApple OSS Distributionslicense is required to allow You to distribute the Covered Code, it is 144*5e3eaea3SApple OSS DistributionsYour responsibility to acquire that license before distributing the 145*5e3eaea3SApple OSS DistributionsCovered Code. 146*5e3eaea3SApple OSS Distributions 147*5e3eaea3SApple OSS Distributions3. Your Grants. In consideration of, and as a condition to, the 148*5e3eaea3SApple OSS Distributionslicenses granted to You under this License, You hereby grant to any 149*5e3eaea3SApple OSS Distributionsperson or entity receiving or distributing Covered Code under this 150*5e3eaea3SApple OSS DistributionsLicense a non-exclusive, royalty-free, perpetual, irrevocable license, 151*5e3eaea3SApple OSS Distributionsunder Your Applicable Patent Rights and other intellectual property 152*5e3eaea3SApple OSS Distributionsrights (other than patent) owned or controlled by You, to use, 153*5e3eaea3SApple OSS Distributionsreproduce, display, perform, modify, sublicense, distribute and 154*5e3eaea3SApple OSS DistributionsExternally Deploy Your Modifications of the same scope and extent as 155*5e3eaea3SApple OSS DistributionsApple's licenses under Sections 2.1 and 2.2 above. 156*5e3eaea3SApple OSS Distributions 157*5e3eaea3SApple OSS Distributions4. Larger Works. You may create a Larger Work by combining Covered 158*5e3eaea3SApple OSS DistributionsCode with other code not governed by the terms of this License and 159*5e3eaea3SApple OSS Distributionsdistribute the Larger Work as a single product. In each such instance, 160*5e3eaea3SApple OSS DistributionsYou must make sure the requirements of this License are fulfilled for 161*5e3eaea3SApple OSS Distributionsthe Covered Code or any portion thereof. 162*5e3eaea3SApple OSS Distributions 163*5e3eaea3SApple OSS Distributions5. Limitations on Patent License. Except as expressly stated in 164*5e3eaea3SApple OSS DistributionsSection 2, no other patent rights, express or implied, are granted by 165*5e3eaea3SApple OSS DistributionsApple herein. Modifications and/or Larger Works may require additional 166*5e3eaea3SApple OSS Distributionspatent licenses from Apple which Apple may grant in its sole 167*5e3eaea3SApple OSS Distributionsdiscretion. 168*5e3eaea3SApple OSS Distributions 169*5e3eaea3SApple OSS Distributions6. Additional Terms. You may choose to offer, and to charge a fee for, 170*5e3eaea3SApple OSS Distributionswarranty, support, indemnity or liability obligations and/or other 171*5e3eaea3SApple OSS Distributionsrights consistent with the scope of the license granted herein 172*5e3eaea3SApple OSS Distributions("Additional Terms") to one or more recipients of Covered Code. 173*5e3eaea3SApple OSS DistributionsHowever, You may do so only on Your own behalf and as Your sole 174*5e3eaea3SApple OSS Distributionsresponsibility, and not on behalf of Apple or any Contributor. You 175*5e3eaea3SApple OSS Distributionsmust obtain the recipient's agreement that any such Additional Terms 176*5e3eaea3SApple OSS Distributionsare offered by You alone, and You hereby agree to indemnify, defend 177*5e3eaea3SApple OSS Distributionsand hold Apple and every Contributor harmless for any liability 178*5e3eaea3SApple OSS Distributionsincurred by or claims asserted against Apple or such Contributor by 179*5e3eaea3SApple OSS Distributionsreason of any such Additional Terms. 180*5e3eaea3SApple OSS Distributions 181*5e3eaea3SApple OSS Distributions7. Versions of the License. Apple may publish revised and/or new 182*5e3eaea3SApple OSS Distributionsversions of this License from time to time. Each version will be given 183*5e3eaea3SApple OSS Distributionsa distinguishing version number. Once Original Code has been published 184*5e3eaea3SApple OSS Distributionsunder a particular version of this License, You may continue to use it 185*5e3eaea3SApple OSS Distributionsunder the terms of that version. You may also choose to use such 186*5e3eaea3SApple OSS DistributionsOriginal Code under the terms of any subsequent version of this 187*5e3eaea3SApple OSS DistributionsLicense published by Apple. No one other than Apple has the right to 188*5e3eaea3SApple OSS Distributionsmodify the terms applicable to Covered Code created under this 189*5e3eaea3SApple OSS DistributionsLicense. 190*5e3eaea3SApple OSS Distributions 191*5e3eaea3SApple OSS Distributions8. NO WARRANTY OR SUPPORT. The Covered Code may contain in whole or in 192*5e3eaea3SApple OSS Distributionspart pre-release, untested, or not fully tested works. The Covered 193*5e3eaea3SApple OSS DistributionsCode may contain errors that could cause failures or loss of data, and 194*5e3eaea3SApple OSS Distributionsmay be incomplete or contain inaccuracies. You expressly acknowledge 195*5e3eaea3SApple OSS Distributionsand agree that use of the Covered Code, or any portion thereof, is at 196*5e3eaea3SApple OSS DistributionsYour sole and entire risk. THE COVERED CODE IS PROVIDED "AS IS" AND 197*5e3eaea3SApple OSS DistributionsWITHOUT WARRANTY, UPGRADES OR SUPPORT OF ANY KIND AND APPLE AND 198*5e3eaea3SApple OSS DistributionsAPPLE'S LICENSOR(S) (COLLECTIVELY REFERRED TO AS "APPLE" FOR THE 199*5e3eaea3SApple OSS DistributionsPURPOSES OF SECTIONS 8 AND 9) AND ALL CONTRIBUTORS EXPRESSLY DISCLAIM 200*5e3eaea3SApple OSS DistributionsALL WARRANTIES AND/OR CONDITIONS, EXPRESS OR IMPLIED, INCLUDING, BUT 201*5e3eaea3SApple OSS DistributionsNOT LIMITED TO, THE IMPLIED WARRANTIES AND/OR CONDITIONS OF 202*5e3eaea3SApple OSS DistributionsMERCHANTABILITY, OF SATISFACTORY QUALITY, OF FITNESS FOR A PARTICULAR 203*5e3eaea3SApple OSS DistributionsPURPOSE, OF ACCURACY, OF QUIET ENJOYMENT, AND NONINFRINGEMENT OF THIRD 204*5e3eaea3SApple OSS DistributionsPARTY RIGHTS. APPLE AND EACH CONTRIBUTOR DOES NOT WARRANT AGAINST 205*5e3eaea3SApple OSS DistributionsINTERFERENCE WITH YOUR ENJOYMENT OF THE COVERED CODE, THAT THE 206*5e3eaea3SApple OSS DistributionsFUNCTIONS CONTAINED IN THE COVERED CODE WILL MEET YOUR REQUIREMENTS, 207*5e3eaea3SApple OSS DistributionsTHAT THE OPERATION OF THE COVERED CODE WILL BE UNINTERRUPTED OR 208*5e3eaea3SApple OSS DistributionsERROR-FREE, OR THAT DEFECTS IN THE COVERED CODE WILL BE CORRECTED. NO 209*5e3eaea3SApple OSS DistributionsORAL OR WRITTEN INFORMATION OR ADVICE GIVEN BY APPLE, AN APPLE 210*5e3eaea3SApple OSS DistributionsAUTHORIZED REPRESENTATIVE OR ANY CONTRIBUTOR SHALL CREATE A WARRANTY. 211*5e3eaea3SApple OSS DistributionsYou acknowledge that the Covered Code is not intended for use in the 212*5e3eaea3SApple OSS Distributionsoperation of nuclear facilities, aircraft navigation, communication 213*5e3eaea3SApple OSS Distributionssystems, or air traffic control machines in which case the failure of 214*5e3eaea3SApple OSS Distributionsthe Covered Code could lead to death, personal injury, or severe 215*5e3eaea3SApple OSS Distributionsphysical or environmental damage. 216*5e3eaea3SApple OSS Distributions 217*5e3eaea3SApple OSS Distributions9. LIMITATION OF LIABILITY. TO THE EXTENT NOT PROHIBITED BY LAW, IN NO 218*5e3eaea3SApple OSS DistributionsEVENT SHALL APPLE OR ANY CONTRIBUTOR BE LIABLE FOR ANY INCIDENTAL, 219*5e3eaea3SApple OSS DistributionsSPECIAL, INDIRECT OR CONSEQUENTIAL DAMAGES ARISING OUT OF OR RELATING 220*5e3eaea3SApple OSS DistributionsTO THIS LICENSE OR YOUR USE OR INABILITY TO USE THE COVERED CODE, OR 221*5e3eaea3SApple OSS DistributionsANY PORTION THEREOF, WHETHER UNDER A THEORY OF CONTRACT, WARRANTY, 222*5e3eaea3SApple OSS DistributionsTORT (INCLUDING NEGLIGENCE), PRODUCTS LIABILITY OR OTHERWISE, EVEN IF 223*5e3eaea3SApple OSS DistributionsAPPLE OR SUCH CONTRIBUTOR HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH 224*5e3eaea3SApple OSS DistributionsDAMAGES AND NOTWITHSTANDING THE FAILURE OF ESSENTIAL PURPOSE OF ANY 225*5e3eaea3SApple OSS DistributionsREMEDY. SOME JURISDICTIONS DO NOT ALLOW THE LIMITATION OF LIABILITY OF 226*5e3eaea3SApple OSS DistributionsINCIDENTAL OR CONSEQUENTIAL DAMAGES, SO THIS LIMITATION MAY NOT APPLY 227*5e3eaea3SApple OSS DistributionsTO YOU. In no event shall Apple's total liability to You for all 228*5e3eaea3SApple OSS Distributionsdamages (other than as may be required by applicable law) under this 229*5e3eaea3SApple OSS DistributionsLicense exceed the amount of fifty dollars ($50.00). 230*5e3eaea3SApple OSS Distributions 231*5e3eaea3SApple OSS Distributions10. Trademarks. This License does not grant any rights to use the 232*5e3eaea3SApple OSS Distributionstrademarks or trade names "Apple", "Apple Computer", "Mac", "Mac OS", 233*5e3eaea3SApple OSS Distributions"QuickTime", "QuickTime Streaming Server" or any other trademarks, 234*5e3eaea3SApple OSS Distributionsservice marks, logos or trade names belonging to Apple (collectively 235*5e3eaea3SApple OSS Distributions"Apple Marks") or to any trademark, service mark, logo or trade name 236*5e3eaea3SApple OSS Distributionsbelonging to any Contributor. You agree not to use any Apple Marks in 237*5e3eaea3SApple OSS Distributionsor as part of the name of products derived from the Original Code or 238*5e3eaea3SApple OSS Distributionsto endorse or promote products derived from the Original Code other 239*5e3eaea3SApple OSS Distributionsthan as expressly permitted by and in strict compliance at all times 240*5e3eaea3SApple OSS Distributionswith Apple's third party trademark usage guidelines which are posted 241*5e3eaea3SApple OSS Distributionsat http://www.apple.com/legal/guidelinesfor3rdparties.html. 242*5e3eaea3SApple OSS Distributions 243*5e3eaea3SApple OSS Distributions11. Ownership. Subject to the licenses granted under this License, 244*5e3eaea3SApple OSS Distributionseach Contributor retains all rights, title and interest in and to any 245*5e3eaea3SApple OSS DistributionsModifications made by such Contributor. Apple retains all rights, 246*5e3eaea3SApple OSS Distributionstitle and interest in and to the Original Code and any Modifications 247*5e3eaea3SApple OSS Distributionsmade by or on behalf of Apple ("Apple Modifications"), and such Apple 248*5e3eaea3SApple OSS DistributionsModifications will not be automatically subject to this License. Apple 249*5e3eaea3SApple OSS Distributionsmay, at its sole discretion, choose to license such Apple 250*5e3eaea3SApple OSS DistributionsModifications under this License, or on different terms from those 251*5e3eaea3SApple OSS Distributionscontained in this License or may choose not to license them at all. 252*5e3eaea3SApple OSS Distributions 253*5e3eaea3SApple OSS Distributions12. Termination. 254*5e3eaea3SApple OSS Distributions 255*5e3eaea3SApple OSS Distributions12.1 Termination. This License and the rights granted hereunder will 256*5e3eaea3SApple OSS Distributionsterminate: 257*5e3eaea3SApple OSS Distributions 258*5e3eaea3SApple OSS Distributions(a) automatically without notice from Apple if You fail to comply with 259*5e3eaea3SApple OSS Distributionsany term(s) of this License and fail to cure such breach within 30 260*5e3eaea3SApple OSS Distributionsdays of becoming aware of such breach; 261*5e3eaea3SApple OSS Distributions 262*5e3eaea3SApple OSS Distributions(b) immediately in the event of the circumstances described in Section 263*5e3eaea3SApple OSS Distributions13.5(b); or 264*5e3eaea3SApple OSS Distributions 265*5e3eaea3SApple OSS Distributions(c) automatically without notice from Apple if You, at any time during 266*5e3eaea3SApple OSS Distributionsthe term of this License, commence an action for patent infringement 267*5e3eaea3SApple OSS Distributionsagainst Apple; provided that Apple did not first commence 268*5e3eaea3SApple OSS Distributionsan action for patent infringement against You in that instance. 269*5e3eaea3SApple OSS Distributions 270*5e3eaea3SApple OSS Distributions12.2 Effect of Termination. Upon termination, You agree to immediately 271*5e3eaea3SApple OSS Distributionsstop any further use, reproduction, modification, sublicensing and 272*5e3eaea3SApple OSS Distributionsdistribution of the Covered Code. All sublicenses to the Covered Code 273*5e3eaea3SApple OSS Distributionswhich have been properly granted prior to termination shall survive 274*5e3eaea3SApple OSS Distributionsany termination of this License. Provisions which, by their nature, 275*5e3eaea3SApple OSS Distributionsshould remain in effect beyond the termination of this License shall 276*5e3eaea3SApple OSS Distributionssurvive, including but not limited to Sections 3, 5, 8, 9, 10, 11, 277*5e3eaea3SApple OSS Distributions12.2 and 13. No party will be liable to any other for compensation, 278*5e3eaea3SApple OSS Distributionsindemnity or damages of any sort solely as a result of terminating 279*5e3eaea3SApple OSS Distributionsthis License in accordance with its terms, and termination of this 280*5e3eaea3SApple OSS DistributionsLicense will be without prejudice to any other right or remedy of 281*5e3eaea3SApple OSS Distributionsany party. 282*5e3eaea3SApple OSS Distributions 283*5e3eaea3SApple OSS Distributions13. Miscellaneous. 284*5e3eaea3SApple OSS Distributions 285*5e3eaea3SApple OSS Distributions13.1 Government End Users. The Covered Code is a "commercial item" as 286*5e3eaea3SApple OSS Distributionsdefined in FAR 2.101. Government software and technical data rights in 287*5e3eaea3SApple OSS Distributionsthe Covered Code include only those rights customarily provided to the 288*5e3eaea3SApple OSS Distributionspublic as defined in this License. This customary commercial license 289*5e3eaea3SApple OSS Distributionsin technical data and software is provided in accordance with FAR 290*5e3eaea3SApple OSS Distributions12.211 (Technical Data) and 12.212 (Computer Software) and, for 291*5e3eaea3SApple OSS DistributionsDepartment of Defense purchases, DFAR 252.227-7015 (Technical Data -- 292*5e3eaea3SApple OSS DistributionsCommercial Items) and 227.7202-3 (Rights in Commercial Computer 293*5e3eaea3SApple OSS DistributionsSoftware or Computer Software Documentation). Accordingly, all U.S. 294*5e3eaea3SApple OSS DistributionsGovernment End Users acquire Covered Code with only those rights set 295*5e3eaea3SApple OSS Distributionsforth herein. 296*5e3eaea3SApple OSS Distributions 297*5e3eaea3SApple OSS Distributions13.2 Relationship of Parties. This License will not be construed as 298*5e3eaea3SApple OSS Distributionscreating an agency, partnership, joint venture or any other form of 299*5e3eaea3SApple OSS Distributionslegal association between or among You, Apple or any Contributor, and 300*5e3eaea3SApple OSS DistributionsYou will not represent to the contrary, whether expressly, by 301*5e3eaea3SApple OSS Distributionsimplication, appearance or otherwise. 302*5e3eaea3SApple OSS Distributions 303*5e3eaea3SApple OSS Distributions13.3 Independent Development. Nothing in this License will impair 304*5e3eaea3SApple OSS DistributionsApple's right to acquire, license, develop, have others develop for 305*5e3eaea3SApple OSS Distributionsit, market and/or distribute technology or products that perform the 306*5e3eaea3SApple OSS Distributionssame or similar functions as, or otherwise compete with, 307*5e3eaea3SApple OSS DistributionsModifications, Larger Works, technology or products that You may 308*5e3eaea3SApple OSS Distributionsdevelop, produce, market or distribute. 309*5e3eaea3SApple OSS Distributions 310*5e3eaea3SApple OSS Distributions13.4 Waiver; Construction. Failure by Apple or any Contributor to 311*5e3eaea3SApple OSS Distributionsenforce any provision of this License will not be deemed a waiver of 312*5e3eaea3SApple OSS Distributionsfuture enforcement of that or any other provision. Any law or 313*5e3eaea3SApple OSS Distributionsregulation which provides that the language of a contract shall be 314*5e3eaea3SApple OSS Distributionsconstrued against the drafter will not apply to this License. 315*5e3eaea3SApple OSS Distributions 316*5e3eaea3SApple OSS Distributions13.5 Severability. (a) If for any reason a court of competent 317*5e3eaea3SApple OSS Distributionsjurisdiction finds any provision of this License, or portion thereof, 318*5e3eaea3SApple OSS Distributionsto be unenforceable, that provision of the License will be enforced to 319*5e3eaea3SApple OSS Distributionsthe maximum extent permissible so as to effect the economic benefits 320*5e3eaea3SApple OSS Distributionsand intent of the parties, and the remainder of this License will 321*5e3eaea3SApple OSS Distributionscontinue in full force and effect. (b) Notwithstanding the foregoing, 322*5e3eaea3SApple OSS Distributionsif applicable law prohibits or restricts You from fully and/or 323*5e3eaea3SApple OSS Distributionsspecifically complying with Sections 2 and/or 3 or prevents the 324*5e3eaea3SApple OSS Distributionsenforceability of either of those Sections, this License will 325*5e3eaea3SApple OSS Distributionsimmediately terminate and You must immediately discontinue any use of 326*5e3eaea3SApple OSS Distributionsthe Covered Code and destroy all copies of it that are in your 327*5e3eaea3SApple OSS Distributionspossession or control. 328*5e3eaea3SApple OSS Distributions 329*5e3eaea3SApple OSS Distributions13.6 Dispute Resolution. Any litigation or other dispute resolution 330*5e3eaea3SApple OSS Distributionsbetween You and Apple relating to this License shall take place in the 331*5e3eaea3SApple OSS DistributionsNorthern District of California, and You and Apple hereby consent to 332*5e3eaea3SApple OSS Distributionsthe personal jurisdiction of, and venue in, the state and federal 333*5e3eaea3SApple OSS Distributionscourts within that District with respect to this License. The 334*5e3eaea3SApple OSS Distributionsapplication of the United Nations Convention on Contracts for the 335*5e3eaea3SApple OSS DistributionsInternational Sale of Goods is expressly excluded. 336*5e3eaea3SApple OSS Distributions 337*5e3eaea3SApple OSS Distributions13.7 Entire Agreement; Governing Law. This License constitutes the 338*5e3eaea3SApple OSS Distributionsentire agreement between the parties with respect to the subject 339*5e3eaea3SApple OSS Distributionsmatter hereof. This License shall be governed by the laws of the 340*5e3eaea3SApple OSS DistributionsUnited States and the State of California, except that body of 341*5e3eaea3SApple OSS DistributionsCalifornia law concerning conflicts of law. 342*5e3eaea3SApple OSS Distributions 343*5e3eaea3SApple OSS DistributionsWhere You are located in the province of Quebec, Canada, the following 344*5e3eaea3SApple OSS Distributionsclause applies: The parties hereby confirm that they have requested 345*5e3eaea3SApple OSS Distributionsthat this License and all related documents be drafted in English. Les 346*5e3eaea3SApple OSS Distributionsparties ont exige que le present contrat et tous les documents 347*5e3eaea3SApple OSS Distributionsconnexes soient rediges en anglais. 348*5e3eaea3SApple OSS Distributions 349*5e3eaea3SApple OSS DistributionsEXHIBIT A. 350*5e3eaea3SApple OSS Distributions 351*5e3eaea3SApple OSS Distributions"Portions Copyright (c) 1999-2003 Apple Computer, Inc. All Rights 352*5e3eaea3SApple OSS DistributionsReserved. 353*5e3eaea3SApple OSS Distributions 354*5e3eaea3SApple OSS DistributionsThis file contains Original Code and/or Modifications of Original Code 355*5e3eaea3SApple OSS Distributionsas defined in and that are subject to the Apple Public Source License 356*5e3eaea3SApple OSS DistributionsVersion 2.0 (the 'License'). You may not use this file except in 357*5e3eaea3SApple OSS Distributionscompliance with the License. Please obtain a copy of the License at 358*5e3eaea3SApple OSS Distributionshttp://www.opensource.apple.com/apsl/ and read it before using this 359*5e3eaea3SApple OSS Distributionsfile. 360*5e3eaea3SApple OSS Distributions 361*5e3eaea3SApple OSS DistributionsThe Original Code and all software distributed under the License are 362*5e3eaea3SApple OSS Distributionsdistributed on an 'AS IS' basis, WITHOUT WARRANTY OF ANY KIND, EITHER 363*5e3eaea3SApple OSS DistributionsEXPRESS OR IMPLIED, AND APPLE HEREBY DISCLAIMS ALL SUCH WARRANTIES, 364*5e3eaea3SApple OSS DistributionsINCLUDING WITHOUT LIMITATION, ANY WARRANTIES OF MERCHANTABILITY, 365*5e3eaea3SApple OSS DistributionsFITNESS FOR A PARTICULAR PURPOSE, QUIET ENJOYMENT OR NON-INFRINGEMENT. 366*5e3eaea3SApple OSS DistributionsPlease see the License for the specific language governing rights and 367*5e3eaea3SApple OSS Distributionslimitations under the License." 368