Another test to ensure we can't push to SourceForge.
[crawl.git] / crawl-ref / licence.txt
blob80e67feb0ec9553dcf2f8a6a84005c73e8b62987
1 ******************************************************************************
2 * IMPORTANT: Due to the on-going relicensing, we ask for all future          *
3 * contributions you submit to be dual licensed under the old Crawl license   *
4 * and the GNU General Public License version 2 or higher.                    *
5 *                                                                            *
6 * Note that if you prefer some other license, anything that is GPL           *
7 * compatible (ie, nearly all Free Software licenses) can satisfy the second  *
8 * requirement.  For the time being, though, you need to allow the old Crawl  *
9 * license as well as it doesn't allow mixing with code under any license     *
10 * other than itself.                                                         *
11 *                                                                            *
12 * Also, you are encouraged to put tile graphics into the Public Domain / CC0 *
13 * so they can be contributed back to the rltiles project.  This is merely    *
14 * a request, tiles contributions under the regular dual licensing are fine.  *
15 ******************************************************************************
17                         Crawl General Public Licence
19                                Linley Henzell
20                     (Copyright 1997-1999 Linley Henzell)
22      Yes, this is an almost exact copy of the Nethack Licence, but has
23      obviously been adapted for Crawl (under the 'terms for other
24      programs' portion of paragraph one). Crawl contains no code from
25      Nethack in any shape or form.
27                 Based on the NETHACK GENERAL PUBLIC LICENCE
28                        (Copyright 1989 M. Stephenson)
30                  Based on the BISON GENERAL PUBLIC LICENCE
31                     (Copyright 1988 Richard M. Stallman)
33      Everyone is permitted to copy and distribute verbatim copies of
34      this licence, but changing it is not allowed. You can also use this
35      wording to make the terms for other programs.
37      The licence agreements of most software companies keep you at the
38      mercy of those companies. By contrast, our general public licence
39      is intended to give everyone the right to share Crawl. To make sure
40      that you get the rights we want you to have, we need to make
41      restrictions that forbid anyone to deny you these rights or to ask
42      you to surrender the rights. Hence this licence agreement.
44      Specifically, we want to make sure that you have the right to give
45      away copies of Crawl, that you receive source code or else can get
46      it if you want it, that you can change Crawl or use pieces of it in
47      new free programs, and that you know you can do these things.
49      To make sure that everyone has such rights, we have to forbid you
50      to deprive anyone else of these rights. For example, if you
51      distribute copies of Crawl, you must give the recipients all the
52      rights that you have. You must make sure that they, too, receive or
53      can get the source code. And you must tell them their rights.
55      Also, for our own protection, we must make certain that everyone
56      finds out that there is no warranty for Crawl. If Crawl is modified
57      by someone else and passed on, we want its recipients to know that
58      what they have is not what we distributed.
60      Therefore I (Linley Henzell, the copyright holder of Crawl) make
61      the following terms which say what you must do to be allowed to
62      distribute or change Crawl.
64                               COPYING POLICIES
66     1. You may copy and distribute verbatim copies of Crawl source code
67        as you receive it, in any medium, provided that you keep intact
68        the notices on all files that refer to copyrights, to this Licence
69        Agreement, and to the absence of any warranty; and give any other
70        recipients of the Crawl program a copy of this Licence Agreement
71        along with the program.
72     2. You may modify your copy or copies of Crawl or any portion of it,
73        and copy and distribute such modifications under the terms of
74        Paragraph 1 above (including distributing this Licence Agreement),
75        provided that you also do the following:
76          a. cause the modified files to carry prominent notices stating
77             that you changed the files and the date of any change; and
78          b. cause the whole of any work that you distribute or publish,
79             that in whole or in part contains or is a derivative of Crawl
80             or any part thereof, to be licensed at no charge to all third
81             parties on terms identical to those contained in this Licence
82             Agreement (except that you may choose to grant more extensive
83             warranty protection to some or all third parties, at your
84             option)
85          c. You may charge a distribution fee for the physical act of
86             transferring a copy, and you may at your option offer
87             warranty protection in exchange for a fee.
88     3. You may copy and distribute Crawl (or a portion or derivative of
89        it, under Paragraph 2) in object code or executable form under the
90        terms of Paragraphs 1 and 2 above provided that you also do one of
91        the following:
92          a. accompany it with the complete machine-readable source code,
93             which must be distributed under the terms of Paragraphs 1 and
94             2 above; or,
95          b. accompany it with full information as to how to obtain the
96             complete machine-readable source code from an appropriate
97             archive site. (This alternative is allowed only for
98             noncommercial distribution.)
99        For these purposes, complete source code means either the full
100        source distribution as available from my web site or updated
101        copies of the files in this distribution used to create the object
102        code or executable.
103     4. You may not copy, sublicence, distribute or transfer Crawl except
104        as expressly provided under this Licence Agreement. Any attempt
105        otherwise to copy, sublicence, distribute or transfer Crawl is
106        void and your rights to use the program under this Licence
107        agreement shall be automatically terminated. However, parties who
108        have received computer software programs from you with this
109        Licence Agreement will not have their licences terminated so long
110        as such parties remain in full compliance.
112      Stated plainly: You are prohibited by the terms of this Licence
113      Agreement from using Crawl for gainful purposes. You are permitted
114      to modify Crawl, or otherwise use parts of Crawl, provided that you
115      comply with the conditions specified above; in particular, your
116      modified Crawl or program containing parts of Crawl must remain
117      freely available as provided in this Licence Agreement. In other
118      words, go ahead and share Crawl, but don't try to stop anyone else
119      from sharing it farther.