Format: https://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: uniutils
Upstream-Contact: Bill Poser <billposer@alum.mit.edu>
Source: https://billposer.org/Software/unidesc.html
Comment:
 The upstream tarball is distributed as a zip archive from
 <https://billposer.org/Software/Downloads/uniutils-2.28.zip>.
 .
 Upstream relicensed the package from the GNU General Public License
 version 2 or later to version 3 with the 2.26 release: the COPYING file
 shipped with 2.24 contains the text of GPL-2, while the one shipped with
 2.26 and later contains the text of GPL-3, and the per-file notices were
 changed accordingly.  Two source files (ExplicateBadUTF8.c and
 Read_UMagic_Number.c) still carry the older "version 2 or later"
 notices; since GPL-2+ permits use under the terms of any later version,
 the package as a whole may be distributed under the GPL-3.  The
 individual notices are recorded in the stanzas below.

Files: *
Copyright: 2003-2009, William J. Poser <billposer@alum.mit.edu>
License: GPL-3

Files: ExplicateBadUTF8.c
Copyright: 2004, William J. Poser <billposer@alum.mit.edu>
License: GPL-2+

Files: Read_UMagic_Number.c
Copyright: 2003, William J. Poser <billposer@alum.mit.edu>
License: GPL-2+

Files: binfmt.c
Copyright: 2003, 2009, William J. Poser <billposer@alum.mit.edu>
License: LGPL-3

Files: Get_UTF32_From_UTF8i.c
Copyright: 2003-2009, William J. Poser <billposer@alum.mit.edu>
           1991-2026, Unicode, Inc.
License: GPL-3 and Unicode
Comment:
 This file contains a UTF-8 validation and decoding routine that is
 explicitly marked as being based on the reference conversion code
 published by the Unicode Consortium ("The following are based on the
 Unicode consortium code" ... "End of Unicode Consortium code").  The
 Unicode copyright and permission notice is not reproduced in the file
 itself, so it is reproduced in the Unicode license stanza below.
 .
 Dylan Thurston contributed the code that resumes a read interrupted in
 the middle of a UTF-8 sequence (see CREDITS); he asserts no separate
 copyright notice in the file.

Files: putu8.c
Copyright: 2003-2009, William J. Poser <billposer@alum.mit.edu>
License: GPL-3
Comment:
 This file states that it is based on code by Roman Czyborra,
 <http://czyborra.com/utf/>.  Czyborra's code is distributed under the
 "Czyborra.com Freeware License", which permits copying, use,
 modification and redistribution provided his contribution is properly
 attributed; that attribution is present in the file itself.

Files: unames.c offsettbl.c unirange.c
Copyright: 2003-2009, William J. Poser <billposer@alum.mit.edu>
           1991-2026, Unicode, Inc.
License: GPL-3 and Unicode
Comment:
 These tables are generated from the Unicode Character Database:
 unames.c and offsettbl.c by genunames.awk from UnicodeData.txt, and
 unirange.c by debian/refresh-unirange.sh from Blocks.txt.  The Unicode
 data files themselves are distributed under the Unicode license, whose
 notice requirement is met by the Unicode license stanza below.

Files: configure
Copyright: 1992-1996, 1998-2017, 2020-2021, Free Software Foundation, Inc.
License: FSFUL

Files: INSTALL
Copyright: 1994-1996, 1999-2001, Free Software Foundation, Inc.
License: FSFUL

Files: aclocal.m4
Copyright: 1996-2021, Free Software Foundation, Inc.
License: FSFULLR

Files: Makefile.in
Copyright: 1994-2021, Free Software Foundation, Inc.
License: FSFULLR

Files: compile
Copyright: 1999-2021, Free Software Foundation, Inc.
License: GPL-2+ with Autoconf exception

Files: depcomp
Copyright: 1999, 2000, Free Software Foundation, Inc.
License: GPL-2+ with Autoconf exception

Files: missing
Copyright: 1996, 1997, 1999, 2000, Free Software Foundation, Inc.
License: GPL-2+ with Autoconf exception

Files: install-sh
Copyright: 1991, Massachusetts Institute of Technology
License: X11

Files: mkinstalldirs
Copyright: 1993, Noah Friedman <friedman@prep.ai.mit.edu>
License: public-domain
 This file was written by Noah Friedman and placed by him in the public
 domain; it is therefore not subject to copyright in any jurisdiction.

Files: debian/*
Copyright: 2006-2012, Mohammed Sameer <debian@foolab.org>
           2007-2012, Mohammed Sameer <msameer@debian.org>
           2024, Andreas Tille <tille@debian.org>
           2025, наб <nabijaczleweli@nabijaczleweli.xyz>
           2026, Alexandre Detiste <alexandre.detiste@gmail.com>
License: GPL-2+

Files: debian/refresh-unirange.sh
Copyright: 2021-2024, GSR <gsr.bugs@infernal-iceberg.com>
           2024, Andreas Tille <tille@debian.org>
License: GPL-2+

Files: debian/patches/*
Copyright: 2012, A. Costa <agcosta@gis.net>
           2021-2024, GSR <gsr.bugs@infernal-iceberg.com>
           2024, Andreas Tille <tille@debian.org>
           2025, наб <nabijaczleweli@nabijaczleweli.xyz>
           2026, Alexandre Detiste <alexandre.detiste@gmail.com>
License: GPL-3
Comment:
 The patches modify upstream files that are licensed under the GPL-3,
 so they are themselves distributed under the GPL-3.
 .
 Several of the patches (uniutils-2.27-unicode14.diff, unicode15.patch
 and uniutils-2.28-unicode16.diff) regenerate unirange.c and offsettbl.c
 from the Unicode Character Database, so they additionally carry Unicode
 data; see the Unicode license stanza below.

License: GPL-3
 This program is free software; you can redistribute it and/or modify
 it under the terms of version 3 of the GNU General Public License as
 published by the Free Software Foundation.
 .
 This program 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 program; if not, see <https://www.gnu.org/licenses/>.
Comment:
 On Debian systems, the complete text of the GNU General Public
 License version 3 can be found in /usr/share/common-licenses/GPL-3.

License: GPL-2+
 This program 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 2 of the License, or
 (at your option) any later version.
 .
 This program 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 program; if not, see <https://www.gnu.org/licenses/>.
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.

License: LGPL-3
 This program is free software; you can redistribute it and/or modify
 it under the terms of version 3 of the GNU Lesser General Public
 License as published by the Free Software Foundation.
 .
 This program 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 program; if not, see
 <https://www.gnu.org/licenses/>.
Comment:
 On Debian systems, the complete text of the GNU Lesser General Public
 License version 3 can be found in /usr/share/common-licenses/LGPL-3.

License: GPL-2+ with Autoconf exception
 This program 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 2, or (at your option)
 any later version.
 .
 This program 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 program; if not, see <https://www.gnu.org/licenses/>.
 .
 As a special exception to the GNU General Public License, if you
 distribute this file as part of a program that contains a
 configuration script generated by Autoconf, you may include it under
 the same distribution terms that you use for the rest of that program.
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.

License: FSFUL
 This configure script is free software; the Free Software Foundation
 gives unlimited permission to copy, distribute and modify it.
 .
 This file is free documentation; the Free Software Foundation gives
 unlimited permission to copy, distribute and modify it.
Comment:
 The first paragraph is the notice used by configure, the second the one
 used by INSTALL; both grant the same unlimited permission.

License: FSFULLR
 This file is free software; the Free Software Foundation gives
 unlimited permission to copy and/or distribute it, with or without
 modifications, as long as this notice is preserved.

License: X11
 Permission to use, copy, modify, distribute, and sell this software and
 its documentation for any purpose is hereby granted without fee,
 provided that the above copyright notice appear in all copies and that
 both that copyright notice and this permission notice appear in
 supporting documentation, and that the name of M.I.T. not be used in
 advertising or publicity pertaining to distribution of the software
 without specific, written prior permission.  M.I.T. makes no
 representations about the suitability of this software for any
 purpose.  It is provided "as is" without express or implied warranty.

License: Unicode
 UNICODE LICENSE V3
 .
 COPYRIGHT AND PERMISSION NOTICE
 .
 Copyright © 1991-2026 Unicode, Inc.
 .
 NOTICE TO USER: Carefully read the following legal agreement. BY
 DOWNLOADING, INSTALLING, COPYING OR OTHERWISE USING DATA FILES, AND/OR
 SOFTWARE, YOU UNEQUIVOCALLY ACCEPT, AND AGREE TO BE BOUND BY, ALL OF THE
 TERMS AND CONDITIONS OF THIS AGREEMENT. IF YOU DO NOT AGREE, DO NOT
 DOWNLOAD, INSTALL, COPY, DISTRIBUTE OR USE THE DATA FILES OR SOFTWARE.
 .
 Permission is hereby granted, free of charge, to any person obtaining a
 copy of data files and any associated documentation (the "Data Files") or
 software and any associated documentation (the "Software") to deal in the
 Data Files or Software without restriction, including without limitation
 the rights to use, copy, modify, merge, publish, distribute, and/or sell
 copies of the Data Files or Software, and to permit persons to whom the
 Data Files or Software are furnished to do so, provided that either (a)
 this copyright and permission notice appear with all copies of the Data
 Files or Software, or (b) this copyright and permission notice appear in
 associated Documentation.
 .
 THE DATA FILES AND SOFTWARE ARE 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 OF
 THIRD PARTY RIGHTS.
 .
 IN NO EVENT SHALL THE COPYRIGHT HOLDER OR HOLDERS INCLUDED IN THIS NOTICE
 BE LIABLE FOR ANY CLAIM, OR 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 THE DATA
 FILES OR SOFTWARE.
 .
 Except as contained in this notice, the name of a copyright holder shall
 not be used in advertising or otherwise to promote the sale, use or other
 dealings in these Data Files or Software without prior written
 authorization of the copyright holder.
