COPYING 2.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  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.