From 70dd966ac7e1b06fa634d48d390a9098471489ee Mon Sep 17 00:00:00 2001 From: Jakov Smolić Date: Sat, 24 Feb 2024 13:10:37 +0100 Subject: sys-kernel/dracut-crypt-ssh: add 1.0.8 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Jakov Smolić --- sys-kernel/dracut-crypt-ssh/Manifest | 1 + .../dracut-crypt-ssh/dracut-crypt-ssh-1.0.8.ebuild | 40 ++++++++++++++++++++++ 2 files changed, 41 insertions(+) create mode 100644 sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/dracut-crypt-ssh/Manifest b/sys-kernel/dracut-crypt-ssh/Manifest index 67565c737568..7d0bb32be19c 100644 --- a/sys-kernel/dracut-crypt-ssh/Manifest +++ b/sys-kernel/dracut-crypt-ssh/Manifest @@ -1 +1,2 @@ DIST dracut-crypt-ssh-1.0.7.tar.gz 19561 BLAKE2B b778d03d792c5ebe0466de7474a6cc821445fe0cd3b216f395d3ea28a17cb4ed3aa6da4b7d6dee86e4481e2ac98d677e3410cd6581c4d8c01ab0ec9564504bf3 SHA512 2958a59c3ff615e89b7631224e248e7e931dd91c566e792b10dffe09b8bd2dfcf2c55eef4e974988f19320e0d732d3dfb14b61713445e1ff3a4a9868dfc4e966 +DIST dracut-crypt-ssh-1.0.8.tar.gz 20931 BLAKE2B 2700bd7781c617b3bd44665971e9fd16727c31b0be76dfa7c121a2e77c250d830907a27e6ea43f6fc9684df0ee54a75093c62d449e5c04a16eb78d2fc572f238 SHA512 37f1f1a0029587ce19f56f5c108a6353230ccbc299b82d260c64dd73984db05ac1bf00ab59125905de95c69dfbf5e8923393f150594c1bdaeb0f70d1bff5c072 diff --git a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8.ebuild b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8.ebuild new file mode 100644 index 000000000000..3c3850f2a8f9 --- /dev/null +++ b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="Early unlocking of encrypted systems via ssh for dracut" +HOMEPAGE="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh" +SRC_URI="https://github.com/dracut-crypt-ssh/dracut-crypt-ssh/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="sys-kernel/dracut" +RDEPEND="${DEPEND} + || ( + net-misc/connman + net-misc/dhcp + net-misc/dhcpcd + net-misc/netifrc + net-misc/networkmanager + sys-apps/systemd + ) + net-misc/dropbear" + +src_prepare() { + default + + # Fix libdir (hard-coded to "lib64") + sed "s@/lib64/@/$(get_libdir)/@" \ + -i modules/60crypt-ssh/module-setup.sh \ + || die +} + +src_configure() { + tc-export CC + default +} -- cgit v1.2.3-65-gdbad