aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam Dodrill <xena@yolo-swag.com>2015-02-18 05:32:04 -0800
committerSam Dodrill <xena@yolo-swag.com>2015-02-18 05:32:04 -0800
commitaf30098fe92d255996a49e17d8f91271194524c3 (patch)
tree9cf858bbf60d87489948714cca1f799c2dd9a343
parent09a801aaf725030e5efc0cd5b676f477da581a71 (diff)
downloadx-af30098fe92d255996a49e17d8f91271194524c3.tar.xz
x-af30098fe92d255996a49e17d8f91271194524c3.zip
Add more licences
-rw-r--r--license/licenses.go55
1 files changed, 55 insertions, 0 deletions
diff --git a/license/licenses.go b/license/licenses.go
index 765d2f8..95ee4f4 100644
--- a/license/licenses.go
+++ b/license/licenses.go
@@ -10,6 +10,10 @@ func init() {
"apache": ApacheLicense,
"bsd-2": Bsd2Clause,
"gpl-2": Gpl2License,
+ "gpl-3": Gpl3License,
+ "wtfpl": WTFPlLicense,
+ "afreeo": AfreeoLicense,
+ "hackmii": HackMiiLicense,
}
}
@@ -131,3 +135,54 @@ 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.`
+
+var Gpl3License = `Copyright (C) {{.Year}} {{.Name}} <{{.Email}}>
+
+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 3 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, see <http://www.gnu.org/licenses/>.`
+
+var WTFPlLicense = `DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ Version 2, December 2004
+
+Copyright (C) {{.Year}} {{.Name}} <{{.Email}}>
+
+Everyone is permitted to copy and distribute verbatim or modified
+copies of this license document, and changing it is allowed as long
+as the name is changed.
+
+ DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+ 0. You just DO WHAT THE FUCK YOU WANT TO.`
+
+var AfreeoLicense = `Copyright (C) {{.Year}} {{.Name}} <{{.Email}}>
+
+This program is free software: you can redistribute it and/or modify
+it under the terms of the GNU Affero General Public License as published
+by the Free Software Foundation, either version 3 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 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 <http://www.gnu.org/licenses/>.`
+
+var HackMiiLicense = `Copyright (C) {{.Year}} {{.Name}} <{{.Email}}>
+
+you are not allowed to in anyway use this material (including but is not
+limited to: source code, images, binaries, documents) for use in
+competeting purpuse in ANY WAY. You are also not allowed to redistribute
+NOR mirror the code & binarys in any way, link to us instead!`