2021-12-07 05:55:45 +00:00
|
|
|
import textwrap
|
|
|
|
|
|
|
|
TERMS = textwrap.dedent("""\
|
|
|
|
Copyright Assignment Agreement
|
|
|
|
|
|
|
|
By checking the box below and submitting this form, you (``Assignor'')
|
|
|
|
enter into this Agreement between Assignor and
|
|
|
|
the Software Freedom Conservancy, Inc., a New York nonprofit corporation
|
|
|
|
located in Brooklyn, New York, which has received recognition of exemption
|
|
|
|
from federal income tax under Section 501(c)(3) of the Internal Revenue
|
|
|
|
Code and classification as a public charity (the ``Conservancy'').
|
|
|
|
|
|
|
|
For good and valuable consideration, receipt of which is hereby
|
|
|
|
acknowledged, Assignor hereby transfers to the Conservancy its entire
|
|
|
|
right, title, and interest (including all rights under copyright) in the
|
|
|
|
work identified by the repositories, email addresses, names, and time
|
|
|
|
periods listed above, including original code,
|
|
|
|
accompanying documentation and supporting files, changes and enhancements
|
|
|
|
to the code and accompanying files, subject to the conditions
|
|
|
|
below. The original code, files, changes and enhancements, and
|
|
|
|
modifications are herein called the ``Work''.
|
|
|
|
|
|
|
|
For the purposes of this contract, a work ``based on the Work'' means any
|
|
|
|
work that in whole or in part incorporates or is derived from all or part
|
|
|
|
of the Work. The Conservancy promises that the Work and any work ``based
|
|
|
|
on the Work'' distributed by the Conservancy or its assignees will be
|
|
|
|
distributed under one or more of the following licenses:
|
|
|
|
|
|
|
|
* the license as set forth in Exhibit A (the ``MIT License''),
|
|
|
|
|
|
|
|
* the GNU General Public License v2 or any later version (``GPL''),
|
|
|
|
as published by the Free Software Foundation, Inc.,
|
|
|
|
|
|
|
|
* the ``CC-By'' license as published by the Creative Commons, Inc.,
|
|
|
|
|
|
|
|
* the Creative Commons Attribution-ShareAlike 3.0 United States license
|
|
|
|
(``CC-By-SA''),
|
|
|
|
|
|
|
|
* any other license determined to be a free software license by the
|
|
|
|
Free Software Foundation (``FSF'') and approved as an open source
|
|
|
|
license by the Open Source Initiative (``OSI''),
|
|
|
|
|
|
|
|
* any other license determined to be a free culture compatible
|
|
|
|
license by the Creative Commons Corporation (``Creative
|
|
|
|
Commons'') and freedomdefined.org (``Freedom Defined'').
|
|
|
|
|
|
|
|
In the event that either FSF or OSI ceases to maintain a list of approved
|
|
|
|
licenses for a period of one year and, for a period of six months, fails
|
|
|
|
to respond to a written request from the Conservancy regarding evaluation
|
|
|
|
of a new license which is not currently listed on either approved lists
|
|
|
|
(is ``Dormant''), the work may be distributed under that new license,
|
|
|
|
provided that new license is approved as a free software or open source
|
|
|
|
license by one of FSF or OSI, and the Conservancy also independently
|
|
|
|
determines the new license will allow the software to be freely copied,
|
|
|
|
modified, and redistributed by all its users (is a ``Free License''). In
|
|
|
|
the event that both FSF and OSI are Dormant, the Work may be distributed
|
|
|
|
under a license the Conservancy independently determines is a Free
|
|
|
|
Software License.
|
|
|
|
|
|
|
|
In the event that either Creative Commons or Freedom Defined is Dormant,
|
|
|
|
the Work may be distributed under that new license, provided that new
|
|
|
|
license is approved as a free culture compatible license by one of the
|
|
|
|
Creative Commons or Freedom Defined, and the Conservancy also
|
|
|
|
independently determines the new license is a Free License. In the event
|
|
|
|
that both Creative Commons and Freedom Defined are Dormant, the Work may
|
|
|
|
be distributed under a license the Conservancy independently determines is
|
|
|
|
a Free Culture License.
|
|
|
|
|
|
|
|
The Conservancy promises that any program ``based on the Work'' offered to
|
|
|
|
the public by the Conservancy or its assignees shall be offered in a
|
|
|
|
machine-readable source format, in addition to any other forms of the
|
|
|
|
Conservancy's choosing. However, the Conservancy is free to choose at its
|
|
|
|
convenience the media of distribution for the machine-readable source
|
|
|
|
format.
|
|
|
|
|
|
|
|
The Conservancy hereby grants Assignor a royalty-free non-exclusive
|
|
|
|
license to use or sub-license the interests assigned hereunder for any
|
|
|
|
purpose. The Conservancy's rights shall otherwise continue unchanged.
|
|
|
|
|
|
|
|
Assignor hereby grants to the Conservancy and to recipients of software
|
|
|
|
distributed by the Conservancy a perpetual, worldwide, non-exclusive,
|
|
|
|
no-charge, royalty-free, irrevocable patent license to make, have made,
|
|
|
|
use, offer to sell, sell, import, and otherwise transfer the Work, where
|
|
|
|
such license applies only to those patent claims licensable by Assignor
|
|
|
|
that are necessarily infringed by the Work alone or by combination of
|
|
|
|
Assignor's contributions with the Work to which such contributions were
|
|
|
|
submitted.
|
|
|
|
|
|
|
|
Assignor hereby represents and warrants that it is the sole copyright
|
|
|
|
holder for the Work assigned hereunder and that it has the right and power
|
|
|
|
to enter into this contract. Assignor hereby indemnifies and holds
|
|
|
|
harmless the Conservancy, its officers, employees, and agents against any
|
|
|
|
and all claims, actions or damages (including reasonable attorney's fees)
|
|
|
|
asserted by or paid to any party on account of a breach or alleged breach
|
|
|
|
of the foregoing warranty. Assignor makes no other express or implied
|
|
|
|
warranty (including without limitation, in this disclaimer of warranty,
|
2021-12-10 00:33:37 +00:00
|
|
|
any warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
|
|
|
|
PURPOSE).
|
2021-12-07 05:55:45 +00:00
|
|
|
|
|
|
|
|
|
|
|
Exhibit A
|
|
|
|
The MIT License
|
|
|
|
|
|
|
|
Permission is hereby granted, free of charge, to any person obtaining a
|
|
|
|
copy of this software and associated documentation files (the
|
|
|
|
``Software''), to deal in the Software without restriction, including
|
|
|
|
without limitation the rights to use, copy, modify, merge, publish,
|
|
|
|
distribute, sublicense, and/or sell copies of the Software, and to permit
|
|
|
|
persons to whom the Software is furnished to do so, subject to the
|
|
|
|
following conditions:
|
|
|
|
|
|
|
|
The above copyright notice and this permission notice shall be included in
|
|
|
|
all copies or substantial portions of the Software.
|
|
|
|
|
2021-12-10 00:33:37 +00:00
|
|
|
THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
|
|
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
|
|
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
|
|
|
|
THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
|
|
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
|
|
|
|
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
|
|
|
DEALINGS IN THE SOFTWARE.""")
|