Adding side stream changes to Maemian. Working to integrate full upstream libraries...
[maemian] / nokia-lintian / checks / conffiles.desc
diff --git a/nokia-lintian/checks/conffiles.desc b/nokia-lintian/checks/conffiles.desc
new file mode 100644 (file)
index 0000000..75f6f09
--- /dev/null
@@ -0,0 +1,35 @@
+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
+Type: error
+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
+Type: warning
+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
+Status: untested
+Ref: policy 10.7.2
+
+Tag: relative-conffile
+Type: error
+Ref: policy E.1
+Info: All entries in the conffile control file should have an absolute
+ path specification.
+
+Tag: duplicate-conffile
+Type: error
+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.