mirror of
https://github.com/upx/upx
synced 2025-10-05 19:20:23 +08:00
all: update LZMA SDK license information
The LZMA SDK was placed in the public domain as of version 4.62 (December 2008). https://www.7-zip.org/sdk.html And according to https://sourceforge.net/p/sevenzip/discussion/45797/thread/685169cf/ "Are older LZMA versions in the public domain?" "Yes, you can use old versions of LZMA SDK as public domain." -- Igor Pavlov, 2011-06-21
This commit is contained in:
parent
befd01aa96
commit
7b0a79dec5
|
@ -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
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user