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 A86CC158015 for ; Tue, 26 Dec 2023 21:02:53 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAC8A2BC014; Tue, 26 Dec 2023 21:02:52 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 C3E3D2BC014 for ; Tue, 26 Dec 2023 21:02:52 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E7267340775 for ; Tue, 26 Dec 2023 21:02:51 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6D71414B4 for ; Tue, 26 Dec 2023 21:02:50 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1703453773.c391385d39832b4a43504292ccb256d0a558a04a.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: sys-kernel/ugrd/ X-VCS-Repository: repo/proj/guru X-VCS-Files: sys-kernel/ugrd/Manifest sys-kernel/ugrd/ugrd-0.15.5.ebuild X-VCS-Directories: sys-kernel/ugrd/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: c391385d39832b4a43504292ccb256d0a558a04a X-VCS-Branch: master Date: Tue, 26 Dec 2023 21:02:50 +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: cf491158-b9b6-445c-882c-2c726a15997c X-Archives-Hash: 2e3705f32cce465cdf83d2f9c9080725 commit: c391385d39832b4a43504292ccb256d0a558a04a Author: Zen pyl onl> AuthorDate: Sun Dec 24 21:36:13 2023 +0000 Commit: David Roman gmail com> CommitDate: Sun Dec 24 21:36:13 2023 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=c391385d sys-kernel/ugrd: Added 0.15.5 Signed-off-by: Zen pyl.onl> sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-0.15.5.ebuild | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index cbfc0e298a..f6a90a1bc2 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -1,2 +1,3 @@ DIST ugrd-0.12.1.tar.gz 39929 BLAKE2B d4d2788c0d23907b87ea6c98607f3d36e25c895618668123089c2cb96dc8895be411c7c5865522b58a53a90c51e77f874ee13324c5602bceb325bb680dccf63b SHA512 3dec60f8535bb63525a0da07583d35c539de27e0d4ab2c79c033ce49a1b745b262a245e58224f5fabb1450af76d750578e47d60eb0961ac842eaed6e5f212c7d DIST ugrd-0.15.4.tar.gz 42064 BLAKE2B ceaa6ac8f0dc992eb32ad027989701e9f2fccb61d167ccf7c7fd645c4e43b843905b5c80729ebf88a6a0f74535fe399884e1f03a27276e259f3a37f1067422db SHA512 584a2b64a98b3ef5179692d20f4d79fb36462a5882b25eb88af9211fd9f4c9107aefa395673290e67470b8a9724c1a226c13fb1f70e457d00e83254be1837f11 +DIST ugrd-0.15.5.tar.gz 42150 BLAKE2B a5eaa456323a5868cc5ab31f4e6fb45fa016777afe7a38fd0b9538879a8da4b1633c2bc27bad4ab7b269ef595962df133fc5e63a957a1545ed3a1b3445dc30ee SHA512 e03e0775b992bd853ff019c9f4405674120f98b3579421bb6be21a85c3859429313ef6585d4ea00ea2f2bfd5c77ab76fe1062bffeed5ee9109904f320612596e diff --git a/sys-kernel/ugrd/ugrd-0.15.5.ebuild b/sys-kernel/ugrd/ugrd-0.15.5.ebuild new file mode 100644 index 0000000000..3d5fc2520c --- /dev/null +++ b/sys-kernel/ugrd/ugrd-0.15.5.ebuild @@ -0,0 +1,43 @@ +# 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 + sys-apps/pciutils" + +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 + # Install the example config into /etc/ugrd/config.toml + # Do not overwrite an existing config + insinto /etc/ugrd + newins examples/config_kmod.toml config.toml + # Create the kernel preinst.d directory if it doesn't exist + # Install the kernel preinst.d hook + keepdir /etc/kernel/preinst.d + exeinto /etc/kernel/preinst.d + 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 +}