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

Bug#516687: lintian: copyright-should-refer-to-common-license-file-for-gfdl should check for version



Raphael Geissert <atomo64@gmail.com> writes:

> Attached mbox should do it.

Look at the context of the patch.  :)

> --- a/checks/copyright-file
> +++ b/checks/copyright-file
> @@ -227,6 +227,7 @@ if (m,/usr/share/common-licenses,
>      || m/GNU Free Documentation License\s*Version 1\.1/
>      || m/CeCILL FREE SOFTWARE LICENSE AGREEMENT/ #v2.0
>      || m/FREE SOFTWARE LICENSING AGREEMENT CeCILL/ #v1.1
> +    || m/GNU Free Documentation License.+Version 1\.1, March 2000/s
>      || m/CNRI OPEN SOURCE GPL-COMPATIBLE LICENSE AGREEMENT/
>      || m/GNU GENERAL PUBLIC LICENSE\s+Version 1/
>      || m/compatible\s+with\s+(?:the\s+)?(?:GNU\s+)?GPL/

The real problem is that the existing regex didn't match this particular
reference.  I'm taking a look now.

-- 
Russ Allbery (rra@debian.org)               <http://www.eyrie.org/~eagle/>



Reply to: