Statistics
| Revision:

root / COPYING @ 2031

History | View | Annotate | Download (17.8 kB)

1 1490 hiro
The code in this distribution is Copyright 1999-2007 by Hiroyuki Yamamoto.
2 1 hiro
3 1 hiro
Specific permission is granted for the GPLed code in this distribition to
4 1 hiro
be linked to OpenSSL without invoking GPL clause 2(b).
5 1 hiro
6 1 hiro
-------------------------------------------------------------------------------
7 1 hiro
		    GNU GENERAL PUBLIC LICENSE
8 1 hiro
		       Version 2, June 1991
9 1 hiro
10 1 hiro
 Copyright (C) 1989, 1991 Free Software Foundation, Inc.
11 575 hiro
	51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
12 1 hiro
 Everyone is permitted to copy and distribute verbatim copies
13 1 hiro
 of this license document, but changing it is not allowed.
14 1 hiro
15 1 hiro
			    Preamble
16 1 hiro
17 1 hiro
  The licenses for most software are designed to take away your
18 1 hiro
freedom to share and change it.  By contrast, the GNU General Public
19 1 hiro
License is intended to guarantee your freedom to share and change free
20 1 hiro
software--to make sure the software is free for all its users.  This
21 1 hiro
General Public License applies to most of the Free Software
22 1 hiro
Foundation's software and to any other program whose authors commit to
23 1 hiro
using it.  (Some other Free Software Foundation software is covered by
24 1 hiro
the GNU Library General Public License instead.)  You can apply it to
25 1 hiro
your programs, too.
26 1 hiro
27 1 hiro
  When we speak of free software, we are referring to freedom, not
28 1 hiro
price.  Our General Public Licenses are designed to make sure that you
29 1 hiro
have the freedom to distribute copies of free software (and charge for
30 1 hiro
this service if you wish), that you receive source code or can get it
31 1 hiro
if you want it, that you can change the software or use pieces of it
32 1 hiro
in new free programs; and that you know you can do these things.
33 1 hiro
34 1 hiro
  To protect your rights, we need to make restrictions that forbid
35 1 hiro
anyone to deny you these rights or to ask you to surrender the rights.
36 1 hiro
These restrictions translate to certain responsibilities for you if you
37 1 hiro
distribute copies of the software, or if you modify it.
38 1 hiro
39 1 hiro
  For example, if you distribute copies of such a program, whether
40 1 hiro
gratis or for a fee, you must give the recipients all the rights that
41 1 hiro
you have.  You must make sure that they, too, receive or can get the
42 1 hiro
source code.  And you must show them these terms so they know their
43 1 hiro
rights.
44 1 hiro
45 1 hiro
  We protect your rights with two steps: (1) copyright the software, and
46 1 hiro
(2) offer you this license which gives you legal permission to copy,
47 1 hiro
distribute and/or modify the software.
48 1 hiro
49 1 hiro
  Also, for each author's protection and ours, we want to make certain
50 1 hiro
that everyone understands that there is no warranty for this free
51 1 hiro
software.  If the software is modified by someone else and passed on, we
52 1 hiro
want its recipients to know that what they have is not the original, so
53 1 hiro
that any problems introduced by others will not reflect on the original
54 1 hiro
authors' reputations.
55 1 hiro
56 1 hiro
  Finally, any free program is threatened constantly by software
57 1 hiro
patents.  We wish to avoid the danger that redistributors of a free
58 1 hiro
program will individually obtain patent licenses, in effect making the
59 1 hiro
program proprietary.  To prevent this, we have made it clear that any
60 1 hiro
patent must be licensed for everyone's free use or not licensed at all.
61 1 hiro
62 1 hiro
  The precise terms and conditions for copying, distribution and
63 1 hiro
modification follow.
64 1 hiro
65 1 hiro
		    GNU GENERAL PUBLIC LICENSE
66 1 hiro
   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
67 1 hiro
68 1 hiro
  0. This License applies to any program or other work which contains
