module Distribution.Client.Init.Licenses
( License
, bsd2
, bsd3
, gplv2
, gplv3
, lgpl21
, lgpl3
, agplv3
, apache20
, mit
, mpl20
, isc
) where
import Prelude (String, unlines, (++))
type License = String
bsd2 :: String -> String -> License
bsd2 :: String -> String -> String
bsd2 String
authors String
year = [String] -> String
unlines
[ String
"Copyright (c) " forall a. [a] -> [a] -> [a]
++ String
year forall a. [a] -> [a] -> [a]
++ String
", " forall a. [a] -> [a] -> [a]
++ String
authors
, String
"All rights reserved."
, String
""
, String
"Redistribution and use in source and binary forms, with or without"
, String
"modification, are permitted provided that the following conditions are"
, String
"met:"
, String
""
, String
"1. Redistributions of source code must retain the above copyright"
, String
" notice, this list of conditions and the following disclaimer."
, String
""
, String
"2. Redistributions in binary form must reproduce the above copyright"
, String
" notice, this list of conditions and the following disclaimer in the"
, String
" documentation and/or other materials provided with the"
, String
" distribution."
, String
""
, String
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"
, String
"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT"
, String
"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR"
, String
"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT"
, String
"OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,"
, String
"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT"
, String
"LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,"
, String
"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY"
, String
"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT"
, String
"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE"
, String
"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
]
bsd3 :: String -> String -> License
bsd3 :: String -> String -> String
bsd3 String
authors String
year = [String] -> String
unlines
[ String
"Copyright (c) " forall a. [a] -> [a] -> [a]
++ String
year forall a. [a] -> [a] -> [a]
++ String
", " forall a. [a] -> [a] -> [a]
++ String
authors
, String
""
, String
"All rights reserved."
, String
""
, String
"Redistribution and use in source and binary forms, with or without"
, String
"modification, are permitted provided that the following conditions are met:"
, String
""
, String
" * Redistributions of source code must retain the above copyright"
, String
" notice, this list of conditions and the following disclaimer."
, String
""
, String
" * Redistributions in binary form must reproduce the above"
, String
" copyright notice, this list of conditions and the following"
, String
" disclaimer in the documentation and/or other materials provided"
, String
" with the distribution."
, String
""
, String
" * Neither the name of " forall a. [a] -> [a] -> [a]
++ String
authors forall a. [a] -> [a] -> [a]
++ String
" nor the names of other"
, String
" contributors may be used to endorse or promote products derived"
, String
" from this software without specific prior written permission."
, String
""
, String
"THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS"
, String
"\"AS IS\" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT"
, String
"LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR"
, String
"A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT"
, String
"OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,"
, String
"SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT"
, String
"LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,"
, String
"DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY"
, String
"THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT"
, String
"(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE"
, String
"OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE."
]
gplv2 :: License
gplv2 :: String
gplv2 = [String] -> String
unlines
[ String
" GNU GENERAL PUBLIC LICENSE"
, String
" Version 2, June 1991"
, String
""
, String
" Copyright (C) 1989, 1991 Free Software Foundation, Inc.,"
, String
" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
, String
" Everyone is permitted to copy and distribute verbatim copies"
, String
" of this license document, but changing it is not allowed."
, String
""
, String
" Preamble"
, String
""
, String
" The licenses for most software are designed to take away your"
, String
"freedom to share and change it. By contrast, the GNU General Public"
, String
"License is intended to guarantee your freedom to share and change free"
, String
"software--to make sure the software is free for all its users. This"
, String
"General Public License applies to most of the Free Software"
, String
"Foundation's software and to any other program whose authors commit to"
, String
"using it. (Some other Free Software Foundation software is covered by"
, String
"the GNU Lesser General Public License instead.) You can apply it to"
, String
"your programs, too."
, String
""
, String
" When we speak of free software, we are referring to freedom, not"
, String
"price. Our General Public Licenses are designed to make sure that you"
, String
"have the freedom to distribute copies of free software (and charge for"
, String
"this service if you wish), that you receive source code or can get it"
, String
"if you want it, that you can change the software or use pieces of it"
, String
"in new free programs; and that you know you can do these things."
, String
""
, String
" To protect your rights, we need to make restrictions that forbid"
, String
"anyone to deny you these rights or to ask you to surrender the rights."
, String
"These restrictions translate to certain responsibilities for you if you"
, String
"distribute copies of the software, or if you modify it."
, String
""
, String
" For example, if you distribute copies of such a program, whether"
, String
"gratis or for a fee, you must give the recipients all the rights that"
, String
"you have. You must make sure that they, too, receive or can get the"
, String
"source code. And you must show them these terms so they know their"
, String
"rights."
, String
""
, String
" We protect your rights with two steps: (1) copyright the software, and"
, String
"(2) offer you this license which gives you legal permission to copy,"
, String
"distribute and/or modify the software."
, String
""
, String
" Also, for each author's protection and ours, we want to make certain"
, String
"that everyone understands that there is no warranty for this free"
, String
"software. If the software is modified by someone else and passed on, we"
, String
"want its recipients to know that what they have is not the original, so"
, String
"that any problems introduced by others will not reflect on the original"
, String
"authors' reputations."
, String
""
, String
" Finally, any free program is threatened constantly by software"
, String
"patents. We wish to avoid the danger that redistributors of a free"
, String
"program will individually obtain patent licenses, in effect making the"
, String
"program proprietary. To prevent this, we have made it clear that any"
, String
"patent must be licensed for everyone's free use or not licensed at all."
, String
""
, String
" The precise terms and conditions for copying, distribution and"
, String
"modification follow."
, String
""
, String
" GNU GENERAL PUBLIC LICENSE"
, String
" TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION"
, String
""
, String
" 0. This License applies to any program or other work which contains"
, String
"a notice placed by the copyright holder saying it may be distributed"
, String
"under the terms of this General Public License. The \"Program\", below,"
, String
"refers to any such program or work, and a \"work based on the Program\""
, String
"means either the Program or any derivative work under copyright law:"
, String
"that is to say, a work containing the Program or a portion of it,"
, String
"either verbatim or with modifications and/or translated into another"
, String
"language. (Hereinafter, translation is included without limitation in"
, String
"the term \"modification\".) Each licensee is addressed as \"you\"."
, String
""
, String
"Activities other than copying, distribution and modification are not"
, String
"covered by this License; they are outside its scope. The act of"
, String
"running the Program is not restricted, and the output from the Program"
, String
"is covered only if its contents constitute a work based on the"
, String
"Program (independent of having been made by running the Program)."
, String
"Whether that is true depends on what the Program does."
, String
""
, String
" 1. You may copy and distribute verbatim copies of the Program's"
, String
"source code as you receive it, in any medium, provided that you"
, String
"conspicuously and appropriately publish on each copy an appropriate"
, String
"copyright notice and disclaimer of warranty; keep intact all the"
, String
"notices that refer to this License and to the absence of any warranty;"
, String
"and give any other recipients of the Program a copy of this License"
, String
"along with the Program."
, String
""
, String
"You may charge a fee for the physical act of transferring a copy, and"
, String
"you may at your option offer warranty protection in exchange for a fee."
, String
""
, String
" 2. You may modify your copy or copies of the Program or any portion"
, String
"of it, thus forming a work based on the Program, and copy and"
, String
"distribute such modifications or work under the terms of Section 1"
, String
"above, provided that you also meet all of these conditions:"
, String
""
, String
" a) You must cause the modified files to carry prominent notices"
, String
" stating that you changed the files and the date of any change."
, String
""
, String
" b) You must cause any work that you distribute or publish, that in"
, String
" whole or in part contains or is derived from the Program or any"
, String
" part thereof, to be licensed as a whole at no charge to all third"
, String
" parties under the terms of this License."
, String
""
, String
" c) If the modified program normally reads commands interactively"
, String
" when run, you must cause it, when started running for such"
, String
" interactive use in the most ordinary way, to print or display an"
, String
" announcement including an appropriate copyright notice and a"
, String
" notice that there is no warranty (or else, saying that you provide"
, String
" a warranty) and that users may redistribute the program under"
, String
" these conditions, and telling the user how to view a copy of this"
, String
" License. (Exception: if the Program itself is interactive but"
, String
" does not normally print such an announcement, your work based on"
, String
" the Program is not required to print an announcement.)"
, String
""
, String
"These requirements apply to the modified work as a whole. If"
, String
"identifiable sections of that work are not derived from the Program,"
, String
"and can be reasonably considered independent and separate works in"
, String
"themselves, then this License, and its terms, do not apply to those"
, String
"sections when you distribute them as separate works. But when you"
, String
"distribute the same sections as part of a whole which is a work based"
, String
"on the Program, the distribution of the whole must be on the terms of"
, String
"this License, whose permissions for other licensees extend to the"
, String
"entire whole, and thus to each and every part regardless of who wrote it."
, String
""
, String
"Thus, it is not the intent of this section to claim rights or contest"
, String
"your rights to work written entirely by you; rather, the intent is to"
, String
"exercise the right to control the distribution of derivative or"
, String
"collective works based on the Program."
, String
""
, String
"In addition, mere aggregation of another work not based on the Program"
, String
"with the Program (or with a work based on the Program) on a volume of"
, String
"a storage or distribution medium does not bring the other work under"
, String
"the scope of this License."
, String
""
, String
" 3. You may copy and distribute the Program (or a work based on it,"
, String
"under Section 2) in object code or executable form under the terms of"
, String
"Sections 1 and 2 above provided that you also do one of the following:"
, String
""
, String
" a) Accompany it with the complete corresponding machine-readable"
, String
" source code, which must be distributed under the terms of Sections"
, String
" 1 and 2 above on a medium customarily used for software interchange; or,"
, String
""
, String
" b) Accompany it with a written offer, valid for at least three"
, String
" years, to give any third party, for a charge no more than your"
, String
" cost of physically performing source distribution, a complete"
, String
" machine-readable copy of the corresponding source code, to be"
, String
" distributed under the terms of Sections 1 and 2 above on a medium"
, String
" customarily used for software interchange; or,"
, String
""
, String
" c) Accompany it with the information you received as to the offer"
, String
" to distribute corresponding source code. (This alternative is"
, String
" allowed only for noncommercial distribution and only if you"
, String
" received the program in object code or executable form with such"
, String
" an offer, in accord with Subsection b above.)"
, String
""
, String
"The source code for a work means the preferred form of the work for"
, String
"making modifications to it. For an executable work, complete source"
, String
"code means all the source code for all modules it contains, plus any"
, String
"associated interface definition files, plus the scripts used to"
, String
"control compilation and installation of the executable. However, as a"
, String
"special exception, the source code distributed need not include"
, String
"anything that is normally distributed (in either source or binary"
, String
"form) with the major components (compiler, kernel, and so on) of the"
, String
"operating system on which the executable runs, unless that component"
, String
"itself accompanies the executable."
, String
""
, String
"If distribution of executable or object code is made by offering"
, String
"access to copy from a designated place, then offering equivalent"
, String
"access to copy the source code from the same place counts as"
, String
"distribution of the source code, even though third parties are not"
, String
"compelled to copy the source along with the object code."
, String
""
, String
" 4. You may not copy, modify, sublicense, or distribute the Program"
, String
"except as expressly provided under this License. Any attempt"
, String
"otherwise to copy, modify, sublicense or distribute the Program is"
, String
"void, and will automatically terminate your rights under this License."
, String
"However, parties who have received copies, or rights, from you under"
, String
"this License will not have their licenses terminated so long as such"
, String
"parties remain in full compliance."
, String
""
, String
" 5. You are not required to accept this License, since you have not"
, String
"signed it. However, nothing else grants you permission to modify or"
, String
"distribute the Program or its derivative works. These actions are"
, String
"prohibited by law if you do not accept this License. Therefore, by"
, String
"modifying or distributing the Program (or any work based on the"
, String
"Program), you indicate your acceptance of this License to do so, and"
, String
"all its terms and conditions for copying, distributing or modifying"
, String
"the Program or works based on it."
, String
""
, String
" 6. Each time you redistribute the Program (or any work based on the"
, String
"Program), the recipient automatically receives a license from the"
, String
"original licensor to copy, distribute or modify the Program subject to"
, String
"these terms and conditions. You may not impose any further"
, String
"restrictions on the recipients' exercise of the rights granted herein."
, String
"You are not responsible for enforcing compliance by third parties to"
, String
"this License."
, String
""
, String
" 7. If, as a consequence of a court judgment or allegation of patent"
, String
"infringement or for any other reason (not limited to patent issues),"
, String
"conditions are imposed on you (whether by court order, agreement or"
, String
"otherwise) that contradict the conditions of this License, they do not"
, String
"excuse you from the conditions of this License. If you cannot"
, String
"distribute so as to satisfy simultaneously your obligations under this"
, String
"License and any other pertinent obligations, then as a consequence you"
, String
"may not distribute the Program at all. For example, if a patent"
, String
"license would not permit royalty-free redistribution of the Program by"
, String
"all those who receive copies directly or indirectly through you, then"
, String
"the only way you could satisfy both it and this License would be to"
, String
"refrain entirely from distribution of the Program."
, String
""
, String
"If any portion of this section is held invalid or unenforceable under"
, String
"any particular circumstance, the balance of the section is intended to"
, String
"apply and the section as a whole is intended to apply in other"
, String
"circumstances."
, String
""
, String
"It is not the purpose of this section to induce you to infringe any"
, String
"patents or other property right claims or to contest validity of any"
, String
"such claims; this section has the sole purpose of protecting the"
, String
"integrity of the free software distribution system, which is"
, String
"implemented by public license practices. Many people have made"
, String
"generous contributions to the wide range of software distributed"
, String
"through that system in reliance on consistent application of that"
, String
"system; it is up to the author/donor to decide if he or she is willing"
, String
"to distribute software through any other system and a licensee cannot"
, String
"impose that choice."
, String
""
, String
"This section is intended to make thoroughly clear what is believed to"
, String
"be a consequence of the rest of this License."
, String
""
, String
" 8. If the distribution and/or use of the Program is restricted in"
, String
"certain countries either by patents or by copyrighted interfaces, the"
, String
"original copyright holder who places the Program under this License"
, String
"may add an explicit geographical distribution limitation excluding"
, String
"those countries, so that distribution is permitted only in or among"
, String
"countries not thus excluded. In such case, this License incorporates"
, String
"the limitation as if written in the body of this License."
, String
""
, String
" 9. The Free Software Foundation may publish revised and/or new versions"
, String
"of the General Public License from time to time. Such new versions will"
, String
"be similar in spirit to the present version, but may differ in detail to"
, String
"address new problems or concerns."
, String
""
, String
"Each version is given a distinguishing version number. If the Program"
, String
"specifies a version number of this License which applies to it and \"any"
, String
"later version\", you have the option of following the terms and conditions"
, String
"either of that version or of any later version published by the Free"
, String
"Software Foundation. If the Program does not specify a version number of"
, String
"this License, you may choose any version ever published by the Free Software"
, String
"Foundation."
, String
""
, String
" 10. If you wish to incorporate parts of the Program into other free"
, String
"programs whose distribution conditions are different, write to the author"
, String
"to ask for permission. For software which is copyrighted by the Free"
, String
"Software Foundation, write to the Free Software Foundation; we sometimes"
, String
"make exceptions for this. Our decision will be guided by the two goals"
, String
"of preserving the free status of all derivatives of our free software and"
, String
"of promoting the sharing and reuse of software generally."
, String
""
, String
" NO WARRANTY"
, String
""
, String
" 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY"
, String
"FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN"
, String
"OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES"
, String
"PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED"
, String
"OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF"
, String
"MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS"
, String
"TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE"
, String
"PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,"
, String
"REPAIR OR CORRECTION."
, String
""
, String
" 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING"
, String
"WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR"
, String
"REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,"
, String
"INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING"
, String
"OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED"
, String
"TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY"
, String
"YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER"
, String
"PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE"
, String
"POSSIBILITY OF SUCH DAMAGES."
, String
""
, String
" END OF TERMS AND CONDITIONS"
, String
""
, String
" How to Apply These Terms to Your New Programs"
, String
""
, String
" If you develop a new program, and you want it to be of the greatest"
, String
"possible use to the public, the best way to achieve this is to make it"
, String
"free software which everyone can redistribute and change under these terms."
, String
""
, String
" To do so, attach the following notices to the program. It is safest"
, String
"to attach them to the start of each source file to most effectively"
, String
"convey the exclusion of warranty; and each file should have at least"
, String
"the \"copyright\" line and a pointer to where the full notice is found."
, String
""
, String
" <one line to give the program's name and a brief idea of what it does.>"
, String
" Copyright (C) <year> <name of author>"
, String
""
, String
" This program is free software; you can redistribute it and/or modify"
, String
" it under the terms of the GNU General Public License as published by"
, String
" the Free Software Foundation; either version 2 of the License, or"
, String
" (at your option) any later version."
, String
""
, String
" This program is distributed in the hope that it will be useful,"
, String
" but WITHOUT ANY WARRANTY; without even the implied warranty of"
, String
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
, String
" GNU General Public License for more details."
, String
""
, String
" You should have received a copy of the GNU General Public License along"
, String
" with this program; if not, write to the Free Software Foundation, Inc.,"
, String
" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA."
, String
""
, String
"Also add information on how to contact you by electronic and paper mail."
, String
""
, String
"If the program is interactive, make it output a short notice like this"
, String
"when it starts in an interactive mode:"
, String
""
, String
" Gnomovision version 69, Copyright (C) year name of author"
, String
" Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'."
, String
" This is free software, and you are welcome to redistribute it"
, String
" under certain conditions; type `show c' for details."
, String
""
, String
"The hypothetical commands `show w' and `show c' should show the appropriate"
, String
"parts of the General Public License. Of course, the commands you use may"
, String
"be called something other than `show w' and `show c'; they could even be"
, String
"mouse-clicks or menu items--whatever suits your program."
, String
""
, String
"You should also get your employer (if you work as a programmer) or your"
, String
"school, if any, to sign a \"copyright disclaimer\" for the program, if"
, String
"necessary. Here is a sample; alter the names:"
, String
""
, String
" Yoyodyne, Inc., hereby disclaims all copyright interest in the program"
, String
" `Gnomovision' (which makes passes at compilers) written by James Hacker."
, String
""
, String
" <signature of Ty Coon>, 1 April 1989"
, String
" Ty Coon, President of Vice"
, String
""
, String
"This General Public License does not permit incorporating your program into"
, String
"proprietary programs. If your program is a subroutine library, you may"
, String
"consider it more useful to permit linking proprietary applications with the"
, String
"library. If this is what you want to do, use the GNU Lesser General"
, String
"Public License instead of this License."
]
gplv3 :: License
gplv3 :: String
gplv3 = [String] -> String
unlines
[ String
" GNU GENERAL PUBLIC LICENSE"
, String
" Version 3, 29 June 2007"
, String
""
, String
" Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>"
, String
" Everyone is permitted to copy and distribute verbatim copies"
, String
" of this license document, but changing it is not allowed."
, String
""
, String
" Preamble"
, String
""
, String
" The GNU General Public License is a free, copyleft license for"
, String
"software and other kinds of works."
, String
""
, String
" The licenses for most software and other practical works are designed"
, String
"to take away your freedom to share and change the works. By contrast,"
, String
"the GNU General Public License is intended to guarantee your freedom to"
, String
"share and change all versions of a program--to make sure it remains free"
, String
"software for all its users. We, the Free Software Foundation, use the"
, String
"GNU General Public License for most of our software; it applies also to"
, String
"any other work released this way by its authors. You can apply it to"
, String
"your programs, too."
, String
""
, String
" When we speak of free software, we are referring to freedom, not"
, String
"price. Our General Public Licenses are designed to make sure that you"
, String
"have the freedom to distribute copies of free software (and charge for"
, String
"them if you wish), that you receive source code or can get it if you"
, String
"want it, that you can change the software or use pieces of it in new"
, String
"free programs, and that you know you can do these things."
, String
""
, String
" To protect your rights, we need to prevent others from denying you"
, String
"these rights or asking you to surrender the rights. Therefore, you have"
, String
"certain responsibilities if you distribute copies of the software, or if"
, String
"you modify it: responsibilities to respect the freedom of others."
, String
""
, String
" For example, if you distribute copies of such a program, whether"
, String
"gratis or for a fee, you must pass on to the recipients the same"
, String
"freedoms that you received. You must make sure that they, too, receive"
, String
"or can get the source code. And you must show them these terms so they"
, String
"know their rights."
, String
""
, String
" Developers that use the GNU GPL protect your rights with two steps:"
, String
"(1) assert copyright on the software, and (2) offer you this License"
, String
"giving you legal permission to copy, distribute and/or modify it."
, String
""
, String
" For the developers' and authors' protection, the GPL clearly explains"
, String
"that there is no warranty for this free software. For both users' and"
, String
"authors' sake, the GPL requires that modified versions be marked as"
, String
"changed, so that their problems will not be attributed erroneously to"
, String
"authors of previous versions."
, String
""
, String
" Some devices are designed to deny users access to install or run"
, String
"modified versions of the software inside them, although the manufacturer"
, String
"can do so. This is fundamentally incompatible with the aim of"
, String
"protecting users' freedom to change the software. The systematic"
, String
"pattern of such abuse occurs in the area of products for individuals to"
, String
"use, which is precisely where it is most unacceptable. Therefore, we"
, String
"have designed this version of the GPL to prohibit the practice for those"
, String
"products. If such problems arise substantially in other domains, we"
, String
"stand ready to extend this provision to those domains in future versions"
, String
"of the GPL, as needed to protect the freedom of users."
, String
""
, String
" Finally, every program is threatened constantly by software patents."
, String
"States should not allow patents to restrict development and use of"
, String
"software on general-purpose computers, but in those that do, we wish to"
, String
"avoid the special danger that patents applied to a free program could"
, String
"make it effectively proprietary. To prevent this, the GPL assures that"
, String
"patents cannot be used to render the program non-free."
, String
""
, String
" The precise terms and conditions for copying, distribution and"
, String
"modification follow."
, String
""
, String
" TERMS AND CONDITIONS"
, String
""
, String
" 0. Definitions."
, String
""
, String
" \"This License\" refers to version 3 of the GNU General Public License."
, String
""
, String
" \"Copyright\" also means copyright-like laws that apply to other kinds of"
, String
"works, such as semiconductor masks."
, String
""
, String
" \"The Program\" refers to any copyrightable work licensed under this"
, String
"License. Each licensee is addressed as \"you\". \"Licensees\" and"
, String
"\"recipients\" may be individuals or organizations."
, String
""
, String
" To \"modify\" a work means to copy from or adapt all or part of the work"
, String
"in a fashion requiring copyright permission, other than the making of an"
, String
"exact copy. The resulting work is called a \"modified version\" of the"
, String
"earlier work or a work \"based on\" the earlier work."
, String
""
, String
" A \"covered work\" means either the unmodified Program or a work based"
, String
"on the Program."
, String
""
, String
" To \"propagate\" a work means to do anything with it that, without"
, String
"permission, would make you directly or secondarily liable for"
, String
"infringement under applicable copyright law, except executing it on a"
, String
"computer or modifying a private copy. Propagation includes copying,"
, String
"distribution (with or without modification), making available to the"
, String
"public, and in some countries other activities as well."
, String
""
, String
" To \"convey\" a work means any kind of propagation that enables other"
, String
"parties to make or receive copies. Mere interaction with a user through"
, String
"a computer network, with no transfer of a copy, is not conveying."
, String
""
, String
" An interactive user interface displays \"Appropriate Legal Notices\""
, String
"to the extent that it includes a convenient and prominently visible"
, String
"feature that (1) displays an appropriate copyright notice, and (2)"
, String
"tells the user that there is no warranty for the work (except to the"
, String
"extent that warranties are provided), that licensees may convey the"
, String
"work under this License, and how to view a copy of this License. If"
, String
"the interface presents a list of user commands or options, such as a"
, String
"menu, a prominent item in the list meets this criterion."
, String
""
, String
" 1. Source Code."
, String
""
, String
" The \"source code\" for a work means the preferred form of the work"
, String
"for making modifications to it. \"Object code\" means any non-source"
, String
"form of a work."
, String
""
, String
" A \"Standard Interface\" means an interface that either is an official"
, String
"standard defined by a recognized standards body, or, in the case of"
, String
"interfaces specified for a particular programming language, one that"
, String
"is widely used among developers working in that language."
, String
""
, String
" The \"System Libraries\" of an executable work include anything, other"
, String
"than the work as a whole, that (a) is included in the normal form of"
, String
"packaging a Major Component, but which is not part of that Major"
, String
"Component, and (b) serves only to enable use of the work with that"
, String
"Major Component, or to implement a Standard Interface for which an"
, String
"implementation is available to the public in source code form. A"
, String
"\"Major Component\", in this context, means a major essential component"
, String
"(kernel, window system, and so on) of the specific operating system"
, String
"(if any) on which the executable work runs, or a compiler used to"
, String
"produce the work, or an object code interpreter used to run it."
, String
""
, String
" The \"Corresponding Source\" for a work in object code form means all"
, String
"the source code needed to generate, install, and (for an executable"
, String
"work) run the object code and to modify the work, including scripts to"
, String
"control those activities. However, it does not include the work's"
, String
"System Libraries, or general-purpose tools or generally available free"
, String
"programs which are used unmodified in performing those activities but"
, String
"which are not part of the work. For example, Corresponding Source"
, String
"includes interface definition files associated with source files for"
, String
"the work, and the source code for shared libraries and dynamically"
, String
"linked subprograms that the work is specifically designed to require,"
, String
"such as by intimate data communication or control flow between those"
, String
"subprograms and other parts of the work."
, String
""
, String
" The Corresponding Source need not include anything that users"
, String
"can regenerate automatically from other parts of the Corresponding"
, String
"Source."
, String
""
, String
" The Corresponding Source for a work in source code form is that"
, String
"same work."
, String
""
, String
" 2. Basic Permissions."
, String
""
, String
" All rights granted under this License are granted for the term of"
, String
"copyright on the Program, and are irrevocable provided the stated"
, String
"conditions are met. This License explicitly affirms your unlimited"
, String
"permission to run the unmodified Program. The output from running a"
, String
"covered work is covered by this License only if the output, given its"
, String
"content, constitutes a covered work. This License acknowledges your"
, String
"rights of fair use or other equivalent, as provided by copyright law."
, String
""
, String
" You may make, run and propagate covered works that you do not"
, String
"convey, without conditions so long as your license otherwise remains"
, String
"in force. You may convey covered works to others for the sole purpose"
, String
"of having them make modifications exclusively for you, or provide you"
, String
"with facilities for running those works, provided that you comply with"
, String
"the terms of this License in conveying all material for which you do"
, String
"not control copyright. Those thus making or running the covered works"
, String
"for you must do so exclusively on your behalf, under your direction"
, String
"and control, on terms that prohibit them from making any copies of"
, String
"your copyrighted material outside their relationship with you."
, String
""
, String
" Conveying under any other circumstances is permitted solely under"
, String
"the conditions stated below. Sublicensing is not allowed; section 10"
, String
"makes it unnecessary."
, String
""
, String
" 3. Protecting Users' Legal Rights From Anti-Circumvention Law."
, String
""
, String
" No covered work shall be deemed part of an effective technological"
, String
"measure under any applicable law fulfilling obligations under article"
, String
"11 of the WIPO copyright treaty adopted on 20 December 1996, or"
, String
"similar laws prohibiting or restricting circumvention of such"
, String
"measures."
, String
""
, String
" When you convey a covered work, you waive any legal power to forbid"
, String
"circumvention of technological measures to the extent such circumvention"
, String
"is effected by exercising rights under this License with respect to"
, String
"the covered work, and you disclaim any intention to limit operation or"
, String
"modification of the work as a means of enforcing, against the work's"
, String
"users, your or third parties' legal rights to forbid circumvention of"
, String
"technological measures."
, String
""
, String
" 4. Conveying Verbatim Copies."
, String
""
, String
" You may convey verbatim copies of the Program's source code as you"
, String
"receive it, in any medium, provided that you conspicuously and"
, String
"appropriately publish on each copy an appropriate copyright notice;"
, String
"keep intact all notices stating that this License and any"
, String
"non-permissive terms added in accord with section 7 apply to the code;"
, String
"keep intact all notices of the absence of any warranty; and give all"
, String
"recipients a copy of this License along with the Program."
, String
""
, String
" You may charge any price or no price for each copy that you convey,"
, String
"and you may offer support or warranty protection for a fee."
, String
""
, String
" 5. Conveying Modified Source Versions."
, String
""
, String
" You may convey a work based on the Program, or the modifications to"
, String
"produce it from the Program, in the form of source code under the"
, String
"terms of section 4, provided that you also meet all of these conditions:"
, String
""
, String
" a) The work must carry prominent notices stating that you modified"
, String
" it, and giving a relevant date."
, String
""
, String
" b) The work must carry prominent notices stating that it is"
, String
" released under this License and any conditions added under section"
, String
" 7. This requirement modifies the requirement in section 4 to"
, String
" \"keep intact all notices\"."
, String
""
, String
" c) You must license the entire work, as a whole, under this"
, String
" License to anyone who comes into possession of a copy. This"
, String
" License will therefore apply, along with any applicable section 7"
, String
" additional terms, to the whole of the work, and all its parts,"
, String
" regardless of how they are packaged. This License gives no"
, String
" permission to license the work in any other way, but it does not"
, String
" invalidate such permission if you have separately received it."
, String
""
, String
" d) If the work has interactive user interfaces, each must display"
, String
" Appropriate Legal Notices; however, if the Program has interactive"
, String
" interfaces that do not display Appropriate Legal Notices, your"
, String
" work need not make them do so."
, String
""
, String
" A compilation of a covered work with other separate and independent"
, String
"works, which are not by their nature extensions of the covered work,"
, String
"and which are not combined with it such as to form a larger program,"
, String
"in or on a volume of a storage or distribution medium, is called an"
, String
"\"aggregate\" if the compilation and its resulting copyright are not"
, String
"used to limit the access or legal rights of the compilation's users"
, String
"beyond what the individual works permit. Inclusion of a covered work"
, String
"in an aggregate does not cause this License to apply to the other"
, String
"parts of the aggregate."
, String
""
, String
" 6. Conveying Non-Source Forms."
, String
""
, String
" You may convey a covered work in object code form under the terms"
, String
"of sections 4 and 5, provided that you also convey the"
, String
"machine-readable Corresponding Source under the terms of this License,"
, String
"in one of these ways:"
, String
""
, String
" a) Convey the object code in, or embodied in, a physical product"
, String
" (including a physical distribution medium), accompanied by the"
, String
" Corresponding Source fixed on a durable physical medium"
, String
" customarily used for software interchange."
, String
""
, String
" b) Convey the object code in, or embodied in, a physical product"
, String
" (including a physical distribution medium), accompanied by a"
, String
" written offer, valid for at least three years and valid for as"
, String
" long as you offer spare parts or customer support for that product"
, String
" model, to give anyone who possesses the object code either (1) a"
, String
" copy of the Corresponding Source for all the software in the"
, String
" product that is covered by this License, on a durable physical"
, String
" medium customarily used for software interchange, for a price no"
, String
" more than your reasonable cost of physically performing this"
, String
" conveying of source, or (2) access to copy the"
, String
" Corresponding Source from a network server at no charge."
, String
""
, String
" c) Convey individual copies of the object code with a copy of the"
, String
" written offer to provide the Corresponding Source. This"
, String
" alternative is allowed only occasionally and noncommercially, and"
, String
" only if you received the object code with such an offer, in accord"
, String
" with subsection 6b."
, String
""
, String
" d) Convey the object code by offering access from a designated"
, String
" place (gratis or for a charge), and offer equivalent access to the"
, String
" Corresponding Source in the same way through the same place at no"
, String
" further charge. You need not require recipients to copy the"
, String
" Corresponding Source along with the object code. If the place to"
, String
" copy the object code is a network server, the Corresponding Source"
, String
" may be on a different server (operated by you or a third party)"
, String
" that supports equivalent copying facilities, provided you maintain"
, String
" clear directions next to the object code saying where to find the"
, String
" Corresponding Source. Regardless of what server hosts the"
, String
" Corresponding Source, you remain obligated to ensure that it is"
, String
" available for as long as needed to satisfy these requirements."
, String
""
, String
" e) Convey the object code using peer-to-peer transmission, provided"
, String
" you inform other peers where the object code and Corresponding"
, String
" Source of the work are being offered to the general public at no"
, String
" charge under subsection 6d."
, String
""
, String
" A separable portion of the object code, whose source code is excluded"
, String
"from the Corresponding Source as a System Library, need not be"
, String
"included in conveying the object code work."
, String
""
, String
" A \"User Product\" is either (1) a \"consumer product\", which means any"
, String
"tangible personal property which is normally used for personal, family,"
, String
"or household purposes, or (2) anything designed or sold for incorporation"
, String
"into a dwelling. In determining whether a product is a consumer product,"
, String
"doubtful cases shall be resolved in favor of coverage. For a particular"
, String
"product received by a particular user, \"normally used\" refers to a"
, String
"typical or common use of that class of product, regardless of the status"
, String
"of the particular user or of the way in which the particular user"
, String
"actually uses, or expects or is expected to use, the product. A product"
, String
"is a consumer product regardless of whether the product has substantial"
, String
"commercial, industrial or non-consumer uses, unless such uses represent"
, String
"the only significant mode of use of the product."
, String
""
, String
" \"Installation Information\" for a User Product means any methods,"
, String
"procedures, authorization keys, or other information required to install"
, String
"and execute modified versions of a covered work in that User Product from"
, String
"a modified version of its Corresponding Source. The information must"
, String
"suffice to ensure that the continued functioning of the modified object"
, String
"code is in no case prevented or interfered with solely because"
, String
"modification has been made."
, String
""
, String
" If you convey an object code work under this section in, or with, or"
, String
"specifically for use in, a User Product, and the conveying occurs as"
, String
"part of a transaction in which the right of possession and use of the"
, String
"User Product is transferred to the recipient in perpetuity or for a"
, String
"fixed term (regardless of how the transaction is characterized), the"
, String
"Corresponding Source conveyed under this section must be accompanied"
, String
"by the Installation Information. But this requirement does not apply"
, String
"if neither you nor any third party retains the ability to install"
, String
"modified object code on the User Product (for example, the work has"
, String
"been installed in ROM)."
, String
""
, String
" The requirement to provide Installation Information does not include a"
, String
"requirement to continue to provide support service, warranty, or updates"
, String
"for a work that has been modified or installed by the recipient, or for"
, String
"the User Product in which it has been modified or installed. Access to a"
, String
"network may be denied when the modification itself materially and"
, String
"adversely affects the operation of the network or violates the rules and"
, String
"protocols for communication across the network."
, String
""
, String
" Corresponding Source conveyed, and Installation Information provided,"
, String
"in accord with this section must be in a format that is publicly"
, String
"documented (and with an implementation available to the public in"
, String
"source code form), and must require no special password or key for"
, String
"unpacking, reading or copying."
, String
""
, String
" 7. Additional Terms."
, String
""
, String
" \"Additional permissions\" are terms that supplement the terms of this"
, String
"License by making exceptions from one or more of its conditions."
, String
"Additional permissions that are applicable to the entire Program shall"
, String
"be treated as though they were included in this License, to the extent"
, String
"that they are valid under applicable law. If additional permissions"
, String
"apply only to part of the Program, that part may be used separately"
, String
"under those permissions, but the entire Program remains governed by"
, String
"this License without regard to the additional permissions."
, String
""
, String
" When you convey a copy of a covered work, you may at your option"
, String
"remove any additional permissions from that copy, or from any part of"
, String
"it. (Additional permissions may be written to require their own"
, String
"removal in certain cases when you modify the work.) You may place"
, String
"additional permissions on material, added by you to a covered work,"
, String
"for which you have or can give appropriate copyright permission."
, String
""
, String
" Notwithstanding any other provision of this License, for material you"
, String
"add to a covered work, you may (if authorized by the copyright holders of"
, String
"that material) supplement the terms of this License with terms:"
, String
""
, String
" a) Disclaiming warranty or limiting liability differently from the"
, String
" terms of sections 15 and 16 of this License; or"
, String
""
, String
" b) Requiring preservation of specified reasonable legal notices or"
, String
" author attributions in that material or in the Appropriate Legal"
, String
" Notices displayed by works containing it; or"
, String
""
, String
" c) Prohibiting misrepresentation of the origin of that material, or"
, String
" requiring that modified versions of such material be marked in"
, String
" reasonable ways as different from the original version; or"
, String
""
, String
" d) Limiting the use for publicity purposes of names of licensors or"
, String
" authors of the material; or"
, String
""
, String
" e) Declining to grant rights under trademark law for use of some"
, String
" trade names, trademarks, or service marks; or"
, String
""
, String
" f) Requiring indemnification of licensors and authors of that"
, String
" material by anyone who conveys the material (or modified versions of"
, String
" it) with contractual assumptions of liability to the recipient, for"
, String
" any liability that these contractual assumptions directly impose on"
, String
" those licensors and authors."
, String
""
, String
" All other non-permissive additional terms are considered \"further"
, String
"restrictions\" within the meaning of section 10. If the Program as you"
, String
"received it, or any part of it, contains a notice stating that it is"
, String
"governed by this License along with a term that is a further"
, String
"restriction, you may remove that term. If a license document contains"
, String
"a further restriction but permits relicensing or conveying under this"
, String
"License, you may add to a covered work material governed by the terms"
, String
"of that license document, provided that the further restriction does"
, String
"not survive such relicensing or conveying."
, String
""
, String
" If you add terms to a covered work in accord with this section, you"
, String
"must place, in the relevant source files, a statement of the"
, String
"additional terms that apply to those files, or a notice indicating"
, String
"where to find the applicable terms."
, String
""
, String
" Additional terms, permissive or non-permissive, may be stated in the"
, String
"form of a separately written license, or stated as exceptions;"
, String
"the above requirements apply either way."
, String
""
, String
" 8. Termination."
, String
""
, String
" You may not propagate or modify a covered work except as expressly"
, String
"provided under this License. Any attempt otherwise to propagate or"
, String
"modify it is void, and will automatically terminate your rights under"
, String
"this License (including any patent licenses granted under the third"
, String
"paragraph of section 11)."
, String
""
, String
" However, if you cease all violation of this License, then your"
, String
"license from a particular copyright holder is reinstated (a)"
, String
"provisionally, unless and until the copyright holder explicitly and"
, String
"finally terminates your license, and (b) permanently, if the copyright"
, String
"holder fails to notify you of the violation by some reasonable means"
, String
"prior to 60 days after the cessation."
, String
""
, String
" Moreover, your license from a particular copyright holder is"
, String
"reinstated permanently if the copyright holder notifies you of the"
, String
"violation by some reasonable means, this is the first time you have"
, String
"received notice of violation of this License (for any work) from that"
, String
"copyright holder, and you cure the violation prior to 30 days after"
, String
"your receipt of the notice."
, String
""
, String
" Termination of your rights under this section does not terminate the"
, String
"licenses of parties who have received copies or rights from you under"
, String
"this License. If your rights have been terminated and not permanently"
, String
"reinstated, you do not qualify to receive new licenses for the same"
, String
"material under section 10."
, String
""
, String
" 9. Acceptance Not Required for Having Copies."
, String
""
, String
" You are not required to accept this License in order to receive or"
, String
"run a copy of the Program. Ancillary propagation of a covered work"
, String
"occurring solely as a consequence of using peer-to-peer transmission"
, String
"to receive a copy likewise does not require acceptance. However,"
, String
"nothing other than this License grants you permission to propagate or"
, String
"modify any covered work. These actions infringe copyright if you do"
, String
"not accept this License. Therefore, by modifying or propagating a"
, String
"covered work, you indicate your acceptance of this License to do so."
, String
""
, String
" 10. Automatic Licensing of Downstream Recipients."
, String
""
, String
" Each time you convey a covered work, the recipient automatically"
, String
"receives a license from the original licensors, to run, modify and"
, String
"propagate that work, subject to this License. You are not responsible"
, String
"for enforcing compliance by third parties with this License."
, String
""
, String
" An \"entity transaction\" is a transaction transferring control of an"
, String
"organization, or substantially all assets of one, or subdividing an"
, String
"organization, or merging organizations. If propagation of a covered"
, String
"work results from an entity transaction, each party to that"
, String
"transaction who receives a copy of the work also receives whatever"
, String
"licenses to the work the party's predecessor in interest had or could"
, String
"give under the previous paragraph, plus a right to possession of the"
, String
"Corresponding Source of the work from the predecessor in interest, if"
, String
"the predecessor has it or can get it with reasonable efforts."
, String
""
, String
" You may not impose any further restrictions on the exercise of the"
, String
"rights granted or affirmed under this License. For example, you may"
, String
"not impose a license fee, royalty, or other charge for exercise of"
, String
"rights granted under this License, and you may not initiate litigation"
, String
"(including a cross-claim or counterclaim in a lawsuit) alleging that"
, String
"any patent claim is infringed by making, using, selling, offering for"
, String
"sale, or importing the Program or any portion of it."
, String
""
, String
" 11. Patents."
, String
""
, String
" A \"contributor\" is a copyright holder who authorizes use under this"
, String
"License of the Program or a work on which the Program is based. The"
, String
"work thus licensed is called the contributor's \"contributor version\"."
, String
""
, String
" A contributor's \"essential patent claims\" are all patent claims"
, String
"owned or controlled by the contributor, whether already acquired or"
, String
"hereafter acquired, that would be infringed by some manner, permitted"
, String
"by this License, of making, using, or selling its contributor version,"
, String
"but do not include claims that would be infringed only as a"
, String
"consequence of further modification of the contributor version. For"
, String
"purposes of this definition, \"control\" includes the right to grant"
, String
"patent sublicenses in a manner consistent with the requirements of"
, String
"this License."
, String
""
, String
" Each contributor grants you a non-exclusive, worldwide, royalty-free"
, String
"patent license under the contributor's essential patent claims, to"
, String
"make, use, sell, offer for sale, import and otherwise run, modify and"
, String
"propagate the contents of its contributor version."
, String
""
, String
" In the following three paragraphs, a \"patent license\" is any express"
, String
"agreement or commitment, however denominated, not to enforce a patent"
, String
"(such as an express permission to practice a patent or covenant not to"
, String
"sue for patent infringement). To \"grant\" such a patent license to a"
, String
"party means to make such an agreement or commitment not to enforce a"
, String
"patent against the party."
, String
""
, String
" If you convey a covered work, knowingly relying on a patent license,"
, String
"and the Corresponding Source of the work is not available for anyone"
, String
"to copy, free of charge and under the terms of this License, through a"
, String
"publicly available network server or other readily accessible means,"
, String
"then you must either (1) cause the Corresponding Source to be so"
, String
"available, or (2) arrange to deprive yourself of the benefit of the"
, String
"patent license for this particular work, or (3) arrange, in a manner"
, String
"consistent with the requirements of this License, to extend the patent"
, String
"license to downstream recipients. \"Knowingly relying\" means you have"
, String
"actual knowledge that, but for the patent license, your conveying the"
, String
"covered work in a country, or your recipient's use of the covered work"
, String
"in a country, would infringe one or more identifiable patents in that"
, String
"country that you have reason to believe are valid."
, String
""
, String
" If, pursuant to or in connection with a single transaction or"
, String
"arrangement, you convey, or propagate by procuring conveyance of, a"
, String
"covered work, and grant a patent license to some of the parties"
, String
"receiving the covered work authorizing them to use, propagate, modify"
, String
"or convey a specific copy of the covered work, then the patent license"
, String
"you grant is automatically extended to all recipients of the covered"
, String
"work and works based on it."
, String
""
, String
" A patent license is \"discriminatory\" if it does not include within"
, String
"the scope of its coverage, prohibits the exercise of, or is"
, String
"conditioned on the non-exercise of one or more of the rights that are"
, String
"specifically granted under this License. You may not convey a covered"
, String
"work if you are a party to an arrangement with a third party that is"
, String
"in the business of distributing software, under which you make payment"
, String
"to the third party based on the extent of your activity of conveying"
, String
"the work, and under which the third party grants, to any of the"
, String
"parties who would receive the covered work from you, a discriminatory"
, String
"patent license (a) in connection with copies of the covered work"
, String
"conveyed by you (or copies made from those copies), or (b) primarily"
, String
"for and in connection with specific products or compilations that"
, String
"contain the covered work, unless you entered into that arrangement,"
, String
"or that patent license was granted, prior to 28 March 2007."
, String
""
, String
" Nothing in this License shall be construed as excluding or limiting"
, String
"any implied license or other defenses to infringement that may"
, String
"otherwise be available to you under applicable patent law."
, String
""
, String
" 12. No Surrender of Others' Freedom."
, String
""
, String
" If conditions are imposed on you (whether by court order, agreement or"
, String
"otherwise) that contradict the conditions of this License, they do not"
, String
"excuse you from the conditions of this License. If you cannot convey a"
, String
"covered work so as to satisfy simultaneously your obligations under this"
, String
"License and any other pertinent obligations, then as a consequence you may"
, String
"not convey it at all. For example, if you agree to terms that obligate you"
, String
"to collect a royalty for further conveying from those to whom you convey"
, String
"the Program, the only way you could satisfy both those terms and this"
, String
"License would be to refrain entirely from conveying the Program."
, String
""
, String
" 13. Use with the GNU Affero General Public License."
, String
""
, String
" Notwithstanding any other provision of this License, you have"
, String
"permission to link or combine any covered work with a work licensed"
, String
"under version 3 of the GNU Affero General Public License into a single"
, String
"combined work, and to convey the resulting work. The terms of this"
, String
"License will continue to apply to the part which is the covered work,"
, String
"but the special requirements of the GNU Affero General Public License,"
, String
"section 13, concerning interaction through a network will apply to the"
, String
"combination as such."
, String
""
, String
" 14. Revised Versions of this License."
, String
""
, String
" The Free Software Foundation may publish revised and/or new versions of"
, String
"the GNU General Public License from time to time. Such new versions will"
, String
"be similar in spirit to the present version, but may differ in detail to"
, String
"address new problems or concerns."
, String
""
, String
" Each version is given a distinguishing version number. If the"
, String
"Program specifies that a certain numbered version of the GNU General"
, String
"Public License \"or any later version\" applies to it, you have the"
, String
"option of following the terms and conditions either of that numbered"
, String
"version or of any later version published by the Free Software"
, String
"Foundation. If the Program does not specify a version number of the"
, String
"GNU General Public License, you may choose any version ever published"
, String
"by the Free Software Foundation."
, String
""
, String
" If the Program specifies that a proxy can decide which future"
, String
"versions of the GNU General Public License can be used, that proxy's"
, String
"public statement of acceptance of a version permanently authorizes you"
, String
"to choose that version for the Program."
, String
""
, String
" Later license versions may give you additional or different"
, String
"permissions. However, no additional obligations are imposed on any"
, String
"author or copyright holder as a result of your choosing to follow a"
, String
"later version."
, String
""
, String
" 15. Disclaimer of Warranty."
, String
""
, String
" THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY"
, String
"APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT"
, String
"HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY"
, String
"OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,"
, String
"THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR"
, String
"PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM"
, String
"IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF"
, String
"ALL NECESSARY SERVICING, REPAIR OR CORRECTION."
, String
""
, String
" 16. Limitation of Liability."
, String
""
, String
" IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING"
, String
"WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS"
, String
"THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY"
, String
"GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE"
, String
"USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF"
, String
"DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD"
, String
"PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),"
, String
"EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF"
, String
"SUCH DAMAGES."
, String
""
, String
" 17. Interpretation of Sections 15 and 16."
, String
""
, String
" If the disclaimer of warranty and limitation of liability provided"
, String
"above cannot be given local legal effect according to their terms,"
, String
"reviewing courts shall apply local law that most closely approximates"
, String
"an absolute waiver of all civil liability in connection with the"
, String
"Program, unless a warranty or assumption of liability accompanies a"
, String
"copy of the Program in return for a fee."
, String
""
, String
" END OF TERMS AND CONDITIONS"
, String
""
, String
" How to Apply These Terms to Your New Programs"
, String
""
, String
" If you develop a new program, and you want it to be of the greatest"
, String
"possible use to the public, the best way to achieve this is to make it"
, String
"free software which everyone can redistribute and change under these terms."
, String
""
, String
" To do so, attach the following notices to the program. It is safest"
, String
"to attach them to the start of each source file to most effectively"
, String
"state the exclusion of warranty; and each file should have at least"
, String
"the \"copyright\" line and a pointer to where the full notice is found."
, String
""
, String
" <one line to give the program's name and a brief idea of what it does.>"
, String
" Copyright (C) <year> <name of author>"
, String
""
, String
" This program is free software: you can redistribute it and/or modify"
, String
" it under the terms of the GNU General Public License as published by"
, String
" the Free Software Foundation, either version 3 of the License, or"
, String
" (at your option) any later version."
, String
""
, String
" This program is distributed in the hope that it will be useful,"
, String
" but WITHOUT ANY WARRANTY; without even the implied warranty of"
, String
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
, String
" GNU General Public License for more details."
, String
""
, String
" You should have received a copy of the GNU General Public License"
, String
" along with this program. If not, see <http://www.gnu.org/licenses/>."
, String
""
, String
"Also add information on how to contact you by electronic and paper mail."
, String
""
, String
" If the program does terminal interaction, make it output a short"
, String
"notice like this when it starts in an interactive mode:"
, String
""
, String
" <program> Copyright (C) <year> <name of author>"
, String
" This program comes with ABSOLUTELY NO WARRANTY; for details type `show w'."
, String
" This is free software, and you are welcome to redistribute it"
, String
" under certain conditions; type `show c' for details."
, String
""
, String
"The hypothetical commands `show w' and `show c' should show the appropriate"
, String
"parts of the General Public License. Of course, your program's commands"
, String
"might be different; for a GUI interface, you would use an \"about box\"."
, String
""
, String
" You should also get your employer (if you work as a programmer) or school,"
, String
"if any, to sign a \"copyright disclaimer\" for the program, if necessary."
, String
"For more information on this, and how to apply and follow the GNU GPL, see"
, String
"<http://www.gnu.org/licenses/>."
, String
""
, String
" The GNU General Public License does not permit incorporating your program"
, String
"into proprietary programs. If your program is a subroutine library, you"
, String
"may consider it more useful to permit linking proprietary applications with"
, String
"the library. If this is what you want to do, use the GNU Lesser General"
, String
"Public License instead of this License. But first, please read"
, String
"<http://www.gnu.org/philosophy/why-not-lgpl.html>."
]
agplv3 :: License
agplv3 :: String
agplv3 = [String] -> String
unlines
[ String
" GNU AFFERO GENERAL PUBLIC LICENSE"
, String
" Version 3, 19 November 2007"
, String
""
, String
" Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>"
, String
" Everyone is permitted to copy and distribute verbatim copies"
, String
" of this license document, but changing it is not allowed."
, String
""
, String
" Preamble"
, String
""
, String
" The GNU Affero General Public License is a free, copyleft license for"
, String
"software and other kinds of works, specifically designed to ensure"
, String
"cooperation with the community in the case of network server software."
, String
""
, String
" The licenses for most software and other practical works are designed"
, String
"to take away your freedom to share and change the works. By contrast,"
, String
"our General Public Licenses are intended to guarantee your freedom to"
, String
"share and change all versions of a program--to make sure it remains free"
, String
"software for all its users."
, String
""
, String
" When we speak of free software, we are referring to freedom, not"
, String
"price. Our General Public Licenses are designed to make sure that you"
, String
"have the freedom to distribute copies of free software (and charge for"
, String
"them if you wish), that you receive source code or can get it if you"
, String
"want it, that you can change the software or use pieces of it in new"
, String
"free programs, and that you know you can do these things."
, String
""
, String
" Developers that use our General Public Licenses protect your rights"
, String
"with two steps: (1) assert copyright on the software, and (2) offer"
, String
"you this License which gives you legal permission to copy, distribute"
, String
"and/or modify the software."
, String
""
, String
" A secondary benefit of defending all users' freedom is that"
, String
"improvements made in alternate versions of the program, if they"
, String
"receive widespread use, become available for other developers to"
, String
"incorporate. Many developers of free software are heartened and"
, String
"encouraged by the resulting cooperation. However, in the case of"
, String
"software used on network servers, this result may fail to come about."
, String
"The GNU General Public License permits making a modified version and"
, String
"letting the public access it on a server without ever releasing its"
, String
"source code to the public."
, String
""
, String
" The GNU Affero General Public License is designed specifically to"
, String
"ensure that, in such cases, the modified source code becomes available"
, String
"to the community. It requires the operator of a network server to"
, String
"provide the source code of the modified version running there to the"
, String
"users of that server. Therefore, public use of a modified version, on"
, String
"a publicly accessible server, gives the public access to the source"
, String
"code of the modified version."
, String
""
, String
" An older license, called the Affero General Public License and"
, String
"published by Affero, was designed to accomplish similar goals. This is"
, String
"a different license, not a version of the Affero GPL, but Affero has"
, String
"released a new version of the Affero GPL which permits relicensing under"
, String
"this license."
, String
""
, String
" The precise terms and conditions for copying, distribution and"
, String
"modification follow."
, String
""
, String
" TERMS AND CONDITIONS"
, String
""
, String
" 0. Definitions."
, String
""
, String
" \"This License\" refers to version 3 of the GNU Affero General Public License."
, String
""
, String
" \"Copyright\" also means copyright-like laws that apply to other kinds of"
, String
"works, such as semiconductor masks."
, String
""
, String
" \"The Program\" refers to any copyrightable work licensed under this"
, String
"License. Each licensee is addressed as \"you\". \"Licensees\" and"
, String
"\"recipients\" may be individuals or organizations."
, String
""
, String
" To \"modify\" a work means to copy from or adapt all or part of the work"
, String
"in a fashion requiring copyright permission, other than the making of an"
, String
"exact copy. The resulting work is called a \"modified version\" of the"
, String
"earlier work or a work \"based on\" the earlier work."
, String
""
, String
" A \"covered work\" means either the unmodified Program or a work based"
, String
"on the Program."
, String
""
, String
" To \"propagate\" a work means to do anything with it that, without"
, String
"permission, would make you directly or secondarily liable for"
, String
"infringement under applicable copyright law, except executing it on a"
, String
"computer or modifying a private copy. Propagation includes copying,"
, String
"distribution (with or without modification), making available to the"
, String
"public, and in some countries other activities as well."
, String
""
, String
" To \"convey\" a work means any kind of propagation that enables other"
, String
"parties to make or receive copies. Mere interaction with a user through"
, String
"a computer network, with no transfer of a copy, is not conveying."
, String
""
, String
" An interactive user interface displays \"Appropriate Legal Notices\""
, String
"to the extent that it includes a convenient and prominently visible"
, String
"feature that (1) displays an appropriate copyright notice, and (2)"
, String
"tells the user that there is no warranty for the work (except to the"
, String
"extent that warranties are provided), that licensees may convey the"
, String
"work under this License, and how to view a copy of this License. If"
, String
"the interface presents a list of user commands or options, such as a"
, String
"menu, a prominent item in the list meets this criterion."
, String
""
, String
" 1. Source Code."
, String
""
, String
" The \"source code\" for a work means the preferred form of the work"
, String
"for making modifications to it. \"Object code\" means any non-source"
, String
"form of a work."
, String
""
, String
" A \"Standard Interface\" means an interface that either is an official"
, String
"standard defined by a recognized standards body, or, in the case of"
, String
"interfaces specified for a particular programming language, one that"
, String
"is widely used among developers working in that language."
, String
""
, String
" The \"System Libraries\" of an executable work include anything, other"
, String
"than the work as a whole, that (a) is included in the normal form of"
, String
"packaging a Major Component, but which is not part of that Major"
, String
"Component, and (b) serves only to enable use of the work with that"
, String
"Major Component, or to implement a Standard Interface for which an"
, String
"implementation is available to the public in source code form. A"
, String
"\"Major Component\", in this context, means a major essential component"
, String
"(kernel, window system, and so on) of the specific operating system"
, String
"(if any) on which the executable work runs, or a compiler used to"
, String
"produce the work, or an object code interpreter used to run it."
, String
""
, String
" The \"Corresponding Source\" for a work in object code form means all"
, String
"the source code needed to generate, install, and (for an executable"
, String
"work) run the object code and to modify the work, including scripts to"
, String
"control those activities. However, it does not include the work's"
, String
"System Libraries, or general-purpose tools or generally available free"
, String
"programs which are used unmodified in performing those activities but"
, String
"which are not part of the work. For example, Corresponding Source"
, String
"includes interface definition files associated with source files for"
, String
"the work, and the source code for shared libraries and dynamically"
, String
"linked subprograms that the work is specifically designed to require,"
, String
"such as by intimate data communication or control flow between those"
, String
"subprograms and other parts of the work."
, String
""
, String
" The Corresponding Source need not include anything that users"
, String
"can regenerate automatically from other parts of the Corresponding"
, String
"Source."
, String
""
, String
" The Corresponding Source for a work in source code form is that"
, String
"same work."
, String
""
, String
" 2. Basic Permissions."
, String
""
, String
" All rights granted under this License are granted for the term of"
, String
"copyright on the Program, and are irrevocable provided the stated"
, String
"conditions are met. This License explicitly affirms your unlimited"
, String
"permission to run the unmodified Program. The output from running a"
, String
"covered work is covered by this License only if the output, given its"
, String
"content, constitutes a covered work. This License acknowledges your"
, String
"rights of fair use or other equivalent, as provided by copyright law."
, String
""
, String
" You may make, run and propagate covered works that you do not"
, String
"convey, without conditions so long as your license otherwise remains"
, String
"in force. You may convey covered works to others for the sole purpose"
, String
"of having them make modifications exclusively for you, or provide you"
, String
"with facilities for running those works, provided that you comply with"
, String
"the terms of this License in conveying all material for which you do"
, String
"not control copyright. Those thus making or running the covered works"
, String
"for you must do so exclusively on your behalf, under your direction"
, String
"and control, on terms that prohibit them from making any copies of"
, String
"your copyrighted material outside their relationship with you."
, String
""
, String
" Conveying under any other circumstances is permitted solely under"
, String
"the conditions stated below. Sublicensing is not allowed; section 10"
, String
"makes it unnecessary."
, String
""
, String
" 3. Protecting Users' Legal Rights From Anti-Circumvention Law."
, String
""
, String
" No covered work shall be deemed part of an effective technological"
, String
"measure under any applicable law fulfilling obligations under article"
, String
"11 of the WIPO copyright treaty adopted on 20 December 1996, or"
, String
"similar laws prohibiting or restricting circumvention of such"
, String
"measures."
, String
""
, String
" When you convey a covered work, you waive any legal power to forbid"
, String
"circumvention of technological measures to the extent such circumvention"
, String
"is effected by exercising rights under this License with respect to"
, String
"the covered work, and you disclaim any intention to limit operation or"
, String
"modification of the work as a means of enforcing, against the work's"
, String
"users, your or third parties' legal rights to forbid circumvention of"
, String
"technological measures."
, String
""
, String
" 4. Conveying Verbatim Copies."
, String
""
, String
" You may convey verbatim copies of the Program's source code as you"
, String
"receive it, in any medium, provided that you conspicuously and"
, String
"appropriately publish on each copy an appropriate copyright notice;"
, String
"keep intact all notices stating that this License and any"
, String
"non-permissive terms added in accord with section 7 apply to the code;"
, String
"keep intact all notices of the absence of any warranty; and give all"
, String
"recipients a copy of this License along with the Program."
, String
""
, String
" You may charge any price or no price for each copy that you convey,"
, String
"and you may offer support or warranty protection for a fee."
, String
""
, String
" 5. Conveying Modified Source Versions."
, String
""
, String
" You may convey a work based on the Program, or the modifications to"
, String
"produce it from the Program, in the form of source code under the"
, String
"terms of section 4, provided that you also meet all of these conditions:"
, String
""
, String
" a) The work must carry prominent notices stating that you modified"
, String
" it, and giving a relevant date."
, String
""
, String
" b) The work must carry prominent notices stating that it is"
, String
" released under this License and any conditions added under section"
, String
" 7. This requirement modifies the requirement in section 4 to"
, String
" \"keep intact all notices\"."
, String
""
, String
" c) You must license the entire work, as a whole, under this"
, String
" License to anyone who comes into possession of a copy. This"
, String
" License will therefore apply, along with any applicable section 7"
, String
" additional terms, to the whole of the work, and all its parts,"
, String
" regardless of how they are packaged. This License gives no"
, String
" permission to license the work in any other way, but it does not"
, String
" invalidate such permission if you have separately received it."
, String
""
, String
" d) If the work has interactive user interfaces, each must display"
, String
" Appropriate Legal Notices; however, if the Program has interactive"
, String
" interfaces that do not display Appropriate Legal Notices, your"
, String
" work need not make them do so."
, String
""
, String
" A compilation of a covered work with other separate and independent"
, String
"works, which are not by their nature extensions of the covered work,"
, String
"and which are not combined with it such as to form a larger program,"
, String
"in or on a volume of a storage or distribution medium, is called an"
, String
"\"aggregate\" if the compilation and its resulting copyright are not"
, String
"used to limit the access or legal rights of the compilation's users"
, String
"beyond what the individual works permit. Inclusion of a covered work"
, String
"in an aggregate does not cause this License to apply to the other"
, String
"parts of the aggregate."
, String
""
, String
" 6. Conveying Non-Source Forms."
, String
""
, String
" You may convey a covered work in object code form under the terms"
, String
"of sections 4 and 5, provided that you also convey the"
, String
"machine-readable Corresponding Source under the terms of this License,"
, String
"in one of these ways:"
, String
""
, String
" a) Convey the object code in, or embodied in, a physical product"
, String
" (including a physical distribution medium), accompanied by the"
, String
" Corresponding Source fixed on a durable physical medium"
, String
" customarily used for software interchange."
, String
""
, String
" b) Convey the object code in, or embodied in, a physical product"
, String
" (including a physical distribution medium), accompanied by a"
, String
" written offer, valid for at least three years and valid for as"
, String
" long as you offer spare parts or customer support for that product"
, String
" model, to give anyone who possesses the object code either (1) a"
, String
" copy of the Corresponding Source for all the software in the"
, String
" product that is covered by this License, on a durable physical"
, String
" medium customarily used for software interchange, for a price no"
, String
" more than your reasonable cost of physically performing this"
, String
" conveying of source, or (2) access to copy the"
, String
" Corresponding Source from a network server at no charge."
, String
""
, String
" c) Convey individual copies of the object code with a copy of the"
, String
" written offer to provide the Corresponding Source. This"
, String
" alternative is allowed only occasionally and noncommercially, and"
, String
" only if you received the object code with such an offer, in accord"
, String
" with subsection 6b."
, String
""
, String
" d) Convey the object code by offering access from a designated"
, String
" place (gratis or for a charge), and offer equivalent access to the"
, String
" Corresponding Source in the same way through the same place at no"
, String
" further charge. You need not require recipients to copy the"
, String
" Corresponding Source along with the object code. If the place to"
, String
" copy the object code is a network server, the Corresponding Source"
, String
" may be on a different server (operated by you or a third party)"
, String
" that supports equivalent copying facilities, provided you maintain"
, String
" clear directions next to the object code saying where to find the"
, String
" Corresponding Source. Regardless of what server hosts the"
, String
" Corresponding Source, you remain obligated to ensure that it is"
, String
" available for as long as needed to satisfy these requirements."
, String
""
, String
" e) Convey the object code using peer-to-peer transmission, provided"
, String
" you inform other peers where the object code and Corresponding"
, String
" Source of the work are being offered to the general public at no"
, String
" charge under subsection 6d."
, String
""
, String
" A separable portion of the object code, whose source code is excluded"
, String
"from the Corresponding Source as a System Library, need not be"
, String
"included in conveying the object code work."
, String
""
, String
" A \"User Product\" is either (1) a \"consumer product\", which means any"
, String
"tangible personal property which is normally used for personal, family,"
, String
"or household purposes, or (2) anything designed or sold for incorporation"
, String
"into a dwelling. In determining whether a product is a consumer product,"
, String
"doubtful cases shall be resolved in favor of coverage. For a particular"
, String
"product received by a particular user, \"normally used\" refers to a"
, String
"typical or common use of that class of product, regardless of the status"
, String
"of the particular user or of the way in which the particular user"
, String
"actually uses, or expects or is expected to use, the product. A product"
, String
"is a consumer product regardless of whether the product has substantial"
, String
"commercial, industrial or non-consumer uses, unless such uses represent"
, String
"the only significant mode of use of the product."
, String
""
, String
" \"Installation Information\" for a User Product means any methods,"
, String
"procedures, authorization keys, or other information required to install"
, String
"and execute modified versions of a covered work in that User Product from"
, String
"a modified version of its Corresponding Source. The information must"
, String
"suffice to ensure that the continued functioning of the modified object"
, String
"code is in no case prevented or interfered with solely because"
, String
"modification has been made."
, String
""
, String
" If you convey an object code work under this section in, or with, or"
, String
"specifically for use in, a User Product, and the conveying occurs as"
, String
"part of a transaction in which the right of possession and use of the"
, String
"User Product is transferred to the recipient in perpetuity or for a"
, String
"fixed term (regardless of how the transaction is characterized), the"
, String
"Corresponding Source conveyed under this section must be accompanied"
, String
"by the Installation Information. But this requirement does not apply"
, String
"if neither you nor any third party retains the ability to install"
, String
"modified object code on the User Product (for example, the work has"
, String
"been installed in ROM)."
, String
""
, String
" The requirement to provide Installation Information does not include a"
, String
"requirement to continue to provide support service, warranty, or updates"
, String
"for a work that has been modified or installed by the recipient, or for"
, String
"the User Product in which it has been modified or installed. Access to a"
, String
"network may be denied when the modification itself materially and"
, String
"adversely affects the operation of the network or violates the rules and"
, String
"protocols for communication across the network."
, String
""
, String
" Corresponding Source conveyed, and Installation Information provided,"
, String
"in accord with this section must be in a format that is publicly"
, String
"documented (and with an implementation available to the public in"
, String
"source code form), and must require no special password or key for"
, String
"unpacking, reading or copying."
, String
""
, String
" 7. Additional Terms."
, String
""
, String
" \"Additional permissions\" are terms that supplement the terms of this"
, String
"License by making exceptions from one or more of its conditions."
, String
"Additional permissions that are applicable to the entire Program shall"
, String
"be treated as though they were included in this License, to the extent"
, String
"that they are valid under applicable law. If additional permissions"
, String
"apply only to part of the Program, that part may be used separately"
, String
"under those permissions, but the entire Program remains governed by"
, String
"this License without regard to the additional permissions."
, String
""
, String
" When you convey a copy of a covered work, you may at your option"
, String
"remove any additional permissions from that copy, or from any part of"
, String
"it. (Additional permissions may be written to require their own"
, String
"removal in certain cases when you modify the work.) You may place"
, String
"additional permissions on material, added by you to a covered work,"
, String
"for which you have or can give appropriate copyright permission."
, String
""
, String
" Notwithstanding any other provision of this License, for material you"
, String
"add to a covered work, you may (if authorized by the copyright holders of"
, String
"that material) supplement the terms of this License with terms:"
, String
""
, String
" a) Disclaiming warranty or limiting liability differently from the"
, String
" terms of sections 15 and 16 of this License; or"
, String
""
, String
" b) Requiring preservation of specified reasonable legal notices or"
, String
" author attributions in that material or in the Appropriate Legal"
, String
" Notices displayed by works containing it; or"
, String
""
, String
" c) Prohibiting misrepresentation of the origin of that material, or"
, String
" requiring that modified versions of such material be marked in"
, String
" reasonable ways as different from the original version; or"
, String
""
, String
" d) Limiting the use for publicity purposes of names of licensors or"
, String
" authors of the material; or"
, String
""
, String
" e) Declining to grant rights under trademark law for use of some"
, String
" trade names, trademarks, or service marks; or"
, String
""
, String
" f) Requiring indemnification of licensors and authors of that"
, String
" material by anyone who conveys the material (or modified versions of"
, String
" it) with contractual assumptions of liability to the recipient, for"
, String
" any liability that these contractual assumptions directly impose on"
, String
" those licensors and authors."
, String
""
, String
" All other non-permissive additional terms are considered \"further"
, String
"restrictions\" within the meaning of section 10. If the Program as you"
, String
"received it, or any part of it, contains a notice stating that it is"
, String
"governed by this License along with a term that is a further"
, String
"restriction, you may remove that term. If a license document contains"
, String
"a further restriction but permits relicensing or conveying under this"
, String
"License, you may add to a covered work material governed by the terms"
, String
"of that license document, provided that the further restriction does"
, String
"not survive such relicensing or conveying."
, String
""
, String
" If you add terms to a covered work in accord with this section, you"
, String
"must place, in the relevant source files, a statement of the"
, String
"additional terms that apply to those files, or a notice indicating"
, String
"where to find the applicable terms."
, String
""
, String
" Additional terms, permissive or non-permissive, may be stated in the"
, String
"form of a separately written license, or stated as exceptions;"
, String
"the above requirements apply either way."
, String
""
, String
" 8. Termination."
, String
""
, String
" You may not propagate or modify a covered work except as expressly"
, String
"provided under this License. Any attempt otherwise to propagate or"
, String
"modify it is void, and will automatically terminate your rights under"
, String
"this License (including any patent licenses granted under the third"
, String
"paragraph of section 11)."
, String
""
, String
" However, if you cease all violation of this License, then your"
, String
"license from a particular copyright holder is reinstated (a)"
, String
"provisionally, unless and until the copyright holder explicitly and"
, String
"finally terminates your license, and (b) permanently, if the copyright"
, String
"holder fails to notify you of the violation by some reasonable means"
, String
"prior to 60 days after the cessation."
, String
""
, String
" Moreover, your license from a particular copyright holder is"
, String
"reinstated permanently if the copyright holder notifies you of the"
, String
"violation by some reasonable means, this is the first time you have"
, String
"received notice of violation of this License (for any work) from that"
, String
"copyright holder, and you cure the violation prior to 30 days after"
, String
"your receipt of the notice."
, String
""
, String
" Termination of your rights under this section does not terminate the"
, String
"licenses of parties who have received copies or rights from you under"
, String
"this License. If your rights have been terminated and not permanently"
, String
"reinstated, you do not qualify to receive new licenses for the same"
, String
"material under section 10."
, String
""
, String
" 9. Acceptance Not Required for Having Copies."
, String
""
, String
" You are not required to accept this License in order to receive or"
, String
"run a copy of the Program. Ancillary propagation of a covered work"
, String
"occurring solely as a consequence of using peer-to-peer transmission"
, String
"to receive a copy likewise does not require acceptance. However,"
, String
"nothing other than this License grants you permission to propagate or"
, String
"modify any covered work. These actions infringe copyright if you do"
, String
"not accept this License. Therefore, by modifying or propagating a"
, String
"covered work, you indicate your acceptance of this License to do so."
, String
""
, String
" 10. Automatic Licensing of Downstream Recipients."
, String
""
, String
" Each time you convey a covered work, the recipient automatically"
, String
"receives a license from the original licensors, to run, modify and"
, String
"propagate that work, subject to this License. You are not responsible"
, String
"for enforcing compliance by third parties with this License."
, String
""
, String
" An \"entity transaction\" is a transaction transferring control of an"
, String
"organization, or substantially all assets of one, or subdividing an"
, String
"organization, or merging organizations. If propagation of a covered"
, String
"work results from an entity transaction, each party to that"
, String
"transaction who receives a copy of the work also receives whatever"
, String
"licenses to the work the party's predecessor in interest had or could"
, String
"give under the previous paragraph, plus a right to possession of the"
, String
"Corresponding Source of the work from the predecessor in interest, if"
, String
"the predecessor has it or can get it with reasonable efforts."
, String
""
, String
" You may not impose any further restrictions on the exercise of the"
, String
"rights granted or affirmed under this License. For example, you may"
, String
"not impose a license fee, royalty, or other charge for exercise of"
, String
"rights granted under this License, and you may not initiate litigation"
, String
"(including a cross-claim or counterclaim in a lawsuit) alleging that"
, String
"any patent claim is infringed by making, using, selling, offering for"
, String
"sale, or importing the Program or any portion of it."
, String
""
, String
" 11. Patents."
, String
""
, String
" A \"contributor\" is a copyright holder who authorizes use under this"
, String
"License of the Program or a work on which the Program is based. The"
, String
"work thus licensed is called the contributor's \"contributor version\"."
, String
""
, String
" A contributor's \"essential patent claims\" are all patent claims"
, String
"owned or controlled by the contributor, whether already acquired or"
, String
"hereafter acquired, that would be infringed by some manner, permitted"
, String
"by this License, of making, using, or selling its contributor version,"
, String
"but do not include claims that would be infringed only as a"
, String
"consequence of further modification of the contributor version. For"
, String
"purposes of this definition, \"control\" includes the right to grant"
, String
"patent sublicenses in a manner consistent with the requirements of"
, String
"this License."
, String
""
, String
" Each contributor grants you a non-exclusive, worldwide, royalty-free"
, String
"patent license under the contributor's essential patent claims, to"
, String
"make, use, sell, offer for sale, import and otherwise run, modify and"
, String
"propagate the contents of its contributor version."
, String
""
, String
" In the following three paragraphs, a \"patent license\" is any express"
, String
"agreement or commitment, however denominated, not to enforce a patent"
, String
"(such as an express permission to practice a patent or covenant not to"
, String
"sue for patent infringement). To \"grant\" such a patent license to a"
, String
"party means to make such an agreement or commitment not to enforce a"
, String
"patent against the party."
, String
""
, String
" If you convey a covered work, knowingly relying on a patent license,"
, String
"and the Corresponding Source of the work is not available for anyone"
, String
"to copy, free of charge and under the terms of this License, through a"
, String
"publicly available network server or other readily accessible means,"
, String
"then you must either (1) cause the Corresponding Source to be so"
, String
"available, or (2) arrange to deprive yourself of the benefit of the"
, String
"patent license for this particular work, or (3) arrange, in a manner"
, String
"consistent with the requirements of this License, to extend the patent"
, String
"license to downstream recipients. \"Knowingly relying\" means you have"
, String
"actual knowledge that, but for the patent license, your conveying the"
, String
"covered work in a country, or your recipient's use of the covered work"
, String
"in a country, would infringe one or more identifiable patents in that"
, String
"country that you have reason to believe are valid."
, String
""
, String
" If, pursuant to or in connection with a single transaction or"
, String
"arrangement, you convey, or propagate by procuring conveyance of, a"
, String
"covered work, and grant a patent license to some of the parties"
, String
"receiving the covered work authorizing them to use, propagate, modify"
, String
"or convey a specific copy of the covered work, then the patent license"
, String
"you grant is automatically extended to all recipients of the covered"
, String
"work and works based on it."
, String
""
, String
" A patent license is \"discriminatory\" if it does not include within"
, String
"the scope of its coverage, prohibits the exercise of, or is"
, String
"conditioned on the non-exercise of one or more of the rights that are"
, String
"specifically granted under this License. You may not convey a covered"
, String
"work if you are a party to an arrangement with a third party that is"
, String
"in the business of distributing software, under which you make payment"
, String
"to the third party based on the extent of your activity of conveying"
, String
"the work, and under which the third party grants, to any of the"
, String
"parties who would receive the covered work from you, a discriminatory"
, String
"patent license (a) in connection with copies of the covered work"
, String
"conveyed by you (or copies made from those copies), or (b) primarily"
, String
"for and in connection with specific products or compilations that"
, String
"contain the covered work, unless you entered into that arrangement,"
, String
"or that patent license was granted, prior to 28 March 2007."
, String
""
, String
" Nothing in this License shall be construed as excluding or limiting"
, String
"any implied license or other defenses to infringement that may"
, String
"otherwise be available to you under applicable patent law."
, String
""
, String
" 12. No Surrender of Others' Freedom."
, String
""
, String
" If conditions are imposed on you (whether by court order, agreement or"
, String
"otherwise) that contradict the conditions of this License, they do not"
, String
"excuse you from the conditions of this License. If you cannot convey a"
, String
"covered work so as to satisfy simultaneously your obligations under this"
, String
"License and any other pertinent obligations, then as a consequence you may"
, String
"not convey it at all. For example, if you agree to terms that obligate you"
, String
"to collect a royalty for further conveying from those to whom you convey"
, String
"the Program, the only way you could satisfy both those terms and this"
, String
"License would be to refrain entirely from conveying the Program."
, String
""
, String
" 13. Remote Network Interaction; Use with the GNU General Public License."
, String
""
, String
" Notwithstanding any other provision of this License, if you modify the"
, String
"Program, your modified version must prominently offer all users"
, String
"interacting with it remotely through a computer network (if your version"
, String
"supports such interaction) an opportunity to receive the Corresponding"
, String
"Source of your version by providing access to the Corresponding Source"
, String
"from a network server at no charge, through some standard or customary"
, String
"means of facilitating copying of software. This Corresponding Source"
, String
"shall include the Corresponding Source for any work covered by version 3"
, String
"of the GNU General Public License that is incorporated pursuant to the"
, String
"following paragraph."
, String
""
, String
" Notwithstanding any other provision of this License, you have"
, String
"permission to link or combine any covered work with a work licensed"
, String
"under version 3 of the GNU General Public License into a single"
, String
"combined work, and to convey the resulting work. The terms of this"
, String
"License will continue to apply to the part which is the covered work,"
, String
"but the work with which it is combined will remain governed by version"
, String
"3 of the GNU General Public License."
, String
""
, String
" 14. Revised Versions of this License."
, String
""
, String
" The Free Software Foundation may publish revised and/or new versions of"
, String
"the GNU Affero General Public License from time to time. Such new versions"
, String
"will be similar in spirit to the present version, but may differ in detail to"
, String
"address new problems or concerns."
, String
""
, String
" Each version is given a distinguishing version number. If the"
, String
"Program specifies that a certain numbered version of the GNU Affero General"
, String
"Public License \"or any later version\" applies to it, you have the"
, String
"option of following the terms and conditions either of that numbered"
, String
"version or of any later version published by the Free Software"
, String
"Foundation. If the Program does not specify a version number of the"
, String
"GNU Affero General Public License, you may choose any version ever published"
, String
"by the Free Software Foundation."
, String
""
, String
" If the Program specifies that a proxy can decide which future"
, String
"versions of the GNU Affero General Public License can be used, that proxy's"
, String
"public statement of acceptance of a version permanently authorizes you"
, String
"to choose that version for the Program."
, String
""
, String
" Later license versions may give you additional or different"
, String
"permissions. However, no additional obligations are imposed on any"
, String
"author or copyright holder as a result of your choosing to follow a"
, String
"later version."
, String
""
, String
" 15. Disclaimer of Warranty."
, String
""
, String
" THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY"
, String
"APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT"
, String
"HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM \"AS IS\" WITHOUT WARRANTY"
, String
"OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO,"
, String
"THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR"
, String
"PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM"
, String
"IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF"
, String
"ALL NECESSARY SERVICING, REPAIR OR CORRECTION."
, String
""
, String
" 16. Limitation of Liability."
, String
""
, String
" IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING"
, String
"WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MODIFIES AND/OR CONVEYS"
, String
"THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY"
, String
"GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE"
, String
"USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF"
, String
"DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD"
, String
"PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS),"
, String
"EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF"
, String
"SUCH DAMAGES."
, String
""
, String
" 17. Interpretation of Sections 15 and 16."
, String
""
, String
" If the disclaimer of warranty and limitation of liability provided"
, String
"above cannot be given local legal effect according to their terms,"
, String
"reviewing courts shall apply local law that most closely approximates"
, String
"an absolute waiver of all civil liability in connection with the"
, String
"Program, unless a warranty or assumption of liability accompanies a"
, String
"copy of the Program in return for a fee."
, String
""
, String
" END OF TERMS AND CONDITIONS"
, String
""
, String
" How to Apply These Terms to Your New Programs"
, String
""
, String
" If you develop a new program, and you want it to be of the greatest"
, String
"possible use to the public, the best way to achieve this is to make it"
, String
"free software which everyone can redistribute and change under these terms."
, String
""
, String
" To do so, attach the following notices to the program. It is safest"
, String
"to attach them to the start of each source file to most effectively"
, String
"state the exclusion of warranty; and each file should have at least"
, String
"the \"copyright\" line and a pointer to where the full notice is found."
, String
""
, String
" <one line to give the program's name and a brief idea of what it does.>"
, String
" Copyright (C) <year> <name of author>"
, String
""
, String
" This program is free software: you can redistribute it and/or modify"
, String
" it under the terms of the GNU Affero General Public License as published by"
, String
" the Free Software Foundation, either version 3 of the License, or"
, String
" (at your option) any later version."
, String
""
, String
" This program is distributed in the hope that it will be useful,"
, String
" but WITHOUT ANY WARRANTY; without even the implied warranty of"
, String
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the"
, String
" GNU Affero General Public License for more details."
, String
""
, String
" You should have received a copy of the GNU Affero General Public License"
, String
" along with this program. If not, see <http://www.gnu.org/licenses/>."
, String
""
, String
"Also add information on how to contact you by electronic and paper mail."
, String
""
, String
" If your software can interact with users remotely through a computer"
, String
"network, you should also make sure that it provides a way for users to"
, String
"get its source. For example, if your program is a web application, its"
, String
"interface could display a \"Source\" link that leads users to an archive"
, String
"of the code. There are many ways you could offer source, and different"
, String
"solutions will be better for different programs; see section 13 for the"
, String
"specific requirements."
, String
""
, String
" You should also get your employer (if you work as a programmer) or school,"
, String
"if any, to sign a \"copyright disclaimer\" for the program, if necessary."
, String
"For more information on this, and how to apply and follow the GNU AGPL, see"
, String
"<http://www.gnu.org/licenses/>."
]
lgpl21 :: License
lgpl21 :: String
lgpl21 = [String] -> String
unlines
[ String
" GNU LESSER GENERAL PUBLIC LICENSE"
, String
" Version 2.1, February 1999"
, String
""
, String
" Copyright (C) 1991, 1999 Free Software Foundation, Inc."
, String
" 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
, String
" Everyone is permitted to copy and distribute verbatim copies"
, String
" of this license document, but changing it is not allowed."
, String
""
, String
"[This is the first released version of the Lesser GPL. It also counts"
, String
" as the successor of the GNU Library Public License, version 2, hence"
, String
" the version number 2.1.]"
, String
""
, String
" Preamble"
, String
""
, String
" The licenses for most software are designed to take away your"
, String
"freedom to share and change it. By contrast, the GNU General Public"
, String
"Licenses are intended to guarantee your freedom to share and change"
, String
"free software--to make sure the software is free for all its users."
, String
""
, String
" This license, the Lesser General Public License, applies to some"
, String
"specially designated software packages--typically libraries--of the"
, String
"Free Software Foundation and other authors who decide to use it. You"
, String
"can use it too, but we suggest you first think carefully about whether"
, String
"this license or the ordinary General Public License is the better"
, String
"strategy to use in any particular case, based on the explanations below."
, String
""
, String
" When we speak of free software, we are referring to freedom of use,"
, String
"not price. Our General Public Licenses are designed to make sure that"
, String
"you have the freedom to distribute copies of free software (and charge"
, String
"for this service if you wish); that you receive source code or can get"
, String
"it if you want it; that you can change the software and use pieces of"
, String
"it in new free programs; and that you are informed that you can do"
, String
"these things."
, String
""
, String
" To protect your rights, we need to make restrictions that forbid"
, String
"distributors to deny you these rights or to ask you to surrender these"
, String
"rights. These restrictions translate to certain responsibilities for"
, String
"you if you distribute copies of the library or if you modify it."
, String
""
, String
" For example, if you distribute copies of the library, whether gratis"
, String
"or for a fee, you must give the recipients all the rights that we gave"
, String
"you. You must make sure that they, too, receive or can get the source"
, String
"code. If you link other code with the library, you must provide"
, String
"complete object files to the recipients, so that they can relink them"
, String
"with the library after making changes to the library and recompiling"
, String
"it. And you must show them these terms so they know their rights."
, String
""
, String
" We protect your rights with a two-step method: (1) we copyright the"
, String
"library, and (2) we offer you this license, which gives you legal"
, String
"permission to copy, distribute and/or modify the library."
, String
""
, String
" To protect each distributor, we want to make it very clear that"
, String
"there is no warranty for the free library. Also, if the library is"
, String
"modified by someone else and passed on, the recipients should know"
, String
"that what they have is not the original version, so that the original"
, String
"author's reputation will not be affected by problems that might be"
, String
"introduced by others."
, String
""
, String
" Finally, software patents pose a constant threat to the existence of"
, String
"any free program. We wish to make sure that a company cannot"
, String
"effectively restrict the users of a free program by obtaining a"
, String
"restrictive license from a patent holder. Therefore, we insist that"
, String
"any patent license obtained for a version of the library must be"
, String
"consistent with the full freedom of use specified in this license."
, String
""
, String
" Most GNU software, including some libraries, is covered by the"
, String
"ordinary GNU General Public License. This license, the GNU Lesser"
, String
"General Public License, applies to certain designated libraries, and"
, String
"is quite different from the ordinary General Public License. We use"
, String
"this license for certain libraries in order to permit linking those"
, String
"libraries into non-free programs."
, String
""
, String
" When a program is linked with a library, whether statically or using"
, String
"a shared library, the combination of the two is legally speaking a"
, String
"combined work, a derivative of the original library. The ordinary"
, String
"General Public License therefore permits such linking only if the"
, String
"entire combination fits its criteria of freedom. The Lesser General"
, String
"Public License permits more lax criteria for linking other code with"
, String
"the library."
, String
""
, String
" We call this license the \"Lesser\" General Public License because it"
, String
"does Less to protect the user's freedom than the ordinary General"
, String
"Public License. It also provides other free software developers Less"
, String
"of an advantage over competing non-free programs. These disadvantages"
, String
"are the reason we use the ordinary General Public License for many"
, String
"libraries. However, the Lesser license provides advantages in certain"
, String
"special circumstances."
, String
""
, String
" For example, on rare occasions, there may be a special need to"
, String
"encourage the widest possible use of a certain library, so that it becomes"
, String
"a de-facto standard. To achieve this, non-free programs must be"
, String
"allowed to use the library. A more frequent case is that a free"
, String
"library does the same job as widely used non-free libraries. In this"
, String
"case, there is little to gain by limiting the free library to free"
, String
"software only, so we use the Lesser General Public License."
, String
""
, String
" In other cases, permission to use a particular library in non-free"
, String
"programs enables a greater number of people to use a large body of"
, String
"free software. For example, permission to use the GNU C Library in"
, String
"non-free programs enables many more people to use the whole GNU"
, String
"operating system, as well as its variant, the GNU/Linux operating"
, String
"system."
, String
""
, String
" Although the Lesser General Public License is Less protective of the"
, String
"users' freedom, it does ensure that the user of a program that is"
, String
"linked with the Library has the freedom and the wherewithal to run"
, String
"that program using a modified version of the Library."
, String
""
, String
" The precise terms and conditions for copying, distribution and"
, String
"modification follow. Pay close attention to the difference between a"
, String
"\"work based on the library\" and a \"work that uses the library\". The"
, String
"former contains code derived from the library, whereas the latter must"
, String
"be combined with the library in order to run."
, String
""
, String
" GNU LESSER GENERAL PUBLIC LICENSE"
, String
" TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION"
, String
""
, String
" 0. This License Agreement applies to any software library or other"
, String
"program which contains a notice placed by the copyright holder or"
, String
"other authorized party saying it may be distributed under the terms of"
, String
"this Lesser General Public License (also called \"this License\")."
, String
"Each licensee is addressed as \"you\"."
, String
""
, String
" A \"library\" means a collection of software functions and/or data"
, String
"prepared so as to be conveniently linked with application programs"
, String
"(which use some of those functions and data) to form executables."
, String
""
, String
" The \"Library\", below, refers to any such software library or work"
, String
"which has been distributed under these terms. A \"work based on the"
, String
"Library\" means either the Library or any derivative work under"
, String
"copyright law: that is to say, a work containing the Library or a"
, String
"portion of it, either verbatim or with modifications and/or translated"
, String
"straightforwardly into another language. (Hereinafter, translation is"
, String
"included without limitation in the term \"modification\".)"
, String
""
, String
" \"Source code\" for a work means the preferred form of the work for"
, String
"making modifications to it. For a library, complete source code means"
, String
"all the source code for all modules it contains, plus any associated"
, String
"interface definition files, plus the scripts used to control compilation"
, String
"and installation of the library."
, String
""
, String
" Activities other than copying, distribution and modification are not"
, String
"covered by this License; they are outside its scope. The act of"
, String
"running a program using the Library is not restricted, and output from"
, String
"such a program is covered only if its contents constitute a work based"
, String
"on the Library (independent of the use of the Library in a tool for"
, String
"writing it). Whether that is true depends on what the Library does"
, String
"and what the program that uses the Library does."
, String
""
, String
" 1. You may copy and distribute verbatim copies of the Library's"
, String
"complete source code as you receive it, in any medium, provided that"
, String
"you conspicuously and appropriately publish on each copy an"
, String
"appropriate copyright notice and disclaimer of warranty; keep intact"
, String
"all the notices that refer to this License and to the absence of any"
, String
"warranty; and distribute a copy of this License along with the"
, String
"Library."
, String
""
, String
" You may charge a fee for the physical act of transferring a copy,"
, String
"and you may at your option offer warranty protection in exchange for a"
, String
"fee."
, String
""
, String
" 2. You may modify your copy or copies of the Library or any portion"
, String
"of it, thus forming a work based on the Library, and copy and"
, String
"distribute such modifications or work under the terms of Section 1"
, String
"above, provided that you also meet all of these conditions:"
, String
""
, String
" a) The modified work must itself be a software library."
, String
""
, String
" b) You must cause the files modified to carry prominent notices"
, String
" stating that you changed the files and the date of any change."
, String
""
, String
" c) You must cause the whole of the work to be licensed at no"
, String
" charge to all third parties under the terms of this License."
, String
""
, String
" d) If a facility in the modified Library refers to a function or a"
, String
" table of data to be supplied by an application program that uses"
, String
" the facility, other than as an argument passed when the facility"
, String
" is invoked, then you must make a good faith effort to ensure that,"
, String
" in the event an application does not supply such function or"
, String
" table, the facility still operates, and performs whatever part of"
, String
" its purpose remains meaningful."
, String
""
, String
" (For example, a function in a library to compute square roots has"
, String
" a purpose that is entirely well-defined independent of the"
, String
" application. Therefore, Subsection 2d requires that any"
, String
" application-supplied function or table used by this function must"
, String
" be optional: if the application does not supply it, the square"
, String
" root function must still compute square roots.)"
, String
""
, String
"These requirements apply to the modified work as a whole. If"
, String
"identifiable sections of that work are not derived from the Library,"
, String
"and can be reasonably considered independent and separate works in"
, String
"themselves, then this License, and its terms, do not apply to those"
, String
"sections when you distribute them as separate works. But when you"
, String
"distribute the same sections as part of a whole which is a work based"
, String
"on the Library, the distribution of the whole must be on the terms of"
, String
"this License, whose permissions for other licensees extend to the"
, String
"entire whole, and thus to each and every part regardless of who wrote"
, String
"it."
, String
""
, String
"Thus, it is not the intent of this section to claim rights or contest"
, String
"your rights to work written entirely by you; rather, the intent is to"
, String
"exercise the right to control the distribution of derivative or"
, String
"collective works based on the Library."
, String
""
, String
"In addition, mere aggregation of another work not based on the Library"
, String
"with the Library (or with a work based on the Library) on a volume of"
, String
"a storage or distribution medium does not bring the other work under"
, String
"the scope of this License."
, String
""
, String
" 3. You may opt to apply the terms of the ordinary GNU General Public"
, String
"License instead of this License to a given copy of the Library. To do"
, String
"this, you must alter all the notices that refer to this License, so"
, String
"that they refer to the ordinary GNU General Public License, version 2,"
, String
"instead of to this License. (If a newer version than version 2 of the"
, String
"ordinary GNU General Public License has appeared, then you can specify"
, String
"that version instead if you wish.) Do not make any other change in"
, String
"these notices."
, String
""
, String
" Once this change is made in a given copy, it is irreversible for"
, String
"that copy, so the ordinary GNU General Public License applies to all"
, String
"subsequent copies and derivative works made from that copy."
, String
""
, String
" This option is useful when you wish to copy part of the code of"
, String
"the Library into a program that is not a library."
, String
""
, String
" 4. You may copy and distribute the Library (or a portion or"
, String
"derivative of it, under Section 2) in object code or executable form"
, String
"under the terms of Sections 1 and 2 above provided that you accompany"
, String
"it with the complete corresponding machine-readable source code, which"
, String
"must be distributed under the terms of Sections 1 and 2 above on a"
, String
"medium customarily used for software interchange."
, String
""
, String
" If distribution of object code is made by offering access to copy"
, String
"from a designated place, then offering equivalent access to copy the"
, String
"source code from the same place satisfies the requirement to"
, String
"distribute the source code, even though third parties are not"
, String
"compelled to copy the source along with the object code."
, String
""
, String
" 5. A program that contains no derivative of any portion of the"
, String
"Library, but is designed to work with the Library by being compiled or"
, String
"linked with it, is called a \"work that uses the Library\". Such a"
, String
"work, in isolation, is not a derivative work of the Library, and"
, String
"therefore falls outside the scope of this License."
, String
""
, String
" However, linking a \"work that uses the Library\" with the Library"
, String
"creates an executable that is a derivative of the Library (because it"
, String
"contains portions of the Library), rather than a \"work that uses the"
, String
"library\". The executable is therefore covered by this License."
, String
"Section 6 states terms for distribution of such executables."
, String
""
, String
" When a \"work that uses the Library\" uses material from a header file"
, String
"that is part of the Library, the object code for the work may be a"
, String
"derivative work of the Library even though the source code is not."
, String
"Whether this is true is especially significant if the work can be"
, String
"linked without the Library, or if the work is itself a library. The"
, String
"threshold for this to be true is not precisely defined by law."
, String
""
, String
" If such an object file uses only numerical parameters, data"
, String
"structure layouts and accessors, and small macros and small inline"
, String
"functions (ten lines or less in length), then the use of the object"
, String
"file is unrestricted, regardless of whether it is legally a derivative"
, String
"work. (Executables containing this object code plus portions of the"
, String
"Library will still fall under Section 6.)"
, String
""
, String
" Otherwise, if the work is a derivative of the Library, you may"
, String
"distribute the object code for the work under the terms of Section 6."
, String
"Any executables containing that work also fall under Section 6,"
, String
"whether or not they are linked directly with the Library itself."
, String
""
, String
" 6. As an exception to the Sections above, you may also combine or"
, String
"link a \"work that uses the Library\" with the Library to produce a"
, String
"work containing portions of the Library, and distribute that work"
, String
"under terms of your choice, provided that the terms permit"
, String
"modification of the work for the customer's own use and reverse"
, String
"engineering for debugging such modifications."
, String
""
, String
" You must give prominent notice with each copy of the work that the"
, String
"Library is used in it and that the Library and its use are covered by"
, String
"this License. You must supply a copy of this License. If the work"
, String
"during execution displays copyright notices, you must include the"
, String
"copyright notice for the Library among them, as well as a reference"
, String
"directing the user to the copy of this License. Also, you must do one"
, String
"of these things:"
, String
""
, String
" a) Accompany the work with the complete corresponding"
, String
" machine-readable source code for the Library including whatever"
, String
" changes were used in the work (which must be distributed under"
, String
" Sections 1 and 2 above); and, if the work is an executable linked"
, String
" with the Library, with the complete machine-readable \"work that"
, String
" uses the Library\", as object code and/or source code, so that the"
, String
" user can modify the Library and then relink to produce a modified"
, String
" executable containing the modified Library. (It is understood"
, String
" that the user who changes the contents of definitions files in the"
, String
" Library will not necessarily be able to recompile the application"
, String
" to use the modified definitions.)"
, String
""
, String
" b) Use a suitable shared library mechanism for linking with the"
, String
" Library. A suitable mechanism is one that (1) uses at run time a"
, String
" copy of the library already present on the user's computer system,"
, String
" rather than copying library functions into the executable, and (2)"
, String
" will operate properly with a modified version of the library, if"
, String
" the user installs one, as long as the modified version is"
, String
" interface-compatible with the version that the work was made with."
, String
""
, String
" c) Accompany the work with a written offer, valid for at"
, String
" least three years, to give the same user the materials"
, String
" specified in Subsection 6a, above, for a charge no more"
, String
" than the cost of performing this distribution."
, String
""
, String
" d) If distribution of the work is made by offering access to copy"
, String
" from a designated place, offer equivalent access to copy the above"
, String
" specified materials from the same place."
, String
""
, String
" e) Verify that the user has already received a copy of these"
, String
" materials or that you have already sent this user a copy."
, String
""
, String
" For an executable, the required form of the \"work that uses the"
, String
"Library\" must include any data and utility programs needed for"
, String
"reproducing the executable from it. However, as a special exception,"
, String
"the materials to be distributed need not include anything that is"
, String
"normally distributed (in either source or binary form) with the major"
, String
"components (compiler, kernel, and so on) of the operating system on"
, String
"which the executable runs, unless that component itself accompanies"
, String
"the executable."
, String
""
, String
" It may happen that this requirement contradicts the license"
, String
"restrictions of other proprietary libraries that do not normally"
, String
"accompany the operating system. Such a contradiction means you cannot"
, String
"use both them and the Library together in an executable that you"
, String
"distribute."
, String
""
, String
" 7. You may place library facilities that are a work based on the"
, String
"Library side-by-side in a single library together with other library"
, String
"facilities not covered by this License, and distribute such a combined"
, String
"library, provided that the separate distribution of the work based on"
, String
"the Library and of the other library facilities is otherwise"
, String
"permitted, and provided that you do these two things:"
, String
""
, String
" a) Accompany the combined library with a copy of the same work"
, String
" based on the Library, uncombined with any other library"
, String
" facilities. This must be distributed under the terms of the"
, String
" Sections above."
, String
""
, String
" b) Give prominent notice with the combined library of the fact"
, String
" that part of it is a work based on the Library, and explaining"
, String
" where to find the accompanying uncombined form of the same work."
, String
""
, String
" 8. You may not copy, modify, sublicense, link with, or distribute"
, String
"the Library except as expressly provided under this License. Any"
, String
"attempt otherwise to copy, modify, sublicense, link with, or"
, String
"distribute the Library is void, and will automatically terminate your"
, String
"rights under this License. However, parties who have received copies,"
, String
"or rights, from you under this License will not have their licenses"
, String
"terminated so long as such parties remain in full compliance."
, String
""
, String
" 9. You are not required to accept this License, since you have not"
, String
"signed it. However, nothing else grants you permission to modify or"
, String
"distribute the Library or its derivative works. These actions are"
, String
"prohibited by law if you do not accept this License. Therefore, by"
, String
"modifying or distributing the Library (or any work based on the"
, String
"Library), you indicate your acceptance of this License to do so, and"
, String
"all its terms and conditions for copying, distributing or modifying"
, String
"the Library or works based on it."
, String
""
, String
" 10. Each time you redistribute the Library (or any work based on the"
, String
"Library), the recipient automatically receives a license from the"
, String
"original licensor to copy, distribute, link with or modify the Library"
, String
"subject to these terms and conditions. You may not impose any further"
, String
"restrictions on the recipients' exercise of the rights granted herein."
, String
"You are not responsible for enforcing compliance by third parties with"
, String
"this License."
, String
""
, String
" 11. If, as a consequence of a court judgment or allegation of patent"
, String
"infringement or for any other reason (not limited to patent issues),"
, String
"conditions are imposed on you (whether by court order, agreement or"
, String
"otherwise) that contradict the conditions of this License, they do not"
, String
"excuse you from the conditions of this License. If you cannot"
, String
"distribute so as to satisfy simultaneously your obligations under this"
, String
"License and any other pertinent obligations, then as a consequence you"
, String
"may not distribute the Library at all. For example, if a patent"
, String
"license would not permit royalty-free redistribution of the Library by"
, String
"all those who receive copies directly or indirectly through you, then"
, String
"the only way you could satisfy both it and this License would be to"
, String
"refrain entirely from distribution of the Library."
, String
""
, String
"If any portion of this section is held invalid or unenforceable under any"
, String
"particular circumstance, the balance of the section is intended to apply,"
, String
"and the section as a whole is intended to apply in other circumstances."
, String
""
, String
"It is not the purpose of this section to induce you to infringe any"
, String
"patents or other property right claims or to contest validity of any"
, String
"such claims; this section has the sole purpose of protecting the"
, String
"integrity of the free software distribution system which is"
, String
"implemented by public license practices. Many people have made"
, String
"generous contributions to the wide range of software distributed"
, String
"through that system in reliance on consistent application of that"
, String
"system; it is up to the author/donor to decide if he or she is willing"
, String
"to distribute software through any other system and a licensee cannot"
, String
"impose that choice."
, String
""
, String
"This section is intended to make thoroughly clear what is believed to"
, String
"be a consequence of the rest of this License."
, String
""
, String
" 12. If the distribution and/or use of the Library is restricted in"
, String
"certain countries either by patents or by copyrighted interfaces, the"
, String
"original copyright holder who places the Library under this License may add"
, String
"an explicit geographical distribution limitation excluding those countries,"
, String
"so that distribution is permitted only in or among countries not thus"
, String
"excluded. In such case, this License incorporates the limitation as if"
, String
"written in the body of this License."
, String
""
, String
" 13. The Free Software Foundation may publish revised and/or new"
, String
"versions of the Lesser General Public License from time to time."
, String
"Such new versions will be similar in spirit to the present version,"
, String
"but may differ in detail to address new problems or concerns."
, String
""
, String
"Each version is given a distinguishing version number. If the Library"
, String
"specifies a version number of this License which applies to it and"
, String
"\"any later version\", you have the option of following the terms and"
, String
"conditions either of that version or of any later version published by"
, String
"the Free Software Foundation. If the Library does not specify a"
, String
"license version number, you may choose any version ever published by"
, String
"the Free Software Foundation."
, String
""
, String
" 14. If you wish to incorporate parts of the Library into other free"
, String
"programs whose distribution conditions are incompatible with these,"
, String
"write to the author to ask for permission. For software which is"
, String
"copyrighted by the Free Software Foundation, write to the Free"
, String
"Software Foundation; we sometimes make exceptions for this. Our"
, String
"decision will be guided by the two goals of preserving the free status"
, String
"of all derivatives of our free software and of promoting the sharing"
, String
"and reuse of software generally."
, String
""
, String
" NO WARRANTY"
, String
""
, String
" 15. BECAUSE THE LIBRARY IS LICENSED FREE OF CHARGE, THERE IS NO"
, String
"WARRANTY FOR THE LIBRARY, TO THE EXTENT PERMITTED BY APPLICABLE LAW."
, String
"EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR"
, String
"OTHER PARTIES PROVIDE THE LIBRARY \"AS IS\" WITHOUT WARRANTY OF ANY"
, String
"KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE"
, String
"IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR"
, String
"PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE"
, String
"LIBRARY IS WITH YOU. SHOULD THE LIBRARY PROVE DEFECTIVE, YOU ASSUME"
, String
"THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION."
, String
""
, String
" 16. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN"
, String
"WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY"
, String
"AND/OR REDISTRIBUTE THE LIBRARY AS PERMITTED ABOVE, BE LIABLE TO YOU"
, String
"FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR"
, String
"CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE"
, String
"LIBRARY (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING"
, String
"RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A"
, String
"FAILURE OF THE LIBRARY TO OPERATE WITH ANY OTHER SOFTWARE), EVEN IF"
, String
"SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH"
, String
"DAMAGES."
, String
""
, String
" END OF TERMS AND CONDITIONS"
, String
""
, String
" How to Apply These Terms to Your New Libraries"
, String
""
, String
" If you develop a new library, and you want it to be of the greatest"
, String
"possible use to the public, we recommend making it free software that"
, String
"everyone can redistribute and change. You can do so by permitting"
, String
"redistribution under these terms (or, alternatively, under the terms of the"
, String
"ordinary General Public License)."
, String
""
, String
" To apply these terms, attach the following notices to the library. It is"
, String
"safest to attach them to the start of each source file to most effectively"
, String
"convey the exclusion of warranty; and each file should have at least the"
, String
"\"copyright\" line and a pointer to where the full notice is found."
, String
""
, String
" <one line to give the library's name and a brief idea of what it does.>"
, String
" Copyright (C) <year> <name of author>"
, String
""
, String
" This library is free software; you can redistribute it and/or"
, String
" modify it under the terms of the GNU Lesser General Public"
, String
" License as published by the Free Software Foundation; either"
, String
" version 2.1 of the License, or (at your option) any later version."
, String
""
, String
" This library is distributed in the hope that it will be useful,"
, String
" but WITHOUT ANY WARRANTY; without even the implied warranty of"
, String
" MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU"
, String
" Lesser General Public License for more details."
, String
""
, String
" You should have received a copy of the GNU Lesser General Public"
, String
" License along with this library; if not, write to the Free Software"
, String
" Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA"
, String
""
, String
"Also add information on how to contact you by electronic and paper mail."
, String
""
, String
"You should also get your employer (if you work as a programmer) or your"
, String
"school, if any, to sign a \"copyright disclaimer\" for the library, if"
, String
"necessary. Here is a sample; alter the names:"
, String
""
, String
" Yoyodyne, Inc., hereby disclaims all copyright interest in the"
, String
" library `Frob' (a library for tweaking knobs) written by James Random Hacker."
, String
""
, String
" <signature of Ty Coon>, 1 April 1990"
, String
" Ty Coon, President of Vice"
, String
""
, String
"That's all there is to it!"
]
lgpl3 :: License
lgpl3 :: String
lgpl3 = [String] -> String
unlines
[ String
" GNU LESSER GENERAL PUBLIC LICENSE"
, String
" Version 3, 29 June 2007"
, String
""
, String
" Copyright (C) 2007 Free Software Foundation, Inc. <http://fsf.org/>"
, String
" Everyone is permitted to copy and distribute verbatim copies"
, String
" of this license document, but changing it is not allowed."
, String
""
, String
""
, String
" This version of the GNU Lesser General Public License incorporates"
, String
"the terms and conditions of version 3 of the GNU General Public"
, String
"License, supplemented by the additional permissions listed below."
, String
""
, String
" 0. Additional Definitions."
, String
""
, String
" As used herein, \"this License\" refers to version 3 of the GNU Lesser"
, String
"General Public License, and the \"GNU GPL\" refers to version 3 of the GNU"
, String
"General Public License."
, String
""
, String
" \"The Library\" refers to a covered work governed by this License,"
, String
"other than an Application or a Combined Work as defined below."
, String
""
, String
" An \"Application\" is any work that makes use of an interface provided"
, String
"by the Library, but which is not otherwise based on the Library."
, String
"Defining a subclass of a class defined by the Library is deemed a mode"
, String
"of using an interface provided by the Library."
, String
""
, String
" A \"Combined Work\" is a work produced by combining or linking an"
, String
"Application with the Library. The particular version of the Library"
, String
"with which the Combined Work was made is also called the \"Linked"
, String
"Version\"."
, String
""
, String
" The \"Minimal Corresponding Source\" for a Combined Work means the"
, String
"Corresponding Source for the Combined Work, excluding any source code"
, String
"for portions of the Combined Work that, considered in isolation, are"
, String
"based on the Application, and not on the Linked Version."
, String
""
, String
" The \"Corresponding Application Code\" for a Combined Work means the"
, String
"object code and/or source code for the Application, including any data"
, String
"and utility programs needed for reproducing the Combined Work from the"
, String
"Application, but excluding the System Libraries of the Combined Work."
, String
""
, String
" 1. Exception to Section 3 of the GNU GPL."
, String
""
, String
" You may convey a covered work under sections 3 and 4 of this License"
, String
"without being bound by section 3 of the GNU GPL."
, String
""
, String
" 2. Conveying Modified Versions."
, String
""
, String
" If you modify a copy of the Library, and, in your modifications, a"
, String
"facility refers to a function or data to be supplied by an Application"
, String
"that uses the facility (other than as an argument passed when the"
, String
"facility is invoked), then you may convey a copy of the modified"
, String
"version:"
, String
""
, String
" a) under this License, provided that you make a good faith effort to"
, String
" ensure that, in the event an Application does not supply the"
, String
" function or data, the facility still operates, and performs"
, String
" whatever part of its purpose remains meaningful, or"
, String
""
, String
" b) under the GNU GPL, with none of the additional permissions of"
, String
" this License applicable to that copy."
, String
""
, String
" 3. Object Code Incorporating Material from Library Header Files."
, String
""
, String
" The object code form of an Application may incorporate material from"
, String
"a header file that is part of the Library. You may convey such object"
, String
"code under terms of your choice, provided that, if the incorporated"
, String
"material is not limited to numerical parameters, data structure"
, String
"layouts and accessors, or small macros, inline functions and templates"
, String
"(ten or fewer lines in length), you do both of the following:"
, String
""
, String
" a) Give prominent notice with each copy of the object code that the"
, String
" Library is used in it and that the Library and its use are"
, String
" covered by this License."
, String
""
, String
" b) Accompany the object code with a copy of the GNU GPL and this license"
, String
" document."
, String
""
, String
" 4. Combined Works."
, String
""
, String
" You may convey a Combined Work under terms of your choice that,"
, String
"taken together, effectively do not restrict modification of the"
, String
"portions of the Library contained in the Combined Work and reverse"
, String
"engineering for debugging such modifications, if you also do each of"
, String
"the following:"
, String
""
, String
" a) Give prominent notice with each copy of the Combined Work that"
, String
" the Library is used in it and that the Library and its use are"
, String
" covered by this License."
, String
""
, String
" b) Accompany the Combined Work with a copy of the GNU GPL and this license"
, String
" document."
, String
""
, String
" c) For a Combined Work that displays copyright notices during"
, String
" execution, include the copyright notice for the Library among"
, String
" these notices, as well as a reference directing the user to the"
, String
" copies of the GNU GPL and this license document."
, String
""
, String
" d) Do one of the following:"
, String
""
, String
" 0) Convey the Minimal Corresponding Source under the terms of this"
, String
" License, and the Corresponding Application Code in a form"
, String
" suitable for, and under terms that permit, the user to"
, String
" recombine or relink the Application with a modified version of"
, String
" the Linked Version to produce a modified Combined Work, in the"
, String
" manner specified by section 6 of the GNU GPL for conveying"
, String
" Corresponding Source."
, String
""
, String
" 1) Use a suitable shared library mechanism for linking with the"
, String
" Library. A suitable mechanism is one that (a) uses at run time"
, String
" a copy of the Library already present on the user's computer"
, String
" system, and (b) will operate properly with a modified version"
, String
" of the Library that is interface-compatible with the Linked"
, String
" Version."
, String
""
, String
" e) Provide Installation Information, but only if you would otherwise"
, String
" be required to provide such information under section 6 of the"
, String
" GNU GPL, and only to the extent that such information is"
, String
" necessary to install and execute a modified version of the"
, String
" Combined Work produced by recombining or relinking the"
, String
" Application with a modified version of the Linked Version. (If"
, String
" you use option 4d0, the Installation Information must accompany"
, String
" the Minimal Corresponding Source and Corresponding Application"
, String
" Code. If you use option 4d1, you must provide the Installation"
, String
" Information in the manner specified by section 6 of the GNU GPL"
, String
" for conveying Corresponding Source.)"
, String
""
, String
" 5. Combined Libraries."
, String
""
, String
" You may place library facilities that are a work based on the"
, String
"Library side by side in a single library together with other library"
, String
"facilities that are not Applications and are not covered by this"
, String
"License, and convey such a combined library under terms of your"
, String
"choice, if you do both of the following:"
, String
""
, String
" a) Accompany the combined library with a copy of the same work based"
, String
" on the Library, uncombined with any other library facilities,"
, String
" conveyed under the terms of this License."
, String
""
, String
" b) Give prominent notice with the combined library that part of it"
, String
" is a work based on the Library, and explaining where to find the"
, String
" accompanying uncombined form of the same work."
, String
""
, String
" 6. Revised Versions of the GNU Lesser General Public License."
, String
""
, String
" The Free Software Foundation may publish revised and/or new versions"
, String
"of the GNU Lesser General Public License from time to time. Such new"
, String
"versions will be similar in spirit to the present version, but may"
, String
"differ in detail to address new problems or concerns."
, String
""
, String
" Each version is given a distinguishing version number. If the"
, String
"Library as you received it specifies that a certain numbered version"
, String
"of the GNU Lesser General Public License \"or any later version\""
, String
"applies to it, you have the option of following the terms and"
, String
"conditions either of that published version or of any later version"
, String
"published by the Free Software Foundation. If the Library as you"
, String
"received it does not specify a version number of the GNU Lesser"
, String
"General Public License, you may choose any version of the GNU Lesser"
, String
"General Public License ever published by the Free Software Foundation."
, String
""
, String
" If the Library as you received it specifies that a proxy can decide"
, String
"whether future versions of the GNU Lesser General Public License shall"
, String
"apply, that proxy's public statement of acceptance of any version is"
, String
"permanent authorization for you to choose that version for the"
, String
"Library."
]
apache20 :: License
apache20 :: String
apache20 = [String] -> String
unlines
[ String
""
, String
" Apache License"
, String
" Version 2.0, January 2004"
, String
" http://www.apache.org/licenses/"
, String
""
, String
" TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION"
, String
""
, String
" 1. Definitions."
, String
""
, String
" \"License\" shall mean the terms and conditions for use, reproduction,"
, String
" and distribution as defined by Sections 1 through 9 of this document."
, String
""
, String
" \"Licensor\" shall mean the copyright owner or entity authorized by"
, String
" the copyright owner that is granting the License."
, String
""
, String
" \"Legal Entity\" shall mean the union of the acting entity and all"
, String
" other entities that control, are controlled by, or are under common"
, String
" control with that entity. For the purposes of this definition,"
, String
" \"control\" means (i) the power, direct or indirect, to cause the"
, String
" direction or management of such entity, whether by contract or"
, String
" otherwise, or (ii) ownership of fifty percent (50%) or more of the"
, String
" outstanding shares, or (iii) beneficial ownership of such entity."
, String
""
, String
" \"You\" (or \"Your\") shall mean an individual or Legal Entity"
, String
" exercising permissions granted by this License."
, String
""
, String
" \"Source\" form shall mean the preferred form for making modifications,"
, String
" including but not limited to software source code, documentation"
, String
" source, and configuration files."
, String
""
, String
" \"Object\" form shall mean any form resulting from mechanical"
, String
" transformation or translation of a Source form, including but"
, String
" not limited to compiled object code, generated documentation,"
, String
" and conversions to other media types."
, String
""
, String
" \"Work\" shall mean the work of authorship, whether in Source or"
, String
" Object form, made available under the License, as indicated by a"
, String
" copyright notice that is included in or attached to the work"
, String
" (an example is provided in the Appendix below)."
, String
""
, String
" \"Derivative Works\" shall mean any work, whether in Source or Object"
, String
" form, that is based on (or derived from) the Work and for which the"
, String
" editorial revisions, annotations, elaborations, or other modifications"
, String
" represent, as a whole, an original work of authorship. For the purposes"
, String
" of this License, Derivative Works shall not include works that remain"
, String
" separable from, or merely link (or bind by name) to the interfaces of,"
, String
" the Work and Derivative Works thereof."
, String
""
, String
" \"Contribution\" shall mean any work of authorship, including"
, String
" the original version of the Work and any modifications or additions"
, String
" to that Work or Derivative Works thereof, that is intentionally"
, String
" submitted to Licensor for inclusion in the Work by the copyright owner"
, String
" or by an individual or Legal Entity authorized to submit on behalf of"
, String
" the copyright owner. For the purposes of this definition, \"submitted\""
, String
" means any form of electronic, verbal, or written communication sent"
, String
" to the Licensor or its representatives, including but not limited to"
, String
" communication on electronic mailing lists, source code control systems,"
, String
" and issue tracking systems that are managed by, or on behalf of, the"
, String
" Licensor for the purpose of discussing and improving the Work, but"
, String
" excluding communication that is conspicuously marked or otherwise"
, String
" designated in writing by the copyright owner as \"Not a Contribution.\""
, String
""
, String
" \"Contributor\" shall mean Licensor and any individual or Legal Entity"
, String
" on behalf of whom a Contribution has been received by Licensor and"
, String
" subsequently incorporated within the Work."
, String
""
, String
" 2. Grant of Copyright License. Subject to the terms and conditions of"
, String
" this License, each Contributor hereby grants to You a perpetual,"
, String
" worldwide, non-exclusive, no-charge, royalty-free, irrevocable"
, String
" copyright license to reproduce, prepare Derivative Works of,"
, String
" publicly display, publicly perform, sublicense, and distribute the"
, String
" Work and such Derivative Works in Source or Object form."
, String
""
, String
" 3. Grant of Patent License. Subject to the terms and conditions of"
, String
" this License, each Contributor hereby grants to You a perpetual,"
, String
" worldwide, non-exclusive, no-charge, royalty-free, irrevocable"
, String
" (except as stated in this section) patent license to make, have made,"
, String
" use, offer to sell, sell, import, and otherwise transfer the Work,"
, String
" where such license applies only to those patent claims licensable"
, String
" by such Contributor that are necessarily infringed by their"
, String
" Contribution(s) alone or by combination of their Contribution(s)"
, String
" with the Work to which such Contribution(s) was submitted. If You"
, String
" institute patent litigation against any entity (including a"
, String
" cross-claim or counterclaim in a lawsuit) alleging that the Work"
, String
" or a Contribution incorporated within the Work constitutes direct"
, String
" or contributory patent infringement, then any patent licenses"
, String
" granted to You under this License for that Work shall terminate"
, String
" as of the date such litigation is filed."
, String
""
, String
" 4. Redistribution. You may reproduce and distribute copies of the"
, String
" Work or Derivative Works thereof in any medium, with or without"
, String
" modifications, and in Source or Object form, provided that You"
, String
" meet the following conditions:"
, String
""
, String
" (a) You must give any other recipients of the Work or"
, String
" Derivative Works a copy of this License; and"
, String
""
, String
" (b) You must cause any modified files to carry prominent notices"
, String
" stating that You changed the files; and"
, String
""
, String
" (c) You must retain, in the Source form of any Derivative Works"
, String
" that You distribute, all copyright, patent, trademark, and"
, String
" attribution notices from the Source form of the Work,"
, String
" excluding those notices that do not pertain to any part of"
, String
" the Derivative Works; and"
, String
""
, String
" (d) If the Work includes a \"NOTICE\" text file as part of its"
, String
" distribution, then any Derivative Works that You distribute must"
, String
" include a readable copy of the attribution notices contained"
, String
" within such NOTICE file, excluding those notices that do not"
, String
" pertain to any part of the Derivative Works, in at least one"
, String
" of the following places: within a NOTICE text file distributed"
, String
" as part of the Derivative Works; within the Source form or"
, String
" documentation, if provided along with the Derivative Works; or,"
, String
" within a display generated by the Derivative Works, if and"
, String
" wherever such third-party notices normally appear. The contents"
, String
" of the NOTICE file are for informational purposes only and"
, String
" do not modify the License. You may add Your own attribution"
, String
" notices within Derivative Works that You distribute, alongside"
, String
" or as an addendum to the NOTICE text from the Work, provided"
, String
" that such additional attribution notices cannot be construed"
, String
" as modifying the License."
, String
""
, String
" You may add Your own copyright statement to Your modifications and"
, String
" may provide additional or different license terms and conditions"
, String
" for use, reproduction, or distribution of Your modifications, or"
, String
" for any such Derivative Works as a whole, provided Your use,"
, String
" reproduction, and distribution of the Work otherwise complies with"
, String
" the conditions stated in this License."
, String
""
, String
" 5. Submission of Contributions. Unless You explicitly state otherwise,"
, String
" any Contribution intentionally submitted for inclusion in the Work"
, String
" by You to the Licensor shall be under the terms and conditions of"
, String
" this License, without any additional terms or conditions."
, String
" Notwithstanding the above, nothing herein shall supersede or modify"
, String
" the terms of any separate license agreement you may have executed"
, String
" with Licensor regarding such Contributions."
, String
""
, String
" 6. Trademarks. This License does not grant permission to use the trade"
, String
" names, trademarks, service marks, or product names of the Licensor,"
, String
" except as required for reasonable and customary use in describing the"
, String
" origin of the Work and reproducing the content of the NOTICE file."
, String
""
, String
" 7. Disclaimer of Warranty. Unless required by applicable law or"
, String
" agreed to in writing, Licensor provides the Work (and each"
, String
" Contributor provides its Contributions) on an \"AS IS\" BASIS,"
, String
" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or"
, String
" implied, including, without limitation, any warranties or conditions"
, String
" of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A"
, String
" PARTICULAR PURPOSE. You are solely responsible for determining the"
, String
" appropriateness of using or redistributing the Work and assume any"
, String
" risks associated with Your exercise of permissions under this License."
, String
""
, String
" 8. Limitation of Liability. In no event and under no legal theory,"
, String
" whether in tort (including negligence), contract, or otherwise,"
, String
" unless required by applicable law (such as deliberate and grossly"
, String
" negligent acts) or agreed to in writing, shall any Contributor be"
, String
" liable to You for damages, including any direct, indirect, special,"
, String
" incidental, or consequential damages of any character arising as a"
, String
" result of this License or out of the use or inability to use the"
, String
" Work (including but not limited to damages for loss of goodwill,"
, String
" work stoppage, computer failure or malfunction, or any and all"
, String
" other commercial damages or losses), even if such Contributor"
, String
" has been advised of the possibility of such damages."
, String
""
, String
" 9. Accepting Warranty or Additional Liability. While redistributing"
, String
" the Work or Derivative Works thereof, You may choose to offer,"
, String
" and charge a fee for, acceptance of support, warranty, indemnity,"
, String
" or other liability obligations and/or rights consistent with this"
, String
" License. However, in accepting such obligations, You may act only"
, String
" on Your own behalf and on Your sole responsibility, not on behalf"
, String
" of any other Contributor, and only if You agree to indemnify,"
, String
" defend, and hold each Contributor harmless for any liability"
, String
" incurred by, or claims asserted against, such Contributor by reason"
, String
" of your accepting any such warranty or additional liability."
, String
""
, String
" END OF TERMS AND CONDITIONS"
, String
""
, String
" APPENDIX: How to apply the Apache License to your work."
, String
""
, String
" To apply the Apache License to your work, attach the following"
, String
" boilerplate notice, with the fields enclosed by brackets \"[]\""
, String
" replaced with your own identifying information. (Don't include"
, String
" the brackets!) The text should be enclosed in the appropriate"
, String
" comment syntax for the file format. We also recommend that a"
, String
" file or class name and description of purpose be included on the"
, String
" same \"printed page\" as the copyright notice for easier"
, String
" identification within third-party archives."
, String
""
, String
" Copyright [yyyy] [name of copyright owner]"
, String
""
, String
" Licensed under the Apache License, Version 2.0 (the \"License\");"
, String
" you may not use this file except in compliance with the License."
, String
" You may obtain a copy of the License at"
, String
""
, String
" http://www.apache.org/licenses/LICENSE-2.0"
, String
""
, String
" Unless required by applicable law or agreed to in writing, software"
, String
" distributed under the License is distributed on an \"AS IS\" BASIS,"
, String
" WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied."
, String
" See the License for the specific language governing permissions and"
, String
" limitations under the License."
]
mit :: String -> String -> License
mit :: String -> String -> String
mit String
authors String
year = [String] -> String
unlines
[ String
"Copyright (c) " forall a. [a] -> [a] -> [a]
++ String
year forall a. [a] -> [a] -> [a]
++ String
" " forall a. [a] -> [a] -> [a]
++ String
authors
, String
""
, String
"Permission is hereby granted, free of charge, to any person obtaining"
, String
"a copy of this software and associated documentation files (the"
, String
"\"Software\"), to deal in the Software without restriction, including"
, String
"without limitation the rights to use, copy, modify, merge, publish,"
, String
"distribute, sublicense, and/or sell copies of the Software, and to"
, String
"permit persons to whom the Software is furnished to do so, subject to"
, String
"the following conditions:"
, String
""
, String
"The above copyright notice and this permission notice shall be included"
, String
"in all copies or substantial portions of the Software."
, String
""
, String
"THE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND,"
, String
"EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF"
, String
"MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT."
, String
"IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY"
, String
"CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,"
, String
"TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE"
, String
"SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE."
]
mpl20 :: License
mpl20 :: String
mpl20 = [String] -> String
unlines
[ String
"Mozilla Public License Version 2.0"
, String
"=================================="
, String
""
, String
"1. Definitions"
, String
"--------------"
, String
""
, String
"1.1. \"Contributor\""
, String
" means each individual or legal entity that creates, contributes to"
, String
" the creation of, or owns Covered Software."
, String
""
, String
"1.2. \"Contributor Version\""
, String
" means the combination of the Contributions of others (if any) used"
, String
" by a Contributor and that particular Contributor's Contribution."
, String
""
, String
"1.3. \"Contribution\""
, String
" means Covered Software of a particular Contributor."
, String
""
, String
"1.4. \"Covered Software\""
, String
" means Source Code Form to which the initial Contributor has attached"
, String
" the notice in Exhibit A, the Executable Form of such Source Code"
, String
" Form, and Modifications of such Source Code Form, in each case"
, String
" including portions thereof."
, String
""
, String
"1.5. \"Incompatible With Secondary Licenses\""
, String
" means"
, String
""
, String
" (a) that the initial Contributor has attached the notice described"
, String
" in Exhibit B to the Covered Software; or"
, String
""
, String
" (b) that the Covered Software was made available under the terms of"
, String
" version 1.1 or earlier of the License, but not also under the"
, String
" terms of a Secondary License."
, String
""
, String
"1.6. \"Executable Form\""
, String
" means any form of the work other than Source Code Form."
, String
""
, String
"1.7. \"Larger Work\""
, String
" means a work that combines Covered Software with other material, in"
, String
" a separate file or files, that is not Covered Software."
, String
""
, String
"1.8. \"License\""
, String
" means this document."
, String
""
, String
"1.9. \"Licensable\""
, String
" means having the right to grant, to the maximum extent possible,"
, String
" whether at the time of the initial grant or subsequently, any and"
, String
" all of the rights conveyed by this License."
, String
""
, String
"1.10. \"Modifications\""
, String
" means any of the following:"
, String
""
, String
" (a) any file in Source Code Form that results from an addition to,"
, String
" deletion from, or modification of the contents of Covered"
, String
" Software; or"
, String
""
, String
" (b) any new file in Source Code Form that contains any Covered"
, String
" Software."
, String
""
, String
"1.11. \"Patent Claims\" of a Contributor"
, String
" means any patent claim(s), including without limitation, method,"
, String
" process, and apparatus claims, in any patent Licensable by such"
, String
" Contributor that would be infringed, but for the grant of the"
, String
" License, by the making, using, selling, offering for sale, having"
, String
" made, import, or transfer of either its Contributions or its"
, String
" Contributor Version."
, String
""
, String
"1.12. \"Secondary License\""
, String
" means either the GNU General Public License, Version 2.0, the GNU"
, String
" Lesser General Public License, Version 2.1, the GNU Affero General"
, String
" Public License, Version 3.0, or any later versions of those"
, String
" licenses."
, String
""
, String
"1.13. \"Source Code Form\""
, String
" means the form of the work preferred for making modifications."
, String
""
, String
"1.14. \"You\" (or \"Your\")"
, String
" means an individual or a legal entity exercising rights under this"
, String
" License. For legal entities, \"You\" includes any entity that"
, String
" controls, is controlled by, or is under common control with You. For"
, String
" purposes of this definition, \"control\" means (a) the power, direct"
, String
" or indirect, to cause the direction or management of such entity,"
, String
" whether by contract or otherwise, or (b) ownership of more than"
, String
" fifty percent (50%) of the outstanding shares or beneficial"
, String
" ownership of such entity."
, String
""
, String
"2. License Grants and Conditions"
, String
"--------------------------------"
, String
""
, String
"2.1. Grants"
, String
""
, String
"Each Contributor hereby grants You a world-wide, royalty-free,"
, String
"non-exclusive license:"
, String
""
, String
"(a) under intellectual property rights (other than patent or trademark)"
, String
" Licensable by such Contributor to use, reproduce, make available,"
, String
" modify, display, perform, distribute, and otherwise exploit its"
, String
" Contributions, either on an unmodified basis, with Modifications, or"
, String
" as part of a Larger Work; and"
, String
""
, String
"(b) under Patent Claims of such Contributor to make, use, sell, offer"
, String
" for sale, have made, import, and otherwise transfer either its"
, String
" Contributions or its Contributor Version."
, String
""
, String
"2.2. Effective Date"
, String
""
, String
"The licenses granted in Section 2.1 with respect to any Contribution"
, String
"become effective for each Contribution on the date the Contributor first"
, String
"distributes such Contribution."
, String
""
, String
"2.3. Limitations on Grant Scope"
, String
""
, String
"The licenses granted in this Section 2 are the only rights granted under"
, String
"this License. No additional rights or licenses will be implied from the"
, String
"distribution or licensing of Covered Software under this License."
, String
"Notwithstanding Section 2.1(b) above, no patent license is granted by a"
, String
"Contributor:"
, String
""
, String
"(a) for any code that a Contributor has removed from Covered Software;"
, String
" or"
, String
""
, String
"(b) for infringements caused by: (i) Your and any other third party's"
, String
" modifications of Covered Software, or (ii) the combination of its"
, String
" Contributions with other software (except as part of its Contributor"
, String
" Version); or"
, String
""
, String
"(c) under Patent Claims infringed by Covered Software in the absence of"
, String
" its Contributions."
, String
""
, String
"This License does not grant any rights in the trademarks, service marks,"
, String
"or logos of any Contributor (except as may be necessary to comply with"
, String
"the notice requirements in Section 3.4)."
, String
""
, String
"2.4. Subsequent Licenses"
, String
""
, String
"No Contributor makes additional grants as a result of Your choice to"
, String
"distribute the Covered Software under a subsequent version of this"
, String
"License (see Section 10.2) or under the terms of a Secondary License (if"
, String
"permitted under the terms of Section 3.3)."
, String
""
, String
"2.5. Representation"
, String
""
, String
"Each Contributor represents that the Contributor believes its"
, String
"Contributions are its original creation(s) or it has sufficient rights"
, String
"to grant the rights to its Contributions conveyed by this License."
, String
""
, String
"2.6. Fair Use"
, String
""
, String
"This License is not intended to limit any rights You have under"
, String
"applicable copyright doctrines of fair use, fair dealing, or other"
, String
"equivalents."
, String
""
, String
"2.7. Conditions"
, String
""
, String
"Sections 3.1, 3.2, 3.3, and 3.4 are conditions of the licenses granted"
, String
"in Section 2.1."
, String
""
, String
"3. Responsibilities"
, String
"-------------------"
, String
""
, String
"3.1. Distribution of Source Form"
, String
""
, String
"All distribution of Covered Software in Source Code Form, including any"
, String
"Modifications that You create or to which You contribute, must be under"
, String
"the terms of this License. You must inform recipients that the Source"
, String
"Code Form of the Covered Software is governed by the terms of this"
, String
"License, and how they can obtain a copy of this License. You may not"
, String
"attempt to alter or restrict the recipients' rights in the Source Code"
, String
"Form."
, String
""
, String
"3.2. Distribution of Executable Form"
, String
""
, String
"If You distribute Covered Software in Executable Form then:"
, String
""
, String
"(a) such Covered Software must also be made available in Source Code"
, String
" Form, as described in Section 3.1, and You must inform recipients of"
, String
" the Executable Form how they can obtain a copy of such Source Code"
, String
" Form by reasonable means in a timely manner, at a charge no more"
, String
" than the cost of distribution to the recipient; and"
, String
""
, String
"(b) You may distribute such Executable Form under the terms of this"
, String
" License, or sublicense it under different terms, provided that the"
, String
" license for the Executable Form does not attempt to limit or alter"
, String
" the recipients' rights in the Source Code Form under this License."
, String
""
, String
"3.3. Distribution of a Larger Work"
, String
""
, String
"You may create and distribute a Larger Work under terms of Your choice,"
, String
"provided that You also comply with the requirements of this License for"
, String
"the Covered Software. If the Larger Work is a combination of Covered"
, String
"Software with a work governed by one or more Secondary Licenses, and the"
, String
"Covered Software is not Incompatible With Secondary Licenses, this"
, String
"License permits You to additionally distribute such Covered Software"
, String
"under the terms of such Secondary License(s), so that the recipient of"
, String
"the Larger Work may, at their option, further distribute the Covered"
, String
"Software under the terms of either this License or such Secondary"
, String
"License(s)."
, String
""
, String
"3.4. Notices"
, String
""
, String
"You may not remove or alter the substance of any license notices"
, String
"(including copyright notices, patent notices, disclaimers of warranty,"
, String
"or limitations of liability) contained within the Source Code Form of"
, String
"the Covered Software, except that You may alter any license notices to"
, String
"the extent required to remedy known factual inaccuracies."
, String
""
, String
"3.5. Application of Additional Terms"
, String
""
, String
"You may choose to offer, and to charge a fee for, warranty, support,"
, String
"indemnity or liability obligations to one or more recipients of Covered"
, String
"Software. However, You may do so only on Your own behalf, and not on"
, String
"behalf of any Contributor. You must make it absolutely clear that any"
, String
"such warranty, support, indemnity, or liability obligation is offered by"
, String
"You alone, and You hereby agree to indemnify every Contributor for any"
, String
"liability incurred by such Contributor as a result of warranty, support,"
, String
"indemnity or liability terms You offer. You may include additional"
, String
"disclaimers of warranty and limitations of liability specific to any"
, String
"jurisdiction."
, String
""
, String
"4. Inability to Comply Due to Statute or Regulation"
, String
"---------------------------------------------------"
, String
""
, String
"If it is impossible for You to comply with any of the terms of this"
, String
"License with respect to some or all of the Covered Software due to"
, String
"statute, judicial order, or regulation then You must: (a) comply with"
, String
"the terms of this License to the maximum extent possible; and (b)"
, String
"describe the limitations and the code they affect. Such description must"
, String
"be placed in a text file included with all distributions of the Covered"
, String
"Software under this License. Except to the extent prohibited by statute"
, String
"or regulation, such description must be sufficiently detailed for a"
, String
"recipient of ordinary skill to be able to understand it."
, String
""
, String
"5. Termination"
, String
"--------------"
, String
""
, String
"5.1. The rights granted under this License will terminate automatically"
, String
"if You fail to comply with any of its terms. However, if You become"
, String
"compliant, then the rights granted under this License from a particular"
, String
"Contributor are reinstated (a) provisionally, unless and until such"
, String
"Contributor explicitly and finally terminates Your grants, and (b) on an"
, String
"ongoing basis, if such Contributor fails to notify You of the"
, String
"non-compliance by some reasonable means prior to 60 days after You have"
, String
"come back into compliance. Moreover, Your grants from a particular"
, String
"Contributor are reinstated on an ongoing basis if such Contributor"
, String
"notifies You of the non-compliance by some reasonable means, this is the"
, String
"first time You have received notice of non-compliance with this License"
, String
"from such Contributor, and You become compliant prior to 30 days after"
, String
"Your receipt of the notice."
, String
""
, String
"5.2. If You initiate litigation against any entity by asserting a patent"
, String
"infringement claim (excluding declaratory judgment actions,"
, String
"counter-claims, and cross-claims) alleging that a Contributor Version"
, String
"directly or indirectly infringes any patent, then the rights granted to"
, String
"You by any and all Contributors for the Covered Software under Section"
, String
"2.1 of this License shall terminate."
, String
""
, String
"5.3. In the event of termination under Sections 5.1 or 5.2 above, all"
, String
"end user license agreements (excluding distributors and resellers) which"
, String
"have been validly granted by You or Your distributors under this License"
, String
"prior to termination shall survive termination."
, String
""
, String
"************************************************************************"
, String
"* *"
, String
"* 6. Disclaimer of Warranty *"
, String
"* ------------------------- *"
, String
"* *"
, String
"* Covered Software is provided under this License on an \"as is\" *"
, String
"* basis, without warranty of any kind, either expressed, implied, or *"
, String
"* statutory, including, without limitation, warranties that the *"
, String
"* Covered Software is free of defects, merchantable, fit for a *"
, String
"* particular purpose or non-infringing. The entire risk as to the *"
, String
"* quality and performance of the Covered Software is with You. *"
, String
"* Should any Covered Software prove defective in any respect, You *"
, String
"* (not any Contributor) assume the cost of any necessary servicing, *"
, String
"* repair, or correction. This disclaimer of warranty constitutes an *"
, String
"* essential part of this License. No use of any Covered Software is *"
, String
"* authorized under this License except under this disclaimer. *"
, String
"* *"
, String
"************************************************************************"
, String
""
, String
"************************************************************************"
, String
"* *"
, String
"* 7. Limitation of Liability *"
, String
"* -------------------------- *"
, String
"* *"
, String
"* Under no circumstances and under no legal theory, whether tort *"
, String
"* (including negligence), contract, or otherwise, shall any *"
, String
"* Contributor, or anyone who distributes Covered Software as *"
, String
"* permitted above, be liable to You for any direct, indirect, *"
, String
"* special, incidental, or consequential damages of any character *"
, String
"* including, without limitation, damages for lost profits, loss of *"
, String
"* goodwill, work stoppage, computer failure or malfunction, or any *"
, String
"* and all other commercial damages or losses, even if such party *"
, String
"* shall have been informed of the possibility of such damages. This *"
, String
"* limitation of liability shall not apply to liability for death or *"
, String
"* personal injury resulting from such party's negligence to the *"
, String
"* extent applicable law prohibits such limitation. Some *"
, String
"* jurisdictions do not allow the exclusion or limitation of *"
, String
"* incidental or consequential damages, so this exclusion and *"
, String
"* limitation may not apply to You. *"
, String
"* *"
, String
"************************************************************************"
, String
""
, String
"8. Litigation"
, String
"-------------"
, String
""
, String
"Any litigation relating to this License may be brought only in the"
, String
"courts of a jurisdiction where the defendant maintains its principal"
, String
"place of business and such litigation shall be governed by laws of that"
, String
"jurisdiction, without reference to its conflict-of-law provisions."
, String
"Nothing in this Section shall prevent a party's ability to bring"
, String
"cross-claims or counter-claims."
, String
""
, String
"9. Miscellaneous"
, String
"----------------"
, String
""
, String
"This License represents the complete agreement concerning the subject"
, String
"matter hereof. If any provision of this License is held to be"
, String
"unenforceable, such provision shall be reformed only to the extent"
, String
"necessary to make it enforceable. Any law or regulation which provides"
, String
"that the language of a contract shall be construed against the drafter"
, String
"shall not be used to construe this License against a Contributor."
, String
""
, String
"10. Versions of the License"
, String
"---------------------------"
, String
""
, String
"10.1. New Versions"
, String
""
, String
"Mozilla Foundation is the license steward. Except as provided in Section"
, String
"10.3, no one other than the license steward has the right to modify or"
, String
"publish new versions of this License. Each version will be given a"
, String
"distinguishing version number."
, String
""
, String
"10.2. Effect of New Versions"
, String
""
, String
"You may distribute the Covered Software under the terms of the version"
, String
"of the License under which You originally received the Covered Software,"
, String
"or under the terms of any subsequent version published by the license"
, String
"steward."
, String
""
, String
"10.3. Modified Versions"
, String
""
, String
"If you create software not governed by this License, and you want to"
, String
"create a new license for such software, you may create and use a"
, String
"modified version of this License if you rename the license and remove"
, String
"any references to the name of the license steward (except to note that"
, String
"such modified license differs from this License)."
, String
""
, String
"10.4. Distributing Source Code Form that is Incompatible With Secondary"
, String
"Licenses"
, String
""
, String
"If You choose to distribute Source Code Form that is Incompatible With"
, String
"Secondary Licenses under the terms of this version of the License, the"
, String
"notice described in Exhibit B of this License must be attached."
, String
""
, String
"Exhibit A - Source Code Form License Notice"
, String
"-------------------------------------------"
, String
""
, String
" This Source Code Form is subject to the terms of the Mozilla Public"
, String
" License, v. 2.0. If a copy of the MPL was not distributed with this"
, String
" file, You can obtain one at http://mozilla.org/MPL/2.0/."
, String
""
, String
"If it is not possible or desirable to put the notice in a particular"
, String
"file, then You may include the notice in a location (such as a LICENSE"
, String
"file in a relevant directory) where a recipient would be likely to look"
, String
"for such a notice."
, String
""
, String
"You may add additional accurate notices of copyright ownership."
, String
""
, String
"Exhibit B - \"Incompatible With Secondary Licenses\" Notice"
, String
"---------------------------------------------------------"
, String
""
, String
" This Source Code Form is \"Incompatible With Secondary Licenses\", as"
, String
" defined by the Mozilla Public License, v. 2.0."
]
isc :: String -> String -> License
isc :: String -> String -> String
isc String
authors String
year = [String] -> String
unlines
[ String
"Copyright (c) " forall a. [a] -> [a] -> [a]
++ String
year forall a. [a] -> [a] -> [a]
++ String
" " forall a. [a] -> [a] -> [a]
++ String
authors
, String
""
, String
"Permission to use, copy, modify, and/or distribute this software for any purpose"
, String
"with or without fee is hereby granted, provided that the above copyright notice"
, String
"and this permission notice appear in all copies."
, String
""
, String
"THE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH"
, String
"REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND"
, String
"FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,"
, String
"INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS"
, String
"OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER"
, String
"TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF"
, String
"THIS SOFTWARE."
]