Andrew Geissler | 90fd73c | 2021-03-05 15:25:55 -0600 | [diff] [blame] | 1 | GNU GENERAL PUBLIC LICENSE |
| 2 | |
| 3 | Version 1, February 1989 |
| 4 | |
| 5 | Copyright (C) 1989 Free Software Foundation, Inc. 51 Franklin St, Fifth Floor, |
| 6 | Boston, MA 02110-1301 USA |
| 7 | |
| 8 | Everyone is permitted to copy and distribute verbatim copies of this license |
| 9 | document, but changing it is not allowed. |
| 10 | |
| 11 | Preamble |
| 12 | |
| 13 | The license agreements of most software companies try to keep users at the |
| 14 | mercy of those companies. By contrast, our General Public License is intended |
| 15 | to guarantee your freedom to share and change free software--to make sure |
| 16 | the software is free for all its users. The General Public License applies |
| 17 | to the Free Software Foundation's software and to any other program whose |
| 18 | authors commit to using it. You can use it for your programs, too. |
| 19 | |
| 20 | When we speak of free software, we are referring to freedom, not price. Specifically, |
| 21 | the General Public License is designed to make sure that you have the freedom |
| 22 | to give away or sell copies of free software, that you receive source code |
| 23 | or can get it if you want it, that you can change the software or use pieces |
| 24 | of it in new free programs; and that you know you can do these things. |
| 25 | |
| 26 | To protect your rights, we need to make restrictions that forbid anyone to |
| 27 | deny you these rights or to ask you to surrender the rights. These restrictions |
| 28 | translate to certain responsibilities for you if you distribute copies of |
| 29 | the software, or if you modify it. |
| 30 | |
| 31 | For example, if you distribute copies of a such a program, whether gratis |
| 32 | or for a fee, you must give the recipients all the rights that you have. You |
| 33 | must make sure that they, too, receive or can get the source code. And you |
| 34 | must tell them their rights. |
| 35 | |
| 36 | We protect your rights with two steps: (1) copyright the software, and (2) |
| 37 | offer you this license which gives you legal permission to copy, distribute |
| 38 | and/or modify the software. |
| 39 | |
| 40 | Also, for each author's protection and ours, we want to make certain that |
| 41 | everyone understands that there is no warranty for this free software. If |
| 42 | the software is modified by someone else and passed on, we want its recipients |
| 43 | to know that what they have is not the original, so that any problems introduced |
| 44 | by others will not reflect on the original authors' reputations. |
| 45 | |
| 46 | The precise terms and conditions for copying, distribution and modification |
| 47 | follow. |
| 48 | |
| 49 | GNU GENERAL PUBLIC LICENSE TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION |
| 50 | AND MODIFICATION |
| 51 | |
| 52 | 0. This License Agreement applies to any program or other work which contains |
| 53 | a notice placed by the copyright holder saying it may be distributed under |
| 54 | the terms of this General Public License. The "Program", below, refers to |
| 55 | any such program or work, and a "work based on the Program" means either the |
| 56 | Program or any work containing the Program or a portion of it, either verbatim |
| 57 | or with modifications. Each licensee is addressed as "you". |
| 58 | |
| 59 | 1. You may copy and distribute verbatim copies of the Program's source code |
| 60 | as you receive it, in any medium, provided that you conspicuously and appropriately |
| 61 | publish on each copy an appropriate copyright notice and disclaimer of warranty; |
| 62 | keep intact all the notices that refer to this General Public License and |
| 63 | to the absence of any warranty; and give any other recipients of the Program |
| 64 | a copy of this General Public License along with the Program. You may charge |
| 65 | a fee for the physical act of transferring a copy. |
| 66 | |
| 67 | 2. You may modify your copy or copies of the Program or any portion of it, |
| 68 | and copy and distribute such modifications under the terms of Paragraph 1 |
| 69 | above, provided that you also do the following: |
| 70 | |
| 71 | a) cause the modified files to carry prominent notices stating that you changed |
| 72 | the files and the date of any change; and |
| 73 | |
| 74 | b) cause the whole of any work that you distribute or publish, that in whole |
| 75 | or in part contains the Program or any part thereof, either with or without |
| 76 | modifications, to be licensed at no charge to all third parties under the |
| 77 | terms of this General Public License (except that you may choose to grant |
| 78 | warranty protection to some or all third parties, at your option). |
| 79 | |
| 80 | c) If the modified program normally reads commands interactively when run, |
| 81 | you must cause it, when started running for such interactive use in the simplest |
| 82 | and most usual way, to print or display an announcement including an appropriate |
| 83 | copyright notice and a notice that there is no warranty (or else, saying that |
| 84 | you provide a warranty) and that users may redistribute the program under |
| 85 | these conditions, and telling the user how to view a copy of this General |
| 86 | Public License. |
| 87 | |
| 88 | d) You may charge a fee for the physical act of transferring a copy, and you |
| 89 | may at your option offer warranty protection in exchange for a fee. |
| 90 | |
| 91 | Mere aggregation of another independent work with the Program (or its derivative) |
| 92 | on a volume of a storage or distribution medium does not bring the other work |
| 93 | under the scope of these terms. |
| 94 | |
| 95 | 3. You may copy and distribute the Program (or a portion or derivative of |
| 96 | it, under Paragraph 2) in object code or executable form under the terms of |
| 97 | Paragraphs 1 and 2 above provided that you also do one of the following: |
| 98 | |
| 99 | a) accompany it with the complete corresponding machine-readable source code, |
| 100 | which must be distributed under the terms of Paragraphs 1 and 2 above; or, |
| 101 | |
| 102 | b) accompany it with a written offer, valid for at least three years, to give |
| 103 | any third party free (except for a nominal charge for the cost of distribution) |
| 104 | a complete machine-readable copy of the corresponding source code, to be distributed |
| 105 | under the terms of Paragraphs 1 and 2 above; or, |
| 106 | |
| 107 | c) accompany it with the information you received as to where the corresponding |
| 108 | source code may be obtained. (This alternative is allowed only for noncommercial |
| 109 | distribution and only if you received the program in object code or executable |
| 110 | form alone.) |
| 111 | |
| 112 | Source code for a work means the preferred form of the work for making modifications |
| 113 | to it. For an executable file, complete source code means all the source code |
| 114 | for all modules it contains; but, as a special exception, it need not include |
| 115 | source code for modules which are standard libraries that accompany the operating |
| 116 | system on which the executable file runs, or for standard header files or |
| 117 | definitions files that accompany that operating system. |
| 118 | |
| 119 | 4. You may not copy, modify, sublicense, distribute or transfer the Program |
| 120 | except as expressly provided under this General Public License. Any attempt |
| 121 | otherwise to copy, modify, sublicense, distribute or transfer the Program |
| 122 | is void, and will automatically terminate your rights to use the Program under |
| 123 | this License. However, parties who have received copies, or rights to use |
| 124 | copies, from you under this General Public License will not have their licenses |
| 125 | terminated so long as such parties remain in full compliance. |
| 126 | |
| 127 | 5. By copying, distributing or modifying the Program (or any work based on |
| 128 | the Program) you indicate your acceptance of this license to do so, and all |
| 129 | its terms and conditions. |
| 130 | |
| 131 | 6. Each time you redistribute the Program (or any work based on the Program), |
| 132 | the recipient automatically receives a license from the original licensor |
| 133 | to copy, distribute or modify the Program subject to these terms and conditions. |
| 134 | You may not impose any further restrictions on the recipients' exercise of |
| 135 | the rights granted herein. |
| 136 | |
| 137 | 7. The Free Software Foundation may publish revised and/or new versions of |
| 138 | the General Public License from time to time. Such new versions will be similar |
| 139 | in spirit to the present version, but may differ in detail to address new |
| 140 | problems or concerns. |
| 141 | |
| 142 | Each version is given a distinguishing version number. If the Program specifies |
| 143 | a version number of the license which applies to it and "any later version", |
| 144 | you have the option of following the terms and conditions either of that version |
| 145 | or of any later version published by the Free Software Foundation. If the |
| 146 | Program does not specify a version number of the license, you may choose any |
| 147 | version ever published by the Free Software Foundation. |
| 148 | |
| 149 | 8. If you wish to incorporate parts of the Program into other free programs |
| 150 | whose distribution conditions are different, write to the author to ask for |
| 151 | permission. For software which is copyrighted by the Free Software Foundation, |
| 152 | write to the Free Software Foundation; we sometimes make exceptions for this. |
| 153 | Our decision will be guided by the two goals of preserving the free status |
| 154 | of all derivatives of our free software and of promoting the sharing and reuse |
| 155 | of software generally. |
| 156 | |
| 157 | |
| 158 | |
| 159 | NO WARRANTY 9. |
| 160 | |
| 161 | BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE |
| 162 | PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE |
| 163 | STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM |
| 164 | "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, |
| 165 | BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS |
| 166 | FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE |
| 167 | OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME |
| 168 | THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION. |
| 169 | |
| 170 | 10. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING |
| 171 | WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE |
| 172 | THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY |
| 173 | GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE |
| 174 | OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA |
| 175 | OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES |
| 176 | OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH |
| 177 | HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES. |
| 178 | END OF TERMS AND CONDITIONS |
| 179 | |
| 180 | Appendix: How to Apply These Terms to Your New Programs |
| 181 | |
| 182 | If you develop a new program, and you want it to be of the greatest possible |
| 183 | use to humanity, the best way to achieve this is to make it free software |
| 184 | which everyone can redistribute and change under these terms. |
| 185 | |
| 186 | To do so, attach the following notices to the program. It is safest to attach |
| 187 | them to the start of each source file to most effectively convey the exclusion |
| 188 | of warranty; and each file should have at least the "copyright" line and a |
| 189 | pointer to where the full notice is found. |
| 190 | |
| 191 | <one line to give the program's name and a brief idea of what it does.> |
| 192 | |
| 193 | Copyright (C) 19yy <name of author> |
| 194 | |
| 195 | This program is free software; you can redistribute it and/or modify it under |
| 196 | the terms of the GNU General Public License as published by the Free Software |
| 197 | Foundation; either version 1, or (at your option) any later version. |
| 198 | |
| 199 | This program is distributed in the hope that it will be useful, but WITHOUT |
| 200 | ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS |
| 201 | FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. |
| 202 | |
| 203 | You should have received a copy of the GNU General Public License along with |
| 204 | this program; if not, write to the Free Software Foundation, Inc., 675 Mass |
| 205 | Ave, Cambridge, MA 02139, USA. |
| 206 | |
| 207 | Also add information on how to contact you by electronic and paper mail. |
| 208 | |
| 209 | If the program is interactive, make it output a short notice like this when |
| 210 | it starts in an interactive mode: |
| 211 | |
| 212 | Gnomovision version 69, Copyright (C) 19xx name of author Gnomovision comes |
| 213 | with ABSOLUTELY NO WARRANTY; for details type `show w'. This is free software, |
| 214 | and you are welcome to redistribute it under certain conditions; type `show |
| 215 | c' for details. |
| 216 | |
| 217 | The hypothetical commands `show w' and `show c' should show the appropriate |
| 218 | parts of the General Public License. Of course, the commands you use may be |
| 219 | called something other than `show w' and `show c'; they could even be mouse-clicks |
| 220 | or menu items--whatever suits your program. |
| 221 | |
| 222 | You should also get your employer (if you work as a programmer) or your school, |
| 223 | if any, to sign a "copyright disclaimer" for the program, if necessary. Here |
| 224 | a sample; alter the names: |
| 225 | |
| 226 | Yoyodyne, Inc., hereby disclaims all copyright interest in the program `Gnomovision' |
| 227 | (a program to direct compilers to make passes at assemblers) written by James |
| 228 | Hacker. |
| 229 | |
| 230 | <signature of Ty Coon>, 1 April 1989 Ty Coon, President of Vice |
| 231 | |
| 232 | That's all there is to it! |