69 1 hiro
a notice placed by the copyright holder saying it may be distributed
70 1 hiro
under the terms of this General Public License.  The "Program", below,
71 1 hiro
refers to any such program or work, and a "work based on the Program"
72 1 hiro
means either the Program or any derivative work under copyright law:
73 1 hiro
that is to say, a work containing the Program or a portion of it,
74 1 hiro
either verbatim or with modifications and/or translated into another
75 1 hiro
language.  (Hereinafter, translation is included without limitation in
76 1 hiro
the term "modification".)  Each licensee is addressed as "you".
77 1 hiro
78 1 hiro
Activities other than copying, distribution and modification are not
79 1 hiro
covered by this License; they are outside its scope.  The act of
80 1 hiro
running the Program is not restricted, and the output from the Program
81 1 hiro
is covered only if its contents constitute a work based on the
82 1 hiro
Program (independent of having been made by running the Program).
83 1 hiro
Whether that is true depends on what the Program does.
84 1 hiro
85 1 hiro
  1. You may copy and distribute verbatim copies of the Program's
86 1 hiro
source code as you receive it, in any medium, provided that you
87 1 hiro
conspicuously and appropriately publish on each copy an appropriate
88 1 hiro
copyright notice and disclaimer of warranty; keep intact all the
89 1 hiro
notices that refer to this License and to the absence of any warranty;
90 1 hiro
and give any other recipients of the Program a copy of this License
91 1 hiro
along with the Program.
92 1 hiro
93 1 hiro
You may charge a fee for the physical act of transferring a copy, and
94 1 hiro
you may at your option offer warranty protection in exchange for a fee.
95 1 hiro
96 1 hiro
  2. You may modify your copy or copies of the Program or any portion
97 1 hiro
of it, thus forming a work based on the Program, and copy and
98 1 hiro
distribute such modifications or work under the terms of Section 1
99 1 hiro
above, provided that you also meet all of these conditions:
100 1 hiro
101 1 hiro
    a) You must cause the modified files to carry prominent notices
102 1 hiro
    stating that you changed the files and the date of any change.
103 1 hiro
104 1 hiro
    b) You must cause any work that you distribute or publish, that in
105 1 hiro
    whole or in part contains or is derived from the Program or any
106 1 hiro
    part thereof, to be licensed as a whole at no charge to all third
107 1 hiro
    parties under the terms of this License.
108 1 hiro
109 1 hiro
    c) If the modified program normally reads commands interactively
110 1 hiro
    when run, you must cause it, when started running for such
111 1 hiro
    interactive use in the most ordinary way, to print or display an
112 1 hiro
    announcement including an appropriate copyright notice and a
113 1 hiro
    notice that there is no warranty (or else, saying that you provide
114 1 hiro
    a warranty) and that users may redistribute the program under
115 1 hiro
    these conditions, and telling the user how to view a copy of this
116 1 hiro
    License.  (Exception: if the Program itself is interactive but
117 1 hiro
    does not normally print such an announcement, your work based on
118 1 hiro
    the Program is not required to print an announcement.)
119 1 hiro
120 1 hiro
These requirements apply to the modified work as a whole.  If
121 1 hiro
identifiable sections of that work are not derived from the Program,
122 1 hiro
and can be reasonably considered independent and separate works in
123 1 hiro
themselves, then this License, and its terms, do not apply to those
124 1 hiro
sections when you distribute them as separate works.  But when you
125 1 hiro
distribute the same sections as part of a whole which is a work based
126 1 hiro
on the Program, the distribution of the whole must be on the terms of
127 1 hiro
this License, whose permissions for other licensees extend to the
128 1 hiro
entire whole, and thus to each and every part regardless of who wrote it.
129 1 hiro
130 1 hiro
Thus, it is not the intent of this section to claim rights or contest
131 1 hiro
your rights to work written entirely by you; rather, the intent is to
132 1 hiro
exercise the right to control the distribution of derivative or
133 1 hiro
collective works based on the Program.
134 1 hiro
135 1 hiro
In addition, mere aggregation of another work not based on the Program
136 1 hiro
with the Program (or with a work based on the Program) on a volume of
137 1 hiro
a storage or distribution medium does not bring the other work under
138 1 hiro
the scope of this License.
139 1 hiro
140 1 hiro
  3. You may copy and distribute the Program (or a work based on it,
141 1 hiro
under Section 2) in object code or executable form under the terms of
142 1 hiro
Sections 1 and 2 above provided that you also do one of the following:
143 1 hiro
144 1 hiro
    a) Accompany it with the complete corresponding machine-readable
