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

Bug#718575: [checks/cruft] : Ignore README.Debian file



Package: lintian
Version: 2.5.15
Severity: normal
Tags: patch


Usually README.Debian does not contains an explicit license, it uses
the package license defined in debian/copyright. So, we can avoiding
the "json-evil" check (por example) and use the following text
without declaring an override:

"The package originally comes with XXX and this file is licensed under
MIT license with one added sentence: 'The Software shall be used for
Good, not Evil.' However, it violates the Debian Policy."

If "changelog are changelog", README.Debian are README.Debian.

Attached you will find a patch to fix it.

Cheers,

-- 
Marcelo Jorge Vieira
xmpp:metal@jabber-br.org
http://metaldot.alucinados.com
From 95d8de79abc6fdaeb897de3bd5a1caf8c86c5f77 Mon Sep 17 00:00:00 2001
From: Marcelo Jorge Vieira <metal@alucinados.com>
Date: Thu, 1 Aug 2013 23:32:02 -0300
Subject: [PATCH] checks/cruft.pm: Ignore README.Debian file

Usually README.Debian does not contains an explicit license, it uses
the package license defined in debian/copyright. So, we can avoiding
the "json-evil" check (por example) and use the following text
without declaring an override:

"The package originally comes with XXX and this file is licensed under
MIT license with one added sentence: 'The Software shall be used for Good,
not Evil.' However, it violates the Debian Policy."

If "changelog are changelog", README.Debian are README.Debian.
---
 checks/cruft.pm | 1 +
 1 file changed, 1 insertion(+)

diff --git a/checks/cruft.pm b/checks/cruft.pm
index 004a84b..59284c5 100644
--- a/checks/cruft.pm
+++ b/checks/cruft.pm
@@ -432,6 +432,7 @@ sub find_cruft {
 
         next ENTRY if $info->is_non_free; # (license issue does not apply to non-free)
         next ENTRY if $basename eq 'debian/changelog'; # (license string in debian/changelog are changelog)
+        next ENTRY if $basename eq 'README.Debian';
 
         $path = $info->unpacked($entry);
 
-- 
1.8.4.rc0

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: