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