Browse code

NSIS legal stuff

git-svn: trunk@3056

Tomasz Kojm authored on 2007/05/21 19:11:39
Showing 10 changed files
1 1
new file mode 100644
... ...
@@ -0,0 +1,308 @@
0
+********************************************************************************
1
+   This document contains licence details for files in libclamav/nsis. It can
2
+   be accessed on-line at http://nsis.sourceforge.net/License
3
+********************************************************************************
4
+
5
+Copyright (C) 1995-2007 Contributors 
6
+
7
+More detailed copyright information can be found in the individual source code 
8
+files. 
9
+
10
+Applicable licenses 
11
+-------------------
12
+
13
+* All NSIS source code, plug-ins, documentation, examples, header files and 
14
+  graphics, with the exception of the compression modules and where otherwise 
15
+  noted, are licensed under the zlib/libpng license. 
16
+
17
+* The zlib compression module for NSIS is licensed under the zlib/libpng
18
+  license. 
19
+
20
+* The bzip2 compression module for NSIS is licensed under the bzip2 license. 
21
+
22
+* The lzma compression module for NSIS is licensed under the Common Public
23
+  License version 1.0. 
24
+
25
+zlib/libpng license 
26
+-------------------
27
+
28
+This software is provided 'as-is', without any express or implied warranty. In 
29
+no event will the authors be held liable for any damages arising from the use
30
+of this software. 
31
+
32
+Permission is granted to anyone to use this software for any purpose, including 
33
+commercial applications, and to alter it and redistribute it freely, subject to 
34
+the following restrictions: 
35
+
36
+  1. The origin of this software must not be misrepresented; you must not
37
+     claim that you wrote the original software. If you use this software in
38
+     a product, an acknowledgment in the product documentation would be
39
+     appreciated but is not required. 
40
+
41
+  2. Altered source versions must be plainly marked as such, and must not be
42
+     misrepresented as being the original software. 
43
+
44
+  3. This notice may not be removed or altered from any source distribution. 
45
+
46
+bzip2 license 
47
+-------------
48
+
49
+Redistribution and use in source and binary forms, with or without
50
+modification, are permitted provided that the following conditions are met: 
51
+
52
+  1. Redistributions of source code must retain the above copyright notice,
53
+     this list of conditions and the following disclaimer.
54
+
55
+  2. The origin of this software must not be misrepresented; you must not
56
+     claim that you wrote the original software. If you use this software in
57
+     a product, an acknowledgment in the product documentation would be
58
+     appreciated but is not required. 
59
+
60
+  3. Altered source versions must be plainly marked as such, and must not be
61
+     misrepresented as being the original software.
62
+
63
+  4. The name of the author may not be used to endorse or promote products
64
+     derived from this software without specific prior written permission. 
65
+
66
+THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS AND ANY EXPRESS OR IMPLIED 
67
+WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF 
68
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO
69
+EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, 
70
+EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT 
71
+OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 
72
+INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
73
+CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING
74
+IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY
75
+OF SUCH DAMAGE. 
76
+
77
+Julian Seward, Cambridge, UK. 
78
+
79
+jseward@acm.org 
80
+
81
+Common Public License version 1.0 
82
+---------------------------------
83
+
84
+THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC 
85
+LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM 
86
+CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT. 
87
+
88
+1. DEFINITIONS 
89
+
90
+"Contribution" means: 
91
+
92
+a) in the case of the initial Contributor, the initial code and documentation 
93
+   distributed under this Agreement, and b) in the case of each subsequent 
94
+   Contributor: 
95
+
96
+i) changes to the Program, and 
97
+
98
+ii) additions to the Program; 
99
+
100
+where such changes and/or additions to the Program originate from and are 
101
+distributed by that particular Contributor. A Contribution 'originates' from a 
102
+Contributor if it was added to the Program by such Contributor itself or anyone 
103
+acting on such Contributor's behalf. Contributions do not include additions to 
104
+the Program which: (i) are separate modules of software distributed in 
105
+conjunction with the Program under their own license agreement, and (ii) are
106
+not derivative works of the Program. 
107
+
108
+"Contributor" means any person or entity that distributes the Program. 
109
+
110
+"Licensed Patents " mean patent claims licensable by a Contributor which are 
111
+necessarily infringed by the use or sale of its Contribution alone or when 
112
+combined with the Program. 
113
+
114
+"Program" means the Contributions distributed in accordance with this Agreement.
115
+
116
+"Recipient" means anyone who receives the Program under this Agreement, 
117
+including all Contributors. 
118
+
119
+2. GRANT OF RIGHTS 
120
+
121
+a) Subject to the terms of this Agreement, each Contributor hereby grants 
122
+Recipient a non-exclusive, worldwide, royalty-free copyright license to 
123
+reproduce, prepare derivative works of, publicly display, publicly perform, 
124
+distribute and sublicense the Contribution of such Contributor, if any, and
125
+such derivative works, in source code and object code form. 
126
+
127
+b) Subject to the terms of this Agreement, each Contributor hereby grants 
128
+Recipient a non-exclusive, worldwide, royalty-free patent license under
129
+Licensed Patents to make, use, sell, offer to sell, import and otherwise
130
+transfer the Contribution of such Contributor, if any, in source code and
131
+object code form. This patent license shall apply to the combination of the
132
+Contribution and the Program if, at the time the Contribution is added by the
133
+Contributor, such addition of the Contribution causes such combination to be
134
+covered by the Licensed Patents. The patent license shall not apply to any
135
+other combinations which include the Contribution. No hardware per se is
136
+licensed hereunder.
137
+
138
+c) Recipient understands that although each Contributor grants the licenses to 
139
+its Contributions set forth herein, no assurances are provided by any 
140
+Contributor that the Program does not infringe the patent or other intellectual 
141
+property rights of any other entity. Each Contributor disclaims any liability
142
+to Recipient for claims brought by any other entity based on infringement of 
143
+intellectual property rights or otherwise. As a condition to exercising the 
144
+rights and licenses granted hereunder, each Recipient hereby assumes sole 
145
+responsibility to secure any other intellectual property rights needed, if any. 
146
+For example, if a third party patent license is required to allow Recipient to 
147
+distribute the Program, it is Recipient's responsibility to acquire that
148
+license before distributing the Program. 
149
+
150
+d) Each Contributor represents that to its knowledge it has sufficient
151
+copyright rights in its Contribution, if any, to grant the copyright license
152
+set forth in this Agreement. 
153
+
154
+3. REQUIREMENTS 
155
+
156
+A Contributor may choose to distribute the Program in object code form under
157
+its own license agreement, provided that: 
158
+
159
+a) it complies with the terms and conditions of this Agreement; and 
160
+
161
+b) its license agreement: 
162
+
163
+i) effectively disclaims on behalf of all Contributors all warranties and 
164
+conditions, express and implied, including warranties or conditions of title
165
+and non-infringement, and implied warranties or conditions of merchantability
166
+and fitness for a particular purpose; 
167
+
168
+ii) effectively excludes on behalf of all Contributors all liability for
169
+damages, including direct, indirect, special, incidental and consequential
170
+damages, such as lost profits; 
171
+
172
+iii) states that any provisions which differ from this Agreement are offered by 
173
+that Contributor alone and not by any other party; and 
174
+
175
+iv) states that source code for the Program is available from such Contributor, 
176
+and informs licensees how to obtain it in a reasonable manner on or through a 
177
+medium customarily used for software exchange. 
178
+
179
+When the Program is made available in source code form: 
180
+
181
+a) it must be made available under this Agreement; and 
182
+
183
+b) a copy of this Agreement must be included with each copy of the Program. 
184
+
185
+Contributors may not remove or alter any copyright notices contained within the 
186
+Program. 
187
+
188
+Each Contributor must identify itself as the originator of its Contribution, if 
189
+any, in a manner that reasonably allows subsequent Recipients to identify the 
190
+originator of the Contribution. 
191
+
192
+4. COMMERCIAL DISTRIBUTION 
193
+
194
+Commercial distributors of software may accept certain responsibilities with 
195
+respect to end users, business partners and the like. While this license is 
196
+intended to facilitate the commercial use of the Program, the Contributor who 
197
+includes the Program in a commercial product offering should do so in a manner 
198
+which does not create potential liability for other Contributors. Therefore, if 
199
+a Contributor includes the Program in a commercial product offering, such 
200
+Contributor ("Commercial Contributor") hereby agrees to defend and indemnify 
201
+every other Contributor ("Indemnified Contributor") against any losses, damages 
202
+and costs (collectively "Losses") arising from claims, lawsuits and other legal 
203
+actions brought by a third party against the Indemnified Contributor to the 
204
+extent caused by the acts or omissions of such Commercial Contributor in 
205
+connection with its distribution of the Program in a commercial product
206
+offering. The obligations in this section do not apply to any claims or Losses
207
+relating to any actual or alleged intellectual property infringement. In order
208
+to qualify, an Indemnified Contributor must: a) promptly notify the Commercial
209
+Contributor in writing of such claim, and b) allow the Commercial Contributor
210
+to control, and cooperate with the Commercial Contributor in, the defense and
211
+any related settlement negotiations. The Indemnified Contributor may
212
+participate in any such claim at its own expense. 
213
+
214
+For example, a Contributor might include the Program in a commercial product 
215
+offering, Product X. That Contributor is then a Commercial Contributor. If that 
216
+Commercial Contributor then makes performance claims, or offers warranties 
217
+related to Product X, those performance claims and warranties are such 
218
+Commercial Contributor's responsibility alone. Under this section, the 
219
+Commercial Contributor would have to defend claims against the other 
220
+Contributors related to those performance claims and warranties, and if a court 
221
+requires any other Contributor to pay any damages as a result, the Commercial 
222
+Contributor must pay those damages. 
223
+
224
+5. NO WARRANTY 
225
+
226
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON
227
+AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS
228
+OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF
229
+TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.
230
+Each Recipient is solely responsible for determining the appropriateness of
231
+using and distributing the Program and assumes all risks associated with its
232
+exercise of rights under this Agreement, including but not limited to the risks
233
+and costs of program errors, compliance with applicable laws, damage to or loss
234
+of data, programs or equipment, and unavailability or interruption of
235
+operations. 
236
+
237
+6. DISCLAIMER OF LIABILITY 
238
+
239
+EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY 
240
+CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, 
241
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST 
242
+PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, 
243
+STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
244
+WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS
245
+GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. 
246
+
247
+7. GENERAL 
248
+
249
+If any provision of this Agreement is invalid or unenforceable under applicable 
250
+law, it shall not affect the validity or enforceability of the remainder of the 
251
+terms of this Agreement, and without further action by the parties hereto, such 
252
+provision shall be reformed to the minimum extent necessary to make such 
253
+provision valid and enforceable. 
254
+
255
+If Recipient institutes patent litigation against a Contributor with respect to 
256
+a patent applicable to software (including a cross-claim or counterclaim in a 
257
+lawsuit), then any patent licenses granted by that Contributor to such
258
+Recipient under this Agreement shall terminate as of the date such litigation
259
+is filed. In addition, if Recipient institutes patent litigation against any
260
+entity (including a cross-claim or counterclaim in a lawsuit) alleging that the
261
+Program itself (excluding combinations of the Program with other software or
262
+hardware) infringes such Recipient's patent(s), then such Recipient's rights
263
+granted under Section 2(b) shall terminate as of the date such litigation is
264
+filed. 
265
+
266
+All Recipient's rights under this Agreement shall terminate if it fails to 
267
+comply with any of the material terms or conditions of this Agreement and does 
268
+not cure such failure in a reasonable period of time after becoming aware of 
269
+such noncompliance. If all Recipient's rights under this Agreement terminate, 
270
+Recipient agrees to cease use and distribution of the Program as soon as 
271
+reasonably practicable. However, Recipient's obligations under this Agreement 
272
+and any licenses granted by Recipient relating to the Program shall continue
273
+and survive. 
274
+
275
+Everyone is permitted to copy and distribute copies of this Agreement, but in 
276
+order to avoid inconsistency the Agreement is copyrighted and may only be 
277
+modified in the following manner. The Agreement Steward reserves the right to 
278
+publish new versions (including revisions) of this Agreement from time to time. 
279
+No one other than the Agreement Steward has the right to modify this Agreement. 
280
+IBM is the initial Agreement Steward. IBM may assign the responsibility to
281
+serve as the Agreement Steward to a suitable separate entity. Each new version
282
+of the Agreement will be given a distinguishing version number. The Program
283
+(including Contributions) may always be distributed subject to the version of
284
+the Agreement under which it was received. In addition, after a new version of
285
+the Agreement is published, Contributor may elect to distribute the Program
286
+(including its Contributions) under the new version. Except as expressly
287
+stated in Sections 2(a) and 2(b) above, Recipient receives no rights or
288
+licenses to the intellectual property of any Contributor under this Agreement,
289
+whether expressly, by implication, estoppel or otherwise. All rights in the
290
+Program not expressly granted under this Agreement are reserved. 
291
+
292
+This Agreement is governed by the laws of the State of New York and the 
293
+intellectual property laws of the United States of America. No party to this 
294
+Agreement will bring a legal action under this Agreement more than one year 
295
+after the cause of action arose. Each party waives its rights to a jury trial
296
+in any resulting litigation. 
297
+
298
+Special exception for LZMA compression module 
299
+---------------------------------------------
300
+
301
+Igor Pavlov and Amir Szekely, the authors of the LZMA compression module for 
302
+NSIS, expressly permit you to statically or dynamically link your code (or bind 
303
+by name) to the files from the LZMA compression module for NSIS without 
304
+subjecting your linked code to the terms of the Common Public license version
305
+1.0.  Any modifications or additions to files from the LZMA compression module
306
+for NSIS, however, are subject to the terms of the Common Public License
307
+version 1.0. 
... ...
@@ -1,3 +1,7 @@
1
+Mon May 21 11:33:07 CEST 2007 (tk)
2
+----------------------------------
3
+  * NSIS legal stuff
4
+
1 5
 Sun May 20 22:23:46 CEST 2007 (acab)
