components/php-5_3/php-pear.license
changeset 4987 6a82655eda42
parent 4986 90a869b3f47a
child 4988 4b69c7c7e09b
equal deleted inserted replaced
4986:90a869b3f47a 4987:6a82655eda42
     1 /*
       
     2  * -------------------------------------------------------------------- 
       
     3  *                   The PHP License, version 3.01
       
     4  * Copyright (c) 1999 - 2010 The PHP Group. All rights reserved.
       
     5  * -------------------------------------------------------------------- 
       
     6  * 
       
     7  * Redistribution and use in source and binary forms, with or without
       
     8  * modification, is permitted provided that the following conditions
       
     9  * are met:
       
    10  * 
       
    11  *   1. Redistributions of source code must retain the above copyright
       
    12  *      notice, this list of conditions and the following disclaimer.
       
    13  *  
       
    14  *   2. Redistributions in binary form must reproduce the above copyright
       
    15  *      notice, this list of conditions and the following disclaimer in
       
    16  *      the documentation and/or other materials provided with the
       
    17  *      distribution.
       
    18  *  
       
    19  *   3. The name "PHP" must not be used to endorse or promote products
       
    20  *      derived from this software without prior written permission. For
       
    21  *      written permission, please contact [email protected].
       
    22  *   
       
    23  *   4. Products derived from this software may not be called "PHP", nor
       
    24  *      may "PHP" appear in their name, without prior written permission
       
    25  *      from [email protected].  You may indicate that your software works in
       
    26  *      conjunction with PHP by saying "Foo for PHP" instead of calling
       
    27  *      it "PHP Foo" or "phpfoo"
       
    28  *  
       
    29  *   5. The PHP Group may publish revised and/or new versions of the
       
    30  *      license from time to time. Each version will be given a
       
    31  *      distinguishing version number.
       
    32  *      Once covered code has been published under a particular version
       
    33  *      of the license, you may always continue to use it under the terms
       
    34  *      of that version. You may also choose to use such covered code
       
    35  *      under the terms of any subsequent version of the license
       
    36  *      published by the PHP Group. No one other than the PHP Group has
       
    37  *      the right to modify the terms applicable to covered code created
       
    38  *      under this License.
       
    39  * 
       
    40  *   6. Redistributions of any form whatsoever must retain the following
       
    41  *      acknowledgment:
       
    42  *      "This product includes PHP software, freely available from
       
    43  *      <http://www.php.net/software/>".
       
    44  * 
       
    45  * THIS SOFTWARE IS PROVIDED BY THE PHP DEVELOPMENT TEAM ``AS IS'' AND 
       
    46  * ANY EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
       
    47  * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A 
       
    48  * PARTICULAR PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE PHP
       
    49  * DEVELOPMENT TEAM OR ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, 
       
    50  * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES 
       
    51  * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR 
       
    52  * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
       
    53  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
       
    54  * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
       
    55  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
       
    56  * OF THE POSSIBILITY OF SUCH DAMAGE.
       
    57  * 
       
    58  * -------------------------------------------------------------------- 
       
    59  * 
       
    60  * This software consists of voluntary contributions made by many
       
    61  * individuals on behalf of the PHP Group.
       
    62  * 
       
    63  * The PHP Group can be contacted via Email at [email protected].
       
    64  * 
       
    65  * For more information on the PHP Group and the PHP project, 
       
    66  * please see <http://www.php.net>.
       
    67  * 
       
    68  * PHP includes the Zend Engine, freely available at
       
    69  * <http://www.zend.com>.
       
    70  */
       
    71 
       
    72 /*
       
    73  *  +----------------------------------------------------------------------+
       
    74  *  | PHP Version 4                                                        |
       
    75  *  +----------------------------------------------------------------------+
       
    76  *  | Copyright (c) 1997-2003 The PHP Group                                |
       
    77  *  +----------------------------------------------------------------------+
       
    78  *  | This source file is subject to version 2.02 of the PHP license,      |
       
    79  *  | that is bundled with this package in the file LICENSE, and is        |
       
    80  *  | available at through the world-wide-web at                           |
       
    81  *  | http://www.php.net/license/2_02.txt.                                 |
       
    82  *  | If you did not receive a copy of the PHP license and are unable to   |
       
    83  *  | obtain it through the world-wide-web, please send a note to          |
       
    84  *  | [email protected] so we can mail you a copy immediately.               |
       
    85  *  +----------------------------------------------------------------------+
       
    86  *  | Author: Marcin Gibula <[email protected]>                                  |
       
    87  *  +----------------------------------------------------------------------+
       
    88  *
       
    89  *
       
    90  */
       
    91 
       
    92 /*
       
    93  *  +----------------------------------------------------------------------+
       
    94  *  | PHP Version 5                                                        |
       
    95  *  +----------------------------------------------------------------------+
       
    96  *  | Copyright (c) 1997-2005 The PHP Group                                |
       
    97  *  +----------------------------------------------------------------------+
       
    98  *  | This source file is subject to version 3.0 of the PHP license,       |
       
    99  *  | that is bundled with this package in the file LICENSE, and is        |
       
   100  *  | available through the world-wide-web at the following url:           |
       
   101  *  | http://www.php.net/license/3_0.txt.                                  |
       
   102  *  | If you did not receive a copy of the PHP license and are unable to   |
       
   103  *  | obtain it through the world-wide-web, please send a note to          |
       
   104  *  | [email protected] so we can mail you a copy immediately.               |
       
   105  *  +----------------------------------------------------------------------+
       
   106  *  | Author: Wez Furlong <[email protected]>                                 |
       
   107  *  +----------------------------------------------------------------------+
       
   108 */
       
   109 
       
   110 /*
       
   111  * 
       
   112  * 
       
   113  * 		  GNU LESSER GENERAL PUBLIC LICENSE
       
   114  * 		       Version 2.1, February 1999
       
   115  * 
       
   116  *  Copyright (C) 1991, 1999 Free Software Foundation, Inc.
       
   117  *  51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA
       
   118  *  Everyone is permitted to copy and distribute verbatim copies
       
   119  *  of this license document, but changing it is not allowed.
       
   120  * 
       
   121  * [This is the first released version of the Lesser GPL.  It also counts
       
   122  *  as the successor of the GNU Library Public License, version 2, hence
       
   123  *  the version number 2.1.]
       
   124  * 
       
   125  * 			    Preamble
       
   126  * 
       
   127  *   The licenses for most software are designed to take away your
       
   128  * freedom to share and change it.  By contrast, the GNU General Public
       
   129  * Licenses are intended to guarantee your freedom to share and change
       
   130  * free software--to make sure the software is free for all its users.
       
   131  * 
       
   132  *   This license, the Lesser General Public License, applies to some
       
   133  * specially designated software packages--typically libraries--of the
       
   134  * Free Software Foundation and other authors who decide to use it.  You
       
   135  * can use it too, but we suggest you first think carefully about whether
       
   136  * this license or the ordinary General Public License is the better
       
   137  * strategy to use in any particular case, based on the explanations below.
       
   138  * 
       
   139  *   When we speak of free software, we are referring to freedom of use,
       
   140  * not price.  Our General Public Licenses are designed to make sure that
       
   141  * you have the freedom to distribute copies of free software (and charge
       
   142  * for this service if you wish); that you receive source code or can get
       
   143  * it if you want it; that you can change the software and use pieces of
       
   144  * it in new free programs; and that you are informed that you can do
       
   145  * these things.
       
   146  * 
       
   147  *   To protect your rights, we need to make restrictions that forbid
       
   148  * distributors to deny you these rights or to ask you to surrender these
       
   149  * rights.  These restrictions translate to certain responsibilities for
       
   150  * you if you distribute copies of the library or if you modify it.
       
   151  * 
       
   152  *   For example, if you distribute copies of the library, whether gratis
       
   153  * or for a fee, you must give the recipients all the rights that we gave
       
   154  * you.  You must make sure that they, too, receive or can get the source
       
   155  * code.  If you link other code with the library, you must provide
       
   156  * complete object files to the recipients, so that they can relink them
       
   157  * with the library after making changes to the library and recompiling
       
   158  * it.  And you must show them these terms so they know their rights.
       
   159  * 
       
   160  *   We protect your rights with a two-step method: (1) we copyright the
       
   161  * library, and (2) we offer you this license, which gives you legal
       
   162  * permission to copy, distribute and/or modify the library.
       
   163  * 
       
   164  *   To protect each distributor, we want to make it very clear that
       
   165  * there is no warranty for the free library.  Also, if the library is
       
   166  * modified by someone else and passed on, the recipients should know
       
   167  * that what they have is not the original version, so that the original
       
   168  * author's reputation will not be affected by problems that might be
       
   169  * introduced by others.
       
   170  * 
       
   171  *   Finally, software patents pose a constant threat to the existence of
       
   172  * any free program.  We wish to make sure that a company cannot
       
   173  * effectively restrict the users of a free program by obtaining a
       
   174  * restrictive license from a patent holder.  Therefore, we insist that
       
   175  * any patent license obtained for a version of the library must be
       
   176  * consistent with the full freedom of use specified in this license.
       
   177  * 
       
   178  *   Most GNU software, including some libraries, is covered by the
       
   179  * ordinary GNU General Public License.  This license, the GNU Lesser
       
   180  * General Public License, applies to certain designated libraries, and
       
   181  * is quite different from the ordinary General Public License.  We use
       
   182  * this license for certain libraries in order to permit linking those
       
   183  * libraries into non-free programs.
       
   184  * 
       
   185  *   When a program is linked with a library, whether statically or using
       
   186  * a shared library, the combination of the two is legally speaking a
       
   187  * combined work, a derivative of the original library.  The ordinary
       
   188  * General Public License therefore permits such linking only if the
       
   189  * entire combination fits its criteria of freedom.  The Lesser General
       
   190  * Public License permits more lax criteria for linking other code with
       
   191  * the library.
       
   192  * 
       
   193  *   We call this license the "Lesser" General Public License because it
       
   194  * does Less to protect the user's freedom than the ordinary General
       
   195  * Public License.  It also provides other free software developers Less
       
   196  * of an advantage over competing non-free programs.  These disadvantages
       
   197  * are the reason we use the ordinary General Public License for many
       
   198  * libraries.  However, the Lesser license provides advantages in certain
       
   199  * special circumstances.
       
   200  * 
       
   201  *   For example, on rare occasions, there may be a special need to
       
   202  * encourage the widest possible use of a certain library, so that it becomes
       
   203  * a de-facto standard.  To achieve this, non-free programs must be
       
   204  * allowed to use the library.  A more frequent case is that a free
       
   205  * library does the same job as widely used non-free libraries.  In this
       
   206  * case, there is little to gain by limiting the free library to free
       
   207  * software only, so we use the Lesser General Public License.
       
   208  * 
       
   209  *   In other cases, permission to use a particular library in non-free
       
   210  * programs enables a greater number of people to use a large body of
       
   211  * free software.  For example, permission to use the GNU C Library in
       
   212  * non-free programs enables many more people to use the whole GNU
       
   213  * operating system, as well as its variant, the GNU/Linux operating
       
   214  * system.
       
   215  * 
       
   216  *   Although the Lesser General Public License is Less protective of the
       
   217  * users' freedom, it does ensure that the user of a program that is
       
   218  * linked with the Library has the freedom and the wherewithal to run
       
   219  * that program using a modified version of the Library.
       
   220  * 
       
   221  *   The precise terms and conditions for copying, distribution and
       
   222  * modification follow.  Pay close attention to the difference between a
       
   223  * "work based on the library" and a "work that uses the library".  The
       
   224  * former contains code derived from the library, whereas the latter must
       
   225  * be combined with the library in order to run.
       
   226  * 
       
   227  * 		  GNU LESSER GENERAL PUBLIC LICENSE
       
   228  *    TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
       
   229  * 
       
   230  *   0. This License Agreement applies to any software library or other
       
   231  * program which contains a notice placed by the copyright holder or
       
   232  * other authorized party saying it may be distributed under the terms of
       
   233  * this Lesser General Public License (also called "this License").
       
   234  * Each licensee is addressed as "you".
       
   235  * 
       
   236  *   A "library" means a collection of software functions and/or data
       
   237  * prepared so as to be conveniently linked with application programs
       
   238  * (which use some of those functions and data) to form executables.
       
   239  * 
       
   240  *   The "Library", below, refers to any such software library or work
       
   241  * which has been distributed under these terms.  A "work based on the
       
   242  * Library" means either the Library or any derivative work under
       
   243  * copyright law: that is to say, a work containing the Library or a
       
   244  * portion of it, either verbatim or with modifications and/or translated
       
   245  * straightforwardly into another language.  (Hereinafter, translation is
       
   246  * included without limitation in the term "modification".)
       
   247  * 
       
   248  *   "Source code" for a work means the preferred form of the work for
       
   249  * making modifications to it.  For a library, complete source code means
       
   250  * all the source code for all modules it contains, plus any associated
       
   251  * interface definition files, plus the scripts used to control compilation
       
   252  * and installation of the library.
       
   253  * 
       
   254  *   Activities other than copying, distribution and modification are not
       
   255  * covered by this License; they are outside its scope.  The act of
       
   256  * running a program using the Library is not restricted, and output from
       
   257  * such a program is covered only if its contents constitute a work based
       
   258  * on the Library (independent of the use ofin a given copy, it is irreversible 
       
   259  * for that copy, so the ordinary GNU General Public License applies to all
       
   260  * subsequent copies and derivative works made from that copy.
       
   261  * 
       
   262  *   This option is useful when you wish to copy part of the code of
       
   263  * the Library into a program that is not a library.
       
   264  * 
       
   265  *   4. You may copy and distribute the Library (or a portion or
       
   266  * derivative of it, under Section 2) in object code or executable form
       
   267  * under the terms of Sections 1 and 2 above provided that you accompany
       
   268  * it with the complete corat this requirement contradicts the license
       
   269  * restrictions of other proprietary libraries that do not normally
       
   270  * accompany the operating system.  Such a contradiction means you cannot
       
   271  * use both them and the Library together in an executable that you
       
   272  * distribute.
       
   273  * 
       
   274  *   7. You may place library facilities that are a work based on the
       
   275  * Library side-by-side in a single library together with other library
       
   276  * facilities not covered by this License, and distribute such a combined
       
   277  * library, provided that the separate distribution of the work based on
       
   278  * the Library and of the other library facilities is otherwise
       
   279  * permitted, and provided that you do these two things:
       
   280  * 
       
   281  *     a) Accompany the combined library with a copy of the same work
       
   282  *     based on the Library, uncombined with any other library
       
   283  *     facilities.  This must be distributed under the terms of the
       
   284  *     Sections above.
       
   285  * 
       
   286  *     b) Give prominent notice with the combined library of the fact
       
   287  *     that part of it is a work based on the Library, and explaining
       
   288  *     where to find the accstribution conditions are incompatible with these,
       
   289  * write to the author to ask for permission.  For software which is
       
   290  * copyrighted by the Free Software Foundation, write to the Free
       
   291  * Software Foundation; we sometimes make exceptions for this.  Our
       
   292  * decision will be guided by the two goals of preserving the free status
       
   293  * of all derivatives of our free software and of promoting the sharing
       
   294  * and reuse of software generally.
       
   295  * 
       
   296  * 			    NO WARRANTY
       
   297  * 
       
   298  *   15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO
       
   299  * WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW.
       
   300  * EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR
       
   301  * OTHER PARTIES PROVIDE THE LIBRARY "AS IS" WITHOUT WARRANTY OF ANY
       
   302  * KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE
       
   303  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
       
   304  * PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE
       
   305  * LIBRARY IS WITH YOU.  SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME
       
   306  * THE COST OF ALL NECESSARY SERVICING, REPAI
       
   307  */