Skip Menu |

This queue is for tickets about the Module-Install CPAN distribution.

Report information
The Basics
Id: 35195
Status: resolved
Priority: 0/
Queue: Module-Install

People
Owner: Nobody in particular
Requestors: ilmari+cpan [...] ilmari.org
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Incorrect GPL license detection
Thelicense detection code looks for "GNU public license" and "GNU lesser public license", which are not the names of the GNU licenses. They are called "GNU General Public License" and "GNU Lesser General Public License", respectively. Please add the proper names to the code.
From: ilmari+cpan [...] ilmari.org
Here is a patch that adds the proper license names, as well as "GNU Library (General) Public License, the old name for the LGPL.
--- lib/Module/Install/Metadata.pm~ 2008-06-02 11:38:24.000000000 +0100 +++ lib/Module/Install/Metadata.pm 2008-06-08 13:51:30.000000000 +0100 @@ -361,8 +361,12 @@ my $license_text = $1; my @phrases = ( 'under the same (?:terms|license) as perl itself' => 'perl', 1, + 'GNU general public license' => 'gpl', 1, 'GNU public license' => 'gpl', 1, + 'GNU lesser general public license' => 'lgpl', 1, 'GNU lesser public license' => 'lgpl', 1, + 'GNU library general public license' => 'lgpl', 1, + 'GNU library public license' => 'lgpl', 1, 'BSD license' => 'bsd', 1, 'Artistic license' => 'artistic', 1, 'GPL' => 'gpl', 1,
Path applied, will appear in 0.77. Thank you.