licenses: Add CDDL-1.1.
[gentoo.git] / licenses / Emacs
1                  GNU EMACS GENERAL PUBLIC LICENSE
2                     (Clarified 11 Feb 1988)
3
4  Copyright (C) 1985, 1987, 1988 Richard M. Stallman
5  Everyone is permitted to copy and distribute verbatim copies
6  of this license, but changing it is not allowed.  You can also
7  use this wording to make the terms for other programs.
8
9   The license agreements of most software companies keep you at the
10 mercy of those companies.  By contrast, our general public license is
11 intended to give everyone the right to share GNU Emacs.  To make
12 sure that you get the rights we want you to have, we need to make
13 restrictions that forbid anyone to deny you these rights or to ask you
14 to surrender the rights.  Hence this license agreement.
15
16   Specifically, we want to make sure that you have the right to give
17 away copies of Emacs, that you receive source code or else can get it
18 if you want it, that you can change Emacs or use pieces of it in new
19 free programs, and that you know you can do these things.
20
21   To make sure that everyone has such rights, we have to forbid you to
22 deprive anyone else of these rights.  For example, if you distribute
23 copies of Emacs, you must give the recipients all the rights that you
24 have.  You must make sure that they, too, receive or can get the
25 source code.  And you must tell them their rights.
26
27   Also, for our own protection, we must make certain that everyone
28 finds out that there is no warranty for GNU Emacs.  If Emacs is
29 modified by someone else and passed on, we want its recipients to know
30 that what they have is not what we distributed, so that any problems
31 introduced by others will not reflect on our reputation.
32
33   Therefore we (Richard Stallman and the Free Software Fundation,
34 Inc.) make the following terms which say what you must do to be
35 allowed to distribute or change GNU Emacs.
36
37                         COPYING POLICIES
38
39   1. You may copy and distribute verbatim copies of GNU Emacs source code
40 as you receive it, in any medium, provided that you conspicuously and
41 appropriately publish on each copy a valid copyright notice "Copyright
42 (C) 1988 Free Software Foundation, Inc." (or with whatever year is
43 appropriate); keep intact the notices on all files that refer to this
44 License Agreement and to the absence of any warranty; and give any
45 other recipients of the GNU Emacs program a copy of this License
46 Agreement along with the program.  You may charge a distribution fee
47 for the physical act of transferring a copy.
48
49   2. You may modify your copy or copies of GNU Emacs source code or
50 any portion of it, and copy and distribute such modifications under
51 the terms of Paragraph 1 above, provided that you also do the following:
52
53     a) cause the modified files to carry prominent notices stating
54     that you changed the files and the date of any change; and
55
56     b) cause the whole of any work that you distribute or publish,
57     that in whole or in part contains or is a derivative of GNU Emacs
58     or any part thereof, to be licensed at no charge to all third
59     parties on terms identical to those contained in this License
60     Agreement (except that you may choose to grant more extensive
61     warranty protection to some or all third parties, at your option).
62
63     c) if the modified program serves as a text editor, cause it when
64     started running in the simplest and usual way, to print an
65     announcement including a valid copyright notice "Copyright (C)
66     1988 Free Software Foundation, Inc." (or with the year that is
67     appropriate), saying that there is no warranty (or else, saying
68     that you provide a warranty) and that users may redistribute the
69     program under these conditions, and telling the user how to view a
70     copy of this License Agreement.
71
72     d) You may charge a distribution fee for the physical act of
73     transferring a copy, and you may at your option offer warranty
74     protection in exchange for a fee.
75
76 Mere aggregation of another unrelated program with this program (or its
77 derivative) on a volume of a storage or distribution medium does not bring
78 the other program under the scope of these terms.
79
80   3. You may copy and distribute GNU Emacs (or a portion or derivative of it,
81 under Paragraph 2) in object code or executable form under the terms of
82 Paragraphs 1 and 2 above provided that you also do one of the following:
83
84     a) accompany it with the complete corresponding machine-readable
85     source code, which must be distributed under the terms of
86     Paragraphs 1 and 2 above; or,
87
88     b) accompany it with a written offer, valid for at least three
89     years, to give any third party free (except for a nominal
90     shipping charge) a complete machine-readable copy of the
91     corresponding source code, to be distributed under the terms of
92     Paragraphs 1 and 2 above; or,
93
94     c) accompany it with the information you received as to where the
95     corresponding source code may be obtained.  (This alternative is
96     allowed only for noncommercial distribution and only if you
97     received the program in object code or executable form alone.)
98
99 For an executable file, complete source code means all the source code for
100 all modules it contains; but, as a special exception, it need not include
101 source code for modules which are standard libraries that accompany the
102 operating system on which the executable file runs.
103
104   4. You may not copy, sublicense, distribute or transfer GNU Emacs
105 except as expressly provided under this License Agreement.  Any attempt
106 otherwise to copy, sublicense, distribute or transfer GNU Emacs is void and
107 your rights to use GNU Emacs under this License agreement shall be
108 automatically terminated.  However, parties who have received computer
109 software programs from you with this License Agreement will not have
110 their licenses terminated so long as such parties remain in full compliance.
111
112   5. If you wish to incorporate parts of GNU Emacs into other free programs
113 whose distribution conditions are different, write to the Free Software
114 Foundation.  We have not yet worked out a simple rule that can be stated
115 here, but we will often permit this.  We will be guided by the two goals of
116 preserving the free status of all derivatives of our free software and of
117 promoting the sharing and reuse of software.
118
119 Your comments and suggestions about our licensing policies and our
120 software are welcome!  Please contact the Free Software Foundation, Inc.,
121 675 Mass Ave, Cambridge, MA 02139, or call (617) 876-3296.
122
123                            NO WARRANTY
124
125   BECAUSE GNU EMACS IS LICENSED FREE OF CHARGE, WE PROVIDE ABSOLUTELY
126 NO WARRANTY, TO THE EXTENT PERMITTED BY APPLICABLE STATE LAW.  EXCEPT
127 WHEN OTHERWISE STATED IN WRITING, FREE SOFTWARE FOUNDATION, INC,
128 RICHARD M. STALLMAN AND/OR OTHER PARTIES PROVIDE GNU EMACS "AS IS"
129 WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING,
130 BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
131 FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS TO THE QUALITY
132 AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE GNU EMACS
133 PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY
134 SERVICING, REPAIR OR CORRECTION.
135
136  IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW WILL FREE SOFTWARE
137 FOUNDATION, INC., RICHARD M. STALLMAN, AND/OR ANY OTHER PARTY WHO MAY
138 MODIFY AND REDISTRIBUTE GNU EMACS AS PERMITTED ABOVE, BE LIABLE TO YOU
139 FOR DAMAGES, INCLUDING ANY LOST PROFITS, LOST MONIES, OR OTHER
140 SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR
141 INABILITY TO USE (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA
142 BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY THIRD PARTIES OR A
143 FAILURE OF THE PROGRAM TO OPERATE WITH PROGRAMS NOT DISTRIBUTED BY
144 FREE SOFTWARE FOUNDATION, INC.) THE PROGRAM, EVEN IF YOU HAVE BEEN
145 ADVISED OF THE POSSIBILITY OF SUCH DAMAGES, OR FOR ANY CLAIM BY ANY
146 OTHER PARTY.