1 | static char *cond_str[] = {
|
---|
2 | " GNU GENERAL PUBLIC LICENSE\n",
|
---|
3 | " TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n",
|
---|
4 | "\n",
|
---|
5 | " 0. This License applies to any program or other work which contains\n",
|
---|
6 | "a notice placed by the copyright holder saying it may be distributed\n",
|
---|
7 | "under the terms of this General Public License. The \"Program\", below,\n",
|
---|
8 | "refers to any such program or work, and a \"work based on the Program\"\n",
|
---|
9 | "means either the Program or any derivative work under copyright law:\n",
|
---|
10 | "that is to say, a work containing the Program or a portion of it,\n",
|
---|
11 | "either verbatim or with modifications and/or translated into another\n",
|
---|
12 | "language. (Hereinafter, translation is included without limitation in\n",
|
---|
13 | "the term \"modification\".) Each licensee is addressed as \"you\".\n",
|
---|
14 | "\n",
|
---|
15 | "Activities other than copying, distribution and modification are not\n",
|
---|
16 | "covered by this License; they are outside its scope. The act of\n",
|
---|
17 | "running the Program is not restricted, and the output from the Program\n",
|
---|
18 | "is covered only if its contents constitute a work based on the\n",
|
---|
19 | "Program (independent of having been made by running the Program).\n",
|
---|
20 | "Whether that is true depends on what the Program does.\n",
|
---|
21 | "\n",
|
---|
22 | " 1. You may copy and distribute verbatim copies of the Program's\n",
|
---|
23 | "source code as you receive it, in any medium, provided that you\n",
|
---|
24 | "conspicuously and appropriately publish on each copy an appropriate\n",
|
---|
25 | "copyright notice and disclaimer of warranty; keep intact all the\n",
|
---|
26 | "notices that refer to this License and to the absence of any warranty;\n",
|
---|
27 | "and give any other recipients of the Program a copy of this License\n",
|
---|
28 | "along with the Program.\n",
|
---|
29 | "\n",
|
---|
30 | "You may charge a fee for the physical act of transferring a copy, and\n",
|
---|
31 | "you may at your option offer warranty protection in exchange for a fee.\n",
|
---|
32 | "\n",
|
---|
33 | " 2. You may modify your copy or copies of the Program or any portion\n",
|
---|
34 | "of it, thus forming a work based on the Program, and copy and\n",
|
---|
35 | "distribute such modifications or work under the terms of Section 1\n",
|
---|
36 | "above, provided that you also meet all of these conditions:\n",
|
---|
37 | "\n",
|
---|
38 | " a) You must cause the modified files to carry prominent notices\n",
|
---|
39 | " stating that you changed the files and the date of any change.\n",
|
---|
40 | "\n",
|
---|
41 | " b) You must cause any work that you distribute or publish, that in\n",
|
---|
42 | " whole or in part contains or is derived from the Program or any\n",
|
---|
43 | " part thereof, to be licensed as a whole at no charge to all third\n",
|
---|
44 | " parties under the terms of this License.\n",
|
---|
45 | "\n",
|
---|
46 | " c) If the modified program normally reads commands interactively\n",
|
---|
47 | " when run, you must cause it, when started running for such\n",
|
---|
48 | " interactive use in the most ordinary way, to print or display an\n",
|
---|
49 | " announcement including an appropriate copyright notice and a\n",
|
---|
50 | " notice that there is no warranty (or else, saying that you provide\n",
|
---|
51 | " a warranty) and that users may redistribute the program under\n",
|
---|
52 | " these conditions, and telling the user how to view a copy of this\n",
|
---|
53 | " License. (Exception: if the Program itself is interactive but\n",
|
---|
54 | " does not normally print such an announcement, your work based on\n",
|
---|
55 | " the Program is not required to print an announcement.)\n",
|
---|
56 | " |
---|
57 | \n",
|
---|
58 | "These requirements apply to the modified work as a whole. If\n",
|
---|
59 | "identifiable sections of that work are not derived from the Program,\n",
|
---|
60 | "and can be reasonably considered independent and separate works in\n",
|
---|
61 | "themselves, then this License, and its terms, do not apply to those\n",
|
---|
62 | "sections when you distribute them as separate works. But when you\n",
|
---|
63 | "distribute the same sections as part of a whole which is a work based\n",
|
---|
64 | "on the Program, the distribution of the whole must be on the terms of\n",
|
---|
65 | "this License, whose permissions for other licensees extend to the\n",
|
---|
66 | "entire whole, and thus to each and every part regardless of who wrote it.\n",
|
---|
67 | "\n",
|
---|
68 | "Thus, it is not the intent of this section to claim rights or contest\n",
|
---|
69 | "your rights to work written entirely by you; rather, the intent is to\n",
|
---|
70 | "exercise the right to control the distribution of derivative or\n",
|
---|
71 | "collective works based on the Program.\n",
|
---|
72 | "\n",
|
---|
73 | "In addition, mere aggregation of another work not based on the Program\n",
|
---|
74 | "with the Program (or with a work based on the Program) on a volume of\n",
|
---|
75 | "a storage or distribution medium does not bring the other work under\n",
|
---|
76 | "the scope of this License.\n",
|
---|
77 | "\n",
|
---|
78 | " 3. You may copy and distribute the Program (or a work based on it,\n",
|
---|
79 | "under Section 2) in object code or executable form under the terms of\n",
|
---|
80 | "Sections 1 and 2 above provided that you also do one of the following:\n",
|
---|
81 | "\n",
|
---|
82 | " a) Accompany it with the complete corresponding machine-readable\n",
|
---|
83 | " source code, which must be distributed under the terms of Sections\n",
|
---|
84 | " 1 and 2 above on a medium customarily used for software interchange; or,\n",
|
---|
85 | "\n",
|
---|
86 | " b) Accompany it with a written offer, valid for at least three\n",
|
---|
87 | " years, to give any third party, for a charge no more than your\n",
|
---|
88 | " cost of physically performing source distribution, a complete\n",
|
---|
89 | " machine-readable copy of the corresponding source code, to be\n",
|
---|
90 | " distributed under the terms of Sections 1 and 2 above on a medium\n",
|
---|
91 | " customarily used for software interchange; or,\n",
|
---|
92 | "\n",
|
---|
93 | " c) Accompany it with the information you received as to the offer\n",
|
---|
94 | " to distribute corresponding source code. (This alternative is\n",
|
---|
95 | " allowed only for noncommercial distribution and only if you\n",
|
---|
96 | " received the program in object code or executable form with such\n",
|
---|
97 | " an offer, in accord with Subsection b above.)\n",
|
---|
98 | "\n",
|
---|
99 | "The source code for a work means the preferred form of the work for\n",
|
---|
100 | "making modifications to it. For an executable work, complete source\n",
|
---|
101 | "code means all the source code for all modules it contains, plus any\n",
|
---|
102 | "associated interface definition files, plus the scripts used to\n",
|
---|
103 | "control compilation and installation of the executable. However, as a\n",
|
---|
104 | "special exception, the source code distributed need not include\n",
|
---|
105 | "anything that is normally distributed (in either source or binary\n",
|
---|
106 | "form) with the major components (compiler, kernel, and so on) of the\n",
|
---|
107 | "operating system on which the executable runs, unless that component\n",
|
---|
108 | "itself accompanies the executable.\n",
|
---|
109 | "\n",
|
---|
110 | "If distribution of executable or object code is made by offering\n",
|
---|
111 | "access to copy from a designated place, then offering equivalent\n",
|
---|
112 | "access to copy the source code from the same place counts as\n",
|
---|
113 | "distribution of the source code, even though third parties are not\n",
|
---|
114 | "compelled to copy the source along with the object code.\n",
|
---|
115 | " |
---|
116 | \n",
|
---|
117 | " 4. You may not copy, modify, sublicense, or distribute the Program\n",
|
---|
118 | "except as expressly provided under this License. Any attempt\n",
|
---|
119 | "otherwise to copy, modify, sublicense or distribute the Program is\n",
|
---|
120 | "void, and will automatically terminate your rights under this License.\n",
|
---|
121 | "However, parties who have received copies, or rights, from you under\n",
|
---|
122 | "this License will not have their licenses terminated so long as such\n",
|
---|
123 | "parties remain in full compliance.\n",
|
---|
124 | "\n",
|
---|
125 | " 5. You are not required to accept this License, since you have not\n",
|
---|
126 | "signed it. However, nothing else grants you permission to modify or\n",
|
---|
127 | "distribute the Program or its derivative works. These actions are\n",
|
---|
128 | "prohibited by law if you do not accept this License. Therefore, by\n",
|
---|
129 | "modifying or distributing the Program (or any work based on the\n",
|
---|
130 | "Program), you indicate your acceptance of this License to do so, and\n",
|
---|
131 | "all its terms and conditions for copying, distributing or modifying\n",
|
---|
132 | "the Program or works based on it.\n",
|
---|
133 | "\n",
|
---|
134 | " 6. Each time you redistribute the Program (or any work based on the\n",
|
---|
135 | "Program), the recipient automatically receives a license from the\n",
|
---|
136 | "original licensor to copy, distribute or modify the Program subject to\n",
|
---|
137 | "these terms and conditions. You may not impose any further\n",
|
---|
138 | "restrictions on the recipients' exercise of the rights granted herein.\n",
|
---|
139 | "You are not responsible for enforcing compliance by third parties to\n",
|
---|
140 | "this License.\n",
|
---|
141 | "\n",
|
---|
142 | " 7. If, as a consequence of a court judgment or allegation of patent\n",
|
---|
143 | "infringement or for any other reason (not limited to patent issues),\n",
|
---|
144 | "conditions are imposed on you (whether by court order, agreement or\n",
|
---|
145 | "otherwise) that contradict the conditions of this License, they do not\n",
|
---|
146 | "excuse you from the conditions of this License. If you cannot\n",
|
---|
147 | "distribute so as to satisfy simultaneously your obligations under this\n",
|
---|
148 | "License and any other pertinent obligations, then as a consequence you\n",
|
---|
149 | "may not distribute the Program at all. For example, if a patent\n",
|
---|
150 | "license would not permit royalty-free redistribution of the Program by\n",
|
---|
151 | "all those who receive copies directly or indirectly through you, then\n",
|
---|
152 | "the only way you could satisfy both it and this License would be to\n",
|
---|
153 | "refrain entirely from distribution of the Program.\n",
|
---|
154 | "\n",
|
---|
155 | "If any portion of this section is held invalid or unenforceable under\n",
|
---|
156 | "any particular circumstance, the balance of the section is intended to\n",
|
---|
157 | "apply and the section as a whole is intended to apply in other\n",
|
---|
158 | "circumstances.\n",
|
---|
159 | "\n",
|
---|
160 | "It is not the purpose of this section to induce you to infringe any\n",
|
---|
161 | "patents or other property right claims or to contest validity of any\n",
|
---|
162 | "such claims; this section has the sole purpose of protecting the\n",
|
---|
163 | "integrity of the free software distribution system, which is\n",
|
---|
164 | "implemented by public license practices. Many people have made\n",
|
---|
165 | "generous contributions to the wide range of software distributed\n",
|
---|
166 | "through that system in reliance on consistent application of that\n",
|
---|
167 | "system; it is up to the author/donor to decide if he or she is willing\n",
|
---|
168 | "to distribute software through any other system and a licensee cannot\n",
|
---|
169 | "impose that choice.\n",
|
---|
170 | "\n",
|
---|
171 | "This section is intended to make thoroughly clear what is believed to\n",
|
---|
172 | "be a consequence of the rest of this License.\n",
|
---|
173 | " |
---|
174 | \n",
|
---|
175 | " 8. If the distribution and/or use of the Program is restricted in\n",
|
---|
176 | "certain countries either by patents or by copyrighted interfaces, the\n",
|
---|
177 | "original copyright holder who places the Program under this License\n",
|
---|
178 | "may add an explicit geographical distribution limitation excluding\n",
|
---|
179 | "those countries, so that distribution is permitted only in or among\n",
|
---|
180 | "countries not thus excluded. In such case, this License incorporates\n",
|
---|
181 | "the limitation as if written in the body of this License.\n",
|
---|
182 | "\n",
|
---|
183 | " 9. The Free Software Foundation may publish revised and/or new versions\n",
|
---|
184 | "of the General Public License from time to time. Such new versions will\n",
|
---|
185 | "be similar in spirit to the present version, but may differ in detail to\n",
|
---|
186 | "address new problems or concerns.\n",
|
---|
187 | "\n",
|
---|
188 | "Each version is given a distinguishing version number. If the Program\n",
|
---|
189 | "specifies a version number of this License which applies to it and \"any\n",
|
---|
190 | "later version\", you have the option of following the terms and conditions\n",
|
---|
191 | "either of that version or of any later version published by the Free\n",
|
---|
192 | "Software Foundation. If the Program does not specify a version number of\n",
|
---|
193 | "this License, you may choose any version ever published by the Free Software\n",
|
---|
194 | "Foundation.\n",
|
---|
195 | "\n",
|
---|
196 | " 10. If you wish to incorporate parts of the Program into other free\n",
|
---|
197 | "programs whose distribution conditions are different, write to the author\n",
|
---|
198 | "to ask for permission. For software which is copyrighted by the Free\n",
|
---|
199 | "Software Foundation, write to the Free Software Foundation; we sometimes\n",
|
---|
200 | "make exceptions for this. Our decision will be guided by the two goals\n",
|
---|
201 | "of preserving the free status of all derivatives of our free software and\n",
|
---|
202 | "of promoting the sharing and reuse of software generally.\n",
|
---|
203 | "\n",
|
---|
204 | " NO WARRANTY\n",
|
---|
205 | "\n",
|
---|
206 | " 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY\n",
|
---|
207 | "FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN\n",
|
---|
208 | "OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES\n",
|
---|
209 | "PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED\n",
|
---|
210 | "OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF\n",
|
---|
211 | "MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS\n",
|
---|
212 | "TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE\n",
|
---|
213 | "PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,\n",
|
---|
214 | "REPAIR OR CORRECTION.\n",
|
---|
215 | "\n",
|
---|
216 | " 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING\n",
|
---|
217 | "WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR\n",
|
---|
218 | "REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,\n",
|
---|
219 | "INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING\n",
|
---|
220 | "OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED\n",
|
---|
221 | "TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY\n",
|
---|
222 | "YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER\n",
|
---|
223 | "PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE\n",
|
---|
224 | "POSSIBILITY OF SUCH DAMAGES.\n",
|
---|
225 | "\n",
|
---|
226 | " END OF TERMS AND CONDITIONS\n"};
|
---|