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