Ensure Lintian::Collect::Source::binaries are ordered

This is needed by the phppear check to get the main (i.e. the first) package.

Closes: #739671

Signed-off-by: Niels Thykier <niels@thykier.net>
checks: Remove (now unused) calls to sort

Since L::C::Source->binaries is now ordered, there is no need to sort
the names of the binary packages to get a deterministic order.

Signed-off-by: Niels Thykier <niels@thykier.net>
L::C::Source: Update the POD documentation for "binaries"

Signed-off-by: Niels Thykier <niels@thykier.net>
c/debconf: Merge var declaration and remove unused var

Signed-off-by: Niels Thykier <niels@thykier.net>
c/init.d: Move some invariants out of the run sub

Signed-off-by: Niels Thykier <niels@thykier.net>
c/scripts: Optimise out some calls to L::Data->value

Signed-off-by: Niels Thykier <niels@thykier.net>
c/scripts: Remove trailing space

Signed-off-by: Niels Thykier <niels@thykier.net>
Add test for minified files

Use json.js file as source

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Detect .js file minified using line length

Detect minified .js usingline length as hint.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Do not run detection of minified file twice

Check if the could detect this kind of file by name first.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Add post_test in order to filter line length comment

Line length depend of uglyfier so strip it.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Remove a not needed rules file

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Add changelog about minified js

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Check for embedded copies of freetype2
Check for embedded copies of nss
Check for embedded copies of nspr
Detect, ancient, embedded copies of tinyxml (Closes: #733318)

Thanks to Andreas Rönnquist for the report.
Add changelog entries for the previous commits