From 6f47c383903c03189c339f77d91005762a0ebf90 Mon Sep 17 00:00:00 2001 From: Zen Date: Sun, 24 Mar 2024 22:59:44 -0500 Subject: sys-kernel/ugrd: Add 0.22.0 Signed-off-by: Zen --- sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-0.22.0.ebuild | 43 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 sys-kernel/ugrd/ugrd-0.22.0.ebuild (limited to 'sys-kernel') diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index 5d5f7e2b7..2e44462aa 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -3,3 +3,4 @@ DIST ugrd-0.19.1.tar.gz 44713 BLAKE2B e22d8c6df5cffb6c903badf6b45f693a319215791d DIST ugrd-0.19.3.tar.gz 44629 BLAKE2B 4c319cfe745640ff7ced5eb161498b3cd6250434d7b56e909a74b1a133910039ec81a399d55f6408b5b33f88a94fb41a54dd18d97443d00e73730a36802b635f SHA512 4cedc043d3e7ac616d263e4d467d1b825a5c425f7682f1ab531a84dfd17c49f99398226fc9ee39044591dcbc6d3308d01f1ffa6734e552945d1096bf1bff2923 DIST ugrd-0.20.0.tar.gz 44531 BLAKE2B 3b76149371fac2c5945ce6693c41afdb27cf51028e138388406587cc9911113ad3af1dc64ce97bcdfe47b1916bba26e84b986efd12a8af67e58e16150fe69249 SHA512 11276bb6230f99d23fd59c8322f51c2648938ec27132a1425a4c99c34bfecb326f27b287a3583fb7a86ef62094674069e86f31bf504ac4fa8e63f88c52b33609 DIST ugrd-0.21.2.tar.gz 44149 BLAKE2B 62d093a9ffcef8a963e6de81f630853d11c9e448fdef8ba8b22ee1953292b6da9b1e43067c5da6d9c4ef8dd632f4626caa444a0be9e04c77a2708266ce42cc09 SHA512 0e5b819ab876415e469e8b3d0a5e4d7471c2d7ff46cb3a22635befefb58e26ef2c7e621d1b61968ddfb2a80154b09d7b84b5fdb528cd03d356fc0379a4926ac5 +DIST ugrd-0.22.0.tar.gz 44444 BLAKE2B 01c4cc36ea778c12478b3b2f6db76180f9b7ef8d214b7cb2ab7579826f67d9166ac889ba17ae59819a3870cd2847b6ba4f8fff373dc670a4cde2a85dc60e2b67 SHA512 498b65070a83a810ec2c84bb58ca380f0836654f5ac2676bc358b5e80ea48057156102b3e1983695decdcffa64bd5bfe05df963d98342171c3e9c2906d9370da diff --git a/sys-kernel/ugrd/ugrd-0.22.0.ebuild b/sys-kernel/ugrd/ugrd-0.22.0.ebuild new file mode 100644 index 000000000..6c369fa20 --- /dev/null +++ b/sys-kernel/ugrd/ugrd-0.22.0.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.7.2[${PYTHON_USEDEP}] +>=dev-python/pycpio-0.9.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 +} -- cgit v1.2.3-65-gdbad