zgz: Don't hardcode /lib, avoid segfaulting on > 128 character paths

There were a number of issues with zgz:

* It had a fixed 128 (!) size limit on paths, and if we happened
  to be installed into one longer than that, the program would
  likely segfault.
* Calling exit(system()) is inefficient; we might as well just
  execve() and avoid having a process just blocked in waitpid()
  on another.
* We should honor LIBDIR, in order to support lib64-style "multilib"
  as well as full Debian-style "multiarch".

Based on a patch from Colin Walters <walters@verbum.org>
changelog
Fix typo that led to incorrect error message when pristine-tar branch does not exist. Closes: #700448 Thanks, paul cannon
releasing version 1.27
pristine-tar (1.28) unstable; urgency=low

  * Update lintian overrides.

# imported from the archive
releasing version 1.28
Fix display of unsupported param when paranoia check fails. Closes: #707820
implement tar format guessing

Try "posix" and "gnu" formats if tarball re-creation with the default
tar format fails.

Makes pristine-tar more compatible accross different Linux distributions
as the default format used by tar varies.

Signed-off-by: Markus Lehtonen <markus.lehtonen@linux.intel.com>
changelog
Merge remote-tracking branch 'remotes/dgit/dgit/sid'
Handle unprintable chars in filenames correctly

tar's -t and --files-from options implement quoting/unquoting of unprintable
characters, so we need to unquote the filenames before passing them to mkpath.
prep release
clean generated man pages from source tarball
Fix path to suse-bzip2's libbz2 dynamic library on Darwin.
Handle Git submodules correctly

Due to the way submodules are organized in the latest versions of Git,
the working directory in the submodule repository configuration is set
to the relative path of submodule with respect to its physical GIT_DIR
location, instead of default ".". This confuses git-update-index, and
causes `pristine-tar commit' to fail.
Set GIT_WORK_TREE when committing to make it work when inside a git submodule. Thanks, Victor Vasiliev. Closes: #726007
remove unnecessary unset

TAR_LONGLINK_100 is set and then unset inside a single function.
This unset appears to be unnecessary cruft.
Work around change in longlink fields in tar 1.27. (Needs PRISTINE_TAR_COMPAT patch applied to tar.) Closes: #726963
prep release
debhelper v9