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

Owner: Nobody in particular
Requestors: ilmari+cpan [...]

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

Subject: Incorrect GPL license detection
Download (untitled) / with headers
text/plain 275b
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 [...]
Download (untitled) / with headers
text/plain 128b
Here is a patch that adds the proper license names, as well as "GNU Library (General) Public License, the old name for the LGPL.
Download mi-gpl.diff
text/x-diff 964b
--- lib/Module/Install/ 2008-06-02 11:38:24.000000000 +0100 +++ lib/Module/Install/ 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 is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to