COPYING 2.7 KB

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