New package: pam_zfscrypt 0.2.0

This commit is contained in:
Zach Dykstra 2019-12-06 15:35:33 -06:00 committed by Juan RP
parent 06d07368bc
commit b23faf706c
2 changed files with 29 additions and 0 deletions

View File

@ -3702,3 +3702,5 @@ libtss2-tcti-device.so.0 tpm2-tss-2.3.1_1
libtss2-rc.so.0 tpm2-tss-2.3.1_1
libtss2-tcti-mssim.so.0 tpm2-tss-2.3.1_1
libtss2-tctildr.so.0 tpm2-tss-2.3.1_1
libzfs.so.2 zfs-0.8.2_1
libnvpair.so.1 zfs-0.8.2_1

View File

@ -0,0 +1,27 @@
# Template file for 'pam_zfscrypt'
pkgname=pam_zfscrypt
version=0.2.0
revision=1
wrksrc="zfscrypt-${version}"
build_style=gnu-makefile
make_use_env=yes
makedepends="pam-devel zfs-devel"
depends="pam"
short_desc="Automatically decrypt and mount encrypted ZFS home directories"
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
license="MIT"
homepage="https://github.com/BenKerry/zfscrypt"
distfiles="https://github.com/BenKerry/zfscrypt/archive/v${version}.tar.gz"
checksum=73244e7e97ab5a47a9ea4a24ac490f07bfe7c1eb0c920e03df202494ea61b650
CFLAGS="-Iinclude"
pre_build() {
vsed -e "/ZFSINC :=/s,-isystem/usr/include,-I${XBPS_CROSS_BASE}/usr/include,g" \
-i Makefile
}
do_install() {
vinstall build/pam_zfscrypt.so 0755 usr/lib/security
vlicense LICENSE
}