145 1 hiro
    source code, which must be distributed under the terms of Sections
146 1 hiro
    1 and 2 above on a medium customarily used for software interchange; or,
147 1 hiro
148 1 hiro
    b) Accompany it with a written offer, valid for at least three
149 1 hiro
    years, to give any third party, for a charge no more than your
150 1 hiro
    cost of physically performing source distribution, a complete
151 1 hiro
    machine-readable copy of the corresponding source code, to be
152 1 hiro
    distributed under the terms of Sections 1 and 2 above on a medium
153 1 hiro
    customarily used for software interchange; or,
154 1 hiro
155 1 hiro
    c) Accompany it with the information you received as to the offer
156 1 hiro
    to distribute corresponding source code.  (This alternative is
157 1 hiro
    allowed only for noncommercial distribution and only if you
158 1 hiro
    received the program in object code or executable form with such
159 1 hiro
    an offer, in accord with Subsection b above.)
160 1 hiro
161 1 hiro
The source code for a work means the preferred form of the work for
162 1 hiro
making modifications to it.  For an executable work, complete source
163 1 hiro
code means all the source code for all modules it contains, plus any
164 1 hiro
associated interface definition files, plus the scripts used to
165 1 hiro
control compilation and installation of the executable.  However, as a
166 1 hiro
special exception, the source code distributed need not include
167 1 hiro
anything that is normally distributed (in either source or binary
168 1 hiro
form) with the major components (compiler, kernel, and so on) of the
169 1 hiro
operating system on which the executable runs, unless that component
170 1 hiro
itself accompanies the executable.
171 1 hiro
172 1 hiro
If distribution of executable or object code is made by offering
173 1 hiro
access to copy from a designated place, then offering equivalent
174 1 hiro
access to copy the source code from the same place counts as
175 1 hiro
distribution of the source code, even though third parties are not
176 1 hiro
compelled to copy the source along with the object code.
177 1 hiro
178 1 hiro
  4. You may not copy, modify, sublicense, or distribute the Program
179 1 hiro
except as expressly provided under this License.  Any attempt
180 1 hiro
otherwise to copy, modify, sublicense or distribute the Program is
181 1 hiro
void, and will automatically terminate your rights under this License.
182 1 hiro
However, parties who have received copies, or rights, from you under
183 1 hiro
this License will not have their licenses terminated so long as such
184 1 hiro
parties remain in full compliance.
185 1 hiro
186 1 hiro
  5. You are not required to accept this License, since you have not
187 1 hiro
signed it.  However, nothing else grants you permission to modify or
188 1 hiro
distribute the Program or its derivative works.  These actions are
189 1 hiro
prohibited by law if you do not accept this License.  Therefore, by
190 1 hiro
modifying or distributing the Program (or any work based on the
191 1 hiro
Program), you indicate your acceptance of this License to do so, and
192 1 hiro
all its terms and conditions for copying, distributing or modifying
193 1 hiro
the Program or works based on it.
194 1 hiro
195 1 hiro
  6. Each time you redistribute the Program (or any work based on the
196 1 hiro
Program), the recipient automatically receives a license from the
197 1 hiro
original licensor to copy, distribute or modify the Program subject to
198 1 hiro
these terms and conditions.  You may not impose any further
199 1 hiro
restrictions on the recipients' exercise of the rights granted herein.
200 1 hiro
You are not responsible for enforcing compliance by third parties to
201 1 hiro
this License.
202 1 hiro
203 1 hiro
  7. If, as a consequence of a court judgment or allegation of patent
