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

Report information
The Basics
Id:
35195
Status:
resolved
Priority:
Low/Low

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

BugTracker
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.


This service runs on Request Tracker, is sponsored by The Perl Foundation, and maintained by Best Practical Solutions.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.