|
1 | | - 7-Zip |
2 | | - ~~~~~ |
| 1 | + 7-Zip source code |
| 2 | + ~~~~~~~~~~~~~~~~~ |
3 | 3 | License for use and distribution |
4 | 4 | ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ |
5 | 5 |
|
6 | | - 7-Zip Copyright (C) 1999-2023 Igor Pavlov. |
| 6 | + 7-Zip Copyright (C) 1999-2024 Igor Pavlov. |
7 | 7 |
|
8 | 8 | The licenses for files are: |
9 | 9 |
|
10 | | - 1) 7z.dll: |
11 | | - - The "GNU LGPL" as main license for most of the code |
12 | | - - The "GNU LGPL" with "unRAR license restriction" for some code |
13 | | - - The "BSD 3-clause License" for some code |
14 | | - 2) All other files: the "GNU LGPL". |
| 10 | + - CPP/7zip/Compress/Rar* files: the "GNU LGPL" with "unRAR license restriction" |
| 11 | + - CPP/7zip/Compress/LzfseDecoder.cpp: the "BSD 3-clause License" |
| 12 | + - C/ZstdDec.c: the "BSD 3-clause License" |
| 13 | + - C/Xxh64.c: the "BSD 2-clause License" |
| 14 | + - Some files are "public domain" files, if "public domain" status is stated in source file. |
| 15 | + - the "GNU LGPL" for all other files. If there is no license information in |
| 16 | + some source file, that file is under the "GNU LGPL". |
15 | 17 |
|
16 | | - Redistributions in binary form must reproduce related license information from this file. |
| 18 | + The "GNU LGPL" with "unRAR license restriction" means that you must follow both |
| 19 | + "GNU LGPL" rules and "unRAR license restriction" rules. |
17 | 20 |
|
18 | | - Note: |
19 | | - You can use 7-Zip on any computer, including a computer in a commercial |
20 | | - organization. You don't need to register or pay for 7-Zip. |
21 | 21 |
|
22 | 22 |
|
23 | | - GNU LGPL information |
24 | | - -------------------- |
| 23 | + |
| 24 | +GNU LGPL information |
| 25 | +-------------------- |
25 | 26 |
|
26 | 27 | This library is free software; you can redistribute it and/or |
27 | 28 | modify it under the terms of the GNU Lesser General Public |
|
33 | 34 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU |
34 | 35 | Lesser General Public License for more details. |
35 | 36 |
|
36 | | - You can receive a copy of the GNU Lesser General Public License from |
| 37 | + You should have received a copy of the GNU Lesser General Public |
| 38 | + License along with this library; if not, |
| 39 | + you can get a copy of the GNU Lesser General Public License from |
37 | 40 | http://www.gnu.org/ |
38 | 41 |
|
39 | 42 |
|
40 | 43 |
|
41 | 44 |
|
42 | | - BSD 3-clause License |
43 | | - -------------------- |
| 45 | +BSD 3-clause License in 7-Zip code |
| 46 | +---------------------------------- |
| 47 | + |
| 48 | + The "BSD 3-clause License" is used for the following code in 7z.dll |
| 49 | + 1) LZFSE data decompression. |
| 50 | + CPP/7zip/Compress/LzfseDecoder.cpp. |
| 51 | + That code was derived from the code in the "LZFSE compression library" developed by Apple Inc, |
| 52 | + that also uses the "BSD 3-clause License". |
| 53 | + 2) ZSTD data decompression. |
| 54 | + C/ZstdDec.c |
| 55 | + that code was developed using original zstd decoder code as reference code. |
| 56 | + The original zstd decoder code was developed by Facebook Inc, |
| 57 | + that also uses the "BSD 3-clause License". |
| 58 | + |
| 59 | + Copyright (c) 2015-2016, Apple Inc. All rights reserved. |
| 60 | + Copyright (c) Facebook, Inc. All rights reserved. |
| 61 | + Copyright (c) 2023-2024 Igor Pavlov. |
| 62 | + |
| 63 | +Text of the "BSD 3-clause License" |
| 64 | +---------------------------------- |
| 65 | + |
| 66 | +Redistribution and use in source and binary forms, with or without modification, |
| 67 | +are permitted provided that the following conditions are met: |
| 68 | + |
| 69 | +1. Redistributions of source code must retain the above copyright notice, this |
| 70 | + list of conditions and the following disclaimer. |
| 71 | + |
| 72 | +2. Redistributions in binary form must reproduce the above copyright notice, |
| 73 | + this list of conditions and the following disclaimer in the documentation |
| 74 | + and/or other materials provided with the distribution. |
| 75 | + |
| 76 | +3. Neither the name of the copyright holder nor the names of its contributors may |
| 77 | + be used to endorse or promote products derived from this software without |
| 78 | + specific prior written permission. |
| 79 | + |
| 80 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 81 | +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 82 | +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 83 | +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| 84 | +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 85 | +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 86 | +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 87 | +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 88 | +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 89 | +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 90 | + |
| 91 | +--- |
| 92 | + |
| 93 | + |
| 94 | + |
| 95 | + |
| 96 | +BSD 2-clause License in 7-Zip code |
| 97 | +---------------------------------- |
| 98 | + |
| 99 | + The "BSD 2-clause License" is used for the XXH64 code in 7-Zip. |
| 100 | + C/Xxh64.c |
44 | 101 |
|
45 | | - The "BSD 3-clause License" is used for the code in 7z.dll that implements LZFSE data decompression. |
46 | | - That code was derived from the code in the "LZFSE compression library" developed by Apple Inc, |
47 | | - that also uses the "BSD 3-clause License": |
| 102 | + XXH64 code in 7-Zip was derived from the original XXH64 code developed by Yann Collet. |
48 | 103 |
|
49 | | - ---- |
50 | | - Copyright (c) 2015-2016, Apple Inc. All rights reserved. |
| 104 | + Copyright (c) 2012-2021 Yann Collet. |
| 105 | + Copyright (c) 2023-2024 Igor Pavlov. |
51 | 106 |
|
52 | | - Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: |
| 107 | +Text of the "BSD 2-clause License" |
| 108 | +---------------------------------- |
53 | 109 |
|
54 | | - 1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. |
| 110 | +Redistribution and use in source and binary forms, with or without modification, |
| 111 | +are permitted provided that the following conditions are met: |
55 | 112 |
|
56 | | - 2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer |
57 | | - in the documentation and/or other materials provided with the distribution. |
| 113 | +1. Redistributions of source code must retain the above copyright notice, this |
| 114 | + list of conditions and the following disclaimer. |
58 | 115 |
|
59 | | - 3. Neither the name of the copyright holder(s) nor the names of any contributors may be used to endorse or promote products derived |
60 | | - from this software without specific prior written permission. |
| 116 | +2. Redistributions in binary form must reproduce the above copyright notice, |
| 117 | + this list of conditions and the following disclaimer in the documentation |
| 118 | + and/or other materials provided with the distribution. |
61 | 119 |
|
62 | | - THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT |
63 | | - LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE |
64 | | - COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
65 | | - (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) |
66 | | - HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) |
67 | | - ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
68 | | - ---- |
| 120 | +THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND |
| 121 | +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED |
| 122 | +WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE |
| 123 | +DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR |
| 124 | +ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES |
| 125 | +(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; |
| 126 | +LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON |
| 127 | +ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT |
| 128 | +(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS |
| 129 | +SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
69 | 130 |
|
| 131 | +--- |
70 | 132 |
|
71 | 133 |
|
72 | 134 |
|
73 | | - unRAR license restriction |
74 | | - ------------------------- |
75 | 135 |
|
76 | | - The decompression engine for RAR archives was developed using source |
77 | | - code of unRAR program. |
78 | | - All copyrights to original unRAR code are owned by Alexander Roshal. |
| 136 | +unRAR license restriction |
| 137 | +------------------------- |
79 | 138 |
|
80 | | - The license for original unRAR code has the following restriction: |
| 139 | +The decompression engine for RAR archives was developed using source |
| 140 | +code of unRAR program. |
| 141 | +All copyrights to original unRAR code are owned by Alexander Roshal. |
81 | 142 |
|
82 | | - The unRAR sources cannot be used to re-create the RAR compression algorithm, |
83 | | - which is proprietary. Distribution of modified unRAR sources in separate form |
84 | | - or as a part of other software is permitted, provided that it is clearly |
85 | | - stated in the documentation and source comments that the code may |
86 | | - not be used to develop a RAR (WinRAR) compatible archiver. |
| 143 | +The license for original unRAR code has the following restriction: |
87 | 144 |
|
| 145 | + The unRAR sources cannot be used to re-create the RAR compression algorithm, |
| 146 | + which is proprietary. Distribution of modified unRAR sources in separate form |
| 147 | + or as a part of other software is permitted, provided that it is clearly |
| 148 | + stated in the documentation and source comments that the code may |
| 149 | + not be used to develop a RAR (WinRAR) compatible archiver. |
88 | 150 |
|
89 | | - -- |
90 | | - Igor Pavlov |
| 151 | +-- |
0 commit comments