Add supress => suppress in the list of spelling mistakes

Update the related test And fix that typo in the source code of Lintian

BR: Fix whitespace issue

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Tag openjdk-6-jdk, openjdk-6-jre and openjdk-6-jre-headless as obsolete

See #720911 for rational

Detect when the package build dep on java-compiler.

[BR] Improve wordings of checks/java.desc
[BR] Move description to checks/fields.desc
[BR] Add Test-For

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Add a global exception list

Programming is correct but it fail spelling test due to suffix rule.

Add a global exception list
Closes bug

Close bug in changelog
L::C::Binary: Add support for multi-component RPATHs

The RPATH setting works similar to PATH, and supports multiple
components, separated by a colon. As such, Lintian should be able to
handle those, and split the RPATH into components before making any
checks on those.

This patch does just that, and adds a test case to trigger the original
issue too.

Signed-off-by: Gergely Nagy <algernon@balabit.hu>
update-alternatives --set should be disallowed from maintainer scripts

Implement this test. Closes #643602.
Use Lintian::Data for detection of bad maintainer script command

Use a new file Lintian::Data for detecting bad regexp in
maintainer script
Improve data/scripts/maintainer-script-bad-command mechanism

Use this list for matching in cat string.
Use grouping in data/scripts/maintainer-script-bad-command

Use grouping in data/scripts/maintainer-script-bad-command to print extra info is available.

For instance the line:
deprecated-chown-usage                              ~~ 0 ~~(chown(?:\s+--?[A-Za-z-]+)*\s+[-_A-Za-z0-9]+\.[-_A-Za-z0-9]+)\s+

Will print the bad command line in case of match
Refactor forbidden command in maintainer script

Refactor by using look forward forbidden command in maintainer script.

Test maintainer-script-removes-device-files.
Add ${LEADIN} parsing in data/scripts/maintainer-script-bad-command

${LEADIN} is used when detecting commands inside shell scripts. This regex matches the
beginning of the command rather than checking whether the command is at the
beginning of a line.

Replace ${LEADIN} in data/scripts/maintainer-script-bad-command by it expression.
Add exception package list for scripts/maintainer-script-bad-command

Allow to tag for all package except.

Allow to simplify and reduce line count of checks/script.pm.
Test for maintainer-script-ignores-errors

Add test for maintainer-script-ignores-errors.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Allow to specify particular maintainer script to scan in data/scripts/maintainer-script-bad-command

Allow to only scan some script.

Simplify code and reduce loc.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Check syntax of data/scripts/maintainer-script-bad-command

Check syntax of data/scripts/maintainer-script-bad-command and fail early.
Detect use of adduser --system without --home or with --home inside /home

The FHS says "/home is a fairly standard concept, but it
is clearly a site-specific filesystem. The setup will differ
from host to host. Therefore, no program should rely on this
location."

So forbid adduser --system without --home
Filter (x?ht|x)ml comments for license check.

Allow shishi to be lintian clean.

Closes #729226

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Generically check obsolete path

Generically check obsolete path using data/files/obsolete-path.

Signed-off-by: Bastien ROUCARIÈS <bastien.roucaries+debian@gmail.com>
Detect privacy breach using some well known html/css tag

Detect privacy breach by fetching external datas on html file.
Use sliding window and regexp to detect it. Not perfect but efficient.

Tag it experimental.

Signed-off-by: Bastien ROUCARIÈS <roucaries.bastien+debian@gmail.com>
Detect Google Adsense

Google Adsense is a program run by Google that allows publishers of
content sites to serve automatic advertisement. Unfortunately, it means
tracking and breaching privacy of our users.

Moreover using Google Adsense in local webpage copy is a violation
of Google Adsense term of use and thus a serious bug that render
not distribuable this package.