COPYING revision 207753
1250003Sadrian 2250003SadrianXZ Utils Licensing 3250003Sadrian================== 4250003Sadrian 5250003Sadrian Different licenses apply to different files in this package. Here 6250003Sadrian is a rough summary of which licenses apply to which parts of this 7250003Sadrian package (but check the individual files to be sure!): 8250003Sadrian 9250003Sadrian - liblzma is in the public domain. 10250003Sadrian 11250003Sadrian - xz, xzdec, and lzmadec command line tools are in the public 12250003Sadrian domain unless GNU getopt_long had to be compiled and linked 13250003Sadrian in from the lib directory. The getopt_long code is under 14250003Sadrian GNU LGPLv2.1+. 15250003Sadrian 16250003Sadrian - The scripts to grep, diff, and view compressed files have been 17250003Sadrian adapted from gzip. These scripts and their documentation are 18250003Sadrian under GNU GPLv2+. 19250003Sadrian 20250003Sadrian - All the documentation in the doc directory and most of the 21250003Sadrian XZ Utils specific documentation files in other directories 22250003Sadrian are in the public domain. 23250003Sadrian 24250003Sadrian - Translated messages are in the public domain. 25250003Sadrian 26250003Sadrian - The build system contains public domain files, and files that 27250003Sadrian are under GNU GPLv2+ or GNU GPLv3+. None of these files end up 28250003Sadrian in the binaries being built. 29250003Sadrian 30250003Sadrian - Test files and test code in the tests directory, and debugging 31250003Sadrian utilities in the debug directory are in the public domain. 32250003Sadrian 33250003Sadrian - The extra directory may contain public domain files, and files 34250003Sadrian that are under various free software licenses. 35250003Sadrian 36250003Sadrian You can do whatever you want with the files that have been put into 37250003Sadrian the public domain. If you find public domain legally problematic, 38250003Sadrian take the previous sentence as a license grant. If you still find 39250003Sadrian the lack of copyright legally problematic, you have too many 40250003Sadrian lawyers. 41250003Sadrian 42250003Sadrian As usual, this software is provided "as is", without any warranty. 43250003Sadrian 44250003Sadrian If you copy significant amounts of public domain code from XZ Utils 45250003Sadrian into your project, acknowledging this somewhere in your software is 46250003Sadrian polite (especially if it is proprietary, non-free software), but 47250003Sadrian naturally it is not legally required. Here is an example of a good 48250003Sadrian notice to put into "about box" or into documentation: 49250003Sadrian 50250003Sadrian This software includes code from XZ Utils <http://tukaani.org/xz/>. 51250003Sadrian 52250003Sadrian The following license texts are included in the following files: 53250003Sadrian - COPYING.LGPLv2.1: GNU Lesser General Public License version 2.1 54250003Sadrian - COPYING.GPLv2: GNU General Public License version 2 55250003Sadrian - COPYING.GPLv3: GNU General Public License version 3 56250003Sadrian 57250003Sadrian Note that the toolchain (compiler, linker etc.) may add some code 58250003Sadrian pieces that are copyrighted. Thus, it is possible that e.g. liblzma 59250003Sadrian binary wouldn't actually be in the public domain in its entirety 60250003Sadrian even though it contains no copyrighted code from the XZ Utils source 61250003Sadrian package. 62250003Sadrian 63250003Sadrian If you have questions, don't hesitate to ask the author(s) for more 64250003Sadrian information. 65250003Sadrian 66250003Sadrian