                               KAFFE LICENSES
  
Kaffe includes code from many different sources. Currently it contains a
great deal of code under the GPL and LGPL. Those licenses can be found in
/usr/share/common-licenses. Some parts of Kaffe under those licenses have
various exceptions detailed below. Additionally, some parts of Kaffe are
from work by the W3C and is therefore under a W3C license. That license
is also included in this file.

-------------------------------------------------------------------------

Kaffe uses code from other free software projects. Only code licensed
under a GPL compatible license can be merged in. You can find the
licenses of third party sources either in their respective sources, of
in license*.terms files in the top directory.

* javax.sound 

This code has been merged in from tritonus.org. The tritonus project
offers many other codecs beside those shipped with kaffe, most notably
GSM, MP3 and ogg support. Kaffe tracks this project's CVS HEAD.

Thanks to Matthias Pfisterer from the tritonus project, who was very
helpful during the merge.

Tritonus is distrubuted under the GNU Library General Public License. 
See license-lesser.terms for details.

More information on tritonus is available from http://tritonus.org.

* JAXP

This code has been merged in from the GNU JAXP project. Kaffe is
tracking this project's CVS HEAD.

GNU JAXP is distributed under the GNU General Public License, with 
the "library exception" which permits its use as a library in 
conjunction with non-Free software:

  "As a special exception, if you link this library with other 
   files to produce an executable, this library does not by itself 
   cause the resulting executable to be covered by the GNU General 
   Public License. This exception does not however invalidate any 
   other reasons why the executable file might be covered by the GNU 
   General Public License."

See license.terms for the text of the GNU General Public License.

More information on GNU JAXP can be found at 
http://www.gnu.org/software/classpathx/jaxp/.

* java.util.regex

This code has been merged in from GNU regexp. Kaffe tracks this
project's CVS HEAD.

Thanks to Wes Biggs for providing kaffe with a working java.util.regex
implementation over GNU regexp.

The GNU regexp library is distributed under the terms of the GNU 
Lesser General Public License. See license-lesser.terms for details.

More information on GNU regexp can be found at 
http://www.cacas.org/java/gnu/regexp/.

* javax.net, javax.net.ssl, javax.security.cert

This code has been merged in from Jessie. Kaffe tracks this
projects' CVS HEAD.

Jessie is distributed under the terms of the GNU General Public
License. The implementations of javax.net, javax.net.ssl, and 
javax.security.cert packages are additionally covered by the following
exception:

    "Linking this library statically or dynamically with other modules
    is making a combined work based on this library. Thus, the terms 
    and conditions of the GNU General Public License cover the whole 
    combination.

    As a special exception, the copyright holders of this library 
    give you permission to link this library with independent modules 
    to produce an executable, regardless of the license terms of 
    these independent modules, and to copy and distribute the 
    resulting executable under terms of your choice, provided that you 
    also meet, for each linked independent module, the terms and 
    conditions of the license of that module. An independent module 
    is a module which is not derived from or based on this library. If
    you modify this library, you may extend this exception to your 
    version of the library, but you are not obligated to do so. If you 
    do not wish to do so, delete this exception statement from your 
    version."

More information on Jessie is available from 
http://www.nongnu.org/jessie/.

* gnu.inet

FTP URL Connection handler and utility classes are taken from GNU 
Inetlib's CVS. 

They are licensed under the terms of the GNU General Public License \
with the following clarification and special exception:

    "As a special exception, if you link this library with other files 
    to produce an executable, this library does not by itself cause 
    the resulting executable to be covered by the GNU General Public 
    License. This exception does not however invalidate any other 
    reasons why the executable file might be covered by the GNU General
    Public License."

* Class library

Parts of kaffe's class library were merged in from GNU
Classpath. Work continues on replacing kaffe's classes where they
have been superseeded by GNU Classpath's implementation. Kaffe tracks
this projects's CVS HEAD.

Thanks to Stuart Ballard and Ito Kazumitsu, who started the merge
effort, and Mark Wielaard, who provided a lot of useful advice on GNU
Classpath's implementation.

