jpayne@68: jpayne@68: XZ Utils Licensing jpayne@68: ================== jpayne@68: jpayne@68: Different licenses apply to different files in this package. Here jpayne@68: is a summary of which licenses apply to which parts of this package: jpayne@68: jpayne@68: - liblzma is under the BSD Zero Clause License (0BSD). jpayne@68: jpayne@68: - The command line tools xz, xzdec, lzmadec, and lzmainfo are jpayne@68: under 0BSD except that, on systems that don't have a usable jpayne@68: getopt_long, GNU getopt_long is compiled and linked in from the jpayne@68: 'lib' directory. The getopt_long code is under GNU LGPLv2.1+. jpayne@68: jpayne@68: - The scripts to grep, diff, and view compressed files have been jpayne@68: adapted from GNU gzip. These scripts (xzgrep, xzdiff, xzless, jpayne@68: and xzmore) are under GNU GPLv2+. The man pages of the scripts jpayne@68: are under 0BSD; they aren't based on the man pages of GNU gzip. jpayne@68: jpayne@68: - Most of the XZ Utils specific documentation that is in jpayne@68: plain text files (like README, INSTALL, PACKAGERS, NEWS, jpayne@68: and ChangeLog) are under 0BSD unless stated otherwise in jpayne@68: the file itself. The files xz-file-format.txt and jpayne@68: lzma-file-format.xt are in the public domain but may jpayne@68: be distributed under the terms of 0BSD too. jpayne@68: jpayne@68: - Translated messages and man pages are under 0BSD except that jpayne@68: some old translations are in the public domain. jpayne@68: jpayne@68: - Test files and test code in the 'tests' directory, and jpayne@68: debugging utilities in the 'debug' directory are under jpayne@68: the BSD Zero Clause License (0BSD). jpayne@68: jpayne@68: - The GNU Autotools based build system contains files that are jpayne@68: under GNU GPLv2+, GNU GPLv3+, and a few permissive licenses. jpayne@68: These files don't affect the licensing of the binaries being jpayne@68: built. jpayne@68: jpayne@68: - The 'extra' directory contains files that are under various jpayne@68: free software licenses. These aren't built or installed as jpayne@68: part of XZ Utils. jpayne@68: jpayne@68: For the files under the BSD Zero Clause License (0BSD), if jpayne@68: a copyright notice is needed, the following is sufficient: jpayne@68: jpayne@68: Copyright (C) The XZ Utils authors and contributors jpayne@68: jpayne@68: If you copy significant amounts of 0BSD-licensed code from XZ Utils jpayne@68: into your project, acknowledging this somewhere in your software is jpayne@68: polite (especially if it is proprietary, non-free software), but jpayne@68: it is not legally required by the license terms. Here is an example jpayne@68: of a good notice to put into "about box" or into documentation: jpayne@68: jpayne@68: This software includes code from XZ Utils . jpayne@68: jpayne@68: The following license texts are included in the following files: jpayne@68: - COPYING.0BSD: BSD Zero Clause License jpayne@68: - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1 jpayne@68: - COPYING.GPLv2: GNU General Public License version 2 jpayne@68: - COPYING.GPLv3: GNU General Public License version 3 jpayne@68: jpayne@68: A note about old XZ Utils releases: jpayne@68: jpayne@68: XZ Utils releases 5.4.6 and older and 5.5.1alpha have a jpayne@68: significant amount of code put into the public domain and jpayne@68: that obviously remains so. The switch from public domain to jpayne@68: 0BSD for newer releases was made in Febrary 2024 because jpayne@68: public domain has (real or perceived) legal ambiguities in jpayne@68: some jurisdictions. jpayne@68: jpayne@68: There is very little *practical* difference between public jpayne@68: domain and 0BSD. The main difference likely is that one jpayne@68: shouldn't claim that 0BSD-licensed code is in the public jpayne@68: domain; 0BSD-licensed code is copyrighted but available under jpayne@68: an extremely permissive license. Neither 0BSD nor public domain jpayne@68: require retaining or reproducing author, copyright holder, or jpayne@68: license notices when distributing the software. (Compare to, jpayne@68: for example, BSD 2-Clause "Simplified" License which does have jpayne@68: such requirements.) jpayne@68: jpayne@68: If you have questions, don't hesitate to ask for more information. jpayne@68: The contact information is in the README file. jpayne@68: