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

[Git][lintian/lintian][master] Fix false positive for license-problem-php-license for pear.php.net source code



Title: GitLab

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:

Changes:

  • lib/Lintian/Check/Cruft.pm
    ... ... @@ -657,7 +657,7 @@ sub php_source_whitelist {
    657 657
         return 0
    
    658 658
           if defined $copyright_path
    
    659 659
           && $copyright_path->bytes
    
    660
    -      =~ m{^Source: https?://pecl.php.net/package/.*$}m;
    
    660
    +      =~ m{^Source: https?://(pecl|pear).php.net/package/.*$}m;
    
    661 661
     
    
    662 662
         return 0
    
    663 663
           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
    5 5
      PHP license. This license is not applicable to anything that is not PHP
    
    6 6
      and has no contributions from the PHP Group.
    
    7 7
      .
    
    8
    - This tag is not emitted for packages from pecl.php.net as determined by
    
    8
    + This tag is not emitted for packages from pecl.php.net or pear.php.net as determined by
    
    9 9
      the <code>Source:</code> field in <code>debian/copyright</code>.
    
    10 10
     See-Also: https://ftp-master.debian.org/REJECT-FAQ.html


  • Reply to: