diff --git a/src/compress/compress_lzma.cpp b/src/compress/compress_lzma.cpp index e4e047d1..06acd937 100644 --- a/src/compress/compress_lzma.cpp +++ b/src/compress/compress_lzma.cpp @@ -50,41 +50,15 @@ void lzma_compress_config_t::reset() noexcept { max_num_probs = 0; } -// INFO: the LZMA SDK is covered by a permissive license which allows -// using unmodified LZMA source code in UPX and the UPX stubs. -// See SPECIAL EXCEPTION below. +// INFO: LZMA SDK is placed in the public domain. // -// Quoting from lzma-4.43/lzma.txt: +// Anyone is free to copy, modify, publish, use, compile, sell, or +// distribute the original LZMA SDK code, either in source code form +// or as a compiled binary, for any purpose, commercial or non-commercial, +// and by any means. // -// LICENSE -// ------- -// -// LZMA SDK is available under any of the following licenses: -// -// 1) GNU Lesser General Public License (GNU LGPL) -// 2) Common Public License (CPL) -// 3) Simplified license for unmodified code (read SPECIAL EXCEPTION) -// 4) Proprietary license -// -// It means that you can select one of these four options and follow rules -// of that license. -// -// 1,2) GNU LGPL and CPL licenses are pretty similar and both these -// licenses are classified as -// - "Free software licenses" at http://www.gnu.org/ -// - "OSI-approved" at http://www.opensource.org/ -// -// 3) SPECIAL EXCEPTION -// -// Igor Pavlov, as the author of this code, expressly permits you -// to statically or dynamically link your code (or bind by name) -// to the files from LZMA SDK without subjecting your linked -// code to the terms of the CPL or GNU LGPL. -// Any modifications or additions to files from LZMA SDK, however, -// are subject to the GNU LGPL or CPL terms. -// -// SPECIAL EXCEPTION allows you to use LZMA SDK in applications with closed code, -// while you keep LZMA SDK code unmodified. +// https://www.7-zip.org/sdk.html +// https://sourceforge.net/p/sevenzip/discussion/45797/thread/685169cf/ /************************************************************************* // compress defaults diff --git a/src/help.cpp b/src/help.cpp index dbadd6ab..98e7998c 100644 --- a/src/help.cpp +++ b/src/help.cpp @@ -471,7 +471,7 @@ void show_version(bool one_line) { fprintf(f, "Copyright (C) 1995" "-2024 Jean-loup Gailly and Mark Adler\n"); #endif #if (WITH_LZMA) - // see vendor/lzma-sdk/lzma.txt + // see vendor/lzma-sdk fprintf(f, "Copyright (C) 1999" "-2006 Igor Pavlov\n"); #endif #if (WITH_ZSTD)