aboutsummaryrefslogtreecommitdiff
path: root/app-crypt/clevis/clevis-18.ebuild
blob: 7e7b307972f6116218d2744d6ec6ce65ec1c1eaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# Copyright 2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit meson

PATCHES=(
	"${FILESDIR}/${PN}-dracut.patch"
)

DESCRIPTION="Automated Encryption Framework"
HOMEPAGE="https://github.com/latchset/clevis"
SRC_URI="https://github.com/latchset/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"

LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+luks +tpm"

DEPEND="luks? ( app-misc/jq )
	>=dev-libs/jose-8
	luks? ( dev-libs/libpwquality )
	luks? ( dev-libs/luksmeta )
	tpm? ( app-crypt/tpm2-tools )
	sys-fs/cryptsetup"
RDEPEND="${DEPEND}"
BDEPEND=""

src_configure() {
	meson_src_configure
}