Upstream Source
===============
In General
----------
liblzma is in the public domain.
xz, xzdec, and lzmadec command line tools are in the public domain unless GNU
getopt_long had to be compiled and linked in from the lib directory. The
getopt_long code is under GNU LGPLv2.1+.
All the documentation in the doc directory and most of the XZ Utils specific
documentation files in other directories are in the public domain.
Translated messages are in the public domain.
You can do whatever you want with the files that have been put into the public
domain. If you find public domain legally problematic, take the previous
sentence as a license grant. If you still find the lack of copyright legally
problematic, you have too many lawyers.
As usual, this software is provided "as is", without any warranty.
If you copy significant amounts of public domain code from XZ Utils into your
project, acknowledging this somewhere in your software is polite (especially if
it is proprietary, non-free software), but naturally it is not legally required.
Here is an example of a good notice to put into "about box" or into
documentation:
This software includes code from XZ Utils .
lib/getopt.c, lib/getopt.in.h, lib/getopt1.c
--------------------------------------------
Copyright (C) 1987,88,1989-1994,95,1996-1999,2000,2001,2002,2003,2004,2005,2006,2007
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
On this system, a copy of the GNU Lesser General Public License may be found at
.
lib/getopt_int.h
----------------
Copyright (C) 1989-1994,1996-1999,2001,2003,2004
Free Software Foundation, Inc.
This file is part of the GNU C Library.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License along
with this program; if not, write to the Free Software Foundation,
Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
On this system, a copy of the GNU General Public License may be found at
.
src/scripts/xzgrep.in
---------------------
xzgrep -- a wrapper around a grep program that decompresses files as needed
Adapted from a version sent by Charles Levert
Copyright (C) 1998, 2001, 2002, 2006, 2007 Free Software Foundation
Copyright (C) 1993 Jean-loup Gailly
Modified for XZ Utils by Andrew Dudman and Lasse Collin.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
On this system, a copy of the GNU General Public License may be found at
.
src/scripts/xzdiff.in
---------------------
Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation
Copyright (C) 1993 Jean-loup Gailly
Modified for XZ Utils by Andrew Dudman and Lasse Collin.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
On this system, a copy of the GNU General Public License may be found at
.
src/scripts/xzmore.in
---------------------
Copyright (C) 2001, 2002, 2007 Free Software Foundation
Copyright (C) 1992, 1993 Jean-loup Gailly
Modified for XZ Utils by Andrew Dudman and Lasse Collin.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
On this system, a copy of the GNU General Public License may be found at
.
src/scripts/xzless.in
---------------------
Copyright (C) 1998, 2002, 2006, 2007 Free Software Foundation
The original version for gzip was written by Paul Eggert.
Modified for XZ Utils by Andrew Dudman and Lasse Collin.
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
On this system, a copy of the GNU General Public License may be found at
.
Distribution Packaging
======================
Copyright (C) 2013-2014 Patrick "P. J." McDermott
These files may be reproduced, distributed, modified, and otherwise dealt in
under the terms of the Expat License.
On this system, a copy of the Expat License may be found at
.