# $Id$ PNAME="cryptsetup" PVER="2.0.3" PBUILD="r1" PCAT="sys-fs" DESCRIPTION="Userspace setup tool for transparent encryption of block devices using dm-crypt." HOMEPAGE="http://code.google.com/p/cryptsetup/" DEPEND=">= sys-fs/device-mapper-2.02 >= app-crypt/libgcrypt-1.8 >= app-crypt/libgpg-error-1.20 >= dev-libs/popt-1.16 >= sys-fs/udev-237 >= sys-fs/e2fsprogs-1.42 >= sys-libs/libuuid-2.31 >= dev-libs/json-c-0.12 >= app-crypt/argon2-2017" SDEPEND=">= sys-dev/automake-4 >= sys-dev/autoconf-5" SRCFILE="${PNAME}-${PVER}.tar.xz" SRCDIR="${BUILDDIR}/${PNAME}-${PVER}" sminclude multilib mbuild msetfeature "!check" SRC_URI=( https://www.kernel.org/pub/linux/utils/cryptsetup/v2.0/${SRCFILE} mirror://${PNAME}/${SRCFILE} ) UP2DATE="updatecmd -listonly http://gitlab.com/cryptsetup/cryptsetup/tags | grep '/v[0-9]' | sed 's:.*v\(.*\).*:\1:;s:_:.:g;/[tar|zip]/d' | upsort_pipe" src_compile() { mconfigure --enable-nls --enable-libargon2 --enable-cryptsetup-reencrypt || die mmake || die }