[SCM] Debian package checker branch, master, updated. 2.2.1-2-g62527bc
The following commit has been merged in the master branch:
commit 62527bcc268999c8290347383a6ff1d53b626fe9
Author: gregor herrmann <gregoa@debian.org>
Date: Sun Feb 1 16:06:04 2009 +0000
Accept "License-Alias: Perl" as meaning "under the same terms as Perl"
* checks/copyright-file:
+ Treat the new copyright file format's "License-Alias: Perl" as
indicating that the package is licensed under the same terms as Perl.
Thanks, gregor herrmann. (Closes: #513831)
diff --git a/checks/copyright-file b/checks/copyright-file
index 0e28944..fbfbd72 100644
--- a/checks/copyright-file
+++ b/checks/copyright-file
@@ -153,7 +153,8 @@ if (m,usr/share/common-licenses/(GPL|LGPL|BSD|Artistic)\.gz,) {
# 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) {
+if (m,(usr/share/common-licenses/(L?GPL|GFDL))[^-],i && !m,as Perl itself,i
+ && !m,License-Alias:\s+Perl,) {
my $ref = $1;
if (m,\b(any|or)\s+later(\s+version)?\b,i) {
tag "copyright-refers-to-symlink-license", $ref;
diff --git a/debian/changelog b/debian/changelog
index 814543b..dccaf9f 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,5 +1,10 @@
lintian (2.2.2) UNRELEASED; urgency=low
+ * checks/copyright-file:
+ + [ADB] Treat the new copyright file format's "License-Alias: Perl" as
+ indicating that the package is licensed under the same terms as Perl.
+ Thanks, gregor herrmann. (Closes: #513831)
+
* lib/Util.pm:
+ [ADB] Localise a use of $_ in control file parsing to avoid overwriting
it and leading to uninitialized value warnings in check scripts.
--
Debian package checker
Reply to: