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