jpayne@68
|
1
|
jpayne@68
|
2 XZ Utils Licensing
|
jpayne@68
|
3 ==================
|
jpayne@68
|
4
|
jpayne@68
|
5 Different licenses apply to different files in this package. Here
|
jpayne@68
|
6 is a summary of which licenses apply to which parts of this package:
|
jpayne@68
|
7
|
jpayne@68
|
8 - liblzma is under the BSD Zero Clause License (0BSD).
|
jpayne@68
|
9
|
jpayne@68
|
10 - The command line tools xz, xzdec, lzmadec, and lzmainfo are
|
jpayne@68
|
11 under 0BSD except that, on systems that don't have a usable
|
jpayne@68
|
12 getopt_long, GNU getopt_long is compiled and linked in from the
|
jpayne@68
|
13 'lib' directory. The getopt_long code is under GNU LGPLv2.1+.
|
jpayne@68
|
14
|
jpayne@68
|
15 - The scripts to grep, diff, and view compressed files have been
|
jpayne@68
|
16 adapted from GNU gzip. These scripts (xzgrep, xzdiff, xzless,
|
jpayne@68
|
17 and xzmore) are under GNU GPLv2+. The man pages of the scripts
|
jpayne@68
|
18 are under 0BSD; they aren't based on the man pages of GNU gzip.
|
jpayne@68
|
19
|
jpayne@68
|
20 - Most of the XZ Utils specific documentation that is in
|
jpayne@68
|
21 plain text files (like README, INSTALL, PACKAGERS, NEWS,
|
jpayne@68
|
22 and ChangeLog) are under 0BSD unless stated otherwise in
|
jpayne@68
|
23 the file itself. The files xz-file-format.txt and
|
jpayne@68
|
24 lzma-file-format.xt are in the public domain but may
|
jpayne@68
|
25 be distributed under the terms of 0BSD too.
|
jpayne@68
|
26
|
jpayne@68
|
27 - Translated messages and man pages are under 0BSD except that
|
jpayne@68
|
28 some old translations are in the public domain.
|
jpayne@68
|
29
|
jpayne@68
|
30 - Test files and test code in the 'tests' directory, and
|
jpayne@68
|
31 debugging utilities in the 'debug' directory are under
|
jpayne@68
|
32 the BSD Zero Clause License (0BSD).
|
jpayne@68
|
33
|
jpayne@68
|
34 - The GNU Autotools based build system contains files that are
|
jpayne@68
|
35 under GNU GPLv2+, GNU GPLv3+, and a few permissive licenses.
|
jpayne@68
|
36 These files don't affect the licensing of the binaries being
|
jpayne@68
|
37 built.
|
jpayne@68
|
38
|
jpayne@68
|
39 - The 'extra' directory contains files that are under various
|
jpayne@68
|
40 free software licenses. These aren't built or installed as
|
jpayne@68
|
41 part of XZ Utils.
|
jpayne@68
|
42
|
jpayne@68
|
43 For the files under the BSD Zero Clause License (0BSD), if
|
jpayne@68
|
44 a copyright notice is needed, the following is sufficient:
|
jpayne@68
|
45
|
jpayne@68
|
46 Copyright (C) The XZ Utils authors and contributors
|
jpayne@68
|
47
|
jpayne@68
|
48 If you copy significant amounts of 0BSD-licensed code from XZ Utils
|
jpayne@68
|
49 into your project, acknowledging this somewhere in your software is
|
jpayne@68
|
50 polite (especially if it is proprietary, non-free software), but
|
jpayne@68
|
51 it is not legally required by the license terms. Here is an example
|
jpayne@68
|
52 of a good notice to put into "about box" or into documentation:
|
jpayne@68
|
53
|
jpayne@68
|
54 This software includes code from XZ Utils <https://tukaani.org/xz/>.
|
jpayne@68
|
55
|
jpayne@68
|
56 The following license texts are included in the following files:
|
jpayne@68
|
57 - COPYING.0BSD: BSD Zero Clause License
|
jpayne@68
|
58 - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
|
jpayne@68
|
59 - COPYING.GPLv2: GNU General Public License version 2
|
jpayne@68
|
60 - COPYING.GPLv3: GNU General Public License version 3
|
jpayne@68
|
61
|
jpayne@68
|
62 A note about old XZ Utils releases:
|
jpayne@68
|
63
|
jpayne@68
|
64 XZ Utils releases 5.4.6 and older and 5.5.1alpha have a
|
jpayne@68
|
65 significant amount of code put into the public domain and
|
jpayne@68
|
66 that obviously remains so. The switch from public domain to
|
jpayne@68
|
67 0BSD for newer releases was made in Febrary 2024 because
|
jpayne@68
|
68 public domain has (real or perceived) legal ambiguities in
|
jpayne@68
|
69 some jurisdictions.
|
jpayne@68
|
70
|
jpayne@68
|
71 There is very little *practical* difference between public
|
jpayne@68
|
72 domain and 0BSD. The main difference likely is that one
|
jpayne@68
|
73 shouldn't claim that 0BSD-licensed code is in the public
|
jpayne@68
|
74 domain; 0BSD-licensed code is copyrighted but available under
|
jpayne@68
|
75 an extremely permissive license. Neither 0BSD nor public domain
|
jpayne@68
|
76 require retaining or reproducing author, copyright holder, or
|
jpayne@68
|
77 license notices when distributing the software. (Compare to,
|
jpayne@68
|
78 for example, BSD 2-Clause "Simplified" License which does have
|
jpayne@68
|
79 such requirements.)
|
jpayne@68
|
80
|
jpayne@68
|
81 If you have questions, don't hesitate to ask for more information.
|
jpayne@68
|
82 The contact information is in the README file.
|
jpayne@68
|
83
|