From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1665852-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id BD1601581FB for <garchives@archives.gentoo.org>; Fri, 30 Aug 2024 15:31:35 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id A12BBE29EA; Fri, 30 Aug 2024 15:31:34 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8D92EE29EA for <gentoo-commits@lists.gentoo.org>; Fri, 30 Aug 2024 15:31:34 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B92FA34306E for <gentoo-commits@lists.gentoo.org>; Fri, 30 Aug 2024 15:31:33 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 256371C74 for <gentoo-commits@lists.gentoo.org>; Fri, 30 Aug 2024 15:31:32 +0000 (UTC) From: "Jakov Smolić" <jsmolic@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jakov Smolić" <jsmolic@gentoo.org> Message-ID: <1725031046.b38e907dbaac58b035c6ab78fc79c3a13a3a1ee6.jsmolic@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-kernel/dracut-crypt-ssh/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r1.ebuild X-VCS-Directories: sys-kernel/dracut-crypt-ssh/ X-VCS-Committer: jsmolic X-VCS-Committer-Name: Jakov Smolić X-VCS-Revision: b38e907dbaac58b035c6ab78fc79c3a13a3a1ee6 X-VCS-Branch: master Date: Fri, 30 Aug 2024 15:31:32 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8b72ee27-461a-451f-bb37-e35624487ff5 X-Archives-Hash: da3d31f247693032f2b539297785c2a6 commit: b38e907dbaac58b035c6ab78fc79c3a13a3a1ee6 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> AuthorDate: Fri Aug 30 15:17:26 2024 +0000 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org> CommitDate: Fri Aug 30 15:17:26 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b38e907d sys-kernel/dracut-crypt-ssh: update EAPI 7 -> 8 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org> .../dracut-crypt-ssh-1.0.8-r1.ebuild | 40 ++++++++++++++++++++++ 1 file changed, 40 insertions(+) diff --git a/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r1.ebuild b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r1.ebuild new file mode 100644 index 000000000000..a23395d222fc --- /dev/null +++ b/sys-kernel/dracut-crypt-ssh/dracut-crypt-ssh-1.0.8-r1.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +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 ~arm64 ~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 +}