]> git.ipfire.org Git - thirdparty/xz.git/blame - COPYING
Translations: Update the German translation.
[thirdparty/xz.git] / COPYING
CommitLineData
5d018dc0 1
02ddf09b
LC
2XZ Utils Licensing
3==================
5d018dc0
LC
4
5 Different licenses apply to different files in this package. Here
02ddf09b 6 is a rough summary of which licenses apply to which parts of this
5d018dc0 7 package (but check the individual files to be sure!):
02ddf09b 8
689e0228 9 - liblzma is under the BSD Zero Clause License (0BSD).
02ddf09b 10
689e0228
LC
11 - The command line tools xz, xzdec, lzmadec, and lzmainfo are
12 under 0BSD except that, on systems that don't have a usable
13 getopt_long, GNU getopt_long is compiled and linked in from the
14 'lib' directory. The getopt_long code is under GNU LGPLv2.1+.
02ddf09b
LC
15
16 - The scripts to grep, diff, and view compressed files have been
28ce45e3
LC
17 adapted from GNU gzip. These scripts (xzgrep, xzdiff, xzless,
18 and xzmore) are under GNU GPLv2+. The man pages of the scripts
19 are under 0BSD; they aren't based on the man pages of GNU gzip.
689e0228
LC
20
21 - Most of the XZ Utils specific documentation that is in
22 plain text files (like README, INSTALL, PACKAGERS, NEWS,
23 and ChangeLog) are under 0BSD unless stated otherwise in
24 the file itself. The files xz-file-format.txt and
25 lzma-file-format.xt are in the public domain but may
26 be distributed under the terms of 0BSD too.
27
28 - Doxygen-generated HTML version of the liblzma API documentation:
29 While Doxygen is under the GNU GPLv2, the license information
30 in Doxygen includes the following exception:
31
32 Documents produced by doxygen are derivative works
33 derived from the input used in their production;
34 they are not affected by this license.
02ddf09b 35
f68f4b27 36 Note: The JavaScript files (under the MIT license) have
689e0228 37 been removed from the Doxygen output.
f68f4b27 38
689e0228
LC
39 - The XZ logo (xz-logo.png) included in the Doxygen-generated
40 documentation is under the Creative Commons BY-SA 4.0 license.
f68f4b27 41
689e0228
LC
42 - Translated messages and man pages are under 0BSD except that
43 some old translations are in the public domain.
b1ee6cf2 44
689e0228
LC
45 - Test files and test code in the 'tests' directory, and
46 debugging utilities in the 'debug' directory are under
47 the BSD Zero Clause License (0BSD).
02ddf09b 48
689e0228
LC
49 - The GNU Autotools based build system contains files that are
50 under GNU GPLv2+, GNU GPLv3+, and a few permissive licenses.
51 These files don't affect the licensing of the binaries being
52 built.
02ddf09b 53
689e0228
LC
54 - The extra directory contain files that are under various
55 free software licenses.
02ddf09b 56
689e0228
LC
57 For the files under the BSD Zero Clause License (0BSD), if
58 a copyright notice is needed, the following is sufficient:
02ddf09b 59
689e0228 60 Copyright (C) The XZ Utils authors and contributors
02ddf09b 61
689e0228 62 If you copy significant amounts of 0BSD-licensed code from XZ Utils
02ddf09b 63 into your project, acknowledging this somewhere in your software is
2f34fb26 64 polite (especially if it is proprietary, non-free software), but
689e0228
LC
65 it is not legally required by the license terms. Here is an example
66 of a good notice to put into "about box" or into documentation:
02ddf09b 67
fce47580
JT
68 This software includes code from XZ Utils
69 <https://xz.tukaani.org/xz-utils/>.
02ddf09b
LC
70
71 The following license texts are included in the following files:
689e0228 72 - COPYING.0BSD: BSD Zero Clause License
5d018dc0
LC
73 - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1
74 - COPYING.GPLv2: GNU General Public License version 2
75 - COPYING.GPLv3: GNU General Public License version 3
b1ee6cf2
JT
76 - COPYING.CC-BY-SA-4.0: Creative Commons Attribution-ShareAlike 4.0
77 International Public License
5d018dc0 78
689e0228
LC
79 A note about old XZ Utils releases:
80
81 XZ Utils releases 5.4.6 and older and 5.5.1alpha have a
82 significant amount of code put into the public domain and
83 that obviously remains so. The switch from public domain to
84 0BSD for newer releases was made in Febrary 2024 because
85 public domain has (real or perceived) legal ambiguities in
86 some jurisdictions.
87
88 There is very little *practical* difference between public
89 domain and 0BSD. The main difference likely is that one
90 shouldn't claim that 0BSD-licensed code is in the public
91 domain; 0BSD-licensed code is copyrighted but available under
92 an extremely permissive license. Neither 0BSD nor public domain
93 require retaining or reproducing author, copyright holder, or
94 license notices when distributing the software. (Compare to,
95 for example, BSD 2-Clause "Simplified" License which does have
96 such requirements.)
97
98 If you have questions, don't hesitate to ask for more information.
99 The contact information is in the README file.
5d018dc0 100