gentoo-overlay/app-crypt/clevis/clevis-15.ebuild

41 lines
998 B
Bash
Raw Normal View History

2020-12-24 19:38:18 +03:00
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit meson systemd
DESCRIPTION="Clevis is a plugable framework for automated decryption"
HOMEPAGE="https://latchset.github.io/"
SRC_URI="https://github.com/latchset/${PN}/releases/download/v${PV}/${P}.tar.xz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
2020-12-24 20:46:20 +03:00
IUSE="bash-completion dracut systemd tpm udisks"
2020-12-24 19:38:18 +03:00
REQUIRED_USE="dracut? ( systemd )"
DEPEND="tpm? ( >=app-crypt/tpm2-tools-4.0 )
app-text/asciidoc
2020-12-24 20:46:20 +03:00
>=sys-fs/luksmeta-8
2020-12-24 19:38:18 +03:00
|| (
dev-libs/openssl:0=
dev-libs/libressl:0=
)
systemd? ( sys-apps/systemd )
net-misc/curl
2020-12-24 20:40:06 +03:00
app-misc/jq
2020-12-24 19:38:18 +03:00
>=dev-libs/jansson-2.10
>=dev-libs/jose-8
>=sys-fs/cryptsetup-2.0.4[pwquality]
dracut? ( sys-kernel/dracut )
udisks? ( sys-fs/udisks:2 )
bash-completion? ( app-shells/bash-completion )"
RDEPEND="${DEPEND}"
PATCHES=(
"${FILESDIR}"/clevis-tpm2-tools-5.patch
2020-12-24 20:40:06 +03:00
"${FILESDIR}"/0001-Fixes-build-failure-with-musl-libc-pid_t-require-sys.patch
2020-12-24 19:38:18 +03:00
)