This package was debianized by Kevin B. McCarty <kmccarty@debian.org> and
Lifeng Sun <lifongsun@gmail.com>.  It was downloaded from the URL
http://cernlib.web.cern.ch/cernlib/download/2006_source/tar/2006_src.tar.gz

The very large file 2006_src.tar.gz was split up into individual modules,
from which non-free files were removed, of which the relevant ones have been
recompressed in the "upstream" directory of the paw source package.  See
the file debian/README.Debian-source in the source package for a detailed
description of this process.


COPYRIGHT
---------

CERNLIB, including PAW, is copyright (C) CERN and others.  As of this writing,
11 Jan 2008, the page http://wwwasd.web.cern.ch/wwwasd/cernlib/conditions.html
(which gives the terms under which CERNLIB may be used) states:

  CERNLIB Availability

  (C) Copyright CERN except where explicitly stated otherwise. Permission to
  use and/or redistribute this work is granted under the terms of the GNU
  General Public License. FLUKA routines included in GEANT3 are joint copyright
  of INFN and CERN and are not licensed under the GPL: permission to use and/or
  redistribute outside GEANT3 should be negotiated. The software and
  documentation made available under the terms of this license are provided
  with no warranty.

  Last modified: 18-March-2004

The aforementioned FLUKA routines have been excised from the CERNLIB source
code and binary packages distributed by Debian.

There is some ambiguity as to whether CERN intended to have CERNLIB available
specifically under GPL version 2 (the current version at the time the above-
mentioned web page was written) or always under the current version.  (The text
"GNU General Public License" in the web page quoted above is a hyperlink to
http://www.gnu.org/copyleft/gpl.html which, as of this writing, references GPL
version 3.)  I have requested clarification from the upstream maintainer.  In
the meantime, it should be noted that the orig.tar.gz files for CERNLIB in
Debian were obtained from the upstream web site prior to the release of GPL
version 3.  It therefore seems to me to be safe to assume that re-distribution
of CERNLIB from the Debian source packages is permissible under the terms
either of GPL version 2 or of the current GPL version, at the re-distributor's
option.

On Debian systems, the complete text of the current version of the GNU General
Public License can be found in the file `/usr/share/common-licenses/GPL-3'.  
The text of version 2 can be found at `/usr/share/common-licenses/GPL-2'.


EXCEPTIONS
----------

Some source files of PAW are provided (in parts, or in entirety) under
different licenses which are compatible with the GPL.  See the table and
licenses below for details.  (File paths are relative to the directory
paw-$VERSION/src/ after running "debian/rules unpack".)  Most of the
differences in the licenses below are only in the exact wordings.  The
"Package(s)" column lists the binary Debian packages in which each piece of
code is compiled or otherwise included.

Copyright codes are as follows:

LGPL	- Library GPL
BSD	- BSD style license
NO AD	- BSD style license with negative advertising clause

Package codes are as follows:

Dev   = libpawlib2-dev
Paw++ = libpawlib-lesstif3-gfortran, libpawlib-lesstif3-dev, paw++
Src   = [not included in binary packages, only source package]

