Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Source: https://github.com/keystone-engine/keystone
Upstream-Name: keystone-engine

Files: *
Copyright: auynh <aquynh@gmail.com>
License: GPL-2-with-FOSS-license-exception

Files: debian/*
Copyright: 2025 Sophie Brun <sophie@offensive-security.com>
License: GPL-2-with-FOSS-license-exception

License: GPL-2-with-FOSS-license-exception
 This package is free software; you can redistribute it and/or modify it
 under the terms of the GNU General Public License version 2 as published
 by the Free Software Foundation.
 .
 This package 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 General Public License for more details.
 .
 You should have received a copy of the GNU General Public License
 along with this package. If not, see <https://www.gnu.org/licenses/>.
 .
 FOSS License Exception
 .
 What is the FOSS License Exception?
 .
 This is based on the Oracle's Free and Open Source Software ("FOSS")
 License Exception.
 .
 The Free and Open Source Software ("FOSS") License Exception allows
 developers of FOSS applications to include Keystone Libraries with their
 FOSS applications. This exception permits distribution of Keystone libraries
 with a developer's FOSS applications licensed under the terms of another
 FOSS license listed below, even though such other FOSS license may be
 incompatible with the GPL.
 .
 The following terms and conditions describe the circumstances under which
 Oracle's FOSS License Exception applies.
 .
 FOSS License Exception Terms and Conditions
 .
    1. Definitions. "Derivative Work" means a derivative work, as defined
       under applicable copyright law, formed entirely from the Program and
       one or more FOSS Applications.
 .
       "FOSS Application" means a free and open source software application
       distributed subject to a license listed in the section below titled
       "FOSS License List."
 .
       "FOSS Notice" means a notice put in a copy of Keystone Libraries
       stating that such copy of Keystone Libraries may be distributed under
       FOSS License Exception.
 .
       "Independent Work" means portions of the Derivative Work that are not
       derived from the Program and can reasonably be considered independent
       and separate works.
 .
       "Program" means a copy of Keystone Libraries that contains
       a FOSS Notice.
 .
    2. A FOSS application developer ("you" or "your") may distribute a
       Derivative Work provided that you and the Derivative Work meet all of
       the following conditions:
 .
         a. You obey the GPL in all respects for the Program and all portions
            (including modifications) of the Program included in the
            Derivative Work (provided that this condition does not apply to
            Independent Works);
         b. The Derivative Work does not include any work licensed under the
            GPL other than the Program;
         c. You distribute Independent Works subject to a license listed in
            the section below titled "FOSS License List";
         d. You distribute Independent Works in object code or executable
            form with the complete corresponding machine-readable source code
            on the same medium and under the same FOSS license applying to
            the object code or executable forms;
         e. All works that are aggregated with the Program or the Derivative
            Work on a medium or volume of storage are not derivative works of
            the Program, Derivative Work or FOSS Application, and must
            reasonably be considered independent and separate works.
 .
    3. Keystone's authors reserves all rights not expressly granted in these
       terms and conditions. If all of the above conditions are not met, then
       this FOSS License Exception does not apply to you/your Derivative Work.
 .
 FOSS License List
 .
    +------------------------------------------------------------------------+
    |License Name                                  |Version(s)/Copyright Date|
    |----------------------------------------------+-------------------------|
    |Academic Free License                         |2.0                      |
    |----------------------------------------------+-------------------------|
    |Apache Software License                       |1.0/1.1/2.0              |
    |----------------------------------------------+-------------------------|
    |Apple Public Source License                   |2.0                      |
    |----------------------------------------------+-------------------------|
    |Artistic license                              |From Perl 5.8.0          |
    |----------------------------------------------+-------------------------|
    |BSD license                                   |"July 22 1999"           |
    |----------------------------------------------+-------------------------|
    |Common Development and Distribution License   |1.0                      |
    |(CDDL)                                        |                         |
    |----------------------------------------------+-------------------------|
    |Common Public License                         |1.0                      |
    |----------------------------------------------+-------------------------|
    |Eclipse Public License                        |1.0                      |
    |----------------------------------------------+-------------------------|
    |European Union Public License (EUPL)¹         |1.1                      |
    |----------------------------------------------+-------------------------|
    |GNU Affero General Public License (AGPL)      |3.0                      |
    |----------------------------------------------+-------------------------|
    |GNU Library or "Lesser" General Public License|2.0/2.1/3.0              |
    |(LGPL)                                        |                         |
    |----------------------------------------------+-------------------------|
    |GNU General Public License (GPL)              |3.0                      |
    |----------------------------------------------+-------------------------|
    |IBM Public License                            |1.0                      |
    |----------------------------------------------+-------------------------|
    |Jabber Open Source License                    |1.0                      |
    |----------------------------------------------+-------------------------|
    |MIT License (As listed in file                |-                        |
    |MIT-License.txt)                              |                         |
    |----------------------------------------------+-------------------------|
    |Mozilla Public License (MPL)                  |1.0/1.1                  |
    |----------------------------------------------+-------------------------|
    |Open Software License                         |2.0                      |
    |----------------------------------------------+-------------------------|
    |OpenSSL license (with original SSLeay license)|"2003" ("1998")          |
    |----------------------------------------------+-------------------------|
    |PHP License                                   |3.0/3.01                 |
    |----------------------------------------------+-------------------------|
    |Python license (CNRI Python License)          |-                        |
    |----------------------------------------------+-------------------------|
    |Python Software Foundation License            |2.1.1                    |
    |----------------------------------------------+-------------------------|
    |Sleepycat License                             |"1999"                   |
    |----------------------------------------------+-------------------------|
    |University of Illinois/NCSA Open Source       |-                        |
    |License                                       |                         |
    |----------------------------------------------+-------------------------|
    |W3C License                                   |"2001"                   |
    |----------------------------------------------+-------------------------|
    |X11 License                                   |"2001"                   |
    |----------------------------------------------+-------------------------|
    |Zlib/libpng License                           |-                        |
    |----------------------------------------------+-------------------------|
    |Zope Public License                           |2.0                      |
    +------------------------------------------------------------------------+
 .
 ¹) When an Independent Work is licensed under a "Compatible License"
 pursuant to the EUPL, the Compatible License rather than the EUPL is the
 applicable license for purposes of these FOSS License Exception Terms and
 Conditions.
Comment:
 On Debian systems, the complete text of the GNU General
 Public License version 2 can be found in "/usr/share/common-licenses/GPL-2".
