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

lintian: r1251 - in trunk: checks debian



Author: rra
Date: 2008-03-07 09:24:46 +0100 (Fri, 07 Mar 2008)
New Revision: 1251

Modified:
   trunk/checks/copyright-file
   trunk/checks/copyright-file.desc
   trunk/debian/changelog
Log:
* checks/copyright-file{.desc,}:
  + [RA] Document handling of false positives for GPL, GFDL, and LGPL
    license references and catch the GFDL 1.1 false positive.

Modified: trunk/checks/copyright-file
===================================================================
--- trunk/checks/copyright-file	2008-03-05 17:49:53 UTC (rev 1250)
+++ trunk/checks/copyright-file	2008-03-07 08:24:46 UTC (rev 1251)
@@ -219,6 +219,7 @@
     || m/LaTeX Project Public License/
     || m/(^From:.*^To:|^To:.*^From:).*(GNU General Public License|GPL)/ms
     || m/AFFERO GENERAL PUBLIC LICENSE/
+    || m/GNU Free Documentation License\s*Version 1\.1/
     || $wrong_directory_detected) {
     # False positive or correct reference.  Ignore.
 } elsif (m/GNU Free Documentation License/i or m/\bGFDL\b/) {

Modified: trunk/checks/copyright-file.desc
===================================================================
--- trunk/checks/copyright-file.desc	2008-03-05 17:49:53 UTC (rev 1250)
+++ trunk/checks/copyright-file.desc	2008-03-07 08:24:46 UTC (rev 1251)
@@ -142,6 +142,11 @@
  copyright file for this package, but the copyright file does not
  reference <tt>/usr/share/common-licenses</tt> as the location of the GPL
  on Debian systems.
+ .
+ If the package uses some other license that just mentions the GPL and
+ that Lintian should detect as an exception, please file a Lintian bug.
+ If the copyright file must mention the GPL for reasons other than stating
+ the license of the package, please add a Lintian override.
 
 Tag: copyright-should-refer-to-common-license-file-for-gfdl
 Type: error
@@ -150,6 +155,11 @@
  copyright file for this package, but the copyright file does not
  reference <tt>/usr/share/common-licenses</tt> as the location of the GFDL
  on Debian systems.
+ .
+ If the package uses some other license that just mentions the GFDL and
+ that Lintian should detect as an exception, please file a Lintian bug.
+ If the copyright file must mention the GPL for reasons other than stating
+ the license of the package, please add a Lintian override.
 
 Tag: copyright-should-refer-to-common-license-file-for-lgpl
 Type: error
@@ -159,6 +169,11 @@
  package, but the copyright file does not reference
  <tt>/usr/share/common-licenses</tt> as the location of the LGPL on Debian
  systems.
+ .
+ If the package uses some other license that just mentions the LGPL and
+ that Lintian should detect as an exception, please file a Lintian bug.
+ If the copyright file must mention the GPL for reasons other than stating
+ the license of the package, please add a Lintian override.
 
 Tag: copyright-lists-upstream-authors-with-dh_make-boilerplate
 Type: warning

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-03-05 17:49:53 UTC (rev 1250)
+++ trunk/debian/changelog	2008-03-07 08:24:46 UTC (rev 1251)
@@ -5,6 +5,9 @@
       multiarch directories.  (Closes: #469301)
     + [RA] Suggest an override for arch: all packages containing binaries
       independent of the host architecture (such as for cross-compiles).
+  * checks/copyright-file{.desc,}:
+    + [RA] Document handling of false positives for GPL, GFDL, and LGPL
+      license references and catch the GFDL 1.1 false positive.
   * checks/scripts:
     + [RA] Attempt to quash some Perl warnings.
   * checks/shared-libs:


Reply to: