Skip to content

Commit 6944487

Browse files
committed
Add new license tests
Signed-off-by: Philippe Ombredanne <pombredanne@nexb.com>
1 parent 1d7cda6 commit 6944487

12 files changed

+423
-0
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
7-Zip source code
2+
~~~~~~~~~~~~~~~~~
3+
License for use and distribution
4+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
5+
6+
7-Zip Copyright (C) 1999-2019 Igor Pavlov.
7+
8+
The licenses for files are:
9+
10+
1) CPP/7zip/Compress/Rar* files: the "GNU LGPL" with "unRAR license restriction"
11+
2) CPP/7zip/Compress/LzfseDecoder.cpp: the "BSD 3-clause License"
12+
3) Some files are "public domain" files, if "public domain" status is stated in source file.
13+
4) the "GNU LGPL" for all other files. If there is no license information in
14+
some source file, that file is under the "GNU LGPL".
15+
16+
The "GNU LGPL" with "unRAR license restriction" means that you must follow both
17+
"GNU LGPL" rules and "unRAR license restriction" rules.
18+
19+
20+
21+
22+
GNU LGPL information
23+
--------------------
24+
25+
This library is free software; you can redistribute it and/or
26+
modify it under the terms of the GNU Lesser General Public
27+
License as published by the Free Software Foundation; either
28+
version 2.1 of the License, or (at your option) any later version.
29+
30+
This library is distributed in the hope that it will be useful,
31+
but WITHOUT ANY WARRANTY; without even the implied warranty of
32+
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
33+
Lesser General Public License for more details.
34+
35+
You should have received a copy of the GNU Lesser General Public
36+
License along with this library; if not, write to the Free Software
37+
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
38+
39+
40+
41+
42+
BSD 3-clause License
43+
--------------------
44+
45+
The "BSD 3-clause License" is used for the code in LzfseDecoder.cpp 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":
48+
49+
----
50+
Copyright (c) 2015-2016, Apple Inc. All rights reserved.
51+
52+
Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
53+
54+
1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
55+
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.
58+
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.
61+
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+
----
69+
70+
71+
72+
73+
unRAR license restriction
74+
-------------------------
75+
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.
79+
80+
The license for original unRAR code has the following restriction:
81+
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.
87+
88+
89+
--
90+
Igor Pavlov
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
license_expressions:
2+
- lgpl-2.1-plus AND unrar AND bsd-new AND public-domain
3+
- lgpl-2.1-plus
4+
- bsd-new
5+
- bsd-new
6+
- bsd-new
7+
- unrar
Lines changed: 180 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,180 @@
1+
7-Zip 19.00 Sources
2+
-------------------
3+
4+
7-Zip is a file archiver for Windows.
5+
6+
7-Zip Copyright (C) 1999-2019 Igor Pavlov.
7+
8+
9+
License Info
10+
------------
11+
12+
7-Zip is free software distributed under the GNU LGPL
13+
(except for unRar code).
14+
read License.txt for more infomation about license.
15+
16+
Notes about unRAR license:
17+
18+
Please check main restriction from unRar license:
19+
20+
2. The unRAR sources may be used in any software to handle RAR
21+
archives without limitations free of charge, but cannot be used
22+
to re-create the RAR compression algorithm, which is proprietary.
23+
Distribution of modified unRAR sources in separate form or as a
24+
part of other software is permitted, provided that it is clearly
25+
stated in the documentation and source comments that the code may
26+
not be used to develop a RAR (WinRAR) compatible archiver.
27+
28+
In brief it means:
29+
1) You can compile and use compiled files under GNU LGPL rules, since
30+
unRAR license almost has no restrictions for compiled files.
31+
You can link these compiled files to LGPL programs.
32+
2) You can fix bugs in source code and use compiled fixed version.
33+
3) You can not use unRAR sources to re-create the RAR compression algorithm.
34+
35+
36+
LZMA SDK
37+
--------
38+
39+
This package also contains some files from LZMA SDK
40+
You can download LZMA SDK from:
41+
http://www.7-zip.org/sdk.html
42+
LZMA SDK is written and placed in the public domain by Igor Pavlov.
43+
44+
45+
How to compile
46+
--------------
47+
48+
To compile the sources to Windows binaries you need Visual Studio compiler and/or Windows SDK.
49+
You can use latest Windows Studio 2017 to compile binaries for x86, x64 and arm64 platforms.
50+
Also you can use old compilers for some platforms:
51+
x86 : Visual C++ 6.0 with Platform SDK
52+
x64 : Windows Server 2003 R2 Platform SDK
53+
arm64 : Windows Studio 2017
54+
arm : Windows Studio 2017
55+
ia64 (itanium) : Windows Server 2003 R2 Platform SDK
56+
arm for Windows CE : Standard SDK for Windows CE 5.0
57+
58+
If you use MSVC6, specify also Platform SDK directories at top of directories lists:
59+
Tools / Options / Directories
60+
- Include files
61+
- Library files
62+
63+
Also you need Microsoft Macro Assembler:
64+
- ml.exe for x86
65+
- ml64.exe for x64
66+
You can use ml.exe from Windows SDK for Windows Vista or some later versions.
67+
68+
There are two ways to compile 7-Zip binaries:
69+
1) via makefile in command line.
70+
2) via dsp file in Visual Studio.
71+
72+
The dsp file compiling can be used for development and debug purposes.
73+
The final 7-Zip binaries are compiled via makefiles, that provide best
74+
optimization options.
75+
76+
How to compile with makefile
77+
----------------------------
78+
79+
Some macronames can be defined for compiling with makefile:
80+
81+
PLATFORM
82+
with possible values: x64, x86, arm64, arm, ia64
83+
84+
OLD_COMPILER
85+
for old VC compiler, like MSCV 6.0.
86+
87+
MY_DYNAMIC_LINK
88+
for dynamic linking to the run-time library (msvcrt.dll).
89+
The default makefile option is static linking to the run-time library.
90+
91+
92+
93+
Compiling under Unix/Linux
94+
--------------------------
95+
Check this site for Posix/Linux version:
96+
http://sourceforge.net/projects/p7zip/
97+
98+
99+
Notes:
100+
------
101+
7-Zip consists of COM modules (DLL files).
102+
But 7-Zip doesn't use standard COM interfaces for creating objects.
103+
Look at
104+
7zip\UI\Client7z folder for example of using DLL files of 7-Zip.
105+
Some DLL files can use other DLL files from 7-Zip.
106+
If you don't like it, you must use standalone version of DLL.
107+
To compile standalone version of DLL you must include all used parts
108+
to project and define some defs.
109+
For example, 7zip\Bundles\Format7z is a standalone version of 7z.dll
110+
that works with 7z format. So you can use such DLL in your project
111+
without additional DLL files.
112+
113+
114+
Description of 7-Zip sources package
115+
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
116+
117+
DOC Documentation
118+
---
119+
7zFormat.txt - 7z format description
120+
copying.txt - GNU LGPL license
121+
unRarLicense.txt - License for unRAR part of source code
122+
src-history.txt - Sources history
123+
Methods.txt - Compression method IDs
124+
readme.txt - Readme file
125+
lzma.txt - LZMA compression description
126+
7zip.nsi - installer script for NSIS
127+
7zip.wix - installer script for WIX
128+
129+
130+
Asm - Source code in Assembler (optimized code for CRC calculation and Intel-AES encryption)
131+
132+
C - Source code in C
133+
134+
CPP - Source code in C++
135+
136+
Common common files for C++ projects
137+
138+
Windows common files for Windows related code
139+
140+
7zip
141+
142+
Common Common modules for 7-zip
143+
144+
Archive files related to archiving
145+
146+
Bundle Modules that are bundles of other modules (files)
147+
148+
Alone 7za.exe: Standalone version of 7-Zip console that supports only 7z/xz/cab/zip/gzip/bzip2/tar.
149+
Alone7z 7zr.exe: Standalone version of 7-Zip console that supports only 7z (reduced version)
150+
Fm Standalone version of 7-Zip File Manager
151+
Format7z 7za.dll: .7z support
152+
Format7zExtract 7zxa.dll: .7z support, extracting only
153+
Format7zR 7zr.dll: .7z support, reduced version
154+
Format7zExtractR 7zxr.dll: .7z support, reduced version, extracting only
155+
Format7zF 7z.dll: all formats
156+
LzmaCon lzma.exe: LZMA compression/decompression
157+
SFXCon 7zCon.sfx: Console 7z SFX module
158+
SFXWin 7z.sfx: Windows 7z SFX module
159+
SFXSetup 7zS.sfx: Windows 7z SFX module for Installers
160+
161+
Compress files for compression/decompression
162+
163+
Crypto files for encryption / decompression
164+
165+
UI
166+
167+
Agent Intermediary modules for FAR plugin and Explorer plugin
168+
Client7z Test application for 7za.dll
169+
Common Common UI files
170+
Console 7z.exe : Console version
171+
Explorer 7-zip.dll: 7-Zip Shell extension
172+
Far plugin for Far Manager
173+
FileManager 7zFM.exe: 7-Zip File Manager
174+
GUI 7zG.exe: 7-Zip GUI version
175+
176+
177+
178+
---
179+
Igor Pavlov
180+
http://www.7-zip.org
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
license_expressions:
2+
- lgpl-2.1-plus AND unrar
3+
- public-domain
4+
- lgpl-2.1-plus AND unrar
Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
SOFTWARE ENGINEERING INSTITUTE | CARNEGIE MELLON UNIVERSITY 3
2+
Distribution Statement A: Approved for Public Release; Distribution Is Unlimited
3+
Contact Us
4+
Software Engineering Institute
5+
4500 Fifth Avenue, Pittsburgh, PA 15213-2612
6+
Phone: 412/268.5800 | 888.201.4479
7+
Web: www.sei.cmu.edu
8+
Email: info@sei.cmu.edu
9+
Copyright 2018 Carnegie Mellon University. All Rights Reserved.
10+
This material is based upon work funded and supported by the Department of Defense under Contract No.
11+
FA8702-15-D-0002 with Carnegie Mellon University for the operation of the Software Engineering Institute, a feder-
12+
ally funded research and development center.
13+
The view, opinions, and/or findings contained in this material are those of the author(s) and should not be con-
14+
strued as an official Government position, policy, or decision, unless designated by other documentation.
15+
NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE
16+
MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO
17+
WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT
18+
NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY, OR
19+
RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE
20+
ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR
21+
COPYRIGHT INFRINGEMENT.
22+
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution.
23+
Please see Copyright notice for non-US Government use and distribution.
24+
Internal use:* Permission to reproduce this material and to prepare derivative works from this material for internal
25+
use is granted, provided the copyright and “No Warranty” statements are included with all reproductions and deriv-
26+
ative works.
27+
External use:* This material may be reproduced in its entirety, without modification, and freely distributed in written
28+
or electronic form without requesting formal permission. Permission is required for any other external and/or com-
29+
mercial use. Requests for permission should be directed to the Software Engineering Institute at permis-
30+
sion@sei.cmu.edu.
31+
* These restrictions do not apply to U.S. government entities.
32+
Carnegie Mellon® is registered in the U.S. Patent and Trademark Office by Carnegie Mellon University.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
license_expressions:
2+
- proprietary-license
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
This material is based upon work funded and supported by the Department of Defense under Contract No.
2+
FA8702-15-D-0002 with Carnegie Mellon University for the operation of the Software Engineering Institute, a federally funded research and development center.
3+
The view, opinions, and/or findings contained in this material are those of the author(s) and should not be construed as an official Government position, policy, or decision, unless designated by other documentation.
4+
NO WARRANTY. THIS CARNEGIE MELLON UNIVERSITY AND SOFTWARE ENGINEERING INSTITUTE
5+
MATERIAL IS FURNISHED ON AN "AS-IS" BASIS. CARNEGIE MELLON UNIVERSITY MAKES NO
6+
WARRANTIES OF ANY KIND, EITHER EXPRESSED OR IMPLIED, AS TO ANY MATTER INCLUDING, BUT
7+
NOT LIMITED TO, WARRANTY OF FITNESS FOR PURPOSE OR MERCHANTABILITY, EXCLUSIVITY, OR
8+
RESULTS OBTAINED FROM USE OF THE MATERIAL. CARNEGIE MELLON UNIVERSITY DOES NOT MAKE
9+
ANY WARRANTY OF ANY KIND WITH RESPECT TO FREEDOM FROM PATENT, TRADEMARK, OR
10+
COPYRIGHT INFRINGEMENT.
11+
[DISTRIBUTION STATEMENT A] This material has been approved for public release and unlimited distribution.
12+
Please see Copyright notice for non-US Government use and distribution.
13+
Internal use:* Permission to reproduce this material and to prepare derivative works from this material for internal
14+
use is granted, provided the copyright and “No Warranty” statements are included with all reproductions and derivative works.
15+
External use:* This material may be reproduced in its entirety, without modification, and freely distributed in written
16+
or electronic form without requesting formal permission. Permission is required for any other external and/or com-
17+
mercial use. Requests for permission should be directed to the Software Engineering Institute at permission@sei.cmu.edu.
18+
* These restrictions do not apply to U.S. government entities.
19+
Carnegie Mellon® is registered in the U.S. Patent and Trademark Office by Carnegie Mellon University.
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
license_expressions:
2+
- proprietary-license
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
Redistribution and use in source and binary forms, with or without
2+
modification, are permitted provided that the following conditions are met:
3+
4+
* All redistributions of source code must retain the above copyright notice,
5+
the list of authors in the original source code, this list of conditions
6+
and the disclaimer listed in this license;
7+
8+
* All redistributions in binary form must reproduce the above copyright
9+
notice, this list of conditions and the disclaimer listed in this license
10+
in the documentation and/or other materials provided with the distribution;
11+
12+
* Any documentation included with all redistributions must include the
13+
following acknowledgement:
14+
15+
"This product includes software developed at the University of Notre Dame
16+
Alternatively, this acknowledgement may appear in the software itself, and
17+
wherever such third-party acknowledgments normally appear.
18+
19+
* The name Indiana University, the University of Notre Dame or "Caramel"
20+
shall not be used to endorse or promote products derived from this software
21+
without prior written permission from Indiana University. For written
22+
permission, please contact Indiana University Advanced Research &
23+
Technology Institute.
24+
25+
* Products derived from this software may not be called "Caramel", nor may
26+
Indiana University, the University of Notre Dame or "Caramel" appear in
27+
their name, without prior written permission of Indiana University Advanced
28+
Research & Technology Institute.
29+
30+
Indiana University provides no reassurances that the source code provided does
31+
not infringe the patent or any other intellectual property rights of any other
32+
entity. Indiana University disclaims any liability to any recipient for claims
33+
brought by any other entity based on infringement of intellectual property
34+
rights or otherwise.
35+
36+
LICENSEE UNDERSTANDS THAT SOFTWARE IS PROVIDED "AS IS" FOR WHICH NO WARRANTIES
37+
AS TO CAPABILITIES OR ACCURACY ARE MADE. INDIANA UNIVERSITY GIVES NO WARRANTIES
38+
AND MAKES NO REPRESENTATION THAT SOFTWARE IS FREE OF INFRINGEMENT OF THIRD
39+
PARTY PATENT, COPYRIGHT, OR OTHER PROPRIETARY RIGHTS. INDIANA UNIVERSITY MAKES
40+
NO WARRANTIES THAT SOFTWARE IS FREE FROM "BUGS", "VIRUSES", "TROJAN HORSES",
41+
"TRAP DOORS", "WORMS", OR OTHER HARMFUL CODE. LICENSEE ASSUMES THE ENTIRE RISK
42+
AS TO THE PERFORMANCE OF SOFTWARE AND/OR ASSOCIATED MATERIALS, AND TO THE
43+
PERFORMANCE AND VALIDITY OF INFORMATION GENERATED USING SOFTWARE.
44+
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
license_expressions:
2+
- indiana-extreme-1.2

0 commit comments

Comments
 (0)