Subject: Updated for 0.7.11-1

From: Chris Dos <[email-masked]>
Date: Tue, 25 Sep 2018 14:10:18 -0600

I've updated the patches for zfs 0.7.11-1.  I changed the patch for the
lsb_release to just add Devuan to a list of choices.
Description: Add Devuan compatiblity.
Author: Chris Dos <[email-masked]>
Bug-Debian: https://bugs.debian.org/900089
Forwarded: no
--- a/debian/zfs-dkms.dkms
+++ b/debian/zfs-dkms.dkms
@@ -7,7 +7,7 @@ PRE_BUILD="configure
   --with-config=kernel
   --with-linux=$(
     case `lsb_release -is` in
-      (Debian)
+      (Debian|Devuan)
         if [[ -e ${kernel_source_dir/%build/source} ]]
         then
           echo ${kernel_source_dir/%build/source}
diff -Nru zfs-linux-0.7.11/debian/changelog zfs-linux-0.7.11/debian/changelog
--- zfs-linux-0.7.11/debian/changelog	2018-09-19 02:45:18.000000000 -0600
+++ zfs-linux-0.7.11/debian/changelog	2018-09-25 12:40:25.000000000 -0600
@@ -1,3 +1,10 @@
+zfs-linux (0.7.11-1.1) UNRELEASED; urgency=medium
+
+  * Non-maintainer upload.
+  * Add sysvinit scripts.
+
+ -- Chris Dos <[email-masked]>  Tue, 25 Sep 2018 12:40:25 -0600
+
 zfs-linux (0.7.11-1) unstable; urgency=medium
 
   [ Aron Xu ]
diff -Nru zfs-linux-0.7.11/debian/patches/1004-zed-service-bindir.patch zfs-linux-0.7.11/debian/patches/1004-zed-service-bindir.patch
--- zfs-linux-0.7.11/debian/patches/1004-zed-service-bindir.patch	2018-09-17 19:36:28.000000000 -0600
+++ zfs-linux-0.7.11/debian/patches/1004-zed-service-bindir.patch	2018-09-25 10:31:09.000000000 -0600
@@ -1,11 +1,14 @@
-Description: Fix the path to the zed binary on the systemd unit.
+Description: Fix the path to the zed binary on the systemd unit and
+ the sysvinit script.
  We install zed into /usr/sbin manually meanwhile the upstream default
  is installing it into /sbin.
  Ubuntu packages also install zed to /usr/sbin, but they ship their own
  zfs-zed unit.
 Author: Carlos Alberto Lopez <[email-masked]>
 Author: Fabian Grünbichler <[email-masked]>
+Author: Chris Dos <[email-masked]>
 Bug-Debian: https://bugs.debian.org/849813
+Bug-Debian: https://bugs.debian.org/826994
 Forwarded: no
 --- a/etc/systemd/system/zfs-zed.service.in
 +++ b/etc/systemd/system/zfs-zed.service.in
@@ -18,3 +21,13 @@
  Restart=on-abort
  
  [Install]
+--- a/etc/init.d/zfs-functions.in
++++ b/etc/init.d/zfs-functions.in
+@@ -89,7 +89,7 @@
+
+ # Paths to what we need
+ ZFS="@sbindir@/zfs"
+-ZED="@sbindir@/zed"
++ZED="/usr/sbin/zed"
+ ZPOOL="@sbindir@/zpool"
+ ZPOOL_CACHE="@sysconfdir@/zfs/zpool.cache"