204 1 hiro
infringement or for any other reason (not limited to patent issues),
205 1 hiro
conditions are imposed on you (whether by court order, agreement or
206 1 hiro
otherwise) that contradict the conditions of this License, they do not
207 1 hiro
excuse you from the conditions of this License.  If you cannot
208 1 hiro
distribute so as to satisfy simultaneously your obligations under this
209 1 hiro
License and any other pertinent obligations, then as a consequence you
210 1 hiro
may not distribute the Program at all.  For example, if a patent
211 1 hiro
license would not permit royalty-free redistribution of the Program by
212 1 hiro
all those who receive copies directly or indirectly through you, then
213 1 hiro
the only way you could satisfy both it and this License would be to
214 1 hiro
refrain entirely from distribution of the Program.
215 1 hiro
216 1 hiro
If any portion of this section is held invalid or unenforceable under
217 1 hiro
any particular circumstance, the balance of the section is intended to
218 1 hiro
apply and the section as a whole is intended to apply in other
219 1 hiro
circumstances.
220 1 hiro
221 1 hiro
It is not the purpose of this section to induce you to infringe any
222 1 hiro
patents or other property right claims or to contest validity of any
223 1 hiro
such claims; this section has the sole purpose of protecting the
224 1 hiro
integrity of the free software distribution system, which is
225 1 hiro
implemented by public license practices.  Many people have made
226 1 hiro
generous contributions to the wide range of software distributed
227 1 hiro
through that system in reliance on consistent application of that
228 1 hiro
system; it is up to the author/donor to decide if he or she is willing
229 1 hiro
to distribute software through any other system and a licensee cannot
230 1 hiro
impose that choice.
231 1 hiro
232 1 hiro
This section is intended to make thoroughly clear what is believed to
233 1 hiro
be a consequence of the rest of this License.
234 1 hiro
235 1 hiro
  8. If the distribution and/or use of the Program is restricted in
236 1 hiro
certain countries either by patents or by copyrighted interfaces, the
237 1 hiro
original copyright holder who places the Program under this License
238 1 hiro
may add an explicit geographical distribution limitation excluding
239 1 hiro
those countries, so that distribution is permitted only in or among
240 1 hiro
countries not thus excluded.  In such case, this License incorporates
241 1 hiro
the limitation as if written in the body of this License.
242 1 hiro
243 1 hiro
  9. The Free Software Foundation may publish revised and/or new versions
244 1 hiro
of the General Public License from time to time.  Such new versions will
245 1 hiro
be similar in spirit to the present version, but may differ in detail to
246 1 hiro
address new problems or concerns.
247 1 hiro
248 1 hiro
Each version is given a distinguishing version number.  If the Program
249 1 hiro
specifies a version number of this License which applies to it and "any
250 1 hiro
later version", you have the option of following the terms and conditions
251 1 hiro
either of that version or of any later version published by the Free
252 1 hiro
Software Foundation.  If the Program does not specify a version number of
253 1 hiro
this License, you may choose any version ever published by the Free Software
254 1 hiro
Foundation.
255 1 hiro
256 1 hiro
  10. If you wish to incorporate parts of the Program into other free
257 1 hiro
programs whose distribution conditions are different, write to the author
258 1 hiro
to ask for permission.  For software which is copyrighted by the Free
259 1 hiro
Software Foundation, write to the Free Software Foundation; we sometimes
260 1 hiro
make exceptions for this.  Our decision will be guided by the two goals
261 1 hiro
of preserving the free status of all derivatives of our free software and
262 1 hiro
of promoting the sharing and reuse of software generally.
263 1 hiro
264 1 hiro
			    NO WARRANTY
265 1 hiro
266 1 hiro
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
267 1 hiro
FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
268 1 hiro
OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
269 1 hiro
PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
270 1 hiro
OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
271 1 hiro
MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
272 1 hiro
TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
273 1 hiro
PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
274 1 hiro
REPAIR OR CORRECTION.
275 1 hiro
276 1 hiro
  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
277 1 hiro
WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
278 1 hiro
REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
279 1 hiro
INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
280 1 hiro
OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
281 1 hiro
TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
282 1 hiro
YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
283 1 hiro
PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
284 1 hiro
POSSIBILITY OF SUCH DAMAGES.
285 575 hiro
286 575 hiro
		     END OF TERMS AND CONDITIONS
287 575 hiro
288 575 hiro
	    How to Apply These Terms to Your New Programs
289 575 hiro
290 575 hiro
  If you develop a new program, and you want it to be of the greatest
291 575 hiro
possible use to the public, the best way to achieve this is to make it
292 575 hiro
free software which everyone can redistribute and change under these terms.
293 575 hiro
294 575 hiro
  To do so, attach the following notices to the program.  It is safest
295 575 hiro
to attach them to the start of each source file to most effectively
296 575 hiro
convey the exclusion of warranty; and each file should have at least
297 575 hiro
the "copyright" line and a pointer to where the full notice is found.
298 575 hiro
299 575 hiro
    <one line to give the program's name and a brief idea of what it does.>
300 575 hiro
    Copyright (C) <year>  <name of author>
301 575 hiro
302 575 hiro
    This program is free software; you can redistribute it and/or modify
303 575 hiro
    it under the terms of the GNU General Public License as published by
304 575 hiro
    the Free Software Foundation; either version 2 of the License, or
305 575 hiro
    (at your option) any later version.
306 575 hiro
307 575 hiro
    This program is distributed in the hope that it will be useful,
308 575 hiro
    but WITHOUT ANY WARRANTY; without even the implied warranty of
309 575 hiro
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
310 575 hiro
    GNU General Public License for more details.
311 575 hiro
312 575 hiro
    You should have received a copy of the GNU General Public License
313 575 hiro
    along with this program; if not, write to the Free Software
314 575 hiro
    Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301 USA
315 575 hiro
316 575 hiro
317 575 hiro
Also add information on how to contact you by electronic and paper mail.
318 575 hiro
319 575 hiro
If the program is interactive, make it output a short notice like this
320 575 hiro
when it starts in an interactive mode:
321 575 hiro
322 575 hiro
    Gnomovision version 69, Copyright (C) year  name of author
323 575 hiro
    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
324 575 hiro
    This is free software, and you are welcome to redistribute it
325 575 hiro
    under certain conditions; type `show c' for details.
326 575 hiro
327 575 hiro
The hypothetical commands `show w' and `show c' should show the appropriate
328 575 hiro
parts of the General Public License.  Of course, the commands you use may
329 575 hiro
be called something other than `show w' and `show c'; they could even be
330 575 hiro
mouse-clicks or menu items--whatever suits your program.
331 575 hiro
332 575 hiro
You should also get your employer (if you work as a programmer) or your
333 575 hiro
school, if any, to sign a "copyright disclaimer" for the program, if
334 575 hiro
necessary.  Here is a sample; alter the names:
335 575 hiro
336 575 hiro
  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
337 575 hiro
  `Gnomovision' (which makes passes at compilers) written by James Hacker.
338 575 hiro
339 575 hiro
  <signature of Ty Coon>, 1 April 1989
340 575 hiro
  Ty Coon, President of Vice
341 575 hiro
342 575 hiro
This General Public License does not permit incorporating your program into
343 575 hiro
proprietary programs.  If your program is a subroutine library, you may
344 575 hiro
consider it more useful to permit linking proprietary applications with the
345 575 hiro
library.  If this is what you want to do, use the GNU Library General
346 575 hiro
Public License instead of this License.