From 7ee8f34f06d8741b71cd4872a224a62b27f85ffa Mon Sep 17 00:00:00 2001 From: Mahesh Asolkar Date: Tue, 26 Feb 2013 12:40:05 -0800 Subject: [PATCH] Adding GPLV3 and MPL2 licenses --- Licenses/GPLV3.pm | 27 +++++++++++++++++++++++++++ Licenses/MPL2.pm | 17 +++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 Licenses/GPLV3.pm create mode 100644 Licenses/MPL2.pm diff --git a/Licenses/GPLV3.pm b/Licenses/GPLV3.pm new file mode 100644 index 0000000..83cec30 --- /dev/null +++ b/Licenses/GPLV3.pm @@ -0,0 +1,27 @@ +package Licenses::GPLV2; + +sub new { + return bless { + 'name' => 'gpl_v3', + 'pretty_name' => 'GPL v3', + 'header' => qq { +###DESCRIPTION### +Copyright (C) ###DATE### ###NAME### + +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 . + } + }, shift; +} + +1; diff --git a/Licenses/MPL2.pm b/Licenses/MPL2.pm new file mode 100644 index 0000000..5995416 --- /dev/null +++ b/Licenses/MPL2.pm @@ -0,0 +1,17 @@ +package Licenses::MPL2; + +sub new { + return bless { + 'name' => 'mpl2', + 'pretty_name' => 'MPL 2', + 'header' => qq { +Copyright (C) ###DATE### ###NAME### + +This Source Code Form is subject to the terms of the Mozilla Public +License, v. 2.0. If a copy of the MPL was not distributed with this +file, You can obtain one at http://mozilla.org/MPL/2.0/. +} + }, shift; +} + +1;