Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: libmobi
Upstream-Contact: Bartek Fabiszewski <debian@fabiszewski.net>
Source: https://github.com/bfabiszewski/libmobi
Files-Excluded:
 tests/samples/sample-drm-v1.mobi
 tests/samples/sample-obfuscated-fonts.mobi
Comment:
 The upstream source contains two files with licenses that may violate DFSG.
 These files will be excluded from source tarball.

Files: *
Copyright: 2014-2022 Bartek Fabiszewski <debian@fabiszewski.net>
License: LGPL-3+

Files: src/encryption.c
Copyright: 2014-2022 Bartek Fabiszewski <debian@fabiszewski.net>
Comment:
 PC1 routines adapted from:
 File PC1DEC.c
 written in Borland Turbo C 2.0 on PC
 PC1 Cipher Algorithm ( Pukall Cipher 1 )
 By Alexander PUKALL 1991
 free code no restriction to use
 please include the name of the Author in the final software
 .
 Mobi encryption algorithm learned from:
 mobidedrm.py
 Copyright (c) 2008 The Dark Reverser
License: LGPL-3+

Files: src/miniz.c
Copyright: 2011-2013 Rich Geldreich <richgel99@gmail.com>
License: Unlicense

Files: src/sha1.c
Copyright: 1998-2002 Steve Reid <sreid@sea-to-sky.net>
License: public-domain

Files: src/randombytes.c
Copyright: 
 2013-2022 Frank Denis <j at pureftpd dot org>
 2022 Bartek Fabiszewski <debian@fabiszewski.net>
License: ISC

Files: tools/win32/getopt.c
Copyright: 1987, 1993, 1994 The Regents of the University of California
License: BSD-4-Clause

Files: debian/*
Copyright: 2014-2022 Bartek Fabiszewski <debian@fabiszewski.net>
License: LGPL-3+

Files:
 ar-lib
 compile
 depcomp
 install-sh
 ltmain.sh
 missing
 test-driver
 config.guess
 config.sub
 configure
 config.h.in
 */Makefile.in
 */*.m4
Comment: Autoconf generated files
 There are no restrictions on how the configuration scripts that Autoconf produces may be distributed or used.
 Of the other files that might be used with configure, config.h.in is under whatever copyright you use for your configure.ac.
 config.sub and config.guess have an exception to the GPL when they are used with an Autoconf-generated configure script,
 which permits you to distribute them under the same terms as the rest of your package.
 install-sh is from the X Consortium and is not copyrighted.
Copyright:
 Free Software Foundation, Inc.
 X Consortium
License: LGPL-3+

License: LGPL-3+
 This package 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.
 .
 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
 Lesser General Public License for more details.
 .
 You should have received a copy of the GNU Lesser General Public
 License along with this package; if not, write to the Free Software
 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
 .
 On Debian systems, the complete text of the GNU Lesser General
 Public License can be found in `/usr/share/common-licenses/LGPL-3'

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 the University of
      California, Berkeley and its contributors.
 4. Neither the name of the University 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 REGENTS 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 REGENTS 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: 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: ISC
 Permission to use, copy, modify, and/or distribute this software for any
 purpose with or without fee is hereby granted, provided that the above
 copyright notice and this permission notice appear in all copies.
 .
 THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
 ANY SPECIAL, DIRECT, 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: public-domain
 No license required for any purpose; the work is not subject to copyright in any jurisdiction.
