| 1 |
License |
| 2 |
|
| 3 |
The CLucene code is split into two sections for licensing reasons. The 'Core' |
| 4 |
is strictly dual licensed Apache 2 and LGPL. The CLucene Contributions code |
| 5 |
could not be licensed under Apache because of the subcomponents it uses. |
| 6 |
|
| 7 |
CLUCENE CORE: |
| 8 |
|
| 9 |
The CLucene Core Library uses a dual license strategy for the source code. |
| 10 |
These licenses are the GNU Lesser General Public License (LGPL) and the Apache |
| 11 |
License (Version 2.0). Users can choose the license they wish to distribute |
| 12 |
their software under. This means that you do not need to abide by *both* |
| 13 |
licenses, but rather than you can choose the license which most suits your |
| 14 |
needs. |
| 15 |
|
| 16 |
For details of these licenses see APACHE.license and LGPL.license in the root |
| 17 |
of the source distribution. |
| 18 |
|
| 19 |
Some components of CLucene Core use other licenses. See the CLUCENE CORE SUBCOMPONENTS |
| 20 |
section for details. We understand that these licenses are compatible with LGPL and/or |
| 21 |
Apache v2, but please consult with a lawyer to be certain of this. |
| 22 |
|
| 23 |
To rephrase the licensing and to make it perfectly clear: |
| 24 |
CLucene is distributed under the GNU Lesser General Public License (LGPL) |
| 25 |
*or* |
| 26 |
the Apache License, Version 2.0 |
| 27 |
|
| 28 |
However, we are an open source project, and we encourage users to participate fully |
| 29 |
in the free software community by contributing their code back to the project. |
| 30 |
Dual licensing of the CLucene source code provides open and free access to the |
| 31 |
technology both for the GPL community and for other developers or companies |
| 32 |
that cannot use the GPL license. |
| 33 |
|
| 34 |
You can freely modify, extend, and improve the CLucene source code. The only |
| 35 |
question is whether or not you must provide the source code and contribute |
| 36 |
modifications to the community. The GNU and Apache licenses allow different |
| 37 |
ranges of flexibility in this regard, but in the end, regardless of the license |
| 38 |
used, we highly recommend that you submit any bugs, incompatibilities or |
| 39 |
added features. |
| 40 |
|
| 41 |
Note that this same license does *not* apply to the CLucene Contributions |
| 42 |
package. You should read the COPYING file in that directory or package for |
| 43 |
more information. |
| 44 |
|
| 45 |
|
| 46 |
CLUCENE CORE SUBCOMPONENTS: |
| 47 |
|
| 48 |
CLucene includes a number of subcomponents with separate copyright |
| 49 |
notices and license terms. Your use of the source code for the |
| 50 |
these subcomponents is subject to the terms and conditions of the |
| 51 |
following licenses. |
| 52 |
|
| 53 |
For the src\CLucene\util\MD5Digester.cpp component: |
| 54 |
/* |
| 55 |
* This is work is derived from material Copyright RSA Data Security, Inc. |
| 56 |
* |
| 57 |
* The RSA copyright statement and Licence for that original material is |
| 58 |
* included below. This is followed by the Apache copyright statement and |
| 59 |
* licence for the modifications made to that material. |
| 60 |
*/ |
| 61 |
/* Copyright (C) 1991-2, RSA Data Security, Inc. Created 1991. All |
| 62 |
rights reserved. |
| 63 |
|
| 64 |
License to copy and use this software is granted provided that it |
| 65 |
is identified as the "RSA Data Security, Inc. MD5 Message-Digest |
| 66 |
Algorithm" in all material mentioning or referencing this software |
| 67 |
or this function. |
| 68 |
|
| 69 |
License is also granted to make and use derivative works provided |
| 70 |
that such works are identified as "derived from the RSA Data |
| 71 |
Security, Inc. MD5 Message-Digest Algorithm" in all material |
| 72 |
mentioning or referencing the derived work. |
| 73 |
|
| 74 |
RSA Data Security, Inc. makes no representations concerning either |
| 75 |
the merchantability of this software or the suitability of this |
| 76 |
software for any particular purpose. It is provided "as is" |
| 77 |
without express or implied warranty of any kind. |
| 78 |
|
| 79 |
These notices must be retained in any copies of any part of this |
| 80 |
documentation and/or software. |
| 81 |
*/ |
| 82 |
|
| 83 |
|
| 84 |
|
| 85 |
the cmake/MacroCheckGccVisibility.cmake and MacroEnsureVersion.cmake components: |
| 86 |
# |
| 87 |
# Copyright (c) 2006, Alexander Neundorf <[email protected]> |
| 88 |
# Copyright (c) 2006, Laurent Montel, <[email protected]> |
| 89 |
# |
| 90 |
# Redistribution and use is allowed according to the terms of the BSD license. |
| 91 |
# For details see the accompanying COPYING-CMAKE-SCRIPTS file. |
| 92 |
|
| 93 |
the src/core/util/Compress.cpp component: |
| 94 |
/* zlib.h -- interface of the 'zlib' general purpose compression library |
| 95 |
version 1.2.3, July 18th, 2005 |
| 96 |
|
| 97 |
Copyright (C) 1995-2005 Jean-loup Gailly and Mark Adler |
| 98 |
|
| 99 |
This software is provided 'as-is', without any express or implied |
| 100 |
warranty. In no event will the authors be held liable for any damages |
| 101 |
arising from the use of this software. |
| 102 |
|
| 103 |
Permission is granted to anyone to use this software for any purpose, |
| 104 |
including commercial applications, and to alter it and redistribute it |
| 105 |
freely, subject to the following restrictions: |
| 106 |
|
| 107 |
1. The origin of this software must not be misrepresented; you must not |
| 108 |
claim that you wrote the original software. If you use this software |
| 109 |
in a product, an acknowledgment in the product documentation would be |
| 110 |
appreciated but is not required. |
| 111 |
2. Altered source versions must be plainly marked as such, and must not be |
| 112 |
misrepresented as being the original software. |
| 113 |
3. This notice may not be removed or altered from any source distribution. |
| 114 |
|
| 115 |
Jean-loup Gailly [email protected] |
| 116 |
Mark Adler [email protected] |
| 117 |
|
| 118 |
*/ |
| 119 |
|
| 120 |
|
| 121 |
|
| 122 |
CLUCENE CONTRIBUTIONS CODE: |
| 123 |
|
| 124 |
PorterStemmer code: couldn't find license. This component is deprecated and will be removed very soon. |
| 125 |
|
| 126 |
Snowball code: needs to be researched. |