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 08E66158064 for ; Sun, 5 May 2024 15:54:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3BED9E2B5F; Sun, 5 May 2024 15:54:44 +0000 (UTC) Received: from smtp.gentoo.org (smtp.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 23B04E2B5F for ; Sun, 5 May 2024 15:54:44 +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 5F36E335D21 for ; Sun, 5 May 2024 15:54:43 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C2B7015A7 for ; Sun, 5 May 2024 15:54:41 +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: <1714924453.2a2f886d8fb3d52785d9edcadbdef8bd636b8874.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-1.2.4.ebuild X-VCS-Directories: sys-kernel/ugrd/ X-VCS-Committer: dev X-VCS-Committer-Name: George Zenner X-VCS-Revision: 2a2f886d8fb3d52785d9edcadbdef8bd636b8874 X-VCS-Branch: dev Date: Sun, 5 May 2024 15:54:41 +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: 8651e5f7-ef97-47cb-9086-7f2082eea6cc X-Archives-Hash: 429b95621db4a7bfff159d3b2fe730ae commit: 2a2f886d8fb3d52785d9edcadbdef8bd636b8874 Author: Zen pyl onl> AuthorDate: Sun May 5 15:54:13 2024 +0000 Commit: George Zenner pyl onl> CommitDate: Sun May 5 15:54:13 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=2a2f886d sys-kernel/ugrd: Add 1.2.4 Signed-off-by: Zen pyl.onl> sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-1.2.4.ebuild | 45 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 46 insertions(+) diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index cbac703133..c84493b4c3 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -8,3 +8,4 @@ DIST ugrd-1.0.0.tar.gz 46125 BLAKE2B 8f941f8cadcbfb92ad4be02ca5763779bcd57bdd354 DIST ugrd-1.1.5.tar.gz 47005 BLAKE2B 278831157c3f8b5d731f3acbdf41c19b1c6485b46acf7d2b75df40a9d9f542365514e814d1972a03bd4b53dad2d39a27098e4cfc97d526afdf4d45ccf5778691 SHA512 c198c592af40d2f126a333a03c74c638260ea8125f4a4da6f97d3489d2ddcf7edb5dce785eb236d309853dac6a3e7993186e4c6b775c4eccc121e95d308641dc DIST ugrd-1.2.0.tar.gz 48323 BLAKE2B 8df44c91dd56da6d27eaf2c769b40ad7a008a71a87f2f33d1ab91d96e16cf680bb046af27d0b50ae79d48ad8d5b046d899e246ca44c18e62dae8f54fff9cace6 SHA512 a3ddd95abd30441013c9a11074052629dfdbcd2cfffd6a754c6d9c3b719b1861abcd613228fa613b6f566ca1cdca5fa881c9a302391c594b53096428d35e37bf DIST ugrd-1.2.2.tar.gz 49312 BLAKE2B 819457ae44cb278b93ef24af5e0aa2e23bf2d31d07fccec86e597f658a5cb13aad7838b08df644090417719402673b63087d27b6edbdb46dea04b98b48d26fb0 SHA512 6348458708406408973534ac5f15f8f9f6d9427bbac48443f7ff362bb97627be6288ba2d138355f92fc1c79a4eb5e51081485adb051cadf523a58f1ef618667e +DIST ugrd-1.2.4.tar.gz 49341 BLAKE2B fc52d17e95391eee4ce53444977ac52d4980c855c1165222e83993c4d8a1a221a834188c1aa037f2a6f712b7571b6d43bc8e30575af008e409be2a1f97d6e272 SHA512 2a3ea8640e276be28f53446e2d209b301e91cc02a83ef77abab46b68daec42fb9d41ae77d56ba0eac0eb3395b100299ea06c1c195acd39d2065cd93842f6a2fe diff --git a/sys-kernel/ugrd/ugrd-1.2.4.ebuild b/sys-kernel/ugrd/ugrd-1.2.4.ebuild new file mode 100644 index 0000000000..669bae5227 --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.2.4.ebuild @@ -0,0 +1,45 @@ +# Copyright 2023-2024 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 + >=dev-python/zenlib-2.0.4[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.0.0[${PYTHON_USEDEP}] + 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/example.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 +}