Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: mlton
Source: https://github.com/MLton/mlton
Files-Excluded:
 benchmark/tests/DATA/chess.gml
 benchmark/tests/md5.sml
 benchmark/tests/zern.sml
 lib/smlnj-lib/smlnj-lib/HTML4/tests/
 mlyacc/examples/pascal/test/c1.p
 mlyacc/examples/pascal/test/t1.p
 package/
Comment:
 License files can be found under `doc/license`.
 .
 The tarball has been repacked to remove non-free files and to unpack
 the nested tarballs found in lib/. See `debian/README.source' for
 details.
 .
 We exclude the following files because they are not DFSG-free:
  * lib/smlnj-lib/smlnj-lib/HTML4/tests/*: licensed under CC-BY-SA 2.5.
 .
 We exclude tho following files because they are not obviously DFSG-free:
  * benchmark/tests/DATA/chess.gml:
    Copyright Leif Kornstaedt, 2000
    Taken from https://www.ps.uni-saarland.de/helikopter/2000/ ?
  * benchmark/tests/md5.sml:
    Copyright (C) 2001 Daniel Wang. All rights reserved.
  * benchmark/tests/zern.sml
    COPYRIGHT (c) 1998 D.McClain/MCFA
  * mlyacc/examples/pascal/test/c1.p, mlyacc/examples/pascal/test/t1.p:
    Copyright K. Steiglitz, 1988
 See https://bugs.debian.org/998156 for a discussion of these exclusions.
 .
 We exclude the following files because they are unneeded and complicate
 tracking of copyright information:
  * package/:
    Contains subdirectories with Debian packaging dating back to 2011,
    mingw packaging from 2005, etc.

Files: *
Copyright:
 1989-1992 Andrew W. Appel
 1989-1992 David R. Tarditi
 1989-1992 James S. Mattson
 1989-1998 AT&T Bell Laboratories
 1989-2002 Lucent Technologies
 1989-2020 John Reppy
 1996      AT&T Research
 1997-2000 NEC Research Institute
 1997-2002 Bell Labs, Lucent Technologies.
 1999-2024 Henry Cejtin
 1999-2025 Matthew Fluet
 1999-2024 Stephen Weeks
 1999-2024 Suresh Jagannathan
 2001-2002 Bell Laboratories
 2004-2009 David M. Gay
 2004-2024 The Fellowship of SML/NJ
 2005-2008 Vesa Karvonen
 2009      Wesley W. Terpstra
 2013-2014 Brian Leibig
 2014      Rob Simmons
 2016      Matthew Surawski
 2018-2021 Jason Carr
License: HPND
Comment:
 Files with an AT&T Bell Laboratories copyright holder are adapted from the
 SML/NJ sources. Many refer to the file COPYRIGHT in the SML/NJ sources or
 to the file mosml/copyrght/copyrght.att in the Moscow ML sources for license
 details. These two files contains the HPND license, subject to replacing "the
 above copyright holders" by "AT&T" throughout. Files by Appel, Tarditi, and
 Mattson are distributed under the "PRINCETON STANDARD ML SOFTWARE LIBRARY
 COPYRIGHT NOTICE, LICENSE AND DISCLAIMER", which is similarly identical to the
 HPND license.

Files: debian/*
Copyright:
 2001-2002 Barak Pearlmutter <bap@cs.unm.edu>
 2002-2007 Stephen Weeks <sweeks@sweeks.com>
 2009-2018 Wesley W. Terpstra <terpstra@debian.org>
 2021-2026 Ryan Kavanagh <rak@debian.org>
License: BSD-2-clause
Comment:
 Contributions by Barak Pearlmutter, Stephen Weeks, and Wesley W. Terpstra were
 not explicitly licensed and are assumed to be under the same terms as the
 package itself.

Files:
 benchmark/tests/hamlet.sml
 benchmark/tests/model-elimination.sml
 lib/smlnj-lib/smlnj-lib/Util/binary-map-fn.sml
 lib/smlnj-lib/smlnj-lib/Util/binary-set-fn.sml
 lib/smlnj-lib/smlnj-lib/Util/int-binary-map.sml
 lib/smlnj-lib/smlnj-lib/Util/int-binary-set.sml
Copyright:
 1992      Stephen Adams
 1992-1993 AT&T Bell Laboratories
 2002      Joe Hurd <joe.hurd@cl.cam.ac.uk>
 2002-2005 Stephen Weeks
 2012-2020 The Fellowship of SML/NJ
 2014      Matthew Fluet
License: HPND and Adams
Comment:
 These files are adapted from the SML/NJ sources.

Files:
 benchmark/tests/tensor.sml
Copyright:
           Juan Jose Garcia Ripoll
 2002-2005 Stephen Weeks
 2002      Matthew Fluet
License: HPND and BSD-4-clause

Files:
 lib/smlnj-lib/smlnj-lib/Compat/*
Copyright:
 2015-2018 John Reppy
License: MIT

Files:
 regression/parse.sml
Copyright:
 2000 ANOQ of the Sun (alias Johnny Andersen)
License: LGPL-2+ with ml exception

Files:
 lib/smlnj-lib/smlnj-lib/Util/Target32Bit/random.sml
 lib/smlnj-lib/smlnj-lib/Util/Target64Bit/random.sml
Copyright:
 2023 The Fellowship of SML/NJ (http://www.smlnj.org)
 2004, 2014, Makoto Matsumoto and Takuji Nishimura
License: HPND and BSD-3-clause

License: Adams
 This software may be used freely provided that:
 1. This copyright notice is attached to any copy, derived work,
    or work including all or part of this software.
 2. Any derived work must contain a prominent notice stating that
    it has been altered from the original.

License: BSD-2-clause
 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.
 .
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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.

License: BSD-3-clause
 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 copyright holder 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 COPYRIGHT HOLDERS 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 COPYRIGHT HOLDER 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

License: BSD-4-clause
 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. All advertising materials mentioning features or use of this
    software must display the following acknowledgement:
         This product includes software developed by Juan Jose
         Garcia Ripoll.
 .
 4. The name of Juan Jose Garcia Ripoll may not be used to endorse
    or promote products derived from this software without
    specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY JUAN JOSE GARCIA RIPOLL ``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 HE 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.

License: HPND
 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 the copyright
 notice and this permission notice and warranty disclaimer appear in supporting
 documentation, and that the name of the above copyright holders, or their
 entities, not be used in advertising or publicity pertaining to distribution of
 the software without specific, written prior permission.
 .
 The above copyright holders disclaim all warranties with regard to this
 software, including all implied warranties of merchantability and fitness. In
 no event shall the above copyright holders be liable for any special, indirect
 or consequential 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.

License: LGPL-2+ with ml exception
 This library is free software; you can redistribute it and/or
 modify it under the terms of the GNU Library General Public
 License as published by the Free Software Foundation; either
 version 2 of the License, or (at your option) any later version.
 .
 This library is distributed in the hope that it will be useful,
 but WITHOUT ANY WARRANTY; without even the implied warranty of
 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 Library General Public License for more details.
 .
 As a special exception, if you do not do anything which is not in
 the spirit of the GNU Library General Public License, you are not
 required to physically compile this software into a separate library,
 since this is generally not possible with current Stanard ML compilers.
 However if you do something which is not in the spirit of the
 GNU Library General Public License you will have to follow the
 licence perpetually - thus disallowing you to use it for any
 commercial purposes at all.
 .
 On Debian systems, the full text of the GNU Lesser General Public
 License version 2 can be found in the file
 `/usr/share/common-licenses/LGPL-2'.

License: MIT
 Permission is hereby granted, free of charge, to any person obtaining a copy
 of this software and associated documentation files (the "Software"), to deal
 in the Software without restriction, including without limitation the rights
 to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
 copies of the Software, and to permit persons to whom the Software is
 furnished to do so, subject to the following conditions:
 .
 The above copyright notice and this permission notice shall be included in
 all copies or substantial portions of the Software.
 .
 THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
 IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
 FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
 AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
 LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
 OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 THE SOFTWARE.
