source: trunk/COPYING.GPL

Last change on this file was 82eca33, checked in by Zooko O'Whielacronx <zooko@…>, at 2012-08-12T06:26:57Z

add licence options: MIT or SPL for the whole package

The choice of MIT is because Twisted Python uses it, and folks working on the
Twisted project have expressed interest in using pycryptopp:

http://twistedmatrix.com/trac/ticket/4633

The choice of SPL is because it is so darn simple.

Also a few minor tweaks to docs and setup.py: fix some URLs that had typos in
them, utf-8 decode the README before passing it to setup() and hence to the
Python Package Index, remove the Trove Classifier indicating that we support
Python 2.4 and Python 2.5. Reformat TGPPL from html to rst.

  • Property mode set to 100644
File size: 23.7 KB
Line 
1This work also comes with the added permission that you may combine it with a
2work licensed under the OpenSSL license (any version) and distribute the
3resulting combined work, as long as you follow the requirements of the
4licences of this work in regard to all of the resulting combined work
5aside from the work licensed under the OpenSSL license.
6
7This work also comes with the added permission that you may combine it with a
8work licensed under the Eclipse Public Licence (any version) and distribute
9the resulting combined work, as long as you follow the requirements of the
10licences of this work in regard to all of the resulting combined work
11aside from the work licensed under the Eclipse Public Licence.
12
13This work also comes with the added permission that you may combine it with a
14work licensed under the Q Public Licence (any version) and distribute the
15resulting combined work, as long as you follow the requirements of the
16licences of this work in regard to all of the resulting combined work
17aside from the work licensed under the Q Public Licence.
18
19This work also comes with the added permission that you may combine it with a
20work licensed under the Apache Licence (any version) and distribute the
21resulting combined work, as long as you follow the requirements of the
22licences of this work in regard to all of the resulting combined work
23aside from the work licensed under the Apache Licence.
24
25This work also comes with the added permission that you may combine it with a
26work licensed under the GNU Lesser General Public License (any version) and
27distribute the resulting combined work, as long as you follow the
28requirements of the licences of this work in regard to all of the
29resulting combined work aside from the work licensed under the GNU Lesser
30General Public License.
31
32This work also comes with the added permission that you may combine it with a
33work licensed under the Zope Public License (any version) and distribute the
34resulting combined work, as long as you follow the requirements of the
35licences of this work in regard to all of the resulting combined work
36aside from the work licensed under the Zope Public License.
37
38This work also comes with the added permission that you may combine it with a
39work licensed under the Python Software Foundation License (any version) and
40distribute the resulting combined work, as long as you follow the
41requirements of the licences of this work in regard to all of the
42resulting combined work aside from the work licensed under the Python
43Software Foundation License.
44
45This work also comes with the added permission that you may combine it with a
46work licensed under the Academic Free License (any version) and distribute
47the resulting combined work, as long as you follow the requirements of the
48licences of this work in regard to all of the resulting combined work
49aside from the work licensed under the Academic Free License.
50
51This work also comes with the added permission that you may combine it with a
52work licensed under the Apple Public Source License (any version) and
53distribute the resulting combined work, as long as you follow the
54requirements of the licences of this work in regard to all of the
55resulting combined work aside from the work licensed under the Apple Public
56Source License.
57
58This work also comes with the added permission that you may combine it with a
59work licensed under the BitTorrent Open Source License (any version) and
60distribute the resulting combined work, as long as you follow the
61requirements of the licences of this work in regard to all of the
62resulting combined work aside from the work licensed under the BitTorrent
63Open Source License.
64
65This work also comes with the added permission that you may combine it with a
66work licensed under the Lucent Public License (any version) and distribute
67the resulting combined work, as long as you follow the requirements of the
68licences of this work in regard to all of the resulting combined work
69aside from the work licensed under the Lucent Public License.
70
71This work also comes with the added permission that you may combine it with a
72work licensed under the Jabber Open Source License (any version) and
73distribute the resulting combined work, as long as you follow the
74requirements of the licences of this work in regard to all of the
75resulting combined work aside from the work licensed under the Jabber Open
76Source License.
77
78This work also comes with the added permission that you may combine it with a
79work licensed under the Common Development and Distribution License (any
80version) and distribute the resulting combined work, as long as you follow
81the requirements of the licences of this work in regard to all of the
82resulting combined work aside from the work licensed under the Common
83Development and Distribution License.
84
85This work also comes with the added permission that you may combine it with a
86work licensed under the Microsoft Public License (any version) and distribute
87the resulting combined work, as long as you follow the requirements of the
88licences of this work in regard to all of the resulting combined work
89aside from the work licensed under the Microsoft Public License.
90
91This work also comes with the added permission that you may combine it with a
92work licensed under the Microsoft Reciprocal License (any version) and
93distribute the resulting combined work, as long as you follow the
94requirements of the licences of this work in regard to all of the
95resulting combined work aside from the work licensed under the Microsoft
96Reciprocal License.
97
98This work also comes with the added permission that you may combine it with a
99work licensed under the Sun Industry Standards Source License (any version)
100and distribute the resulting combined work, as long as you follow the
101requirements of the licences of this work in regard to all of the
102resulting combined work aside from the work licensed under the Sun Industry
103Standards Source License.
104
105This work also comes with the added permission that you may combine it with a
106work licensed under the Open Software License (any version) and distribute
107the resulting combined work, as long as you follow the requirements of the
108licences of this work in regard to all of the resulting combined work
109aside from the work licensed under the Open Software License.
110
111
112
113                    GNU GENERAL PUBLIC LICENSE
114                       Version 2, June 1991
115
116 Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
117 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
118 Everyone is permitted to copy and distribute verbatim copies
119 of this license document, but changing it is not allowed.
120
121                            Preamble
122
123  The licenses for most software are designed to take away your
124freedom to share and change it.  By contrast, the GNU General Public
125License is intended to guarantee your freedom to share and change free
126software--to make sure the software is free for all its users.  This
127General Public License applies to most of the Free Software
128Foundation's software and to any other program whose authors commit to
129using it.  (Some other Free Software Foundation software is covered by
130the GNU Lesser General Public License instead.)  You can apply it to
131your programs, too.
132
133  When we speak of free software, we are referring to freedom, not
134price.  Our General Public Licenses are designed to make sure that you
135have the freedom to distribute copies of free software (and charge for
136this service if you wish), that you receive source code or can get it
137if you want it, that you can change the software or use pieces of it
138in new free programs; and that you know you can do these things.
139
140  To protect your rights, we need to make restrictions that forbid
141anyone to deny you these rights or to ask you to surrender the rights.
142These restrictions translate to certain responsibilities for you if you
143distribute copies of the software, or if you modify it.
144
145  For example, if you distribute copies of such a program, whether
146gratis or for a fee, you must give the recipients all the rights that
147you have.  You must make sure that they, too, receive or can get the
148source code.  And you must show them these terms so they know their
149rights.
150
151  We protect your rights with two steps: (1) copyright the software, and
152(2) offer you this license which gives you legal permission to copy,
153distribute and/or modify the software.
154
155  Also, for each author's protection and ours, we want to make certain
156that everyone understands that there is no warranty for this free
157software.  If the software is modified by someone else and passed on, we
158want its recipients to know that what they have is not the original, so
159that any problems introduced by others will not reflect on the original
160authors' reputations.
161
162  Finally, any free program is threatened constantly by software
163patents.  We wish to avoid the danger that redistributors of a free
164program will individually obtain patent licenses, in effect making the
165program proprietary.  To prevent this, we have made it clear that any
166patent must be licensed for everyone's free use or not licensed at all.
167
168  The precise terms and conditions for copying, distribution and
169modification follow.
170
171                    GNU GENERAL PUBLIC LICENSE
172   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
173
174  0. This License applies to any program or other work which contains
175a notice placed by the copyright holder saying it may be distributed
176under the terms of this General Public License.  The "Program", below,
177refers to any such program or work, and a "work based on the Program"
178means either the Program or any derivative work under copyright law:
179that is to say, a work containing the Program or a portion of it,
180either verbatim or with modifications and/or translated into another
181language.  (Hereinafter, translation is included without limitation in
182the term "modification".)  Each licensee is addressed as "you".
183
184Activities other than copying, distribution and modification are not
185covered by this License; they are outside its scope.  The act of
186running the Program is not restricted, and the output from the Program
187is covered only if its contents constitute a work based on the
188Program (independent of having been made by running the Program).
189Whether that is true depends on what the Program does.
190
191  1. You may copy and distribute verbatim copies of the Program's
192source code as you receive it, in any medium, provided that you
193conspicuously and appropriately publish on each copy an appropriate
194copyright notice and disclaimer of warranty; keep intact all the
195notices that refer to this License and to the absence of any warranty;
196and give any other recipients of the Program a copy of this License
197along with the Program.
198
199You may charge a fee for the physical act of transferring a copy, and
200you may at your option offer warranty protection in exchange for a fee.
201
202  2. You may modify your copy or copies of the Program or any portion
203of it, thus forming a work based on the Program, and copy and
204distribute such modifications or work under the terms of Section 1
205above, provided that you also meet all of these conditions:
206
207    a) You must cause the modified files to carry prominent notices
208    stating that you changed the files and the date of any change.
209
210    b) You must cause any work that you distribute or publish, that in
211    whole or in part contains or is derived from the Program or any
212    part thereof, to be licensed as a whole at no charge to all third
213    parties under the terms of this License.
214
215    c) If the modified program normally reads commands interactively
216    when run, you must cause it, when started running for such
217    interactive use in the most ordinary way, to print or display an
218    announcement including an appropriate copyright notice and a
219    notice that there is no warranty (or else, saying that you provide
220    a warranty) and that users may redistribute the program under
221    these conditions, and telling the user how to view a copy of this
222    License.  (Exception: if the Program itself is interactive but
223    does not normally print such an announcement, your work based on
224    the Program is not required to print an announcement.)
225
226These requirements apply to the modified work as a whole.  If
227identifiable sections of that work are not derived from the Program,
228and can be reasonably considered independent and separate works in
229themselves, then this License, and its terms, do not apply to those
230sections when you distribute them as separate works.  But when you
231distribute the same sections as part of a whole which is a work based
232on the Program, the distribution of the whole must be on the terms of
233this License, whose permissions for other licensees extend to the
234entire whole, and thus to each and every part regardless of who wrote it.
235
236Thus, it is not the intent of this section to claim rights or contest
237your rights to work written entirely by you; rather, the intent is to
238exercise the right to control the distribution of derivative or
239collective works based on the Program.
240
241In addition, mere aggregation of another work not based on the Program
242with the Program (or with a work based on the Program) on a volume of
243a storage or distribution medium does not bring the other work under
244the scope of this License.
245
246  3. You may copy and distribute the Program (or a work based on it,
247under Section 2) in object code or executable form under the terms of
248Sections 1 and 2 above provided that you also do one of the following:
249
250    a) Accompany it with the complete corresponding machine-readable
251    source code, which must be distributed under the terms of Sections
252    1 and 2 above on a medium customarily used for software interchange; or,
253
254    b) Accompany it with a written offer, valid for at least three
255    years, to give any third party, for a charge no more than your
256    cost of physically performing source distribution, a complete
257    machine-readable copy of the corresponding source code, to be
258    distributed under the terms of Sections 1 and 2 above on a medium
259    customarily used for software interchange; or,
260
261    c) Accompany it with the information you received as to the offer
262    to distribute corresponding source code.  (This alternative is
263    allowed only for noncommercial distribution and only if you
264    received the program in object code or executable form with such
265    an offer, in accord with Subsection b above.)
266
267The source code for a work means the preferred form of the work for
268making modifications to it.  For an executable work, complete source
269code means all the source code for all modules it contains, plus any
270associated interface definition files, plus the scripts used to
271control compilation and installation of the executable.  However, as a
272special exception, the source code distributed need not include
273anything that is normally distributed (in either source or binary
274form) with the major components (compiler, kernel, and so on) of the
275operating system on which the executable runs, unless that component
276itself accompanies the executable.
277
278If distribution of executable or object code is made by offering
279access to copy from a designated place, then offering equivalent
280access to copy the source code from the same place counts as
281distribution of the source code, even though third parties are not
282compelled to copy the source along with the object code.
283
284  4. You may not copy, modify, sublicense, or distribute the Program
285except as expressly provided under this License.  Any attempt
286otherwise to copy, modify, sublicense or distribute the Program is
287void, and will automatically terminate your rights under this License.
288However, parties who have received copies, or rights, from you under
289this License will not have their licenses terminated so long as such
290parties remain in full compliance.
291
292  5. You are not required to accept this License, since you have not
293signed it.  However, nothing else grants you permission to modify or
294distribute the Program or its derivative works.  These actions are
295prohibited by law if you do not accept this License.  Therefore, by
296modifying or distributing the Program (or any work based on the
297Program), you indicate your acceptance of this License to do so, and
298all its terms and conditions for copying, distributing or modifying
299the Program or works based on it.
300
301  6. Each time you redistribute the Program (or any work based on the
302Program), the recipient automatically receives a license from the
303original licensor to copy, distribute or modify the Program subject to
304these terms and conditions.  You may not impose any further
305restrictions on the recipients' exercise of the rights granted herein.
306You are not responsible for enforcing compliance by third parties to
307this License.
308
309  7. If, as a consequence of a court judgment or allegation of patent
310infringement or for any other reason (not limited to patent issues),
311conditions are imposed on you (whether by court order, agreement or
312otherwise) that contradict the conditions of this License, they do not
313excuse you from the conditions of this License.  If you cannot
314distribute so as to satisfy simultaneously your obligations under this
315License and any other pertinent obligations, then as a consequence you
316may not distribute the Program at all.  For example, if a patent
317license would not permit royalty-free redistribution of the Program by
318all those who receive copies directly or indirectly through you, then
319the only way you could satisfy both it and this License would be to
320refrain entirely from distribution of the Program.
321
322If any portion of this section is held invalid or unenforceable under
323any particular circumstance, the balance of the section is intended to
324apply and the section as a whole is intended to apply in other
325circumstances.
326
327It is not the purpose of this section to induce you to infringe any
328patents or other property right claims or to contest validity of any
329such claims; this section has the sole purpose of protecting the
330integrity of the free software distribution system, which is
331implemented by public license practices.  Many people have made
332generous contributions to the wide range of software distributed
333through that system in reliance on consistent application of that
334system; it is up to the author/donor to decide if he or she is willing
335to distribute software through any other system and a licensee cannot
336impose that choice.
337
338This section is intended to make thoroughly clear what is believed to
339be a consequence of the rest of this License.
340
341  8. If the distribution and/or use of the Program is restricted in
342certain countries either by patents or by copyrighted interfaces, the
343original copyright holder who places the Program under this License
344may add an explicit geographical distribution limitation excluding
345those countries, so that distribution is permitted only in or among
346countries not thus excluded.  In such case, this License incorporates
347the limitation as if written in the body of this License.
348
349  9. The Free Software Foundation may publish revised and/or new versions
350of the General Public License from time to time.  Such new versions will
351be similar in spirit to the present version, but may differ in detail to
352address new problems or concerns.
353
354Each version is given a distinguishing version number.  If the Program
355specifies a version number of this License which applies to it and "any
356later version", you have the option of following the terms and conditions
357either of that version or of any later version published by the Free
358Software Foundation.  If the Program does not specify a version number of
359this License, you may choose any version ever published by the Free Software
360Foundation.
361
362  10. If you wish to incorporate parts of the Program into other free
363programs whose distribution conditions are different, write to the author
364to ask for permission.  For software which is copyrighted by the Free
365Software Foundation, write to the Free Software Foundation; we sometimes
366make exceptions for this.  Our decision will be guided by the two goals
367of preserving the free status of all derivatives of our free software and
368of promoting the sharing and reuse of software generally.
369
370                            NO WARRANTY
371
372  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
373FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
374OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
375PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
376OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
377MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
378TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
379PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
380REPAIR OR CORRECTION.
381
382  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
383WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
384REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
385INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
386OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
387TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
388YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
389PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
390POSSIBILITY OF SUCH DAMAGES.
391
392                     END OF TERMS AND CONDITIONS
393
394            How to Apply These Terms to Your New Programs
395
396  If you develop a new program, and you want it to be of the greatest
397possible use to the public, the best way to achieve this is to make it
398free software which everyone can redistribute and change under these terms.
399
400  To do so, attach the following notices to the program.  It is safest
401to attach them to the start of each source file to most effectively
402convey the exclusion of warranty; and each file should have at least
403the "copyright" line and a pointer to where the full notice is found.
404
405    <one line to give the program's name and a brief idea of what it does.>
406    Copyright (C) <year>  <name of author>
407
408    This program is free software; you can redistribute it and/or modify
409    it under the terms of the GNU General Public License as published by
410    the Free Software Foundation; either version 2 of the License, or
411    (at your option) any later version.
412
413    This program is distributed in the hope that it will be useful,
414    but WITHOUT ANY WARRANTY; without even the implied warranty of
415    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
416    GNU General Public License for more details.
417
418    You should have received a copy of the GNU General Public License along
419    with this program; if not, write to the Free Software Foundation, Inc.,
420    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
421
422Also add information on how to contact you by electronic and paper mail.
423
424If the program is interactive, make it output a short notice like this
425when it starts in an interactive mode:
426
427    Gnomovision version 69, Copyright (C) year name of author
428    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
429    This is free software, and you are welcome to redistribute it
430    under certain conditions; type `show c' for details.
431
432The hypothetical commands `show w' and `show c' should show the appropriate
433parts of the General Public License.  Of course, the commands you use may
434be called something other than `show w' and `show c'; they could even be
435mouse-clicks or menu items--whatever suits your program.
436
437You should also get your employer (if you work as a programmer) or your
438school, if any, to sign a "copyright disclaimer" for the program, if
439necessary.  Here is a sample; alter the names:
440
441  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
442  `Gnomovision' (which makes passes at compilers) written by James Hacker.
443
444  <signature of Ty Coon>, 1 April 1989
445  Ty Coon, President of Vice
446
447This General Public License does not permit incorporating your program into
448proprietary programs.  If your program is a subroutine library, you may
449consider it more useful to permit linking proprietary applications with the
450library.  If this is what you want to do, use the GNU Lesser General
451Public License instead of this License.
Note: See TracBrowser for help on using the repository browser.