Added lots more modules from lintian. Maemian appears to work.
[maemian] / checks / conffiles.desc
diff --git a/checks/conffiles.desc b/checks/conffiles.desc
new file mode 100644 (file)
index 0000000..3792bef
--- /dev/null
@@ -0,0 +1,38 @@
+Check-Script: conffiles
+Author: Christian Schwarz <schwarz@debian.org>
+Abbrev: cnf
+Type: binary
+Unpack-Level: 1
+Info: This script checks if the conffiles control file of a binary
+ package is correct.
+
+Tag: file-in-usr-marked-as-conffile
+Severity: important
+Certainty: certain
+Info: Files below <tt>/usr</tt> may not be marked as conffiles, since
+ <tt>/usr</tt> might be mounted read-only and thus, the local system
+ administrator would not have a chance to modify this configuration
+ file.
+
+Tag: non-etc-file-marked-as-conffile
+Severity: important
+Certainty: certain
+Info: A file installed in some other directory than <tt>/etc</tt>
+ is marked as conffile. A conffile typically implies a configuration file, and
+ policy mandates such files to be in /etc
+Ref: policy 10.7.2
+
+Tag: relative-conffile
+Severity: important
+Certainty: certain
+Ref: policy E.1
+Info: All entries in the <tt>debian/conffiles</tt> control file should
+ have an absolute path specification.
+
+Tag: duplicate-conffile
+Severity: important
+Certainty: certain
+Info: The file is listed more than once in your <tt>debian/conffiles</tt> file.
+ Usually, this is because debhelper (dh_installdeb, compat level 3 or higher)
+ will add any files in your package located in /etc automatically to the list
+ of conffiles, so if you do that manually too, you'll get duplicates.