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

Bug#401070: lintian: Consider not complaining about files in /var/lib/aspell without md5sum



Package: lintian
Version: 1.23.26
Severity: wishlist

Hi, I see that in

lintian (1.23.25) of 8 Oct 2006, this check was added

* checks/md5sums:
  + [RA] aspell dictionary packages may ship files in /var/lib/aspell
    that should not have MD5 checksums in md5sums because they change
    after installation.  Don't complain that those files are missing.

Same applies to files created under /var/lib/ispell by ispell-autobuildhash.
As a matter of fact, aspell autobuildhash code was inspired in
ispell-autobuildhash. Please consider also lintian not complaining if no
md5sum is provided for those files.

I have played with attached patch,

-- 
Agustin
diff -Naur lintian-1.23.26.orig/checks/md5sums lintian-1.23.26/checks/md5sums
--- lintian-1.23.26.orig/checks/md5sums	2006-11-11 07:03:19.000000000 +0100
+++ lintian-1.23.26/checks/md5sums	2006-11-30 17:48:41.000000000 +0100
@@ -97,7 +97,7 @@
 }
 for my $file (keys %info_entry) {
     tag "file-missing-in-md5sums", "$file"
-	unless ($conffile{$file} || $file =~ m%^var/lib/aspell/.%);
+	unless ($conffile{$file} || $file =~ m%^var/lib/(a|i)spell/.%);
 }
 
 }

Reply to: