From 7b55535b56ae6441f0a4463215053b8006928f61 Mon Sep 17 00:00:00 2001 From: Yann Soubeyrand Date: Sun, 28 Aug 2022 10:47:33 +0200 Subject: [PATCH] Update GPL license family texts --- cmd/license_agpl.go | 8 ++++---- cmd/license_gpl_2.go | 20 ++++++++++---------- cmd/license_gpl_3.go | 16 ++++++++-------- cmd/license_lgpl.go | 7 ++++--- 4 files changed, 26 insertions(+), 25 deletions(-) diff --git a/cmd/license_agpl.go b/cmd/license_agpl.go index f6ec0af..fdaba5d 100644 --- a/cmd/license_agpl.go +++ b/cmd/license_agpl.go @@ -16,11 +16,11 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License -along with this program. If not, see .`, +along with this program. If not, see .`, Text: ` GNU AFFERO GENERAL PUBLIC LICENSE Version 3, 19 November 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -662,7 +662,7 @@ the "copyright" line and a pointer to where the full notice is found. GNU Affero General Public License for more details. You should have received a copy of the GNU Affero General Public License - along with this program. If not, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -677,7 +677,7 @@ specific requirements. You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU AGPL, see -. +. `, } } diff --git a/cmd/license_gpl_2.go b/cmd/license_gpl_2.go index b20dddb..d02bd25 100644 --- a/cmd/license_gpl_2.go +++ b/cmd/license_gpl_2.go @@ -20,10 +20,10 @@ func initGpl2() { Name: "GNU General Public License 2.0", PossibleMatches: []string{"GPL-2.0", "gpl2", "gnu gpl2", "gplv2"}, Header: ` -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 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 @@ -31,7 +31,7 @@ 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, see .`, +along with this program. If not, see .`, Text: ` GNU GENERAL PUBLIC LICENSE Version 2, June 1991 @@ -347,13 +347,13 @@ 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'. + 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. + under certain conditions; type ` + "`" + `show c' for details. -The hypothetical commands 'show w' and 'show c' should show the appropriate +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 +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 @@ -361,7 +361,7 @@ 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. + ` + "`" + `Gnomovision' (which makes passes at compilers) written by James Hacker. , 1 April 1989 Ty Coon, President of Vice diff --git a/cmd/license_gpl_3.go b/cmd/license_gpl_3.go index 8f9063e..aec375f 100644 --- a/cmd/license_gpl_3.go +++ b/cmd/license_gpl_3.go @@ -31,11 +31,11 @@ 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, see .`, +along with this program. If not, see .`, Text: ` GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -679,7 +679,7 @@ the "copyright" line and a pointer to where the full notice is found. 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, see . + along with this program. If not, see . Also add information on how to contact you by electronic and paper mail. @@ -687,25 +687,25 @@ Also add information on how to contact you by electronic and paper mail. notice like this when it starts in an interactive mode: Copyright (C) - This program comes with ABSOLUTELY NO WARRANTY; for details type 'show w'. + This program 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. + under certain conditions; type ` + "`" + `show c' for details. -The hypothetical commands 'show w' and 'show c' should show the appropriate +The hypothetical commands ` + "`" + `show w' and ` + "`" + `show c' should show the appropriate parts of the General Public License. Of course, your program's commands might be different; for a GUI interface, you would use an "about box". You should also get your employer (if you work as a programmer) or school, if any, to sign a "copyright disclaimer" for the program, if necessary. For more information on this, and how to apply and follow the GNU GPL, see -. +. The GNU 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. But first, please read -. +. `, } } diff --git a/cmd/license_lgpl.go b/cmd/license_lgpl.go index 350b889..96db93b 100644 --- a/cmd/license_lgpl.go +++ b/cmd/license_lgpl.go @@ -16,11 +16,11 @@ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License -along with this program. If not, see .`, +along with this program. If not, see .`, Text: ` GNU LESSER GENERAL PUBLIC LICENSE Version 3, 29 June 2007 - Copyright (C) 2007 Free Software Foundation, Inc. + Copyright (C) 2007 Free Software Foundation, Inc. Everyone is permitted to copy and distribute verbatim copies of this license document, but changing it is not allowed. @@ -181,6 +181,7 @@ General Public License ever published by the Free Software Foundation. whether future versions of the GNU Lesser General Public License shall apply, that proxy's public statement of acceptance of any version is permanent authorization for you to choose that version for the -Library.`, +Library. +`, } }