Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: zpaqfranz
Upstream-Contact: Franco Corbelli <franco@francocorbelli.com>
Source: https://github.com/fcorbelli/zpaqfranz
Comment:
 zpaqfranz.cpp embeds base64-encoded copies of ZSFX/zsfx.zpaq and
 ZSFX/zsfx32.zpaq. These are only used in Windows binaries. They can
 be re-created on Debian by building the corresponding executables
 using MinGW-w64 (see the batch files in ZSFX), and archiving them in
 .zpaq archives.
 It also embeds test files constructed from Vincenzo Monti’s 1825
 translation of Homer’s Illiad to Italian, translation which is now in
 the public domain. These files are provided in AUTOTEST/sha256.7z
 (which can be independently extracted with 7-zip),
 AUTOTEST/sha256.zpaq (compressed with zpaqfranz on Windows, serving
 as the reference), and AUTOTEST/encoded-20220920104108.txt (the
 base64-encoded representation of sha256.zpas).

Files: *
Copyright: 2002 Niels Ferguson
           2003-2008 Yuta Mori
           2011-2019 Stephan Brumme
           2011-2023 Yann Collet
           2013, 2015, 2021 Mark Adler
           2017 Embedded Artistry
           2017 Sepehr Laal
           2021-2024 Franco Corbelli
Comment:
 In addition to code written by Franco Corbelli, zpaqfranz.cpp
 includes source code from a number of different sources, extensively
 described in the file itself:
  - zpaq, by Matt Mahoney, covered by unlicense
  - libtomcrypt, by Tom St Denis, covered by unlicense
  - salsa20-ref, by D. J. Bernstein, public domain
  - 7-zip, by Igor Pavlov, public domain
  - libdivsufsort, by Yuta Mori, under the MIT license
  - malloc, by Embedded Artistry, under the MIT license
  - Nilsimsa implementation by Sepehr Laal, under the MIT license
  - various hashes by Stephan Brumme, under the zlib license
  - CRC-32C, by Mark Adler, under the zlib license
  - xxHash, by Yann Collet, under the 2-clause BSD license
  - the BLAKE3 hasher, under CC0-1.0 or Apache-2.0
  - Whirlpool, by Paulo Barreto and Vincent Rijmen, public domain
  - Twofish, by Niels Ferguson, under a specific license
  - the HighWay64 hasher, under Apache-2.0
  - portions of PDCurses, public domain
  - SHA-Intrinsics, by Jeffrey Walton, public domain
  - LZ4, by Yann Collet, under the 2-clause BSD license
License: MIT and unlicense and zlib and BSD-2-clause, and CC0-1.0 or Apache-2.0, and Twofish

Files: debian/*
Copyright: 2024 Stephen Kitt
License: MIT


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.

License: unlicense
 This is free and unencumbered software released into the public
 domain.
 .
 Anyone is free to copy, modify, publish, use, compile, sell, or
 distribute this software, either in source code form or as a compiled
 binary, for any purpose, commercial or non-commercial, and by any
 means.
 .
 In jurisdictions that recognize copyright laws, the author or authors
 of this software dedicate any and all copyright interest in the
 software to the public domain. We make this dedication for the
 benefit of the public at large and to the detriment of our heirs and
 successors. We intend this dedication to be an overt act of
 relinquishment in perpetuity of all present and future rights to this
 software under copyright law.
 .
 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 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.
 .
 For more information, please refer to <http://unlicense.org>

License: zlib
 This code is licensed under the zlib License:
 .
 This software is provided 'as-is', without any express or implied
 warranty. In no event will the authors be held liable for any damages
 arising from the use of this software.
 .
 Permission is granted to anyone to use this software for any purpose,
 including commercial applications, and to alter it and redistribute it
 freely, subject to the following restrictions:
 .
 1. The origin of this software must not be misrepresented; you must not
    claim that you wrote the original software. If you use this software
    in a product, an acknowledgment in the product documentation would be
    appreciated but is not required.
 2. Altered source versions must be plainly marked as such, and must not be
    misrepresented as being the original software.
 3. This notice may not be removed or altered from any source distribution.

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:
 .
    * Redistributions of source code must retain the above copyright
      notice, this list of conditions and the following disclaimer.
    * 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
 OWNER 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: CC0-1.0
 On Debian systems, the full text of the CC0 1.0 Universal license
 can be found in /usr/share/common-licenses/CC0-1.0.

License: Apache-2.0
 On Debian systems, the full text of the Apache License, version 2.0,
 can be found in /usr/share/common-licenses/Apache-2.0.

License: Twofish
 The author hereby grants a perpetual license to everybody to
 use this code for any purpose as long as the copyright message is included
 in the source code of this or any derived work.
 .
 Yes, this means that you, your company, your club, and anyone else
 can use this code anywhere you want. You can change it and distribute it
 under the GPL, include it in your commercial product without releasing
 the source code, put it on the web, etc.
 The only thing you cannot do is remove my copyright message,
 or distribute any source code based on this implementation that does not
 include my copyright message.
 .
 I appreciate a mention in the documentation or credits,
 but I understand if that is difficult to do.
 I also appreciate it if you tell me where and why you used my code.