fscrypt: update to 0.3.3.

This commit is contained in:
Roberto Ricci 2022-03-10 12:39:11 +01:00 committed by Echo
parent c468660538
commit 65f178709b

View file

@ -1,10 +1,11 @@
# Template file for 'fscrypt'
pkgname=fscrypt
version=0.2.9
version=0.3.3
revision=1
build_style=go
go_import_path=github.com/google/fscrypt
go_package="${go_import_path}/cmd/fscrypt"
go_ldflags="-X main.version=v${version}"
hostmakedepends="m4"
makedepends="pam-devel"
short_desc="Tool for managing Linux filesystem encryption"
@ -12,9 +13,13 @@ maintainer="Andrea Brancaleoni <abc@pomel.me>"
license="Apache-2.0"
homepage="https://github.com/google/fscrypt"
distfiles="https://github.com/google/fscrypt/archive/v${version}.tar.gz"
checksum=36f1166d9886548b0d72beeeffb9ca8fb5b28b63a42b369923bc3f0bea78bb3d
checksum=7485232dc4c48d8db262e0280b34b3c869e7b6f41f8ee8601ebfe04297796410
conf_files="/etc/pam.d/fscrypt"
do_check() {
make test
}
post_install() {
# build and install the PAM module
LDFLAGS= make PREFIX=/usr DESTDIR=${DESTDIR} install-pam
@ -22,4 +27,8 @@ post_install() {
rm -rf ${DESTDIR}/usr/share/pam-configs/
# add PAM config file
vinstall ${FILESDIR}/pam_config 644 etc/pam.d fscrypt
vcompletion cmd/fscrypt/fscrypt_bash_completion bash
vdoc README.md
}