Package: lintian Version: 2.4.3 Severity: wishlist Tags: patch Hi,
Files under /etc/cron.d must conform to the same filename specs as those in the cron.{hourly,daily,weekly} dirs, so it would be nice to check those for dots aswell. Attached patch accomplishes that. One could perhaps consider to make the test inclusive rather than to check just for the dot (check that files consist solely of upper- and lower-case letters, digits, underscores, and hyphens), but as that would change the original test I've not implemented that just now. Cheers, Thijs
--- checks/files.orig 2011-02-25 13:52:03.981454219 +0100 +++ checks/files 2011-02-25 13:47:51.338568241 +0100 @@ -285,7 +285,7 @@ tag "package-uses-obsolete-file", "$file"; } # ---------------- /etc/cron.daily, etc. - elsif ($file =~ m,^etc/cron\.(?:daily|hourly|monthly|weekly)/[^\.].*\., ) { + elsif ($file =~ m,^etc/cron\.(?:daily|hourly|monthly|weekly|d)/[^\.].*\., ) { tag "run-parts-cron-filename-contains-full-stop", "$file"; } # ---------------- /etc/cron.d