X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=checks%2Fconffiles.desc;fp=checks%2Fconffiles.desc;h=3792bef56369cedabe969b5be067aa1c5b9d6369;hb=1960326d487467271f731ff6a62830404a4947af;hp=0000000000000000000000000000000000000000;hpb=ce31209d7230201c69f8f234032a774fbbbc43cd;p=maemian diff --git a/checks/conffiles.desc b/checks/conffiles.desc new file mode 100644 index 0000000..3792bef --- /dev/null +++ b/checks/conffiles.desc @@ -0,0 +1,38 @@ +Check-Script: conffiles +Author: Christian Schwarz +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 /usr may not be marked as conffiles, since + /usr 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 /etc + 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 debian/conffiles 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 debian/conffiles 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.