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

Bug#498875: lintian: please detect 2.x licences and warn



On Sat, Sep 13, 2008 at 06:44:27PM -0500, Raphael Geissert wrote:
> Raphael Geissert wrote:
> +if (m/(The\s+PHP\s+Licen[cs]e,?\s+version\s+2)/si) {
> +    tag "copyright-refers-to-non-free-php-license", "";
> +}
> +
> +if (m/(The\s+PHP\s+Licen[cs]e,?\s+version\s+3\.0[^\d])/si) {
> +    tag "copyright-refers-to-problematic-php-license", "";
> +}
> +

You might want to exclude some obvious false-positives like PHP itself
here.

[...]
> +
> +Tag: copyright-refers-to-non-free-php-license
> +Type: error
> +Ref: http://ftp-master.debian.org/REJECT-FAQ.html, http://thread.gmane.org/gmane.linux.debian.devel.legal/23332
> +Info: This package appears to be covered by the PHP license version 2.x
> + which is considered non-free for anything but PHP.

The REJECT-FAQ sounds more like it is considered undistributable than
non-free, which is something else entirely. This needs to be clarified.

> +Tag: copyright-refers-to-problematic-php-license
> +Type: warning
> +Ref: http://ftp-master.debian.org/REJECT-FAQ.html, http://thread.gmane.org/gmane.org/gmane.linux.debian.devel.legal/22547
> +Info: This package appears to be covered by the PHP license version 3.0
> + which is considered problematic for anything that is not PHP and has no
> + contribution from the PHP Group.

Gruesse,
-- 
Frank Lichtenheld <djpig@debian.org>
www: http://www.djpig.de/



Reply to: