diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2021-07-04 12:16:25 -0700 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2021-07-04 12:41:06 -0700 |
commit | 77fd4b1458819795789b6c3d7ea120c5a067c3fd (patch) | |
tree | 1fc1ef290ee2ead8210c5679631162d8c5084521 /sys-fs/cryptsetup | |
parent | sys-fs/cryptsetup: update upstream location (diff) | |
download | gentoo-77fd4b1458819795789b6c3d7ea120c5a067c3fd.tar.gz gentoo-77fd4b1458819795789b6c3d7ea120c5a067c3fd.tar.bz2 gentoo-77fd4b1458819795789b6c3d7ea120c5a067c3fd.zip |
sys-fs/cryptsetup: update 2.4.0_rc2 for integrity & ssh tokens
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Diffstat (limited to 'sys-fs/cryptsetup')
-rw-r--r-- | sys-fs/cryptsetup/cryptsetup-2.4.0_rc0.ebuild | 8 | ||||
-rw-r--r-- | sys-fs/cryptsetup/metadata.xml | 3 |
2 files changed, 9 insertions, 2 deletions
diff --git a/sys-fs/cryptsetup/cryptsetup-2.4.0_rc0.ebuild b/sys-fs/cryptsetup/cryptsetup-2.4.0_rc0.ebuild index 72a0baf8cb90..6a8851cfee43 100644 --- a/sys-fs/cryptsetup/cryptsetup-2.4.0_rc0.ebuild +++ b/sys-fs/cryptsetup/cryptsetup-2.4.0_rc0.ebuild @@ -16,7 +16,7 @@ KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~ CRYPTO_BACKENDS="gcrypt kernel nettle +openssl" # we don't support nss since it doesn't allow cryptsetup to be built statically # and it's missing ripemd160 support so it can't provide full backward compatibility -IUSE="${CRYPTO_BACKENDS} +argon2 nls pwquality reencrypt static static-libs +udev urandom" +IUSE="${CRYPTO_BACKENDS} +argon2 nls pwquality reencrypt static static-libs +udev urandom ssh" REQUIRED_USE="^^ ( ${CRYPTO_BACKENDS//+/} ) static? ( !gcrypt )" #496612 @@ -30,6 +30,7 @@ LIB_DEPEND=" nettle? ( >=dev-libs/nettle-2.4[static-libs(+)] ) openssl? ( dev-libs/openssl:0=[static-libs(+)] ) pwquality? ( dev-libs/libpwquality[static-libs(+)] ) + ssh? ( net-libs/libssh[static-libs(+)] ) sys-fs/lvm2[static-libs(+)] udev? ( virtual/libudev[static-libs(-)] )" # We have to always depend on ${LIB_DEPEND} rather than put behind @@ -85,6 +86,7 @@ src_configure() { $(use_enable static-libs static) $(use_enable udev) $(use_enable !urandom dev-random) + $(use_enable ssh ssh-token) $(usex argon2 '' '--with-luks2-pbkdf=pbkdf2') ) econf "${myeconfargs[@]}" @@ -110,6 +112,10 @@ src_install() { if use static ; then mv "${ED}"/sbin/cryptsetup{.static,} || die mv "${ED}"/sbin/veritysetup{.static,} || die + mv "${ED}"/sbin/integritysetup{.static,} || die + if use ssh ; then + mv "${ED}"/sbin/cryptsetup-ssh{.static,} || die + fi if use reencrypt ; then mv "${ED}"/sbin/cryptsetup-reencrypt{.static,} || die fi diff --git a/sys-fs/cryptsetup/metadata.xml b/sys-fs/cryptsetup/metadata.xml index 878e56b200be..d2968cbd5652 100644 --- a/sys-fs/cryptsetup/metadata.xml +++ b/sys-fs/cryptsetup/metadata.xml @@ -12,8 +12,9 @@ <flag name="nettle">Use <pkg>dev-libs/nettle</pkg> crypto backend</flag> <flag name="openssl">Use <pkg>dev-libs/openssl</pkg> crypto backend</flag> <flag name="pwquality">Use <pkg>dev-libs/libpwquality</pkg> for password quality checking</flag> - <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> <flag name="reencrypt">Build cryptsetup-reencrypt</flag> + <flag name="ssh">Build cryptsetup-ssh for experimental support of token via SSH-server</flag> + <flag name="urandom">Use /dev/urandom instead of /dev/random</flag> </use> <upstream> <remote-id type="gitlab">cryptsetup/cryptsetup</remote-id> |