Adding GPLV3 and MPL2 licenses
This commit is contained in:
parent
7bbeaef404
commit
7ee8f34f06
27
Licenses/GPLV3.pm
Normal file
27
Licenses/GPLV3.pm
Normal file
@ -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 <http://www.gnu.org/licenses/>.
|
||||||
|
}
|
||||||
|
}, shift;
|
||||||
|
}
|
||||||
|
|
||||||
|
1;
|
17
Licenses/MPL2.pm
Normal file
17
Licenses/MPL2.pm
Normal file
@ -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;
|
Loading…
Reference in New Issue
Block a user