2 6
 ------------------------------------
3 7
   * libclamav: NSIS support
... ...
@@ -9,7 +9,7 @@
9 9
  * Licensed under the Common Public License version 1.0 (the "License");
10 10
  * you may not use this file except in compliance with the License.
11 11
  * 
12
- * Licence details can be found in the file COPYING.
12
+ * Licence details can be found in the file COPYING.nsis.
13 13
  * 
14 14
  * This software is provided 'as-is', without any express or implied
15 15
  * warranty.
... ...
@@ -9,7 +9,7 @@
9 9
  * Licensed under the Common Public License version 1.0 (the "License");
10 10
  * you may not use this file except in compliance with the License.
11 11
  * 
12
- * Licence details can be found in the file COPYING.
12
+ * Licence details can be found in the file COPYING.nsis.
13 13
  * 
14 14
  * This software is provided 'as-is', without any express or implied
15 15
  * warranty.
... ...
@@ -10,12 +10,10 @@
10 10
 
11 11
    bzip2/libbzip2 version 1.0.4 of 20 December 2006
12 12
    Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org>
13
-
14
-   Please read the WARNING, DISCLAIMER and PATENTS sections in the 
15
-   README file.
13
+   This file was modified for ClamAV by aCaB <acab@clamav.net>
16 14
 
17 15
    This program is released under the terms of the license contained
18
-   in the file LICENSE.
16
+   in the file COPYING.nsis.
19 17
    ------------------------------------------------------------------ */
20 18
 
21 19
 /* CHANGES
... ...
@@ -10,12 +10,10 @@
10 10
 
11 11
    bzip2/libbzip2 version 1.0.4 of 20 December 2006
12 12
    Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org>
13
-
14
-   Please read the WARNING, DISCLAIMER and PATENTS sections in the 
15
-   README file.
13
+   This file was modified for ClamAV by aCaB <acab@clamav.net>
16 14
 
17 15
    This program is released under the terms of the license contained
18
-   in the file LICENSE.
16
+   in the file COPYING.nsis.
19 17
    ------------------------------------------------------------------ */
20 18
 
21 19
 
... ...
@@ -1,3 +1,21 @@
1
+/*
2
+ * This file is a part of the zlib compression module for NSIS.
3
+ * 
4
+ * Copyright and license information can be found below.
5
+ * Modifications Copyright (C) 1999-2007 Nullsoft and Contributors
6
+ * 
7
+ * The original zlib source code is available at
8
+ * http://www.zlib.net/
9
+ * 
10
+ * This software is provided 'as-is', without any express or implied
11
+ * warranty.
12
+ */
13
+
14
+/*
15
+ * Copyright (C) 1995-1998 Jean-loup Gailly.
16
+ * For conditions of distribution and use, see copyright notice in COPYING.nsis
17
+ */
18
+
1 19
 #include "nsis_zutil.h"
2 20
 #include <string.h>
3 21
 
... ...
@@ -10,12 +10,10 @@
10 10
 
11 11
    bzip2/libbzip2 version 1.0.4 of 20 December 2006
12 12
    Copyright (C) 1996-2006 Julian Seward <jseward@bzip.org>
13
-
14
-   Please read the WARNING, DISCLAIMER and PATENTS sections in the 
15
-   README file.
13
+   This file was modified for ClamAV by aCaB <acab@clamav.net>
16 14
 
17 15
    This program is released under the terms of the license contained
18
-   in the file LICENSE.
16
+   in the file COPYING.nsis.
19 17
    ------------------------------------------------------------------ */
20 18
 
21 19
 
... ...
@@ -1,6 +1,6 @@
1 1
 /* zconf.h -- configuration of the zlib compression library
2 2
  * Copyright (C) 1995-1998 Jean-loup Gailly.
3
- * For conditions of distribution and use, see copyright notice in zlib.h 
3
+ * For conditions of distribution and use, see copyright notice in COPYING.nsis.
4 4
  */
5 5
 
6 6
 /* @(#) $Id: ZCONF.H,v 1.3 2007/01/13 17:28:23 kichik Exp $ */
... ...
@@ -13,7 +13,7 @@
13 13
 
14 14
 /* zutil.h -- internal interface and configuration of the compression library
15 15
  * Copyright (C) 1995-1998 Jean-loup Gailly.
16
- * For conditions of distribution and use, see copyright notice in zlib.h
16
+ * For conditions of distribution and use, see copyright notice in COPYING.nsis.
17 17
  */
18 18
 
19 19
 /* WARNING: this file should *not* be used by applications. It is