Ignore unstripped relocatable ELF binaries.
Be more selective when reporting weird user/group ownership.

Group ownership under /usr can vary quite a bit, so requiring
everything to be root:root is a bit too strict. However, user
ownership does usually go to root, so check for that and add
special handling for known exceptions.
Check the package has correct compression.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Run clean_filename on dangling symlinks.

Symlinks that are broken return false with '-e' and need to be
matched explicitly with '-L'.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
architecture_check: use case stmt, add more architectures

Signed-off-by: David Spencer <baildon.research@googlemail.com>
permissions_check: Process /etc like /usr.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Add --exclude-from (-X), and ignore specified package names.

--exclude-from (-X) reads a list of exclude specs from a file.

Exclude specs can optionally specify a package name:
  <packagename>:<messageid>
  <packagename>
  <messageid>
The package name must be exact (wildcards not supported, and
must not include version/arch/build/tag/.t?z).

Essentially, this implements a 'whitelist file'.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
man_check: Tune to reduce false positives.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
architecture_check: Fix error (explanation not displayed).

Signed-off-by: David Spencer <baildon.research@googlemail.com>
info_check: Add new checks, tune existing check.

Add check for 'dir' file, which should not be present.
Add check for install-info command in doinst.sh.
Tune uncompressed info page check with regex (reduce false +ves).

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Add whitelist (see --exclude-from) for Slackware.

Signed-off-by: David Spencer <baildon.research@googlemail.com>
Remove handy-ruler checks from slack-desc_check.sh.

Signed-off-by: David Spencer <baildon.research@googlemail.com>