From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: 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 B2661158015 for ; Sat, 23 Dec 2023 00:01:40 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C598F2BC01B; Sat, 23 Dec 2023 00:01:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 A5B102BC01B for ; Sat, 23 Dec 2023 00:01:38 +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 929BA341214 for ; Sat, 23 Dec 2023 00:01:37 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DDB991450 for ; Sat, 23 Dec 2023 00:01:35 +0000 (UTC) From: "George Zenner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "George Zenner" Message-ID: <1703289554.29f4ddc3fda93df1be4f2d095667d4e830bf5fb7.dev@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: sys-kernel/ugrd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-kernel/ugrd/Manifest sys-kernel/ugrd/ugrd-0.13.0.ebuild X-VCS-Directories: sys-kernel/ugrd/ X-VCS-Committer: dev X-VCS-Committer-Name: George Zenner X-VCS-Revision: 29f4ddc3fda93df1be4f2d095667d4e830bf5fb7 X-VCS-Branch: dev Date: Sat, 23 Dec 2023 00:01:35 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 8f3f15e6-2c6e-41b5-bab5-01ab7bf48d9b X-Archives-Hash: 459a137185d7d033fa1e3fe6a08dd0f3 commit: 29f4ddc3fda93df1be4f2d095667d4e830bf5fb7 Author: Zen pyl onl> AuthorDate: Fri Dec 22 23:41:45 2023 +0000 Commit: George Zenner pyl onl> CommitDate: Fri Dec 22 23:59:14 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=29f4ddc3 sys-kernel/ugrd: Added 0.13 ebuild with basic installkernel hook script Signed-off-by: Zen pyl.onl> sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-0.13.0.ebuild | 39 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index d8e1ce0466..504c8ab8d6 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -1,2 +1,3 @@ DIST ugrd-0.11.3.tar.gz 45232 BLAKE2B 4d98f664b74bcf6ad04c5131b21185f53301de4388e0af66ea3817a27448f2a2a0ac9e3c7d416cf80d963108a38f37a3a2c915c99bd0c746938fbd312d7acfeb SHA512 84e7030a2a82860a89ae9be938610dea9d60ac950ae7f83470aeb37ecc5c80c1d5dbc655710e97fc47d8246e2f43b1e603b0960e57929fc60df346145ee57970 DIST ugrd-0.12.1.tar.gz 39929 BLAKE2B d4d2788c0d23907b87ea6c98607f3d36e25c895618668123089c2cb96dc8895be411c7c5865522b58a53a90c51e77f874ee13324c5602bceb325bb680dccf63b SHA512 3dec60f8535bb63525a0da07583d35c539de27e0d4ab2c79c033ce49a1b745b262a245e58224f5fabb1450af76d750578e47d60eb0961ac842eaed6e5f212c7d +DIST ugrd-0.13.0.tar.gz 40894 BLAKE2B 3e96979b9a645d18d746b11b7c41fecc4a4472f1af90cae2e70c09ca2e228b895681d468544272d604fed4105ff7a40dbd92b0b406664a334537111ce174b58d SHA512 4b0925f505d703776963b5c6ec01dc21dc63d3007af015aa50ec72fc963d401b08aa6ffd8d2463017285107e8b8856b5b79c3adb410b834749142a4c9c2e47f6 diff --git a/sys-kernel/ugrd/ugrd-0.13.0.ebuild b/sys-kernel/ugrd/ugrd-0.13.0.ebuild new file mode 100644 index 0000000000..a422f47ccd --- /dev/null +++ b/sys-kernel/ugrd/ugrd-0.13.0.ebuild @@ -0,0 +1,39 @@ +# Copyright 2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{11..12} ) +inherit distutils-r1 optfeature + +DESCRIPTION="Python based initramfs generator with TOML defintions" +HOMEPAGE="https://github.com/desultory/ugrd" +SRC_URI="https://github.com/desultory/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND="app-misc/pax-utils" +DEPEND=">=dev-python/zenlib-1.2.0 + >=dev-python/pycpio-0.6.1" + +src_install() { + # Call the distutils-r1_src_install function to install the package + distutils-r1_src_install + # Create the ugrd config directory + keepdir /etc/ugrd + # Create the kernel preinst.d directory if it doesn't exist + keepdir /etc/kernel/preinst.d + exeinto /etc/kernel/preinst.d + # Install the kernel preinst.d script + doexe hooks/51-ugrd.install +} + +pkg_postinst() { + optfeature "ugrd.crypto.cryptsetup support" sys-fs/cryptsetup + optfeature "ugrd.fs.btrfs support" sys-fs/btrfs-progs + optfeature "ugrd.crypto.gpg support" app-crypt/gnupg + optfeature "ugrd.fs.zfs support" sys-fs/zfs +}