]> git.proxmox.com Git - zfsonlinux.git/commitdiff
Include new pam_zfs_key mechanism
authorAntonio Russo <aerusso@aerusso.net>
Wed, 2 Dec 2020 19:18:08 +0000 (20:18 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Wed, 13 Jan 2021 13:14:01 +0000 (14:14 +0100)
(cherry picked from commit 340f9394c38a78b2530a64746c1518163d7f6970)
Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
debian/rules
debian/zfsutils-linux.install

index 0e168ee12e7ab50566f07c4775c2a1a85628f8a4..1ce79add4aa7f809f23b1f96c7e1f57194ccce57 100755 (executable)
@@ -35,6 +35,7 @@ override_dh_auto_configure:
          --enable-systemd \
          --enable-pyzfs \
          --with-python=python3 \
+         --with-pammoduledir='/lib/$(DEB_HOST_MULTIARCH)/security' \
          --with-systemdunitdir=/lib/systemd/system \
          --with-systemdpresetdir=/lib/systemd/system-preset \
          --with-systemdgeneratordir=/lib/systemd/system-generators \
@@ -102,6 +103,7 @@ override_dh_auto_clean:
 
 override_dh_missing:
        find . -name lib*.la -delete
+       rm debian/tmp/lib/$(DEB_HOST_MULTIARCH)/security/pam_zfs_key.la
        dh_missing --fail-missing
 
 override_dh_installdocs:
index 77b3ab88dd0d4440202e843a4bb683025ac057f3..04f0fe48feb48eb899fdfd1b5a14e2fc69c4a111 100644 (file)
@@ -2,6 +2,7 @@
 etc/default/zfs
 etc/zfs/zfs-functions
 etc/zfs/zpool.d/
+lib/*/security/pam_zfs_key.so
 lib/systemd/system-preset/
 lib/systemd/system/zfs-import-cache.service
 lib/systemd/system/zfs-import-scan.service
@@ -118,3 +119,4 @@ usr/share/man/man8/zpoolconcepts.8
 usr/share/man/man8/zpoolprops.8
 usr/share/man/man8/zstream.8
 usr/share/man/man8/zstreamdump.8
+usr/share/pam-configs/zfs_key