Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: globalplatform
Source: https://github.com/kaoh/globalplatform
Files-Excluded:
 cmocka-cmocka-*
 docs/api
 globalplatform/cmake_modules/FindZLIB.cmake
 globalplatform/cmake_modules/copyright.*
 globalplatform/src/pcsclite-includes
 globalplatform/src/resource.h
 globalplatform/src/unzip
 globalplatform/src/version.rc
 gppcscconnectionplugin/src/resource.h
 gppcscconnectionplugin/src/version.rc
 gpshell/src/pcsclite-includes
 gpshell/src/resource.h
 gpshell/src/version.rc
 zlib-*

Files: *
Copyright:
 Copyright (c) 2005-2026, Karsten Ohme
 Copyright (c) 2005 Snit Mo
License: LGPL-3+ with OpenSSL~LGPL exception

Files: globalplatform/*
Copyright: 2005-2026, Karsten Ohme
License: LGPL-3+ with OpenSSL~LGPL exception

Files: gppcscconnectionplugin/*
Copyright: 2005-2026, Karsten Ohme
License: LGPL-3+

Files: gpshell/src/*
Copyright: 2005-2026, Karsten Ohme
License: GPL-3+ with OpenSSL exception

Files: helloworldapplet/*
Copyright: 2005-2026, Karsten Ohme
License: GPL-3+

Files: globalplatform/cmake_modules/AddCMockaTest.cmake
Copyright: 2007      Daniel Gollub <dgollub@suse.de>
           2007-2018 Andreas Schneider <asn@cryptomilk.org>
           2018      Anderson Toshiyuki Sasaki <ansasaki@redhat.com>
License: BSD-3-clause

Files: globalplatform/cmake_modules/AddMockedTest.cmake
Copyright: 2018 Kamil Lorenc
License: Expat

Files: globalplatform/cmake_modules/UseDoxygen.cmake
Copyright: 2009, 2010, 2011 Tobias Rautenkranz <tobias@rautenkranz.ch>
License: BSD-3-clause
Comment: See https://tobias.rautenkranz.ch/cmake/doxygen/

Files: globalplatform/cmake_modules/FindPCSC.cmake
Copyright: F. Kooman <fkooman@tuxed.net>
License: BSD-3-clause
Comment: See https://github.com/nfc-tools/libnfc/tree/master/cmake/modules

License: GPL-3+
 Quoting helloworldapplet/src/main/java/net/sourceforge/globalplatform/jc/helloworld/HelloWorldApplet.java:
 *
 *  Copyright (c) 2010-2026, Karsten Ohme
 *  This file is part of GlobalPlatform.
 *
 *  GlobalPlatform is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  GlobalPlatform 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 GlobalPlatform.  If not, see <https://www.gnu.org/licenses/>.
Comment:
 The complete text of the GNU General Public License version 3 can be
 found in the file: /usr/share/common-licenses/GPL-3

License: GPL-3+ with OpenSSL exception
 Quoting gpshell/src/gpshell.c
 *  Copyright (c) 2005, Snit Mo
 *  Copyright (c) 2005-2026, Karsten Ohme
 *  This file is part of GlobalPlatform.
 *
 *  GPShell is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  GPShell 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 GPShell.  If not, see <https://www.gnu.org/licenses/>.
 *
 * In addition, as a special exception, the copyright holders give
 * permission to link the code of portions of this program with the
 * OpenSSL library under certain conditions as described in each
 * individual source file, and distribute linked combinations
 * including the two.
 * You must obey the GNU General Public License in all respects
 * for all of the code used other than OpenSSL.  If you modify
 * file(s) with this exception, you may extend this exception to your
 * version of the file(s), but you are not obligated to do so.  If you
 * do not wish to do so, delete this exception statement from your
 * version.
Comment:
 The complete text of the GNU Lesser General Public License version 3
 can be found in the file: /usr/share/common-licenses/LGPL-3

License: LGPL-3+
 Quoting gppcscconnectionplugin/LICENSE:
 *
 *  Copyright (c) 2010-2026, Karsten Ohme
 *  This file is part of GlobalPlatform.
 *
 *  GlobalPlatform is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  GlobalPlatform 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 Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with GlobalPlatform.  If not, see <https://www.gnu.org/licenses/>.
Comment:
 The complete text of the GNU Lesser General Public License version 3
 can be found in the file: /usr/share/common-licenses/LGPL-3

License: LGPL-3+ with OpenSSL~LGPL exception
 Quoting globalplatform/LICENSE:
 *
 *  Copyright (c) 2005-2026, Karsten Ohme
 *  This file is part of GlobalPlatform.
 *
 *  GlobalPlatform is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU Lesser General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  GlobalPlatform 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 Lesser General Public License for more details.
 *
 *  You should have received a copy of the GNU Lesser General Public License
 *  along with GlobalPlatform.  If not, see <https://www.gnu.org/licenses/>.
 *
 * In addition, as a special exception, the copyright holders give
 * permission to link the code of portions of this program with the
 * OpenSSL library under certain conditions as described in each
 * individual source file, and distribute linked combinations
 * including the two.
 * You must obey the GNU Lesser General Public License in all respects
 * for all of the code used other than OpenSSL.  If you modify
 * file(s) with this exception, you may extend this exception to your
 * version of the file(s), but you are not obligated to do so.  If you
 * do not wish to do so, delete this exception statement from your
 * version.
Comment:
 The complete text of the GNU Lesser General Public License version 3
 can be found in the file: /usr/share/common-licenses/LGPL-3

License: Expat
 # 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.

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 copyright
    notice, this list of conditions and the following disclaimer.
 2. Redistributions in binary form must reproduce the copyright
    notice, this list of conditions and the following disclaimer in the
    documentation and/or other materials provided with the distribution.
 3. The name of the author may not be used to endorse or promote products
    derived from this software without specific prior written permission.
 .
 THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``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 AUTHOR 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.

Files: debian/*
Copyright: 2023-2026 Simon Josefsson <simon@josefsson.org>
License: GPL-3+ with OpenSSL exception
Comment: Debian packaging is licensed under the same terms as upstream
