[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.2.0-40-gd8f9e52



The following commit has been merged in the master branch:
commit d40bd985a367312cf02276996721fb83cca2bd15
Author: Russ Allbery <rra@debian.org>
Date:   Sat Jan 31 17:36:19 2009 -0800

    Allow generic GPL references for packages licensed under Perl terms
    
    Perl's license references GPL v1, which isn't in common-licenses, so
    allow packages licensed under the same terms as Perl to refer to the
    generic GPL license file for right now.  This may change later
    depending on the resolution of Policy Bug#436105.

diff --git a/checks/copyright-file b/checks/copyright-file
index 72c6c71..0e28944 100644
--- a/checks/copyright-file
+++ b/checks/copyright-file
@@ -150,7 +150,10 @@ if (m,usr/share/common-licenses/(GPL|LGPL|BSD|Artistic)\.gz,) {
     tag "copyright-refers-to-compressed-license", "$&";
 }
 
-if (m,(usr/share/common-licenses/(L?GPL|GFDL))[^-],i) {
+# Allow generic GPL references for packages licensed under the same terms as
+# Perl for now.  Perl references GPL version 1, which isn't in
+# common-licenses.
+if (m,(usr/share/common-licenses/(L?GPL|GFDL))[^-],i && !m,as Perl itself,i) {
     my $ref = $1;
     if (m,\b(any|or)\s+later(\s+version)?\b,i) {
 	tag "copyright-refers-to-symlink-license", $ref;

-- 
Debian package checker


Reply to: