mirror of
https://github.com/dguglielmi/sunny-overlay.git
synced 2025-12-06 22:32:37 +01:00
app-crypt/clevis: add ebuild
This commit is contained in:
3
app-crypt/clevis/Manifest
Normal file
3
app-crypt/clevis/Manifest
Normal file
@@ -0,0 +1,3 @@
|
||||
AUX clevis-10-dont-check-dracut.patch 420 BLAKE2B 98bbf8bf85b57041b4f0ac240f26ceea41f50960bc129140d36117bcb4a1908cd8060d4adcdb6a7148826e0ec993cd003313fa9c772052cfa668df8546a574d9 SHA512 967d2cb3cf4c9d9afd0a80611382d07acf6fd8037e83766b88935f120d780c8641c406f804c0fffe571c4a79b96242dc2ba10de1de0efd1277e076dbda3d3d4e
|
||||
DIST clevis-10.tar.bz2 137411 BLAKE2B 73118d7f924366a752251f37b5d9b17707e77d10582a6dc636bcac20a372c4920e190c137f0c8f24036bb2074bd877e312d18f8ea95509546479ef0cca202afc SHA512 4fb95790eef84be414a0b5bcc992097ed4eb36c89bb3ff76e09ea45d7106b980f6b5f79566488c58ca9558f533235e5f95580e2c40d9f1a291d0def89481352f
|
||||
EBUILD clevis-10.ebuild 1002 BLAKE2B bc00ed15aedb02378f21261123f84559b7976f9368842ac8c5214ad952225f6dbc23166e22dd046a9cdce05f3ec07fd965c4e1e6f82f8c9d9576fd30fbc2cd4d SHA512 ec891fffef5facc5bec81630f8c6f1ca0261f62c6755639a086fbf0b4bd47238f2263ebbc3d1bba8c0fe2266bf1113d8b370d3ba9ecb0688fdf5a0b647cd521b
|
||||
50
app-crypt/clevis/clevis-10.ebuild
Normal file
50
app-crypt/clevis/clevis-10.ebuild
Normal file
@@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit autotools 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.bz2"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="dracut"
|
||||
|
||||
DEPEND=">=sys-fs/luksmeta-8
|
||||
>=dev-libs/openssl-1.0.2
|
||||
>=dev-libs/jansson-2.10
|
||||
>=dev-libs/jose-8
|
||||
dev-libs/libpwquality
|
||||
sys-fs/udisks:2
|
||||
sys-apps/systemd
|
||||
dracut? ( sys-kernel/dracut )
|
||||
>=sys-process/audit-2.7.8"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
PATCHES=( "${FILESDIR}"/${P}-dont-check-dracut.patch )
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--with-systemdsystemunitdir="$(systemd_get_systemunitdir)"
|
||||
--with-dracutmodulesdir="${PREFIX}/usr/lib/dracut/modules.d"
|
||||
)
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
|
||||
if ! use dracut; then
|
||||
rm -rf ${D}/usr/lib/dracut
|
||||
fi
|
||||
}
|
||||
11
app-crypt/clevis/files/clevis-10-dont-check-dracut.patch
Normal file
11
app-crypt/clevis/files/clevis-10-dont-check-dracut.patch
Normal file
@@ -0,0 +1,11 @@
|
||||
diff -dNur a/configure.ac b/configure.ac
|
||||
--- a/configure.ac 2018-03-21 19:16:33.000000000 +0100
|
||||
+++ b/configure.ac 2018-07-26 11:00:36.263883657 +0200
|
||||
@@ -17,7 +17,6 @@
|
||||
PKG_CHECK_MODULES([udisks2], [udisks2])
|
||||
PKG_CHECK_MODULES([jose], [jose >= 8])
|
||||
PKG_CHECK_MODULES([systemd], [systemd])
|
||||
-PKG_CHECK_MODULES([dracut], [dracut])
|
||||
PKG_CHECK_MODULES([audit], [audit >= 2.7.8])
|
||||
|
||||
AC_CHECK_PROG([PWMAKE], [pwmake], [yes])
|
||||
Reference in New Issue
Block a user