Update gbp.conf for generic trunk builds.
Remove Debian support in the Ubuntu trunk.

This kind of build is not currently tested and, in antipication of the systemd
promotion, is deprecated in both Debian and Ubuntu.
Remove /etc/init.d/zfs-mount in the Ubuntu branches.

The ZFS_MOUNT and ZFS_UMOUNT variables are therefore obsoleted in the
`/etc/default/zfs` file.
Add /etc/init/zpool-import.conf for Upstart.

Accomodate zfsonlinux/zfs#2780 by importing pools in an upstart job before
mountall starts. The device timeout logic, although not event driven, should
mitigate the recurring mpt2sas problem described in section 4.3 of the ZoL
mountall FAQ.

Add a new `/etc/default/zfs` option:

  * `ZFS_AUTOIMPORT_TIMEOUT`, which is the number of seconds to wait
  for pool member devices to appear before attempting import.

Closes: zfsonlinux/pkg-zfs#53
Closes: zfsonlinux/pkg-zfs#101 for Ubuntu.
Relax the /etc/hostid copy in the initramfs hook.

The hostid check was deprecated in ZoL 0.6.3 at upstream commit
zfsonlinux/spl@acf0ade362cb8b26d67770114ee6fa17816e6b65, which means that the
/etc/hostid file may not exist on all systems.
Update debian/patches through gbp-pq.

Add:

* 0005-Remove-the-upstream-udev-component.patch
Bundle udev rules in the overlay.

Copy the upstream udev/ rules into the overlay for management by
dh_installudev. The 90-zfs rule is omitted because modprobe has
side-effects that cramp event-driven pool and dataset management.
Improve dash syntax in the zpool-import upstart task.

Fix an off-by-one error. A zero second timeout is a valid option.

Invert the conditional statement that checks the timeout option. The dash
`test` builtin does not robustly handle bang expressions with bad arguments.
Cease zvol compatibility symlinking.

Create udev links for /dev/zd* device nodes in only the /dev/zvol directory.
Creating links directly in /dev is a small collision risk between pool names
and regular device nodes.
Review of debian/copyright for zfs-linux.

Imported-from: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=686447#307
Imported-by: Darik Horn <dajhorn@vanadac.com>

This patch improves `debian/copyright` formatting and policy conformance but
does not update its contents to reflect recent contributions.
Enable the dkms addon for debhelper.

Support for releases older than Ubuntu 12.04 LTS Precise Pangolin is
discontinued.
Normalize the override_dh_auto_install rule.

Move dh_install, dh_installinit, and dh_installudev commands into separate
overrides.

Move chmod commands into override_dh_fixperms and force the permissions onto
the build targets instead of the bundled tree, which should be read-only.
Drop upstream component removal patches.

The packaging overlay bundles optimized components that supercede some generic
upstream components. These components were patched-out of the upstream sources
to prevent build problems on older systems that are now unsupported.
Prune unnecessary components in the DKMS distdir.

In the zfs-dkms package, only bundle components that are actually used to
compile the ZoL kernel modules. This prevents several lintian complaints,
discourages users from running `make install` in /usr/src, and reduces the
binary package size by one third.

Also shorten `cp` shunt creation to a one-liner.
Add expat license to the debian/copyright file.

Resolve this lintian warning:

	W: zfs-linux source: missing-license-paragraph-in-dep5-copyright expat (paragraph at line 1260)
Update packaging to standards version 3.9.5

Resolve this lintian warning:

	W: zfs-linux source: ancient-standards-version 3.9.3 (current is 3.9.5)
Reindent descriptions in the debian/control file.

Resolve these lintian warnings:

	W: libuutil1: possible-unindented-list-in-extended-description
	W: libuutil1-dbg: possible-unindented-list-in-extended-description
Improve compliance with GNUCS chapter 7.2.2.

In the debian/rules file, substitute

  * $(CHMOD) for chmod.
  * $(INSTALL) for mkdir.
  * $(MAKE) for make.

pursuant to the GNU Coding Standard, chapter 7.2.2, regarding Makefiles.

Only $(MAKE) is likely to be defined in the Launchpad build environment outside
of an autotools job, so protect all three variables with a default assignment.
Ensure that DKMS automake stubs are not executable.

Resolve this lintian warning:

	W: zfs-dkms: executable-not-elf-or-script usr/src/zfs-0.6.3/dracut/90zfs/parse-zfs.sh.in
	W: zfs-dkms: executable-not-elf-or-script usr/src/zfs-0.6.3/dracut/90zfs/mount-zfs.sh.in
	W: zfs-dkms: executable-not-elf-or-script usr/src/zfs-0.6.3/dracut/90zfs/module-setup.sh.in

Also change the null command to a comment in the printf command.
Move libzfs-dev symlinks from /lib to /usr/lib.

Resolve this lintian error:

	W: libzfs2: dev-pkg-without-shlib-symlink lib/libzfs.so.2.0.0 usr/lib/libzfs.so
	W: libzfs2: dev-pkg-without-shlib-symlink lib/libzfs_core.so.1.0.0 usr/lib/libzfs_core.so

Quoting https://lintian.debian.org/tags/dev-pkg-without-shlib-symlink.html

  The symlink is generally expected in the same directory as the library
  itself. The major exception to this rule is if the library is installed
  in (or beneath) /lib, where the symlink must be installed in the same
  dir beneath /usr.