1 (These are the licensing details for this directory, taken from lzma.txt in
2 the original source distribution. The basic gist is you can do what you want
3 with this code, including sell it in a closed-source app...changes to LZMA
4 itself must be released as source code, which in the case of PhysicsFS, you
5 can just point people to our source code repository unless you make further
6 changes yourself. --ryan.)
12 LZMA SDK Copyright (C) 1999-2006 Igor Pavlov
14 LZMA SDK provides the documentation, samples, header files, libraries,
15 and tools you need to develop applications that use LZMA compression.
17 LZMA is default and general compression method of 7z format
18 in 7-Zip compression program (www.7-zip.org). LZMA provides high
19 compression ratio and very fast decompression.
21 LZMA is an improved version of famous LZ77 compression algorithm.
22 It was improved in way of maximum increasing of compression ratio,
23 keeping high decompression speed and low memory requirements for
31 LZMA SDK is available under any of the following licenses:
33 1) GNU Lesser General Public License (GNU LGPL)
34 2) Common Public License (CPL)
35 3) Simplified license for unmodified code (read SPECIAL EXCEPTION)
36 4) Proprietary license
38 It means that you can select one of these four options and follow rules of that license.
41 1,2) GNU LGPL and CPL licenses are pretty similar and both these
42 licenses are classified as
43 - "Free software licenses" at http://www.gnu.org/
44 - "OSI-approved" at http://www.opensource.org/
49 Igor Pavlov, as the author of this code, expressly permits you
50 to statically or dynamically link your code (or bind by name)
51 to the files from LZMA SDK without subjecting your linked
52 code to the terms of the CPL or GNU LGPL.
53 Any modifications or additions to files from LZMA SDK, however,
54 are subject to the GNU LGPL or CPL terms.
56 SPECIAL EXCEPTION allows you to use LZMA SDK in applications with closed code,
57 while you keep LZMA SDK code unmodified.
60 SPECIAL EXCEPTION #2: Igor Pavlov, as the author of this code, expressly permits
61 you to use this code under the same terms and conditions contained in the License
62 Agreement you have for any previous version of LZMA SDK developed by Igor Pavlov.
64 SPECIAL EXCEPTION #2 allows owners of proprietary licenses to use latest version
65 of LZMA SDK as update for previous versions.
68 SPECIAL EXCEPTION #3: Igor Pavlov, as the author of this code, expressly permits
69 you to use code of the following files:
70 BranchTypes.h, LzmaTypes.h, LzmaTest.c, LzmaStateTest.c, LzmaAlone.cpp,
71 LzmaAlone.cs, LzmaAlone.java
72 as public domain code.
75 4) Proprietary license
77 LZMA SDK also can be available under a proprietary license which
80 1) Right to modify code without subjecting modified code to the
81 terms of the CPL or GNU LGPL
82 2) Technical support for code
84 To request such proprietary license or any additional consultations,
85 send email message from that page:
86 http://www.7-zip.org/support.html
89 You should have received a copy of the GNU Lesser General Public
90 License along with this library; if not, write to the Free Software
91 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
93 You should have received a copy of the Common Public License
94 along with this library.