mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-09 08:33:51 +02:00
pam_zfscrypt: revbump for zfs, change upstream repo
The origninal repo for pam_zfscrypt has disappeared from the Internet, but Project Trident, the Void derivative that uses this module, now maintains a fork. Thanks to @ericonr for cracking the necessary CFLAGS to make this work.
This commit is contained in:
parent
231bc646a3
commit
6447f66f1a
1 changed files with 9 additions and 8 deletions
|
@ -1,24 +1,25 @@
|
||||||
# Template file for 'pam_zfscrypt'
|
# Template file for 'pam_zfscrypt'
|
||||||
pkgname=pam_zfscrypt
|
pkgname=pam_zfscrypt
|
||||||
version=0.2.0
|
version=0.2.0
|
||||||
revision=1
|
revision=2
|
||||||
wrksrc="zfscrypt-${version}"
|
wrksrc="zfscrypt-${version}"
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
make_use_env=yes
|
|
||||||
makedepends="pam-devel zfs-devel"
|
makedepends="pam-devel zfs-devel"
|
||||||
depends="pam"
|
depends="pam"
|
||||||
short_desc="Automatically decrypt and mount encrypted ZFS home directories"
|
short_desc="Automatically decrypt and mount encrypted ZFS home directories"
|
||||||
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
maintainer="Zach Dykstra <dykstra.zachary@gmail.com>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://github.com/BenKerry/zfscrypt"
|
homepage="https://github.com/project-trident/zfscrypt"
|
||||||
distfiles="https://github.com/BenKerry/zfscrypt/archive/v${version}.tar.gz"
|
distfiles="${homepage}/archive/v${version}.tar.gz"
|
||||||
checksum=73244e7e97ab5a47a9ea4a24ac490f07bfe7c1eb0c920e03df202494ea61b650
|
checksum=73244e7e97ab5a47a9ea4a24ac490f07bfe7c1eb0c920e03df202494ea61b650
|
||||||
|
|
||||||
CFLAGS="-Iinclude"
|
CFLAGS="-D_LARGEFILE_SOURCE -D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64 -fPIC -Iinclude"
|
||||||
|
|
||||||
pre_build() {
|
post_patch() {
|
||||||
vsed -e "/ZFSINC :=/s,-isystem/usr/include,-I${XBPS_CROSS_BASE}/usr/include,g" \
|
if [ "${CROSS_BUILD}" ]; then
|
||||||
-i Makefile
|
vsed -i Makefile \
|
||||||
|
-e "/ZFSINC :=/s,-isystem/usr/,-I${XBPS_CROSS_BASE}/usr/,g"
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue