From 04ccd807cda8e39f15fbf23f755b1cad5dc3831c Mon Sep 17 00:00:00 2001 From: 0x5c Date: Sat, 26 Jun 2021 20:23:55 -0400 Subject: [PATCH] Changed the licence to LiLiQ-Rplus-1.1 Fixes #387 --- CHANGELOG.md | 2 + COPYING | 339 ---------------------------------- LICENCE | 178 ++++++++++++++++++ README.md | 4 +- common.py | 3 +- exts/ae7q.py | 3 +- exts/base.py | 3 +- exts/callsign.py | 3 +- exts/codes.py | 3 +- exts/contests.py | 3 +- exts/dbconv.py | 3 +- exts/dxcc.py | 3 +- exts/fun.py | 3 +- exts/grid.py | 3 +- exts/image.py | 3 +- exts/land_weather.py | 3 +- exts/morse.py | 3 +- exts/prefixes.py | 3 +- exts/propagation.py | 3 +- exts/study.py | 3 +- exts/tex.py | 3 +- exts/time.py | 3 +- info.py | 5 +- main.py | 3 +- resource_schemas.py | 3 +- resources/callsign_info.py | 3 +- resources/callsigninfos/ca.py | 3 +- resources/callsigninfos/us.py | 3 +- resources/study.py | 3 +- utils/connector.py | 3 +- utils/resources_manager.py | 3 +- utils/resources_models.py | 3 +- 32 files changed, 211 insertions(+), 398 deletions(-) delete mode 100644 COPYING create mode 100644 LICENCE diff --git a/CHANGELOG.md b/CHANGELOG.md index 39bf8d3..2c814fc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,8 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ## [Unreleased] +### Changed +- Changed the licence to LiLiQ-Rplus-1.1 ## [2.7.3] - 2021-04-12 diff --git a/COPYING b/COPYING deleted file mode 100644 index d159169..0000000 --- a/COPYING +++ /dev/null @@ -1,339 +0,0 @@ - GNU GENERAL PUBLIC LICENSE - Version 2, June 1991 - - Copyright (C) 1989, 1991 Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA - Everyone is permitted to copy and distribute verbatim copies - of this license document, but changing it is not allowed. - - Preamble - - The licenses for most software are designed to take away your -freedom to share and change it. By contrast, the GNU General Public -License is intended to guarantee your freedom to share and change free -software--to make sure the software is free for all its users. This -General Public License applies to most of the Free Software -Foundation's software and to any other program whose authors commit to -using it. (Some other Free Software Foundation software is covered by -the GNU Lesser General Public License instead.) You can apply it to -your programs, too. - - When we speak of free software, we are referring to freedom, not -price. Our General Public Licenses are designed to make sure that you -have the freedom to distribute copies of free software (and charge for -this service if you wish), that you receive source code or can get it -if you want it, that you can change the software or use pieces of it -in new free programs; and that you know you can do these things. - - To protect your rights, we need to make restrictions that forbid -anyone to deny you these rights or to ask you to surrender the rights. -These restrictions translate to certain responsibilities for you if you -distribute copies of the software, or if you modify it. - - For example, if you distribute copies of such a program, whether -gratis or for a fee, you must give the recipients all the rights that -you have. You must make sure that they, too, receive or can get the -source code. And you must show them these terms so they know their -rights. - - We protect your rights with two steps: (1) copyright the software, and -(2) offer you this license which gives you legal permission to copy, -distribute and/or modify the software. - - Also, for each author's protection and ours, we want to make certain -that everyone understands that there is no warranty for this free -software. If the software is modified by someone else and passed on, we -want its recipients to know that what they have is not the original, so -that any problems introduced by others will not reflect on the original -authors' reputations. - - Finally, any free program is threatened constantly by software -patents. We wish to avoid the danger that redistributors of a free -program will individually obtain patent licenses, in effect making the -program proprietary. To prevent this, we have made it clear that any -patent must be licensed for everyone's free use or not licensed at all. - - The precise terms and conditions for copying, distribution and -modification follow. - - GNU GENERAL PUBLIC LICENSE - TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION - - 0. This License applies to any program or other work which contains -a notice placed by the copyright holder saying it may be distributed -under the terms of this General Public License. The "Program", below, -refers to any such program or work, and a "work based on the Program" -means either the Program or any derivative work under copyright law: -that is to say, a work containing the Program or a portion of it, -either verbatim or with modifications and/or translated into another -language. (Hereinafter, translation is included without limitation in -the term "modification".) Each licensee is addressed as "you". - -Activities other than copying, distribution and modification are not -covered by this License; they are outside its scope. The act of -running the Program is not restricted, and the output from the Program -is covered only if its contents constitute a work based on the -Program (independent of having been made by running the Program). -Whether that is true depends on what the Program does. - - 1. You may copy and distribute verbatim copies of the Program's -source code as you receive it, in any medium, provided that you -conspicuously and appropriately publish on each copy an appropriate -copyright notice and disclaimer of warranty; keep intact all the -notices that refer to this License and to the absence of any warranty; -and give any other recipients of the Program a copy of this License -along with the Program. - -You may charge a fee for the physical act of transferring a copy, and -you may at your option offer warranty protection in exchange for a fee. - - 2. You may modify your copy or copies of the Program or any portion -of it, thus forming a work based on the Program, and copy and -distribute such modifications or work under the terms of Section 1 -above, provided that you also meet all of these conditions: - - a) You must cause the modified files to carry prominent notices - stating that you changed the files and the date of any change. - - b) You must cause any work that you distribute or publish, that in - whole or in part contains or is derived from the Program or any - part thereof, to be licensed as a whole at no charge to all third - parties under the terms of this License. - - c) If the modified program normally reads commands interactively - when run, you must cause it, when started running for such - interactive use in the most ordinary way, to print or display an - announcement including an appropriate copyright notice and a - notice that there is no warranty (or else, saying that you provide - a warranty) and that users may redistribute the program under - these conditions, and telling the user how to view a copy of this - License. (Exception: if the Program itself is interactive but - does not normally print such an announcement, your work based on - the Program is not required to print an announcement.) - -These requirements apply to the modified work as a whole. If -identifiable sections of that work are not derived from the Program, -and can be reasonably considered independent and separate works in -themselves, then this License, and its terms, do not apply to those -sections when you distribute them as separate works. But when you -distribute the same sections as part of a whole which is a work based -on the Program, the distribution of the whole must be on the terms of -this License, whose permissions for other licensees extend to the -entire whole, and thus to each and every part regardless of who wrote it. - -Thus, it is not the intent of this section to claim rights or contest -your rights to work written entirely by you; rather, the intent is to -exercise the right to control the distribution of derivative or -collective works based on the Program. - -In addition, mere aggregation of another work not based on the Program -with the Program (or with a work based on the Program) on a volume of -a storage or distribution medium does not bring the other work under -the scope of this License. - - 3. You may copy and distribute the Program (or a work based on it, -under Section 2) in object code or executable form under the terms of -Sections 1 and 2 above provided that you also do one of the following: - - a) Accompany it with the complete corresponding machine-readable - source code, which must be distributed under the terms of Sections - 1 and 2 above on a medium customarily used for software interchange; or, - - b) Accompany it with a written offer, valid for at least three - years, to give any third party, for a charge no more than your - cost of physically performing source distribution, a complete - machine-readable copy of the corresponding source code, to be - distributed under the terms of Sections 1 and 2 above on a medium - customarily used for software interchange; or, - - c) Accompany it with the information you received as to the offer - to distribute corresponding source code. (This alternative is - allowed only for noncommercial distribution and only if you - received the program in object code or executable form with such - an offer, in accord with Subsection b above.) - -The source code for a work means the preferred form of the work for -making modifications to it. For an executable work, complete source -code means all the source code for all modules it contains, plus any -associated interface definition files, plus the scripts used to -control compilation and installation of the executable. However, as a -special exception, the source code distributed need not include -anything that is normally distributed (in either source or binary -form) with the major components (compiler, kernel, and so on) of the -operating system on which the executable runs, unless that component -itself accompanies the executable. - -If distribution of executable or object code is made by offering -access to copy from a designated place, then offering equivalent -access to copy the source code from the same place counts as -distribution of the source code, even though third parties are not -compelled to copy the source along with the object code. - - 4. You may not copy, modify, sublicense, or distribute the Program -except as expressly provided under this License. Any attempt -otherwise to copy, modify, sublicense or distribute the Program is -void, and will automatically terminate your rights under this License. -However, parties who have received copies, or rights, from you under -this License will not have their licenses terminated so long as such -parties remain in full compliance. - - 5. You are not required to accept this License, since you have not -signed it. However, nothing else grants you permission to modify or -distribute the Program or its derivative works. These actions are -prohibited by law if you do not accept this License. Therefore, by -modifying or distributing the Program (or any work based on the -Program), you indicate your acceptance of this License to do so, and -all its terms and conditions for copying, distributing or modifying -the Program or works based on it. - - 6. Each time you redistribute the Program (or any work based on the -Program), the recipient automatically receives a license from the -original licensor to copy, distribute or modify the Program subject to -these terms and conditions. You may not impose any further -restrictions on the recipients' exercise of the rights granted herein. -You are not responsible for enforcing compliance by third parties to -this License. - - 7. If, as a consequence of a court judgment or allegation of patent -infringement or for any other reason (not limited to patent issues), -conditions are imposed on you (whether by court order, agreement or -otherwise) that contradict the conditions of this License, they do not -excuse you from the conditions of this License. If you cannot -distribute so as to satisfy simultaneously your obligations under this -License and any other pertinent obligations, then as a consequence you -may not distribute the Program at all. For example, if a patent -license would not permit royalty-free redistribution of the Program by -all those who receive copies directly or indirectly through you, then -the only way you could satisfy both it and this License would be to -refrain entirely from distribution of the Program. - -If any portion of this section is held invalid or unenforceable under -any particular circumstance, the balance of the section is intended to -apply and the section as a whole is intended to apply in other -circumstances. - -It is not the purpose of this section to induce you to infringe any -patents or other property right claims or to contest validity of any -such claims; this section has the sole purpose of protecting the -integrity of the free software distribution system, which is -implemented by public license practices. Many people have made -generous contributions to the wide range of software distributed -through that system in reliance on consistent application of that -system; it is up to the author/donor to decide if he or she is willing -to distribute software through any other system and a licensee cannot -impose that choice. - -This section is intended to make thoroughly clear what is believed to -be a consequence of the rest of this License. - - 8. If the distribution and/or use of the Program is restricted in -certain countries either by patents or by copyrighted interfaces, the -original copyright holder who places the Program under this License -may add an explicit geographical distribution limitation excluding -those countries, so that distribution is permitted only in or among -countries not thus excluded. In such case, this License incorporates -the limitation as if written in the body of this License. - - 9. The Free Software Foundation may publish revised and/or new versions -of the General Public License from time to time. Such new versions will -be similar in spirit to the present version, but may differ in detail to -address new problems or concerns. - -Each version is given a distinguishing version number. If the Program -specifies a version number of this License which applies to it and "any -later version", you have the option of following the terms and conditions -either of that version or of any later version published by the Free -Software Foundation. If the Program does not specify a version number of -this License, you may choose any version ever published by the Free Software -Foundation. - - 10. If you wish to incorporate parts of the Program into other free -programs whose distribution conditions are different, write to the author -to ask for permission. For software which is copyrighted by the Free -Software Foundation, write to the Free Software Foundation; we sometimes -make exceptions for this. Our decision will be guided by the two goals -of preserving the free status of all derivatives of our free software and -of promoting the sharing and reuse of software generally. - - NO WARRANTY - - 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY -FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN -OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES -PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED -OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF -MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS -TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE -PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, -REPAIR OR CORRECTION. - - 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING -WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR -REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, -INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING -OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED -TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY -YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER -PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE -POSSIBILITY OF SUCH DAMAGES. - - END OF TERMS AND CONDITIONS - - How to Apply These Terms to Your New Programs - - If you develop a new program, and you want it to be of the greatest -possible use to the public, the best way to achieve this is to make it -free software which everyone can redistribute and change under these terms. - - To do so, attach the following notices to the program. It is safest -to attach them to the start of each source file to most effectively -convey the exclusion of warranty; and each file should have at least -the "copyright" line and a pointer to where the full notice is found. - - - Copyright (C) - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. - -Also add information on how to contact you by electronic and paper mail. - -If the program is interactive, make it output a short notice like this -when it starts in an interactive mode: - - Gnomovision version 69, Copyright (C) year name of author - Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. - This is free software, and you are welcome to redistribute it - under certain conditions; type `show c' for details. - -The hypothetical commands `show w' and `show c' should show the appropriate -parts of the General Public License. Of course, the commands you use may -be called something other than `show w' and `show c'; they could even be -mouse-clicks or menu items--whatever suits your program. - -You should also get your employer (if you work as a programmer) or your -school, if any, to sign a "copyright disclaimer" for the program, if -necessary. Here is a sample; alter the names: - - Yoyodyne, Inc., hereby disclaims all copyright interest in the program - `Gnomovision' (which makes passes at compilers) written by James Hacker. - - , 1 April 1989 - Ty Coon, President of Vice - -This General Public License does not permit incorporating your program into -proprietary programs. If your program is a subroutine library, you may -consider it more useful to permit linking proprietary applications with the -library. If this is what you want to do, use the GNU Lesser General -Public License instead of this License. diff --git a/LICENCE b/LICENCE new file mode 100644 index 0000000..ae72fa7 --- /dev/null +++ b/LICENCE @@ -0,0 +1,178 @@ +SPDX-License-Identifier: LiLiQ-Rplus-1.1 + +---- English version follows ---- + + +Licence Libre du Québec – Réciprocité forte (LiLiQ-R+) + +Version 1.1 + +1. Préambule +Cette licence s'applique à tout logiciel distribué dont le titulaire du droit d'auteur précise qu'il est sujet aux termes de la Licence Libre du Québec – Réciprocité forte (LiLiQ-R+) (ci-après appelée la « licence »). + +2. Définitions +Dans la présente licence, à moins que le contexte n'indique un sens différent, on entend par: +« concédant » : le titulaire du droit d'auteur sur le logiciel, ou toute personne dûment autorisée par ce dernier à accorder la présente licence; +« contributeur » : le titulaire du droit d'auteur ou toute personne autorisée par ce dernier à soumettre au concédant une contribution. Un contributeur dont sa contribution est incorporée au logiciel est considéré comme un concédant en regard de sa contribution; +« contribution » : tout logiciel original, ou partie de logiciel original soumis et destiné à être incorporé dans le logiciel; +« distribution » : le fait de délivrer une copie du logiciel; +« licencié » : toute personne qui possède une copie du logiciel et qui exerce les droits concédés par la licence; +« logiciel » : une œuvre protégée par le droit d'auteur, telle qu'un programme d'ordinateur et sa documentation, pour laquelle le titulaire du droit d'auteur a précisé qu'elle est sujette aux termes de la présente licence; +« logiciel dérivé » : tout logiciel original réalisé par un licencié, autre que le logiciel ou un logiciel modifié, qui produit ou reproduit la totalité ou une partie importante du logiciel; +« logiciel modifié » : toute modification par un licencié de l'un des fichiers source du logiciel ou encore tout nouveau fichier source qui incorpore le logiciel ou une partie importante de ce dernier. + +3. Licence de droit d'auteur +Sous réserve des termes de la licence, le concédant accorde au licencié une licence non exclusive et libre de redevances lui permettant d’exercer les droits suivants sur le logiciel : +1° Produire ou reproduire la totalité ou une partie importante; +2° Exécuter ou représenter la totalité ou une partie importante en public; +3° Publier la totalité ou une partie importante. + +Cette licence est accordée sans limite territoriale et sans limite de temps. + +L'exercice complet de ces droits est sujet à la distribution par le concédant du code source du logiciel, lequel doit être sous une forme permettant d'y apporter des modifications. Le concédant peut aussi distribuer le logiciel accompagné d'une offre de distribuer le code source du logiciel, sans frais supplémentaires, autres que ceux raisonnables afin de permettre la livraison du code source. Cette offre doit être valide pendant une durée raisonnable. + +4. Distribution +Le licencié peut distribuer des copies du logiciel, d'un logiciel modifié ou dérivé, sous réserve de respecter les conditions suivantes : +1° Le logiciel doit être accompagné d'un exemplaire de cette licence; +2° Si le logiciel a été modifié, le licencié doit en faire la mention, de préférence dans chacun des fichiers modifiés dont la nature permet une telle mention; +3° Les étiquettes ou mentions faisant état des droits d'auteur, des marques de commerce, des garanties ou de la paternité concernant le logiciel ne doivent pas être modifiées ou supprimées, à moins que ces étiquettes ou mentions ne soient inapplicables à un logiciel modifié ou dérivé donné. + +4.1. Réciprocité +Chaque fois que le licencié distribue le logiciel, le concédant offre au récipiendaire une concession sur le logiciel selon les termes de la présente licence. Le licencié doit offrir une concession selon les termes de la présente licence pour tout logiciel modifié ou dérivé qu'il distribue. + +Chaque fois que le licencié distribue le logiciel, un logiciel modifié, ou un logiciel dérivé, ce dernier doit assumer l'obligation d'en distribuer le code source, de la manière prévue au troisième alinéa de l'article 3. + +4.2. Compatibilité +Dans la mesure où le licencié souhaite distribuer un logiciel modifié ou dérivé combiné à un logiciel assujetti à une licence compatible, mais dont il ne serait pas possible d'en respecter les termes, le concédant offre, en plus de la présente concession, une concession selon les termes de cette licence compatible. + +Un licencié qui est titulaire exclusif du droit d'auteur sur le logiciel assujetti à une licence compatible ne peut pas se prévaloir de cette offre. Il en est de même pour toute autre personne dûment autorisée à sous-licencier par le titulaire exclusif du droit d'auteur sur le logiciel assujetti à une licence compatible. + +Est considérée comme une licence compatible toute licence libre approuvée ou certifiée par la Free Software Foundation ou l'Open Source Initiative, dont le niveau de réciprocité est comparable à celui de la présente licence, sans toutefois être moindre, notamment : +1° Common Public License Version 1.0 (CPL-1.0) +2° Contrat de licence de logiciel libre CeCILL, version 2.1 (CECILL-2.1) +3° Eclipse Public License - v 1.0 (EPL-1.0) +4° European Union Public License, version 1.1 (EUPL v. 1.1) +5° GNU General Public License Version 2 (GNU GPLv2) +6° GNU General Public License Version 3 (GNU GPLv3) + +5. Contributions +Sous réserve d'une entente distincte, toute contribution soumise par un contributeur au concédant pour inclusion dans le logiciel sera soumise aux termes de cette licence. + +6. Marques de commerce +La licence n'accorde aucune permission particulière qui permettrait d'utiliser les marques de commerce du concédant, autre que celle requise permettant d'identifier la provenance du logiciel. + +7. Garanties +Sauf mention contraire, le concédant distribue le logiciel sans aucune garantie, aux risques et périls de l'acquéreur de la copie du logiciel, et ce, sans assurer que le logiciel puisse répondre à un besoin particulier ou puisse donner un résultat quelconque. + +Sans lier le concédant d'une quelconque manière, rien n'empêche un licencié d'offrir ou d'exclure des garanties ou du support. + +8. Responsabilité +Le licencié est responsable de tout préjudice résultant de l'exercice des droits accordés par la licence. + +Le concédant ne saurait être tenu responsable du préjudice subi par le licencié ou par des tiers, pour quelque cause que ce soit en lien avec la licence et les droits qui y sont accordés. + +9. Résiliation +La présente licence est résiliée de plein droit dès que les droits qui y sont accordés ne sont pas exercés conformément aux termes qui y sont stipulés. + +Toutefois, si le défaut est corrigé dans un délai de 30 jours de sa prise de connaissance par la personne en défaut, et qu'il s'agit du premier défaut, la licence est accordée de nouveau. + +Pour tout défaut subséquent, le consentement exprès du concédant est nécessaire afin que la licence soit accordée de nouveau. + +10. Version de la licence +Le Centre de services partagés du Québec, ses ayants cause ou toute personne qu'il désigne, peuvent diffuser des versions révisées ou modifiées de cette licence. Chaque version recevra un numéro unique. Si un logiciel est déjà soumis aux termes d'une version spécifique, c'est seulement cette version qui liera les parties à la licence. + +Le concédant peut aussi choisir de concéder la licence sous la version actuelle ou toute version ultérieure, auquel cas le licencié peut choisir sous quelle version la licence lui est accordée. + +11. Divers +Dans la mesure où le concédant est un ministère, un organisme public ou une personne morale de droit public, créés en vertu d'une loi de l'Assemblée nationale du Québec, la licence est régie par le droit applicable au Québec et en cas de contestation, les tribunaux du Québec seront seuls compétents. + +La présente licence peut être distribuée sans conditions particulières. Toutefois, une version modifiée doit être distribuée sous un nom différent. Toute référence au Centre de services partagés du Québec, et, le cas échéant, ses ayant cause, doit être retirée, autre que celle permettant d'identifier la provenance de la licence. + + +---- + + +Québec Free and Open-Source Licence – Strong Reciprocity (LiLiQ-R+) + +Version 1.1 + +1. Preamble +This licence applies to any distributed software stipulated by its copyright owner to be subject to the terms of the Québec Free and Open-Source Licence – Strong Reciprocity (LiLiQ-R+) (hereinafter referred to as the “licence”). + +2. Definitions +Unless the context indicates otherwise, the following terms are used in this licence: +“contribution”: any original software or part of original software submitted and intended to be integrated into the software; +“contributor”: the copyright owner or any person authorized by the copyright owner to submit a contribution to the licensor. A contributor whose contribution is integrated into the software is considered a licensor with respect to that contribution; +“derived software”: any original software developed by a licensee, other than the software or modified software, that produces or reproduces all or a substantial part of the software; +“distribution”: the act of delivering a copy of the software; +“licensee”: any person possessing a copy of the software who exercises the rights granted by the licence; +“licensor”: the software copyright owner or any person duly authorized by the copyright owner to grant this licence; +“modified software”: any modification made by a licensee to one of the software’s source code files, or any new source code file that integrates the software or a substantial part of it; +“software”: a copyright-protected work such as a computer program and its documentation, stipulated by the copyright owner to be subject to the terms of this licence. + +3. Copyright licence +Subject to the terms of this licence, the licensor grants the licensee a non-exclusive, royalty-free licence allowing the licensee to exercise the following rights regarding the software: +(1) Produce or reproduce the software or a substantial part thereof; +(2) Perform the software or any substantial part of it in public; +(3) Publish the software or any substantial part of it. + +This licence is granted on a world-wide, perpetual basis. + +Full exercise of these rights is subject to distribution by the licensor of the software source code in a form allowing it to be modified. The licensor may also distribute the software, along with an offer to distribute the software source code, without additional charges other than reasonable charges for delivery of the source code. That offer must be valid for a reasonable period of time. + +4. Distribution +The licensee may distribute copies of the software, modified software or derived software, subject to the following conditions: +(1) The software must be accompanied by a copy of this licence. +(2) If the software has been modified, the licensee must mention this, preferably in every modified file that allows for such a mention. +(3) Software copyright, trademark, warranty or attribution labels or notices must not be modified or removed, unless the labels or notices do not apply to specific modified or derived software. + +4.1. Reciprocity +Every time the licensee distributes the software, the licensor grants the recipient an interest in the software in accordance with the terms of this licence. The licensee must grant an interest in accordance with the terms of this licence for any modified or derived software distributed. + +Every time the licensee distributes the software, or modified or derived software, the licensee is obliged to distribute its source code in the manner prescribed in the third paragraph of section 3. + +4.2. Compatibility +To the extent that the licensee wishes to distribute modified or derived software combined with software subject to a compatible licence whose terms cannot possibly be fulfilled, the licensor offers, in addition to this interest, an interest in compliance with the terms of the compatible licence. + +A licensee who is the exclusive copyright owner of the software subject to a compatible licence is not eligible for this offer. The same applies to any other person duly authorized to sub-license by the exclusive copyright owner of the software subject to a compatible licence. + +A compatible licence is considered to be any free or open-source licence approved or certified by the Free Software Foundation or the Open Source Initiative, whose level of reciprocity is comparable to that of this licence, without being less so, in particular: +(1) Common Public License Version 1.0 (CPL-1.0) +(2) Contrat de licence de logiciel libre CeCILL, version 2.1 (CECILL-2.1) +(3) Eclipse Public License - v 1.0 (EPL-1.0) +(4) European Union Public License, version 1.1 (EUPL v. 1.1) +(5) GNU General Public License Version 2 (GNU GPLv2) +(6) GNU General Public License Version 3 (GNU GPLv3) + +5. Contributions +Subject to a separate agreement, every contribution submitted by a contributor to the licensor for inclusion in the software is subject to the terms of this licence. + +6. Trademarks +This licence does not grant any special permission to use the licensor’s trademarks, except as needed to describe the origin of the software. + +7. Warranties +Unless otherwise specified, the licensor distributes the software without any warranty, at the risk of the acquirer of a copy of the software, and without any warranty that the software is suited to any specific need or will yield any specific results. + +Without binding the licensor in any way, nothing prevents a licensee from offering or excluding warranties or support. + +8. Liability +The licensee is liable for any prejudice resulting from the exercise of the rights granted under the licence. + +The licensor cannot be held liable for any prejudice sustained by the licensee or third parties for any reason whatsoever related to the licence and the rights it grants. + +9. Termination +This licence is terminated as of right should the rights it grants fail to be exercised in accordance with the terms of the licence. + +However, if the failure is remedied within 30 days after its discovery by the person in default and it is the first failure, the licence will be granted once again. + +For any subsequent failure, the licensor’s express consent is required for the licence to be granted once again. + +10. Licence version +The Centre de services partagés du Québec, its successors or any person it designates may release revised or modified versions of this licence. Each version will be given a unique number. If software is already subject to the terms of a specific version, the parties to the licence will be bound solely by that version. + +The licensor may also choose to grant the licence in its current version or any subsequent version, in which case the licensee may choose the license version to be granted. + +11. Miscellaneous +To the extent that the licensor is a government department, public body or legal person established in the public interest and created under a law of the National Assembly of Québec, the licence is governed by the laws applicable in Québec and, in the event of a dispute, the courts of Québec have sole jurisdiction. + +This licence may be distributed without any special conditions. However, a modified version must be distributed under a different name. Any reference to the Centre de services partagés du Québec or its successors, where applicable, must be withdrawn, except as needed to describe the origin of the licence. diff --git a/README.md b/README.md index 39d3e65..b71d25b 100644 --- a/README.md +++ b/README.md @@ -40,5 +40,5 @@ All issues and requests related to resources (including maps, band charts, data) Copyright (C) 2019-2021 classabbyamp, 0x5c -This program is released under the terms of the GNU General Public License, -version 2. See `COPYING` for full license text. +This program is released under the terms of the *Québec Free and Open-Source Licence – Strong Reciprocity (LiLiQ-R+)*, version 1.1. +See [`LICENCE`](LICENCE) for full license text (Français / English). diff --git a/common.py b/common.py index 5c8e0a5..36b9d09 100644 --- a/common.py +++ b/common.py @@ -3,8 +3,7 @@ Common tools for the bot. --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/ae7q.py b/exts/ae7q.py index 4ddfd29..3ed81b8 100644 --- a/exts/ae7q.py +++ b/exts/ae7q.py @@ -3,8 +3,7 @@ ae7q extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/base.py b/exts/base.py index cbac405..74f9a5b 100644 --- a/exts/base.py +++ b/exts/base.py @@ -3,8 +3,7 @@ Base extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/callsign.py b/exts/callsign.py index 4328336..ff5b87c 100644 --- a/exts/callsign.py +++ b/exts/callsign.py @@ -4,8 +4,7 @@ Callsign Lookup extension for qrm Copyright (C) 2019-2020 classabbyamp, 0x5c (as qrz.py) Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/codes.py b/exts/codes.py index 5b37f86..c86bfe8 100644 --- a/exts/codes.py +++ b/exts/codes.py @@ -4,8 +4,7 @@ Codes extension for qrm Copyright (C) 2019-2021 classabbyamp, 0x5c (as ham.py) Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/contests.py b/exts/contests.py index 7fd9d0c..90cb95a 100644 --- a/exts/contests.py +++ b/exts/contests.py @@ -3,8 +3,7 @@ Contest Calendar extension for qrm --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/dbconv.py b/exts/dbconv.py index a93fd5f..37eaedd 100644 --- a/exts/dbconv.py +++ b/exts/dbconv.py @@ -3,8 +3,7 @@ Conversion extension for qrm --- Copyright (C) 2020-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/dxcc.py b/exts/dxcc.py index e892ff9..df6d196 100644 --- a/exts/dxcc.py +++ b/exts/dxcc.py @@ -4,8 +4,7 @@ DXCC Prefix Lookup extension for qrm Copyright (C) 2019-2020 classabbyamp, 0x5c (as lookup.py) Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/fun.py b/exts/fun.py index 2dd33ed..94dcead 100644 --- a/exts/fun.py +++ b/exts/fun.py @@ -3,8 +3,7 @@ Fun extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/grid.py b/exts/grid.py index f935b7d..663d04c 100644 --- a/exts/grid.py +++ b/exts/grid.py @@ -3,8 +3,7 @@ Grid extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/image.py b/exts/image.py index fc71ebc..41723c0 100644 --- a/exts/image.py +++ b/exts/image.py @@ -3,8 +3,7 @@ Image extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/land_weather.py b/exts/land_weather.py index 23d4141..d28004d 100644 --- a/exts/land_weather.py +++ b/exts/land_weather.py @@ -4,8 +4,7 @@ Land Weather extension for qrm Copyright (C) 2019-2020 classabbyamp, 0x5c (as weather.py) Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/morse.py b/exts/morse.py index 4105a1d..8ea7afd 100644 --- a/exts/morse.py +++ b/exts/morse.py @@ -3,8 +3,7 @@ Morse Code extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/prefixes.py b/exts/prefixes.py index 65ee5d4..450c3aa 100644 --- a/exts/prefixes.py +++ b/exts/prefixes.py @@ -3,8 +3,7 @@ Prefixes Lookup extension for qrm --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/propagation.py b/exts/propagation.py index d950150..e46ad7d 100644 --- a/exts/propagation.py +++ b/exts/propagation.py @@ -3,8 +3,7 @@ Propagation extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/study.py b/exts/study.py index eec4c16..910f059 100644 --- a/exts/study.py +++ b/exts/study.py @@ -3,8 +3,7 @@ Study extension for qrm --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/tex.py b/exts/tex.py index 430fe6c..88915bd 100644 --- a/exts/tex.py +++ b/exts/tex.py @@ -3,8 +3,7 @@ TeX extension for qrm --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/exts/time.py b/exts/time.py index 2e4f265..8c01181 100644 --- a/exts/time.py +++ b/exts/time.py @@ -3,8 +3,7 @@ Time extension for qrm --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/info.py b/info.py index 4d0ffaf..8eef8f5 100644 --- a/info.py +++ b/info.py @@ -3,14 +3,13 @@ Static info about the bot. --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ authors = ("@ClassAbbyAmplifier#2229", "@0x5c#0639") description = """A bot with various useful ham radio-related functions, written in Python.""" -license = "Released under the GNU General Public License v2" +license = "Québec Free and Open-Source Licence – Strong Reciprocity (LiLiQ-R+), version 1.1" contributing = """Check out the [source on GitHub](https://github.com/miaowware/qrm2). Contributions are welcome! All issues and requests related to resources (including maps, band charts, data) should be added \ diff --git a/main.py b/main.py index 0147ef5..b12ee22 100644 --- a/main.py +++ b/main.py @@ -4,8 +4,7 @@ qrm, a bot for Discord --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/resource_schemas.py b/resource_schemas.py index 25ac02f..4ae8d40 100644 --- a/resource_schemas.py +++ b/resource_schemas.py @@ -3,8 +3,7 @@ Resource schemas generator for qrm2. --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/resources/callsign_info.py b/resources/callsign_info.py index 4a460c5..5c1ec3e 100644 --- a/resources/callsign_info.py +++ b/resources/callsign_info.py @@ -3,8 +3,7 @@ Information about callsigns for the prefixes command in hamcog. --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of discord-qrmbot and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/resources/callsigninfos/ca.py b/resources/callsigninfos/ca.py index 4e52fd3..0b913ec 100644 --- a/resources/callsigninfos/ca.py +++ b/resources/callsigninfos/ca.py @@ -3,8 +3,7 @@ Information about callsigns for the CA prefixes command in hamcog. --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of discord-qrmbot and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/resources/callsigninfos/us.py b/resources/callsigninfos/us.py index 562fe70..d8c41cc 100644 --- a/resources/callsigninfos/us.py +++ b/resources/callsigninfos/us.py @@ -3,8 +3,7 @@ Information about callsigns for the US prefixes command in hamcog. --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of discord-qrmbot and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/resources/study.py b/resources/study.py index 2f97c3b..e511158 100644 --- a/resources/study.py +++ b/resources/study.py @@ -3,8 +3,7 @@ A listing of hamstudy command resources --- Copyright (C) 2019-2021 classabbyamp, 0x5c -This file is part of discord-qrmbot and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/utils/connector.py b/utils/connector.py index 87c19fc..6d80df0 100644 --- a/utils/connector.py +++ b/utils/connector.py @@ -3,8 +3,7 @@ Wrapper to handle aiohttp connector creation. --- Copyright (C) 2020-2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/utils/resources_manager.py b/utils/resources_manager.py index 234a16a..484ad1f 100644 --- a/utils/resources_manager.py +++ b/utils/resources_manager.py @@ -3,8 +3,7 @@ Resources manager for qrm2. --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """ diff --git a/utils/resources_models.py b/utils/resources_models.py index a9efe05..32499ab 100644 --- a/utils/resources_models.py +++ b/utils/resources_models.py @@ -3,8 +3,7 @@ Resource index models for qrm2. --- Copyright (C) 2021 classabbyamp, 0x5c -This file is part of qrm2 and is released under the terms of -the GNU General Public License, version 2. +SPDX-License-Identifier: LiLiQ-Rplus-1.1 """