# Contributor: k0r10n # Maintainer: Timo Teräs pkgname=ecryptfs-utils pkgver=111 pkgrel=15 pkgdesc="Enterprise-class stacked cryptographic filesystem for Linux" url="http://ecryptfs.org/" arch="all" license="GPL-2.0-or-later" depends="cryptsetup keyutils gettext rsync lsof" depends_dev="keyutils-dev linux-pam-dev nss-dev linux-headers" makedepends="$depends_dev swig intltool perl-dev openssl-dev>3" checkdepends="bash" options="suid" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://launchpad.net/ecryptfs/trunk/$pkgver/+download/${pkgname}_$pkgver.orig.tar.gz fix-build.patch fix-stdout-flush.patch fix-openssl-1.1.patch " build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --disable-pywrap make } check() { make check } package() { make DESTDIR="$pkgdir" install chmod +s "$pkgdir"/sbin/mount.ecryptfs_private } sha512sums="d8643f3a1f9981fecc6a08b4aa0adb6272e7340db794f6e7507cba7b712247c6beb239f27875eab6e38a69b45bc2476e6bf6b4485eb82d58f65cc469f8613c18 ecryptfs-utils_111.orig.tar.gz 09ff196e6d3ef54ef57e22e78a4af748c2989928a5c8bc3ece1f8c21c5f301b7e56142c5098111ac853ac88c1b2ee2d0b5c606a210fb53cdf0fde534aa0af92f fix-build.patch c9eb924890a8fa3ffe8b8344a493419cf93336743b1a3a8dba984f62f8eb7a43ed6b6dbbbb7efe9e7fc84b60e71d7100f042a72c407fc9e8c4fcbeeb73d848a3 fix-stdout-flush.patch d721dd40c9ca04a7af0ce52692e80e8371f4647e2ed7e2d7e29df48b10db64b195b4354b11f35fe1ce80df3f6ef3859dcf07f5fbcdbd7a870eba091c7e898ef3 fix-openssl-1.1.patch"