Bug#704306: libconfig-model-dpkg-perl: does not catch invalid license text

Dominique Dumont dod at debian.org
Thu Apr 4 08:02:25 UTC 2013


On Sunday 31 March 2013 16:18:53 Felix Natter wrote:
> For instance, this is accepted:
> 
> Files: *
> Copyright: 2006-2013 Foo Bar <foo at bar.com>
> License: GPL-2+
>     bla
> 
> but "bla" is not a correct license 

Knowing that any software author can write its own license, what algorithm do 
you propose to check the "correctness" of a license ? 

For well known licenses like GPL-*, dpkg model could check if the license text 
matches the one proposed by default. But I don't like this idea, because the 
text can change over time without rendering old text wrong. So we could get a 
lot of false positive for no added value. 

> and it's not indented correctly.

AFAIK, this indentation does respect the Description format documented there:
http://www.debian.org/doc/debian-policy/ch-controlfields#s-f-Description

Did I miss something ?

All the best

-- 
 https://github.com/dod38fr/   -o- http://search.cpan.org/~ddumont/
http://ddumont.wordpress.com/  -o-   irc: dod at irc.debian.org



More information about the pkg-perl-maintainers mailing list