Blame COPYING

Packit 272fb1
/*
Packit 272fb1
 * Copyright (c) 1980, 1993
Packit 272fb1
 *	The Regents of the University of California.  All rights reserved.
Packit 272fb1
 * Copyright (c) 1996
Packit 272fb1
 *	Christos Zoulas.  All rights reserved.
Packit 272fb1
 * Copyright (c) 2000
Packit 272fb1
 *	Gunnar Ritter. All rights reserved.
Packit 272fb1
 *
Packit 272fb1
 * Redistribution and use in source and binary forms, with or without
Packit 272fb1
 * modification, are permitted provided that the following conditions
Packit 272fb1
 * are met:
Packit 272fb1
 * 1. Redistributions of source code must retain the above copyright
Packit 272fb1
 *    notice, this list of conditions and the following disclaimer.
Packit 272fb1
 * 2. Redistributions in binary form must reproduce the above copyright
Packit 272fb1
 *    notice, this list of conditions and the following disclaimer in the
Packit 272fb1
 *    documentation and/or other materials provided with the distribution.
Packit 272fb1
 * 3. All advertising materials mentioning features or use of this software
Packit 272fb1
 *    must display the following acknowledgements:
Packit 272fb1
 *	This product includes software developed by the University of
Packit 272fb1
 *		California, Berkeley and its contributors.
Packit 272fb1
 *	This product includes software developed by Christos Zoulas.
Packit 272fb1
 *	This product includes software developed by Gunnar Ritter
Packit 272fb1
 *		and his contributors.
Packit 272fb1
 * 4. Neither the name of the University nor the names of its contributors
Packit 272fb1
 *    nor the name of Gunnar Ritter nor the names of his contributors
Packit 272fb1
 *    may be used to endorse or promote products derived from this software
Packit 272fb1
 *    without specific prior written permission.
Packit 272fb1
 *
Packit 272fb1
 * THIS SOFTWARE IS PROVIDED ``AS IS'', AND ANY EXPRESS OR IMPLIED WARRANTIES,
Packit 272fb1
 * INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY
Packit 272fb1
 * AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL
Packit 272fb1
 * THE DEVELOPERS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY DIRECT, INDIRECT,
Packit 272fb1
 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
Packit 272fb1
 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
Packit 272fb1
 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
Packit 272fb1
 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
Packit 272fb1
 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
Packit 272fb1
 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
Packit 272fb1
 */
Packit 272fb1
==========================================================================
Packit 272fb1
Packit 272fb1
/*
Packit 272fb1
 * For base64.c:
Packit 272fb1
 *
Packit 272fb1
 * Portions Copyright (c) 1991 Bell Communications Research, Inc. (Bellcore)
Packit 272fb1
 *
Packit 272fb1
 * Permission to use, copy, modify, and distribute this material 
Packit 272fb1
 * for any purpose and without fee is hereby granted, provided 
Packit 272fb1
 * that the above copyright notice and this permission notice 
Packit 272fb1
 * appear in all copies, and that the name of Bellcore not be 
Packit 272fb1
 * used in advertising or publicity pertaining to this 
Packit 272fb1
 * material without the specific, prior written permission 
Packit 272fb1
 * of an authorized representative of Bellcore.  BELLCORE 
Packit 272fb1
 * MAKES NO REPRESENTATIONS ABOUT THE ACCURACY OR SUITABILITY 
Packit 272fb1
 * OF THIS MATERIAL FOR ANY PURPOSE.  IT IS PROVIDED "AS IS", 
Packit 272fb1
 * WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES.
Packit 272fb1
 */
Packit 272fb1
==========================================================================
Packit 272fb1
Packit 272fb1
The Institute of Electrical and Electronics Engineers and The Open Group,
Packit 272fb1
have given us permission to reprint portions of their documentation.
Packit 272fb1
Packit 272fb1
In the following statement, the phrase ``this text'' refers to portions
Packit 272fb1
of the system documentation.
Packit 272fb1
Packit 272fb1
Portions of this text are reprinted and reproduced in electronic form in
Packit 272fb1
the 'nail' mail user agent, from IEEE Std 1003.1, 2003 Edition, Standard for
Packit 272fb1
Information Technology -- Portable Operating System Interface (POSIX),
Packit 272fb1
The Open Group Base Specifications Issue 6, Copyright (C) 2001-2003 by the
Packit 272fb1
Institute of Electrical and Electronics Engineers, Inc and The Open Group.
Packit 272fb1
In the event of any discrepancy between these versions and the original
Packit 272fb1
IEEE and The Open Group Standard, the original IEEE and The Open Group
Packit 272fb1
Standard is the referee document.
Packit 272fb1
Packit 272fb1
The original Standard can be obtained online at
Packit 272fb1
http://www.opengroup.org/unix/online.html .
Packit 272fb1
Packit 272fb1
This notice shall appear on any product containing this material.
Packit 272fb1
==========================================================================
Packit 272fb1
Packit 272fb1
/*
Packit 272fb1
 * imap_gssapi.c is partially derived from sample code in:
Packit 272fb1
 * GSS-API Programming Guide
Packit 272fb1
 * Part No: 816-1331-11
Packit 272fb1
 * Sun Microsystems, Inc. 4150 Network Circle Santa Clara, CA 95054 U.S.A.
Packit 272fb1
 *
Packit 272fb1
 * (c) 2002 Sun Microsystems
Packit 272fb1
 */
