ee21ee1572
This PAM module allows unlocking encrypted user home datasets when logging in (and changing passphrase when changing the account password), see https://github.com/openzfs/zfs/pull/9903 Also supposed to unload the key when the last session for the user is done, but there are EBUSY issues: https://github.com/openzfs/zfs/issues/11222#issuecomment-731897858 Submitted by: Greg V <greg_unrelenting.technology> Reviewed by: mm MFC after: 2 weeks Differential Revision: https://reviews.freebsd.org/D28018
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# $FreeBSD$
|
|
|
|
.include <src.opts.mk>
|
|
|
|
SUBDIR= drti \
|
|
libavl \
|
|
libctf \
|
|
libdtrace \
|
|
${_libicp} \
|
|
${_libicp_rescue} \
|
|
libnvpair \
|
|
libspl \
|
|
${_libtpool} \
|
|
libumem \
|
|
libuutil \
|
|
${_libzfs_core} \
|
|
${_libzfs} \
|
|
${_libzfsbootenv} \
|
|
${_libzpool} \
|
|
${_libzutil} \
|
|
${_pam_zfs_key}
|
|
|
|
SUBDIR.${MK_TESTS}+= tests
|
|
|
|
.if ${MK_ZFS} != "no"
|
|
_libzfs_core= libzfs_core
|
|
_libicp= libicp
|
|
_libicp_rescue= libicp_rescue
|
|
_libzfs= libzfs
|
|
_libzutil= libzutil
|
|
_libzfsbootenv= libzfsbootenv
|
|
_libzpool= libzpool
|
|
_libtpool= libtpool
|
|
.if ${MK_OPENSSL} != "no"
|
|
_pam_zfs_key= pam_zfs_key
|
|
.endif
|
|
.endif
|
|
|
|
SUBDIR_DEPEND_libctf= libspl
|
|
SUBDIR_DEPEND_libdtrace= libctf
|
|
SUBDIR_DEPEND_libtpool= libspl
|
|
SUBDIR_DEPEND_libuutil= libavl libspl
|
|
SUBDIR_DEPEND_libzfs_core= libnvpair
|
|
SUBDIR_DEPEND_libzfs= libavl libnvpair libumem libuutil libzfs_core libzutil
|
|
SUBDIR_DEPEND_libzpool= libavl libnvpair libumem libicp
|
|
SUBDIR_DEPEND_libzutil= libavl libtpool
|
|
SUBDIR_DEPEND_libzfsbootenv= libzfs libnvpair
|
|
SUBDIR_DEPEND_pam_zfs_key= libnvpair libuutil libzfs libzfs_core
|
|
|
|
SUBDIR_PARALLEL=
|
|
|
|
.include <bsd.subdir.mk>
|