This is an automated email from the git hooks/post-receive script. lamby pushed a commit to branch master in repository lintian.
commit 0ce8489e105d80fb69cc07f98bf6b50d574cf4e8 Author: Chris Lamb <[email protected]> Date: Sun Oct 8 14:45:14 2017 +0100 Exempt debian/copyright from license-problem-non-free-RFC tag to avoid false-positives on meta-references. (Closes: #877999) --- checks/cruft.pm | 1 + debian/changelog | 3 +++ t/tests/cruft-non-free-rfc/debian/debian/copyright | 25 ++++++++++++++++++++++ 3 files changed, 29 insertions(+) diff --git a/checks/cruft.pm b/checks/cruft.pm index b49a52d..83c30ae 100644 --- a/checks/cruft.pm +++ b/checks/cruft.pm @@ -1249,6 +1249,7 @@ sub _rfc_whitelist_filename { $matchedkeyword,$licenseproblemhash, $licenseproblem, %matchedhash )= @_; + return 0 if $name eq 'debian/copyright'; my $lcname = lc($basename); foreach my $rfc_regexp ($RFC_WHITELIST->all) { diff --git a/debian/changelog b/debian/changelog index 5b366f9..f781977 100644 --- a/debian/changelog +++ b/debian/changelog @@ -6,6 +6,9 @@ lintian (2.5.55) UNRELEASED; urgency=medium + [CL] Drop copyright-year-in-future after all; it's just too error prone and time-consuming to maintain given the severity of the issues it can find. (Closes: #877766) + * checks/cruft.pm: + + [CL] Exempt debian/copyright from license-problem-non-free-RFC tag + to avoid false-positives on meta-references. (Closes: #877999) * checks/debhelper.pm: + [AB] Also recognize dh-exec's "=>" arrow if surrounded by tabs. (Closes: #877905) diff --git a/t/tests/cruft-non-free-rfc/debian/debian/copyright b/t/tests/cruft-non-free-rfc/debian/debian/copyright new file mode 100644 index 0000000..f2134e7 --- /dev/null +++ b/t/tests/cruft-non-free-rfc/debian/debian/copyright @@ -0,0 +1,25 @@ +(False positive; debian/copyright should be ignored) + +Copyright (C) The Internet Society (1999). All Rights Reserved. + +This document and translations of it may be copied and furnished to others, +and derivative works that comment on or otherwise explain it or assist in +its implementation may be prepared, copied, published and distributed, in +whole or in part, without restriction of any kind, provided that the above +copyright notice and this paragraph are included on all such copies and +derivative works. However, this document itself may not be modified in any +way, such as by removing the copyright notice or references to the Internet +Society or other Internet organizations, except as needed for the purpose of +developing Internet standards in which case the procedures for copyrights +defined in the Internet Standards process must be followed, or as required +to translate it into languages other than English. + +The limited permissions granted above are perpetual and will not be revoked +by the Internet Society or its successors or assigns. + +This document and the information contained herein is provided on an "AS IS" +basis and THE INTERNET SOCIETY AND THE INTERNET ENGINEERING TASK FORCE +DISCLAIMS ALL WARRANTIES, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO +ANY WARRANTY THAT THE USE OF THE INFORMATION HEREIN WILL NOT INFRINGE ANY +RIGHTS OR ANY IMPLIED WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A +PARTICULAR PURPOSE. -- Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git

