Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
Upstream-Name: XZ Utils
Upstream-Contact:
 Lasse Collin <lasse.collin@tukaani.org>
 http://tukaani.org/xz/lists.html
Source:
 http://tukaani.org/xz
 http://git.tukaani.org/xz.git
Comment:
 XZ Utils is developed and maintained upstream by Lasse Collin.  Major
 portions are based on code by other authors; see AUTHORS for details.
 Most of the source has been put into the public domain, but some files
 have not (details below).
 .
 This file describes the source package.  The binary packages contain
 some files derived from other works: for example, images in the API
 documentation come from Doxygen.
License:
 Different licenses apply to different files in this package. Here
 is a rough summary of which licenses apply to which parts of this
 package (but check the individual files to be sure!):
 .
   - liblzma is in the public domain.
 .
   - xz, xzdec, and lzmadec command line tools are in the public
     domain unless GNU getopt_long had to be compiled and linked
     in from the lib directory. The getopt_long code is under
     GNU LGPLv2.1+.
 .
   - The scripts to grep, diff, and view compressed files have been
     adapted from gzip. These scripts and their documentation are
     under GNU GPLv2+.
 .
   - All the documentation in the doc directory and most of the
     XZ Utils specific documentation files in other directories
     are in the public domain.
 .
   - Translated messages are in the public domain.
 .
   - The build system contains public domain files, and files that
     are under GNU GPLv2+ or GNU GPLv3+. None of these files end up
     in the binaries being built.
 .
   - Test files and test code in the tests directory, and debugging
     utilities in the debug directory are in the public domain.
 .
   - The extra directory may contain public domain files, and files
     that are under various free software licenses.
 .
 You can do whatever you want with the files that have been put into
 the public domain. If you find public domain legally problematic,
 take the previous sentence as a license grant. If you still find
 the lack of copyright legally problematic, you have too many
 lawyers.
 .
 As usual, this software is provided "as is", without any warranty.
 .
 If you copy significant amounts of public domain code from XZ Utils
 into your project, acknowledging this somewhere in your software is
 polite (especially if it is proprietary, non-free software), but
 naturally it is not legally required. Here is an example of a good
 notice to put into "about box" or into documentation:
 .
     This software includes code from XZ Utils <http://tukaani.org/xz/>.
 .
 The following license texts are included in the following files:
   - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
   - COPYING.GPLv2: GNU General Public License version 2
   - COPYING.GPLv3: GNU General Public License version 3
 .
 Note that the toolchain (compiler, linker etc.) may add some code
 pieces that are copyrighted. Thus, it is possible that e.g. liblzma
 binary wouldn't actually be in the public domain in its entirety
 even though it contains no copyrighted code from the XZ Utils source
 package.
 .
 If you have questions, don't hesitate to ask the author(s) for more
 information.

Files: *
Copyright: 2006-2012, Lasse Collin
           1999-2008, Igor Pavlov
           2006, Ville Koskinen
           1998, Steve Reid
           2000, Wei Dai
           2003, Kevin Springle
           2009, Jonathan Nieder
           2010, Anders F Björklund
License: PD
 This file has been put in the public domain.
 You can do whatever you want with this file.
Comment:
  From: Lasse Collin <lasse.collin@tukaani.org>
  To: Jonathan Nieder <jrnieder@gmail.com>
  Subject: Re: XZ utils for Debian
  Date: Sun, 19 Jul 2009 13:28:23 +0300
  Message-Id: <200907191328.23816.lasse.collin@tukaani.org>
 .
 [...]
 .
  > AUTHORS, ChangeLog, COPYING, README, THANKS, TODO,
  > dos/README, windows/README
 .
  COPYING says that most docs are in the public domain. Maybe that's not
  clear enough, but on the other hand it looks a bit stupid to put
  copyright information in tiny and relatively small docs like README.
 .
  I don't dare to say that _all_ XZ Utils specific docs are in the public
  domain unless otherwise mentioned in the file. I'm including PDF files
  generated by groff + ps2pdf, and some day I might include Doxygen-
  generated HTML docs too. Those don't include any copyright notices, but
  it seems likely that groff + ps2pdf or at least Doxygen put some
  copyrighted content into the generated files.

Files: INSTALL NEWS PACKAGERS
 windows/README-Windows.txt
 windows/INSTALL-Windows.txt
Copyright: 2009-2010, Lasse Collin
License: probably-PD
 See the note on AUTHORS, README, and so on above.

Files: src/scripts/* lib/* extra/scanlzma/scanlzma.c
Copyright: © 1993, Jean-loup Gailly
           © 1989-1994, 1996-1999, 2001-2007, Free Software Foundation, Inc.
           © 2006 Timo Lindfors
           2005, Charles Levert
           2005, 2009, Lasse Collin
           2009, Andrew Dudman
Other-Authors: Paul Eggert, Ulrich Drepper
License: GPL-2+

Files: src/scripts/Makefile.am src/scripts/xzless.1
Copyright: 2009, Andrew Dudman
           2009, Lasse Collin
License: PD
 This file has been put in the public domain.
 You can do whatever you want with this file.

Files: doc/examples/xz_pipe_comp.c doc/examples/xz_pipe_decomp.c
Copyright: 2010, Daniel Mealha Cabrita
License: PD
 Not copyrighted -- provided to the public domain.

Files: lib/getopt.c lib/getopt1.c lib/getopt.in.h
Copyright: © 1987-2007 Free Software Foundation, Inc.
Other-Authors: Ulrich Drepper
License: LGPL-2.1+

Files: m4/getopt.m4 m4/posix-shell.m4
Copyright: © 2002-2006, 2008 Free Software Foundation, Inc.
           © 2007-2008 Free Software Foundation, Inc.
Other-Authors: Bruno Haible, Paul Eggert
License: permissive-fsf

Files: m4/acx_pthread.m4
Copyright: © 2008, Steven G. Johnson <stevenj@alum.mit.edu>
License: Autoconf

Files: Doxyfile.in
Copyright: © 1997-2007 by Dimitri van Heesch
Origin: Doxygen 1.4.7
License: GPL-2

Files: src/liblzma/check/crc32_table_?e.h
 src/liblzma/check/crc64_table_?e.h
 src/liblzma/lzma/fastpos_table.c
 src/liblzma/rangecoder/price_table.c
Copyright: none, automatically generated data
Generated-With:
 src/liblzma/check/crc32_tablegen.c
 src/liblzma/check/crc64_tablegen.c
 src/liblzma/lzma/fastpos_tablegen.c
 src/liblzma/rangecoder/price_tablegen.c
License: none
 No copyright to license.

Files: .gitignore m4/.gitignore po/.gitignore po/LINGUAS po/POTFILES.in
Copyright: non                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            