File(s)					Package(s)	License type	Owner
-------					----------	------------	-----
cfortran/*				Dev		LGPL [1]	[a]
pawlib/paw/hmotif/uxxt.h		Paw++		NO AD [2]	[b]
pawlib/paw/paw/tree.h			Src		BSD [3]		[c]
pawlib/paw/tree/tree.c			Src		BSD [3]		[c]
pawlib/paw/tree/treep.h			Src		BSD [3]		[c]
pawlib/paw/{xbae,xbaevms}/caption.c	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/caption.h	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/captionp.h	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/clip.c	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/clip.h	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/clipp.h	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/matrix.c	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/matrix.h	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/matrixp.h	Src		NO AD [4]	[d]
pawlib/paw/{xbae,xbaevms}/version.c	Src		NO AD [4]	[d]
pawlib/paw/xbae/cell.c			Src		NO AD [5]	[e]
pawlib/paw/xbae/cell.h			Src		NO AD [5]	[e]
pawlib/paw/xbae/cellp.h			Src		NO AD [5]	[e]


Exception copyright holders
---------------------------

[a] Burkhard Burow, <burow@desy.de>,
    http://www-zeus.desy.de/~burow/cfortran/index.htm

[b] Visual Edge Software Ltd.

[c] Massachusetts Institute of Technology and Prentice Hall

[d] Bell Communications Research, Inc. (Bellcore)

[e] Q. Frank Xia, <qx@math.columbia.edu>


Exception license details
-------------------------

[1] On Debian systems, the complete text of the GNU Library General Public
    License can be found in the file `/usr/share/common-licenses/LGPL-2'.

[2] Copyright (c) 1991, Visual Edge Software Ltd.

    ALL  RIGHTS  RESERVED.   Permission to use, copy, modify, and
    distribute  this  software  and its documentation for any purpose
    and  without  fee  is  hereby  granted,  provided  that the above
    copyright  notice  appear  in  all  copies  and  that  both  that
    copyright  notice and this permission notice appear in supporting
    documentation,  and that  the name of Visual Edge Software not be
    used  in advertising  or publicity  pertaining to distribution of
    the software without specific, written prior permission. The year
    included in the notice is the year of the creation of the work.

[3] Copyright 1990 Massachusetts Institute of Technology
    Copyright 1989 Prentice Hall

    Permission to use, copy, modify, and distribute this software for any
    purpose and without fee is hereby granted, provided that the above
    copyright notice appear in all copies and that both the copyright notice
    and this permission notice appear in supporting documentation.

    M.I.T., Prentice Hall and the authors disclaim all warranties with regard
    to this software, including all implied warranties of merchantability and
    fitness.  In no event shall M.I.T., Prentice Hall or the authors be liable
    for any special, indirect or cosequential damages or any damages whatsoever
    resulting from loss of use, data or profits, whether in an action of
    contract, negligence or other tortious action, arising out of or in
    connection with the use or performance of this software.

[4] Copyright(c) 1992 Bell Communications Research, Inc. (Bellcore)
                            All rights reserved

     Permission to use, copy, modify and distribute this material for
     any purpose and without fee is hereby granted, provided that the
     above copyright notice and this permission notice appear in all
     copies, and that the name of Bellcore not be used in advertising
     or publicity pertaining to this material without the specific,
     prior written permission of an authorized representative of
     Bellcore.

     BELLCORE MAKES NO REPRESENTATIONS AND EXTENDS NO WARRANTIES, EX-
     PRESS OR IMPLIED, WITH RESPECT TO THE SOFTWARE, INCLUDING, BUT
     NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
     FITNESS FOR ANY PARTICULAR PURPOSE, AND THE WARRANTY AGAINST IN-
     FRINGEMENT OF PATENTS OR OTHER INTELLECTUAL PROPERTY RIGHTS.  THE
     SOFTWARE IS PROVIDED "AS IS", AND IN NO EVENT SHALL BELLCORE OR
     ANY OF ITS AFFILIATES BE LIABLE FOR ANY DAMAGES, INCLUDING ANY
     LOST PROFITS OR OTHER INCIDENTAL OR CONSEQUENTIAL DAMAGES RELAT-
     ING TO THE SOFTWARE.

[5] Copyright(C) Q. Frank Xia (qx@math.columbia.edu), 1994.

                           All Rights Reserved
  
     Permission to use, copy, modify, and distribute this software and its
     documentation for any purpose and without fee is hereby granted,
     provided that the above copyright notice appear in all copies and that
     both that copyright notice and this permission notice appear in
     supporting documentation, and that the name of Q. Frank Xia not be
     used in advertising or publicity pertaining to distribution of the
     software without specific, written prior permission.

     This software is provided as-is and without any warranty of any kind.


DELETIA
-------

The following files and directories have been removed from the Debian source
package of CERNLIB due to license ambiguities or incompatibilities with the GPL
(e.g. positive BSD advertising clause).  If needed, they may be found in the
upstream source tarballs.

car/geanf.car
car/geanf321.car
car/jetset74.car
pawlib/comis/comis/dlfcn.inc
pawlib/comis/deccc/dlfcn.c
pawlib/comis/obsolete/rsibm/
pawlib/paw/stagerd/bftp.c
