• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1XZ Utils Licensing
2==================
3
4    Different licenses apply to different files in this package. Here
5    is a rough summary of which licenses apply to which parts of this
6    package (but check the individual files to be sure!):
7
8      - liblzma is in the public domain.
9
10      - xz, xzdec, and lzmadec command line tools are in the public
11        domain unless GNU getopt_long had to be compiled and linked
12        in from the lib directory. The getopt_long code is under
13        GNU LGPLv2.1+.
14
15      - The scripts to grep, diff, and view compressed files have been
16        adapted from gzip. These scripts and their documentation are
17        under GNU GPLv2+.
18
19      - All the documentation in the doc directory and most of the
20        XZ Utils specific documentation files in other directories
21        are in the public domain.
22
23      - Translated messages are in the public domain.
24
25      - The build system contains public domain files, and files that
26        are under GNU GPLv2+ or GNU GPLv3+. None of these files end up
27        in the binaries being built.
28
29      - Test files and test code in the tests directory, and debugging
30        utilities in the debug directory are in the public domain.
31
32      - The extra directory may contain public domain files, and files
33        that are under various free software licenses.
34
35    You can do whatever you want with the files that have been put into
36    the public domain. If you find public domain legally problematic,
37    take the previous sentence as a license grant. If you still find
38    the lack of copyright legally problematic, you have too many
39    lawyers.
40
41    As usual, this software is provided "as is", without any warranty.
42
43    If you copy significant amounts of public domain code from XZ Utils
44    into your project, acknowledging this somewhere in your software is
45    polite (especially if it is proprietary, non-free software), but
46    naturally it is not legally required. Here is an example of a good
47    notice to put into "about box" or into documentation:
48
49        This software includes code from XZ Utils <http://tukaani.org/xz/>.
50
51    The following license texts are included in the following files:
52      - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
53      - COPYING.GPLv2: GNU General Public License version 2
54      - COPYING.GPLv3: GNU General Public License version 3
55
56    Note that the toolchain (compiler, linker etc.) may add some code
57    pieces that are copyrighted. Thus, it is possible that e.g. liblzma
58    binary wouldn't actually be in the public domain in its entirety
59    even though it contains no copyrighted code from the XZ Utils source
60    package.
61
62    If you have questions, don't hesitate to ask the author(s) for more
63    information.
64