Axel Beckert pushed to branch master at lintian / lintian


Commits:
53f5b4d2 by William Desportes at 2023-01-16T02:54:14+00:00
Fix false positive for license-problem-php-license for pear.php.net source code

- - - - -


2 changed files:

- lib/Lintian/Check/Cruft.pm
- tags/l/license-problem-php-license.tag


Changes:

=====================================
lib/Lintian/Check/Cruft.pm
=====================================
@@ -657,7 +657,7 @@ sub php_source_whitelist {
     return 0
       if defined $copyright_path
       && $copyright_path->bytes
-      =~ m{^Source: https?://pecl.php.net/package/.*$}m;
+      =~ m{^Source: https?://(pecl|pear).php.net/package/.*$}m;
 
     return 0
       if $self->processable->source_name =~ /^php\d*(?:\.\d+)?$/xms;


=====================================
tags/l/license-problem-php-license.tag
=====================================
@@ -5,6 +5,6 @@ Explanation: This package appears to be covered by version 3.0 
(exactly) of the
  PHP license. This license is not applicable to anything that is not PHP
  and has no contributions from the PHP Group.
  .
- This tag is not emitted for packages from pecl.php.net as determined by
+ This tag is not emitted for packages from pecl.php.net or pear.php.net as 
determined by
  the <code>Source:</code> field in <code>debian/copyright</code>.
 See-Also: https://ftp-master.debian.org/REJECT-FAQ.html



View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/53f5b4d23ae17d7468efe92b999cfb38d8b6c799

-- 
View it on GitLab: 
https://salsa.debian.org/lintian/lintian/-/commit/53f5b4d23ae17d7468efe92b999cfb38d8b6c799
You're receiving this email because of your account on salsa.debian.org.


Reply via email to