GNU Classpath is licensed under the terms of the GNU General Public 
License  with the following clarification and special exception:

   "Linking this library statically or dynamically with other modules 
  is making a combined work based on this library. Thus, the terms and 
  conditions of the GNU General Public License cover the whole 
  combination.

    As a special exception, the copyright holders of this library give 
  you permission to link this library with independent modules to 
  produce an executable, regardless of the license terms of these 
  independent modules, and to copy and distribute the resulting 
  executable under terms of your choice, provided that you also meet, 
  for each linked independent module, the terms and conditions of the 
  license of that module. An independent module is a module which is 
  not derived from or based on this library. If you modify this library, 
  you may extend this exception to your version of the library, but you 
  are not obligated to do so. If you do not wish to do so, delete this 
  exception statement from your version."

See license.terms for the text of the GNU General Public License.

More information on GNU Classpath is available from 
http://www.gnu.org/software/classpath/classpath.html.

* Replacement functions for getaddrinfo

This code comes from Motoyuki Kasahara's <m-kasahr@sra.co.jp>
getaddrinfo() and getnameinfo() implementations for traditional IPv4 
systems available at http://www.sra.co.jp/people/m-kasahr/getaddrinfo/ 
under the following GPL-compatible BSD like license:

Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions
are met:
1. Redistributions of source code must retain the above copyright
   notice, this list of conditions and the following disclaimer.
2. Redistributions in binary form must reproduce the above copyright
   notice, this list of conditions and the following disclaimer in the
   documentation and/or other materials provided with the distribution.
3. Neither the name of the project nor the names of its contributors
   may be used to endorse or promote products derived from this software
   without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE PROJECT AND CONTRIBUTORS ``AS IS'' AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED.  IN NO EVENT SHALL THE PROJECT OR CONTRIBUTORS BE LIABLE
FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
SUCH DAMAGE.

At the time of writing, Kaffe uses getaddrinfo 1.6.1.

* M68k atomic compare_and_swap

Taken from GNU libc 2.3.2, which is licensed under the GNU Lesser General 
Public License. See file license-lesser.terms for details.

More information on GNU libc is available at 
http://www.gnu.org/software/libc/libc.html.

* Configure.in tests for isinf, isnan, finite

Taken from Sablotron 1.0, which is dually licensed licensed under MPL 1.1 
and GPL. It is available from 
http://www.gingerall.cz/charlie/ga/xml/p_sab.xml.

* valist.m4

Based on code taken from Quakeforge's CVS. Quakeforge is licensed under the
GNU General Public License. See license.terms for details.

Many thanks to Bill Currie from Quakeforge for the macros.

More information on Quakeforge is available at http://www.quakeforge.net/.

* gnu-crypto.m4

Autoconf macros for GNU Crypto. Written by Raif S. Naffah from GNU Crypto.
Licensed under the GNU General Public License with a special exception:

  "Linking this library statically or dynamically with other modules is
  making a combined work based on this library.  Thus, the terms and
  conditions of the GNU General Public License cover the whole
  combination.

  As a special exception, the copyright holders of this library give
  you permission to link this library with independent modules to
  produce an executable, regardless of the license terms of these
  independent modules, and to copy and distribute the resulting
  executable under terms of your choice, provided that you also meet,
  for each linked independent module, the terms and conditions of the
  license of that module.  An independent module is a module which is
  not derived from or based on this library.  If you modify this
  library, you may extend this exception to your version of the
  library, but you are not obligated to do so.  If you do not wish to
  do so, delete this exception statement from your version."

See license.terms for details of the GNU GPL.

More information on GNU Crypto is available from 
http://www.gnu.org/software/gnu-crypto/.

* iconv.m4, lib-ld.m4, lib-link.m4, lib-prefix.m4

Autoconf macros for libiconv. Taken from GNU gettext CVS. Licensed under
the GNU General Public License with a special exception:

  " As a special exception to the GNU General
  Public License, this file may be distributed as part of a program
  that contains a configuration script generated by Autoconf, under
  the same distribution terms as the rest of that program."

See license.terms for details of the GNU GPL.

More information on GNU gettext is available from 
http://www.gnu.org/software/gettext/.

* m4/alsa.m4

Autoconf/automake macros taken from ALSA CVS.  Licensed under the GPL/LGPL.

* m4/esd.m4

Autoconf macros taken from GNOME ESounD CVS. Licensed under the GPL/LGPL.

* libraries/javalib/kjc.jar

Kopi Java Compiler 2.1B with kaffe specific patches and bugfixes. Kjc is
part of the Kopi project from DMS. It is licensed under the GNU General
Public License. See license.terms for details.

More information on the Kopi project is available from 
http://www.dms.at/kopi/index.html.

The sources for the original kjc 2.1B compiler are available from DMS at 
the above URL. Patches from kaffe developers to kjc are available in the 
kaffe-extras repository of the kaffe.org CVS server.

-------------------------------------------------------------------------

                           W3C IPR SOFTWARE NOTICE

  Copyright <A9> 2000 World Wide Web Consortium, (Massachusetts Institute of
  Technology, Institut National de Recherche en Informatique et en Automatique,
  Keio University). All Rights Reserved.

   The DOM bindings are published under the W3C Software Copyright Notice
   and  License.  The software license requires "Notice of any changes or
   modifications to the W3C files, including the date changes were made."
   Consequently, modified versions of the DOM bindings must document that
   they  do  not  conform  to  the  W3C  standard; in the case of the IDL
   binding,  the pragma prefix can no longer be 'w3c.org'; in the case of
   the  Java binding, the package names can no longer be in the 'org.w3c'
   package.

   Note:  The  original  version of the W3C Software Copyright Notice and
   License could be found at
   [1]http://www.w3.org/Consortium/Legal/copyright-software-19980720

  Copyright <A9> 1994-2000 [2]World Wide Web Consortium, ([3]Massachusetts
  Institute of Technology, [4]Institut National de Recherche en Informatique et
  en Automatique, [5]Keio University). All Rights Reserved.
  http://www.w3.org/Consortium/Legal/

   This  W3C work (including software, documents, or other related items)
   is  being  provided  by  the  copyright  holders  under  the following
   license.  By  obtaining,  using  and/or  copying  this  work, you (the
   licensee)  agree  that you have read, understood, and will comply with
   the following terms and conditions:

   Permission   to   use,   copy,   and  modify  this  software  and  its
   documentation,  with  or  without  modification,   for any purpose and
   without  fee  or  royalty is hereby granted, provided that you include
   the  following  on  ALL  copies  of  the software and documentation or
   portions thereof, including modifications, that you make:
    1. The  full  text  of this NOTICE in a location viewable to users of
       the redistributed or derivative work.
    2. Any  pre-existing  intellectual  property disclaimers, notices, or
       terms  and  conditions.  If  none  exist,  a  short  notice of the
       following  form (hypertext is preferred, text is permitted) should
       be  used  within the body of any redistributed or derivative code:
       "Copyright  <A9>  [$date-of-software]  [6]World  Wide Web Consortium,
       ([7]Massachusetts Institute of Technology, [8]Institut National de
       Recherche  en Informatique et en Automatique, [9]Keio University).
       All Rights Reserved. http://www.w3.org/Consortium/Legal/"
    3. Notice of any changes or modifications to the W3C files, including
       the  date changes were made. (We recommend you provide URIs to the
       location from which the code is derived.)

   THIS  SOFTWARE  AND  DOCUMENTATION  IS PROVIDED "AS IS," AND COPYRIGHT
   HOLDERS  MAKE  NO  REPRESENTATIONS  OR WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO, WARRANTIES OF MERCHANTABILITY OR FITNESS
   FOR  ANY  PARTICULAR  PURPOSE  OR  THAT  THE  USE  OF  THE SOFTWARE OR
   DOCUMENTATION  WILL  NOT INFRINGE ANY THIRD PARTY PATENTS, COPYRIGHTS,
   TRADEMARKS OR OTHER RIGHTS.

   COPYRIGHT HOLDERS WILL NOT BE LIABLE FOR ANY DIRECT, INDIRECT, SPECIAL
   OR  CONSEQUENTIAL  DAMAGES  ARISING  OUT OF ANY USE OF THE SOFTWARE OR
   DOCUMENTATION.

   The  name  and  trademarks  of  copyright  holders  may NOT be used in
   advertising  or publicity pertaining to the software without specific,
   written  prior permission. Title to copyright in this software and any
   associated  documentation  will  at  all  times  remain with copyright
   holders.

References

   1. http://www.w3.org/Consortium/Legal/copyright-software-19980720
   2. http://www.w3.org/
   3. http://www.lcs.mit.edu/
   4. http://www.inria.fr/
   5. http://www.keio.ac.jp/
   6. http://www.w3.org/
   7. http://www.lcs.mit.edu/
   8. http://www.inria.fr/
   9. http://www.keio.ac.jp/
