Added lots more modules from lintian. Maemian appears to work.
[maemian] / checks / version-substvars.desc
1 Check-Script: version-substvars
2 Author: Adeodato Simó <dato@net.com.org.es>
3 Abbrev: v-s
4 Type: source
5 Unpack-Level: 1
6 Needs-Info: debfiles, source-control-file
7 Info: This script checks for correct use of the various *Version
8  substvars, e.g. deprecated substvars, or usage that can cause
9  un-binNMUability
10
11 Tag: not-binnmuable-any-depends-any
12 Severity: important
13 Certainty: certain
14 Info: The package is not safely binNMUable because an arch:any package
15  depends on another arch:any package with a (= ${source:Version})
16  relationship. Please use (= ${binary:Version}) instead.
17
18 Tag: not-binnmuable-any-depends-all
19 Severity: important
20 Certainty: certain
21 Info: The package is not safely binNMUable because an arch:any package
22  depends on an arch:all package with a (= ${Source-Version}) or
23  (= ${binary:Version}) relationship. Please use (= ${source:Version})
24  instead.
25
26 Tag: not-binnmuable-all-depends-any
27 Severity: important
28 Certainty: certain
29 Info: The package is not safely binNMUable because an arch:all package
30  depends on an arch:any package with a strict (= ${Source-Version}), or
31  similar, relationship.
32  .
33  It is not possible for arch:all packages to depend so strictly on
34  arch:any packages while having the package binNMUable, so please use
35  one of these, whichever is more appropriate:
36  .
37    Depends: arch_any (&gt;= ${source:Version})
38    Depends: arch_any (&gt;= ${source:Version}),
39     arch_any (&lt;&lt; ${source:Version}.1~)
40
41 Tag: version-substvar-for-external-package
42 Severity: important
43 Certainty: certain
44 Info: The first package has a dependency on the second package that uses
45  (= ${binary:Version}), (= ${source:Version}), or (= ${Source-Version}),
46  but the second package is not built from this source package.  Usually
47  this means there is a mistake in the package name in this dependency.
48
49 Tag: substvar-source-version-is-deprecated
50 Severity: normal
51 Certainty: certain
52 Info: The package uses the now deprecated ${Source-Version} substvar,
53  which has misleading semantics.  Please switch to ${binary:Version} or
54  ${source:Version} as appropriate (introduced in dpkg 1.13.19, released
55  with etch).  Support for ${Source-Version} may be removed from dpkg-dev
56  in the future.