Packit 272fb1
/*
Packit 272fb1
 * Copyright 1994 by OpenVision Technologies, Inc.
Packit 272fb1
 * 
Packit 272fb1
 * Permission to use, copy, modify, distribute, and sell this software
Packit 272fb1
 * and its documentation for any purpose is hereby granted without fee,
Packit 272fb1
 * provided that the above copyright notice appears in all copies and
Packit 272fb1
 * that both that copyright notice and this permission notice appear in
Packit 272fb1
 * supporting documentation, and that the name of OpenVision not be used
Packit 272fb1
 * in advertising or publicity pertaining to distribution of the software
Packit 272fb1
 * without specific, written prior permission. OpenVision makes no
Packit 272fb1
 * representations about the suitability of this software for any
Packit 272fb1
 * purpose.  It is provided "as is" without express or implied warranty.
Packit 272fb1
 * 
Packit 272fb1
 * OPENVISION DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE,
Packit 272fb1
 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS, IN NO
Packit 272fb1
 * EVENT SHALL OPENVISION BE LIABLE FOR ANY SPECIAL, INDIRECT OR
Packit 272fb1
 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF
Packit 272fb1
 * USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
Packit 272fb1
 * OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
Packit 272fb1
 * PERFORMANCE OF THIS SOFTWARE.
Packit 272fb1
 */
Packit 272fb1
==========================================================================
Packit 272fb1
Packit 272fb1
/* md5.h and md5.c are derived from RFC 1321:
Packit 272fb1
Packit 272fb1
Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All
Packit 272fb1
rights reserved.
Packit 272fb1
Packit 272fb1
License to copy and use this software is granted provided that it
Packit 272fb1
is identified as the "RSA Data Security, Inc. MD5 Message-Digest
Packit 272fb1
Algorithm" in all material mentioning or referencing this software
Packit 272fb1
or this function.
Packit 272fb1
Packit 272fb1
License is also granted to make and use derivative works provided
Packit 272fb1
that such works are identified as "derived from the RSA Data
Packit 272fb1
Security, Inc. MD5 Message-Digest Algorithm" in all material
Packit 272fb1
mentioning or referencing the derived work.
Packit 272fb1
Packit 272fb1
RSA Data Security, Inc. makes no representations concerning either
Packit 272fb1
the merchantability of this software or the suitability of this
Packit 272fb1
software for any particular purpose. It is provided "as is"
Packit 272fb1
without express or implied warranty of any kind.
Packit 272fb1
Packit 272fb1
These notices must be retained in any copies of any part of this
Packit 272fb1
documentation and/or software.
Packit 272fb1
==========================================================================
Packit 272fb1
Packit 272fb1
/*
Packit 272fb1
 * hmac.c is derived from:
Packit 272fb1
Packit 272fb1
Network Working Group					    H. Krawczyk
Packit 272fb1
Request for Comments: 2104					    IBM
Packit 272fb1
Category: Informational					     M. Bellare
Packit 272fb1
								   UCSD
Packit 272fb1
							     R. Canetti
Packit 272fb1
								    IBM
Packit 272fb1
							  February 1997
Packit 272fb1
Packit 272fb1
Packit 272fb1
	     HMAC: Keyed-Hashing for Message Authentication
Packit 272fb1
Packit 272fb1
Status of This Memo
Packit 272fb1
Packit 272fb1
   This memo provides information for the Internet community.  This memo
Packit 272fb1
   does not specify an Internet standard of any kind.  Distribution of
Packit 272fb1
   this memo is unlimited.
Packit 272fb1
Packit 272fb1
Appendix -- Sample Code
Packit 272fb1
==========================================================================
Packit 272fb1
Packit 272fb1
Parts of nss.c are derived from the Mozilla NSS 3.9.2 source,
Packit 272fb1
mozilla/security/nss/cmd/smimetools/cmsutil.c. Therefore:
Packit 272fb1
Packit 272fb1
                          MOZILLA PUBLIC LICENSE
Packit 272fb1
                                Version 1.1
Packit 272fb1
Packit 272fb1
                              ---------------
Packit 272fb1
Packit 272fb1
1. Definitions.
Packit 272fb1
Packit 272fb1
     1.0.1. "Commercial Use" means distribution or otherwise making the
Packit 272fb1
     Covered Code available to a third party.
Packit 272fb1
Packit 272fb1
     1.1. "Contributor" means each entity that creates or contributes to
Packit 272fb1
     the creation of Modifications.
Packit 272fb1
Packit 272fb1
     1.2. "Contributor Version" means the combination of the Original
Packit 272fb1
     Code, prior Modifications used by a Contributor, and the Modifications
Packit 272fb1
     made by that particular Contributor.
Packit 272fb1
Packit 272fb1
     1.3. "Covered Code" means the Original Code or Modifications or the
Packit 272fb1
     combination of the Original Code and Modifications, in each case
Packit 272fb1
     including portions thereof.
Packit 272fb1
Packit 272fb1
     1.4. "Electronic Distribution Mechanism" means a mechanism generally
Packit 272fb1
     accepted in the software development community for the electronic
Packit 272fb1
     transfer of data.
Packit 272fb1
Packit 272fb1
     1.5. "Executable" means Covered Code in any form other than Source
Packit 272fb1
     Code.
Packit 272fb1
Packit 272fb1
     1.6. "Initial Developer" means the individual or entity identified
Packit 272fb1
     as the Initial Developer in the Source Code notice required by Exhibit
Packit 272fb1
     A.
Packit 272fb1
Packit 272fb1
     1.7. "Larger Work" means a work which combines Covered Code or
Packit 272fb1
     portions thereof with code not governed by the terms of this License.
Packit 272fb1
Packit 272fb1
     1.8. "License" means this document.
Packit 272fb1
Packit 272fb1
     1.8.1. "Licensable" means having the right to grant, to the maximum
Packit 272fb1
     extent possible, whether at the time of the initial grant or
Packit 272fb1
     subsequently acquired, any and all of the rights conveyed herein.
Packit 272fb1
Packit 272fb1
     1.9. "Modifications" means any addition to or deletion from the
Packit 272fb1
     substance or structure of either the Original Code or any previous
Packit 272fb1
     Modifications. When Covered Code is released as a series of files, a
Packit 272fb1
     Modification is:
Packit 272fb1
          A. Any addition to or deletion from the contents of a file
Packit 272fb1
          containing Original Code or previous Modifications.
Packit 272fb1
Packit 272fb1
          B. Any new file that contains any part of the Original Code or
Packit 272fb1
          previous Modifications.
Packit 272fb1
Packit 272fb1
     1.10. "Original Code" means Source Code of computer software code
Packit 272fb1
     which is described in the Source Code notice required by Exhibit A as
Packit 272fb1
     Original Code, and which, at the time of its release under this
Packit 272fb1
     License is not already Covered Code governed by this License.
Packit 272fb1
Packit 272fb1
     1.10.1. "Patent Claims" means any patent claim(s), now owned or
Packit 272fb1
     hereafter acquired, including without limitation,  method, process,
Packit 272fb1
     and apparatus claims, in any patent Licensable by grantor.
Packit 272fb1
Packit 272fb1
     1.11. "Source Code" means the preferred form of the Covered Code for
Packit 272fb1
     making modifications to it, including all modules it contains, plus
Packit 272fb1
     any associated interface definition files, scripts used to control
Packit 272fb1
     compilation and installation of an Executable, or source code
Packit 272fb1
     differential comparisons against either the Original Code or another
Packit 272fb1
     well known, available Covered Code of the Contributor's choice. The
Packit 272fb1
     Source Code can be in a compressed or archival form, provided the
Packit 272fb1
     appropriate decompression or de-archiving software is widely available
Packit 272fb1
     for no charge.
Packit 272fb1
Packit 272fb1
     1.12. "You" (or "Your")  means an individual or a legal entity
Packit 272fb1
     exercising rights under, and complying with all of the terms of, this
Packit 272fb1
     License or a future version of this License issued under Section 6.1.
Packit 272fb1
     For legal entities, "You" includes any entity which controls, is
Packit 272fb1
     controlled by, or is under common control with You. For purposes of
Packit 272fb1
     this definition, "control" means (a) the power, direct or indirect,
Packit 272fb1
     to cause the direction or management of such entity, whether by
Packit 272fb1
     contract or otherwise, or (b) ownership of more than fifty percent
Packit 272fb1
     (50%) of the outstanding shares or beneficial ownership of such
Packit 272fb1
     entity.
Packit 272fb1
Packit 272fb1
2. Source Code License.
Packit 272fb1
Packit 272fb1
     2.1. The Initial Developer Grant.
Packit 272fb1
     The Initial Developer hereby grants You a world-wide, royalty-free,
Packit 272fb1
     non-exclusive license, subject to third party intellectual property
Packit 272fb1
     claims:
Packit 272fb1
          (a)  under intellectual property rights (other than patent or
Packit 272fb1
          trademark) Licensable by Initial Developer to use, reproduce,
Packit 272fb1
          modify, display, perform, sublicense and distribute the Original
Packit 272fb1
          Code (or portions thereof) with or without Modifications, and/or
Packit 272fb1
          as part of a Larger Work; and
Packit 272fb1
Packit 272fb1
          (b) under Patents Claims infringed by the making, using or
Packit 272fb1
          selling of Original Code, to make, have made, use, practice,
Packit 272fb1
          sell, and offer for sale, and/or otherwise dispose of the
Packit 272fb1
          Original Code (or portions thereof).
Packit 272fb1
Packit 272fb1
          (c) the licenses granted in this Section 2.1(a) and (b) are
Packit 272fb1
          effective on the date Initial Developer first distributes
Packit 272fb1
          Original Code under the terms of this License.
Packit 272fb1
Packit 272fb1
          (d) Notwithstanding Section 2.1(b) above, no patent license is
Packit 272fb1
          granted: 1) for code that You delete from the Original Code; 2)
Packit 272fb1
          separate from the Original Code;  or 3) for infringements caused
Packit 272fb1
          by: i) the modification of the Original Code or ii) the
Packit 272fb1
          combination of the Original Code with other software or devices.
Packit 272fb1
Packit 272fb1
     2.2. Contributor Grant.
Packit 272fb1
     Subject to third party intellectual property claims, each Contributor
Packit 272fb1
     hereby grants You a world-wide, royalty-free, non-exclusive license
Packit 272fb1
Packit 272fb1
          (a)  under intellectual property rights (other than patent or
Packit 272fb1
          trademark) Licensable by Contributor, to use, reproduce, modify,
Packit 272fb1
          display, perform, sublicense and distribute the Modifications
Packit 272fb1
          created by such Contributor (or portions thereof) either on an
Packit 272fb1
          unmodified basis, with other Modifications, as Covered Code
Packit 272fb1
          and/or as part of a Larger Work; and
Packit 272fb1
Packit 272fb1
          (b) under Patent Claims infringed by the making, using, or
Packit 272fb1
          selling of  Modifications made by that Contributor either alone
Packit 272fb1
          and/or in combination with its Contributor Version (or portions
Packit 272fb1
          of such combination), to make, use, sell, offer for sale, have
Packit 272fb1
          made, and/or otherwise dispose of: 1) Modifications made by that
Packit 272fb1
          Contributor (or portions thereof); and 2) the combination of
Packit 272fb1
          Modifications made by that Contributor with its Contributor
Packit 272fb1
          Version (or portions of such combination).
Packit 272fb1
Packit 272fb1
          (c) the licenses granted in Sections 2.2(a) and 2.2(b) are
Packit 272fb1
          effective on the date Contributor first makes Commercial Use of
Packit 272fb1
          the Covered Code.
Packit 272fb1
Packit 272fb1
          (d)    Notwithstanding Section 2.2(b) above, no patent license is
Packit 272fb1
          granted: 1) for any code that Contributor has deleted from the
Packit 272fb1
          Contributor Version; 2)  separate from the Contributor Version;
Packit 272fb1
          3)  for infringements caused by: i) third party modifications of
Packit 272fb1
          Contributor Version or ii)  the combination of Modifications made
Packit 272fb1
          by that Contributor with other software  (except as part of the
Packit 272fb1
          Contributor Version) or other devices; or 4) under Patent Claims
Packit 272fb1
          infringed by Covered Code in the absence of Modifications made by
Packit 272fb1
          that Contributor.
Packit 272fb1
Packit 272fb1
3. Distribution Obligations.
Packit 272fb1
Packit 272fb1
     3.1. Application of License.
Packit 272fb1
     The Modifications which You create or to which You contribute are
Packit 272fb1
     governed by the terms of this License, including without limitation
Packit 272fb1
     Section 2.2. The Source Code version of Covered Code may be
Packit 272fb1
     distributed only under the terms of this License or a future version
Packit 272fb1
     of this License released under Section 6.1, and You must include a
Packit 272fb1
     copy of this License with every copy of the Source Code You
Packit 272fb1
     distribute. You may not offer or impose any terms on any Source Code
Packit 272fb1
     version that alters or restricts the applicable version of this
Packit 272fb1
     License or the recipients' rights hereunder. However, You may include
Packit 272fb1
     an additional document offering the additional rights described in
Packit 272fb1
     Section 3.5.
Packit 272fb1
Packit 272fb1
     3.2. Availability of Source Code.
Packit 272fb1
     Any Modification which You create or to which You contribute must be
Packit 272fb1
     made available in Source Code form under the terms of this License
Packit 272fb1
     either on the same media as an Executable version or via an accepted
Packit 272fb1
     Electronic Distribution Mechanism to anyone to whom you made an
Packit 272fb1
     Executable version available; and if made available via Electronic
Packit 272fb1
     Distribution Mechanism, must remain available for at least twelve (12)
Packit 272fb1
     months after the date it initially became available, or at least six
Packit 272fb1
     (6) months after a subsequent version of that particular Modification
Packit 272fb1
     has been made available to such recipients. You are responsible for
Packit 272fb1
     ensuring that the Source Code version remains available even if the
Packit 272fb1
     Electronic Distribution Mechanism is maintained by a third party.
Packit 272fb1
Packit 272fb1
     3.3. Description of Modifications.
Packit 272fb1
     You must cause all Covered Code to which You contribute to contain a
Packit 272fb1
     file documenting the changes You made to create that Covered Code and
Packit 272fb1
     the date of any change. You must include a prominent statement that
Packit 272fb1
     the Modification is derived, directly or indirectly, from Original
Packit 272fb1
     Code provided by the Initial Developer and including the name of the
Packit 272fb1
     Initial Developer in (a) the Source Code, and (b) in any notice in an
Packit 272fb1
     Executable version or related documentation in which You describe the
Packit 272fb1
     origin or ownership of the Covered Code.
Packit 272fb1
Packit 272fb1
     3.4. Intellectual Property Matters
Packit 272fb1
          (a) Third Party Claims.
Packit 272fb1
          If Contributor has knowledge that a license under a third party's
Packit 272fb1
          intellectual property rights is required to exercise the rights
Packit 272fb1
          granted by such Contributor under Sections 2.1 or 2.2,
Packit 272fb1
          Contributor must include a text file with the Source Code
Packit 272fb1
          distribution titled "LEGAL" which describes the claim and the
Packit 272fb1
          party making the claim in sufficient detail that a recipient will
Packit 272fb1
          know whom to contact. If Contributor obtains such knowledge after
Packit 272fb1
          the Modification is made available as described in Section 3.2,
Packit 272fb1
          Contributor shall promptly modify the LEGAL file in all copies
Packit 272fb1
          Contributor makes available thereafter and shall take other steps
Packit 272fb1
          (such as notifying appropriate mailing lists or newsgroups)
Packit 272fb1
          reasonably calculated to inform those who received the Covered
Packit 272fb1
          Code that new knowledge has been obtained.
Packit 272fb1
Packit 272fb1
          (b) Contributor APIs.
Packit 272fb1
          If Contributor's Modifications include an application programming
Packit 272fb1
          interface and Contributor has knowledge of patent licenses which
Packit 272fb1
          are reasonably necessary to implement that API, Contributor must
Packit 272fb1
          also include this information in the LEGAL file.
Packit 272fb1
Packit 272fb1
               (c)    Representations.
Packit 272fb1
          Contributor represents that, except as disclosed pursuant to
Packit 272fb1
          Section 3.4(a) above, Contributor believes that Contributor's
Packit 272fb1
          Modifications are Contributor's original creation(s) and/or
Packit 272fb1
          Contributor has sufficient rights to grant the rights conveyed by
Packit 272fb1
          this License.
Packit 272fb1
Packit 272fb1
     3.5. Required Notices.
Packit 272fb1
     You must duplicate the notice in Exhibit A in each file of the Source
Packit 272fb1
     Code.  If it is not possible to put such notice in a particular Source
Packit 272fb1
     Code file due to its structure, then You must include such notice in a
Packit 272fb1
     location (such as a relevant directory) where a user would be likely
Packit 272fb1
     to look for such a notice.  If You created one or more Modification(s)
Packit 272fb1
     You may add your name as a Contributor to the notice described in
Packit 272fb1
     Exhibit A.  You must also duplicate this License in any documentation
Packit 272fb1
     for the Source Code where You describe recipients' rights or ownership
Packit 272fb1
     rights relating to Covered Code.  You may choose to offer, and to
Packit 272fb1
     charge a fee for, warranty, support, indemnity or liability
Packit 272fb1
     obligations to one or more recipients of Covered Code. However, You
Packit 272fb1
     may do so only on Your own behalf, and not on behalf of the Initial
Packit 272fb1
     Developer or any Contributor. You must make it absolutely clear than
Packit 272fb1
     any such warranty, support, indemnity or liability obligation is
Packit 272fb1
     offered by You alone, and You hereby agree to indemnify the Initial
Packit 272fb1
     Developer and every Contributor for any liability incurred by the
Packit 272fb1
     Initial Developer or such Contributor as a result of warranty,
Packit 272fb1
     support, indemnity or liability terms You offer.
Packit 272fb1
Packit 272fb1
     3.6. Distribution of Executable Versions.
Packit 272fb1
     You may distribute Covered Code in Executable form only if the
Packit 272fb1
     requirements of Section 3.1-3.5 have been met for that Covered Code,
Packit 272fb1
     and if You include a notice stating that the Source Code version of
Packit 272fb1
     the Covered Code is available under the terms of this License,
Packit 272fb1
     including a description of how and where You have fulfilled the
Packit 272fb1
     obligations of Section 3.2. The notice must be conspicuously included
Packit 272fb1
     in any notice in an Executable version, related documentation or
Packit 272fb1
     collateral in which You describe recipients' rights relating to the
Packit 272fb1
     Covered Code. You may distribute the Executable version of Covered
Packit 272fb1
     Code or ownership rights under a license of Your choice, which may
Packit 272fb1
     contain terms different from this License, provided that You are in
Packit 272fb1
     compliance with the terms of this License and that the license for the
Packit 272fb1
     Executable version does not attempt to limit or alter the recipient's
Packit 272fb1
     rights in the Source Code version from the rights set forth in this
Packit 272fb1
     License. If You distribute the Executable version under a different
Packit 272fb1
     license You must make it absolutely clear that any terms which differ
Packit 272fb1
     from this License are offered by You alone, not by the Initial
Packit 272fb1
     Developer or any Contributor. You hereby agree to indemnify the
Packit 272fb1
     Initial Developer and every Contributor for any liability incurred by
Packit 272fb1
     the Initial Developer or such Contributor as a result of any such
Packit 272fb1
     terms You offer.
Packit 272fb1
Packit 272fb1
     3.7. Larger Works.
Packit 272fb1
     You may create a Larger Work by combining Covered Code with other code
Packit 272fb1
     not governed by the terms of this License and distribute the Larger
Packit 272fb1
     Work as a single product. In such a case, You must make sure the
Packit 272fb1
     requirements of this License are fulfilled for the Covered Code.
Packit 272fb1
Packit 272fb1
4. Inability to Comply Due to Statute or Regulation.
Packit 272fb1
Packit 272fb1
     If it is impossible for You to comply with any of the terms of this
Packit 272fb1
     License with respect to some or all of the Covered Code due to
Packit 272fb1
     statute, judicial order, or regulation then You must: (a) comply with
Packit 272fb1
     the terms of this License to the maximum extent possible; and (b)
Packit 272fb1
     describe the limitations and the code they affect. Such description
Packit 272fb1
     must be included in the LEGAL file described in Section 3.4 and must
Packit 272fb1
     be included with all distributions of the Source Code. Except to the
Packit 272fb1
     extent prohibited by statute or regulation, such description must be
Packit 272fb1
     sufficiently detailed for a recipient of ordinary skill to be able to
Packit 272fb1
     understand it.
Packit 272fb1
Packit 272fb1
5. Application of this License.
Packit 272fb1
Packit 272fb1
     This License applies to code to which the Initial Developer has
Packit 272fb1
     attached the notice in Exhibit A and to related Covered Code.
Packit 272fb1
Packit 272fb1
6. Versions of the License.
Packit 272fb1
Packit 272fb1
     6.1. New Versions.
Packit 272fb1
     Netscape Communications Corporation ("Netscape") may publish revised
Packit 272fb1
     and/or new versions of the License from time to time. Each version
Packit 272fb1
     will be given a distinguishing version number.
Packit 272fb1
Packit 272fb1
     6.2. Effect of New Versions.
Packit 272fb1
     Once Covered Code has been published under a particular version of the
Packit 272fb1
     License, You may always continue to use it under the terms of that
Packit 272fb1
     version. You may also choose to use such Covered Code under the terms
Packit 272fb1
     of any subsequent version of the License published by Netscape. No one
Packit 272fb1
     other than Netscape has the right to modify the terms applicable to
Packit 272fb1
     Covered Code created under this License.
Packit 272fb1
Packit 272fb1
     6.3. Derivative Works.
Packit 272fb1
     If You create or use a modified version of this License (which you may
Packit 272fb1
     only do in order to apply it to code which is not already Covered Code
Packit 272fb1
     governed by this License), You must (a) rename Your license so that
Packit 272fb1
     the phrases "Mozilla", "MOZILLAPL", "MOZPL", "Netscape",
Packit 272fb1
     "MPL", "NPL" or any confusingly similar phrase do not appear in your
Packit 272fb1
     license (except to note that your license differs from this License)
Packit 272fb1
     and (b) otherwise make it clear that Your version of the license
Packit 272fb1
     contains terms which differ from the Mozilla Public License and
Packit 272fb1
     Netscape Public License. (Filling in the name of the Initial
Packit 272fb1
     Developer, Original Code or Contributor in the notice described in
Packit 272fb1
     Exhibit A shall not of themselves be deemed to be modifications of
Packit 272fb1
     this License.)
Packit 272fb1
Packit 272fb1
7. DISCLAIMER OF WARRANTY.
Packit 272fb1
Packit 272fb1
     COVERED CODE IS PROVIDED UNDER THIS LICENSE ON AN "AS IS" BASIS,
Packit 272fb1
     WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
Packit 272fb1
     WITHOUT LIMITATION, WARRANTIES THAT THE COVERED CODE IS FREE OF
Packit 272fb1
     DEFECTS, MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE OR NON-INFRINGING.
Packit 272fb1
     THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE COVERED CODE
Packit 272fb1
     IS WITH YOU. SHOULD ANY COVERED CODE PROVE DEFECTIVE IN ANY RESPECT,
Packit 272fb1
     YOU (NOT THE INITIAL DEVELOPER OR ANY OTHER CONTRIBUTOR) ASSUME THE
Packit 272fb1
     COST OF ANY NECESSARY SERVICING, REPAIR OR CORRECTION. THIS DISCLAIMER
Packit 272fb1
     OF WARRANTY CONSTITUTES AN ESSENTIAL PART OF THIS LICENSE. NO USE OF
Packit 272fb1
     ANY COVERED CODE IS AUTHORIZED HEREUNDER EXCEPT UNDER THIS DISCLAIMER.
Packit 272fb1
Packit 272fb1
8. TERMINATION.
Packit 272fb1
Packit 272fb1
     8.1.  This License and the rights granted hereunder will terminate
Packit 272fb1
     automatically if You fail to comply with terms herein and fail to cure
Packit 272fb1
     such breach within 30 days of becoming aware of the breach. All
Packit 272fb1
     sublicenses to the Covered Code which are properly granted shall
Packit 272fb1
     survive any termination of this License. Provisions which, by their
Packit 272fb1
     nature, must remain in effect beyond the termination of this License
Packit 272fb1
     shall survive.
Packit 272fb1
Packit 272fb1
     8.2.  If You initiate litigation by asserting a patent infringement
Packit 272fb1
     claim (excluding declatory judgment actions) against Initial Developer
Packit 272fb1
     or a Contributor (the Initial Developer or Contributor against whom
Packit 272fb1
     You file such action is referred to as "Participant")  alleging that:
Packit 272fb1
Packit 272fb1
     (a)  such Participant's Contributor Version directly or indirectly
Packit 272fb1
     infringes any patent, then any and all rights granted by such
Packit 272fb1
     Participant to You under Sections 2.1 and/or 2.2 of this License
Packit 272fb1
     shall, upon 60 days notice from Participant terminate prospectively,
Packit 272fb1
     unless if within 60 days after receipt of notice You either: (i)
Packit 272fb1
     agree in writing to pay Participant a mutually agreeable reasonable
Packit 272fb1
     royalty for Your past and future use of Modifications made by such
Packit 272fb1
     Participant, or (ii) withdraw Your litigation claim with respect to
Packit 272fb1
     the Contributor Version against such Participant.  If within 60 days
Packit 272fb1
     of notice, a reasonable royalty and payment arrangement are not
Packit 272fb1
     mutually agreed upon in writing by the parties or the litigation claim
Packit 272fb1
     is not withdrawn, the rights granted by Participant to You under
Packit 272fb1
     Sections 2.1 and/or 2.2 automatically terminate at the expiration of
Packit 272fb1
     the 60 day notice period specified above.
Packit 272fb1
Packit 272fb1
     (b)  any software, hardware, or device, other than such Participant's
Packit 272fb1
     Contributor Version, directly or indirectly infringes any patent, then
Packit 272fb1
     any rights granted to You by such Participant under Sections 2.1(b)
Packit 272fb1
     and 2.2(b) are revoked effective as of the date You first made, used,
Packit 272fb1
     sold, distributed, or had made, Modifications made by that
Packit 272fb1
     Participant.
Packit 272fb1
Packit 272fb1
     8.3.  If You assert a patent infringement claim against Participant
Packit 272fb1
     alleging that such Participant's Contributor Version directly or
Packit 272fb1
     indirectly infringes any patent where such claim is resolved (such as
Packit 272fb1
     by license or settlement) prior to the initiation of patent
Packit 272fb1
     infringement litigation, then the reasonable value of the licenses
Packit 272fb1
     granted by such Participant under Sections 2.1 or 2.2 shall be taken
Packit 272fb1
     into account in determining the amount or value of any payment or
Packit 272fb1
     license.
Packit 272fb1
Packit 272fb1
     8.4.  In the event of termination under Sections 8.1 or 8.2 above,
Packit 272fb1
     all end user license agreements (excluding distributors and resellers)
Packit 272fb1
     which have been validly granted by You or any distributor hereunder
Packit 272fb1
     prior to termination shall survive termination.
Packit 272fb1
Packit 272fb1
9. LIMITATION OF LIABILITY.
Packit 272fb1
Packit 272fb1
     UNDER NO CIRCUMSTANCES AND UNDER NO LEGAL THEORY, WHETHER TORT
Packit 272fb1
     (INCLUDING NEGLIGENCE), CONTRACT, OR OTHERWISE, SHALL YOU, THE INITIAL
Packit 272fb1
     DEVELOPER, ANY OTHER CONTRIBUTOR, OR ANY DISTRIBUTOR OF COVERED CODE,
Packit 272fb1
     OR ANY SUPPLIER OF ANY OF SUCH PARTIES, BE LIABLE TO ANY PERSON FOR
Packit 272fb1
     ANY INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL DAMAGES OF ANY
Packit 272fb1
     CHARACTER INCLUDING, WITHOUT LIMITATION, DAMAGES FOR LOSS OF GOODWILL,
Packit 272fb1
     WORK STOPPAGE, COMPUTER FAILURE OR MALFUNCTION, OR ANY AND ALL OTHER
Packit 272fb1
     COMMERCIAL DAMAGES OR LOSSES, EVEN IF SUCH PARTY SHALL HAVE BEEN
Packit 272fb1
     INFORMED OF THE POSSIBILITY OF SUCH DAMAGES. THIS LIMITATION OF
Packit 272fb1
     LIABILITY SHALL NOT APPLY TO LIABILITY FOR DEATH OR PERSONAL INJURY
Packit 272fb1
     RESULTING FROM SUCH PARTY'S NEGLIGENCE TO THE EXTENT APPLICABLE LAW
Packit 272fb1
     PROHIBITS SUCH LIMITATION. SOME JURISDICTIONS DO NOT ALLOW THE
Packit 272fb1
     EXCLUSION OR LIMITATION OF INCIDENTAL OR CONSEQUENTIAL DAMAGES, SO
Packit 272fb1
     THIS EXCLUSION AND LIMITATION MAY NOT APPLY TO YOU.
Packit 272fb1
Packit 272fb1
10. U.S. GOVERNMENT END USERS.
Packit 272fb1
Packit 272fb1
     The Covered Code is a "commercial item," as that term is defined in
Packit 272fb1
     48 C.F.R. 2.101 (Oct. 1995), consisting of "commercial computer
Packit 272fb1
     software" and "commercial computer software documentation," as such
Packit 272fb1
     terms are used in 48 C.F.R. 12.212 (Sept. 1995). Consistent with 48
Packit 272fb1
     C.F.R. 12.212 and 48 C.F.R. 227.7202-1 through 227.7202-4 (June 1995),
Packit 272fb1
     all U.S. Government End Users acquire Covered Code with only those
Packit 272fb1
     rights set forth herein.
Packit 272fb1
Packit 272fb1
11. MISCELLANEOUS.
Packit 272fb1
Packit 272fb1
     This License represents the complete agreement concerning subject
Packit 272fb1
     matter hereof. If any provision of this License is held to be
Packit 272fb1
     unenforceable, such provision shall be reformed only to the extent
Packit 272fb1
     necessary to make it enforceable. This License shall be governed by
Packit 272fb1
     California law provisions (except to the extent applicable law, if
Packit 272fb1
     any, provides otherwise), excluding its conflict-of-law provisions.
Packit 272fb1
     With respect to disputes in which at least one party is a citizen of,
Packit 272fb1
     or an entity chartered or registered to do business in the United
Packit 272fb1
     States of America, any litigation relating to this License shall be
Packit 272fb1
     subject to the jurisdiction of the Federal Courts of the Northern
Packit 272fb1
     District of California, with venue lying in Santa Clara County,
Packit 272fb1
     California, with the losing party responsible for costs, including
Packit 272fb1
     without limitation, court costs and reasonable attorneys' fees and
Packit 272fb1
     expenses. The application of the United Nations Convention on
Packit 272fb1
     Contracts for the International Sale of Goods is expressly excluded.
Packit 272fb1
     Any law or regulation which provides that the language of a contract
Packit 272fb1
     shall be construed against the drafter shall not apply to this
Packit 272fb1
     License.
Packit 272fb1
Packit 272fb1
12. RESPONSIBILITY FOR CLAIMS.
Packit 272fb1
Packit 272fb1
     As between Initial Developer and the Contributors, each party is
Packit 272fb1
     responsible for claims and damages arising, directly or indirectly,
Packit 272fb1
     out of its utilization of rights under this License and You agree to
Packit 272fb1
     work with Initial Developer and Contributors to distribute such
Packit 272fb1
     responsibility on an equitable basis. Nothing herein is intended or
Packit 272fb1
     shall be deemed to constitute any admission of liability.
Packit 272fb1
Packit 272fb1
13. MULTIPLE-LICENSED CODE.
Packit 272fb1
Packit 272fb1
     Initial Developer may designate portions of the Covered Code as
Packit 272fb1
     "Multiple-Licensed".  "Multiple-Licensed" means that the Initial
Packit 272fb1
     Developer permits you to utilize portions of the Covered Code under
Packit 272fb1
     Your choice of the NPL or the alternative licenses, if any, specified
Packit 272fb1
     by the Initial Developer in the file described in Exhibit A.
Packit 272fb1
Packit 272fb1
EXHIBIT A -Mozilla Public License.
Packit 272fb1
Packit 272fb1
     ``The contents of this file are subject to the Mozilla Public License
Packit 272fb1
     Version 1.1 (the "License"); you may not use this file except in
Packit 272fb1
     compliance with the License. You may obtain a copy of the License at
Packit 272fb1
     http://www.mozilla.org/MPL/
Packit 272fb1
Packit 272fb1
     Software distributed under the License is distributed on an "AS IS"
Packit 272fb1
     basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
Packit 272fb1
     License for the specific language governing rights and limitations
Packit 272fb1
     under the License.
Packit 272fb1
Packit 272fb1
     The Original Code is ______________________________________.
Packit 272fb1
Packit 272fb1
     The Initial Developer of the Original Code is ________________________.
Packit 272fb1
     Portions created by ______________________ are Copyright (C) ______
Packit 272fb1
     _______________________. All Rights Reserved.
Packit 272fb1
Packit 272fb1
     Contributor(s): ______________________________________.
Packit 272fb1
Packit 272fb1
     Alternatively, the contents of this file may be used under the terms
Packit 272fb1
     of the _____ license (the  "[___] License"), in which case the
Packit 272fb1
     provisions of [______] License are applicable instead of those
Packit 272fb1
     above.  If you wish to allow use of your version of this file only
Packit 272fb1
     under the terms of the [____] License and not to allow others to use
Packit 272fb1
     your version of this file under the MPL, indicate your decision by
Packit 272fb1
     deleting  the provisions above and replace  them with the notice and
Packit 272fb1
     other provisions required by the [___] License.  If you do not delete
Packit 272fb1
     the provisions above, a recipient may use your version of this file
Packit 272fb1
     under either the MPL or the [___] License."
Packit 272fb1
Packit 272fb1
     [NOTE: The text of this Exhibit A may differ slightly from the text of
Packit 272fb1
     the notices in the Source Code files of the Original Code. You should
Packit 272fb1
     use the text of this Exhibit A rather than the text found in the
Packit 272fb1
     Original Code Source Code for Your Modifications.]
Packit 272fb1