From 946cf0768efef8058ebab313cd5ef6f6ac8028d9 Mon Sep 17 00:00:00 2001 From: Zen Date: Sat, 1 Jun 2024 12:51:43 -0500 Subject: sys-kernel/ugrd: Drop 1.10.3, add 1.11.1 Signed-off-by: Zen --- sys-kernel/ugrd/Manifest | 2 +- sys-kernel/ugrd/ugrd-1.10.3.ebuild | 52 -------------------------------------- sys-kernel/ugrd/ugrd-1.11.1.ebuild | 52 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 53 insertions(+), 53 deletions(-) delete mode 100644 sys-kernel/ugrd/ugrd-1.10.3.ebuild create mode 100644 sys-kernel/ugrd/ugrd-1.11.1.ebuild (limited to 'sys-kernel/ugrd') diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index e977cfaaf..f6dbc6ab4 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -1,4 +1,4 @@ -DIST ugrd-1.10.3.tar.gz 54488 BLAKE2B fa06e2d9966dbc68c32042ac079307863862ebc34acf868a5db622361b349fbf9a2eb58546243fb3cb6552d77da635f741548db2fee23970bf719b16f12b4d55 SHA512 84354beaf64e4a2da343ada37877996ed91421bd9b3143be530ec912ffd1d86082a3d7643c3a3836d5340d7d1bf7a0776065f4f547e3a50508b4e43c656c9a8e +DIST ugrd-1.11.1.tar.gz 63209 BLAKE2B d6b0db4ba39eca8d1995ad4c03de3735dd549998e8c74122896917c2a897135a2a6ebb41b9411183f95961bbd376444c18ac4d6934d60d229db5ae1348eb3026 SHA512 68471a27cfde3cf209f6d031847929e2e48cf685ff0c77912e807da06593c746671232da4e11eb410f62358eb0e6b9cc40d63ca4f9db8a6ce32f567ee633367b DIST ugrd-1.2.2.tar.gz 49312 BLAKE2B 819457ae44cb278b93ef24af5e0aa2e23bf2d31d07fccec86e597f658a5cb13aad7838b08df644090417719402673b63087d27b6edbdb46dea04b98b48d26fb0 SHA512 6348458708406408973534ac5f15f8f9f6d9427bbac48443f7ff362bb97627be6288ba2d138355f92fc1c79a4eb5e51081485adb051cadf523a58f1ef618667e DIST ugrd-1.3.8.tar.gz 50142 BLAKE2B 0a61977eb6c0fb6af31db445061385057acf825b4fd300aecda25b70a3ee0ce941c34a2c4d8a712e5d737c4aa2a01f0eb6e5e4dfabc4cd4436f343356d1890ea SHA512 95f5b9b2ea60409b6e5f33e813c7a5c4c8c2613c724b15d9a2b482fd8dd4eb59a209473cade9496fb901f633c3a06357a2cd9477cc3de1f2e2f759162065eb6e DIST ugrd-1.4.0.tar.gz 50372 BLAKE2B aa5b253d78f82d9a35d812d8090441e7c068c048530a5a4e27c6dd0e15d4e3c4b59582311043a5a55904b09c8468d2600c2548e32e1c918b5f7db45c367e9653 SHA512 020eaae8659f5143a63c122fe6f30ed48b231f96d8ae9eb4f3c2861684d9dbe8999fcc5d6d7fa68d473bd565089f96a36f3fa01c61f8113955eac2aef1f3fe2c diff --git a/sys-kernel/ugrd/ugrd-1.10.3.ebuild b/sys-kernel/ugrd/ugrd-1.10.3.ebuild deleted file mode 100644 index 68e5c83d5..000000000 --- a/sys-kernel/ugrd/ugrd-1.10.3.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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 shell-completion - -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 ~arm64" - -RDEPEND=" - app-misc/pax-utils - >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] - >=dev-python/pycpio-1.1.2[${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 - exeinto /usr/lib/kernel/preinst.d - doexe hooks/installkernel/52-ugrd.install - exeinto /usr/lib/kernel/install.d - doexe hooks/kernel-install/52-ugrd.install - # Install bash autocomplete script - dobashcomp completion/ugrd - dozshcomp completion/_ugrd -} - -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.lvm support" sys-fs/lvm2[lvm] - ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the" - ewarn "'initrd_generator' in /etc/kernel/install.conf." -} diff --git a/sys-kernel/ugrd/ugrd-1.11.1.ebuild b/sys-kernel/ugrd/ugrd-1.11.1.ebuild new file mode 100644 index 000000000..68e5c83d5 --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.11.1.ebuild @@ -0,0 +1,52 @@ +# 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 shell-completion + +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 ~arm64" + +RDEPEND=" + app-misc/pax-utils + >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.1.2[${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 + exeinto /usr/lib/kernel/preinst.d + doexe hooks/installkernel/52-ugrd.install + exeinto /usr/lib/kernel/install.d + doexe hooks/kernel-install/52-ugrd.install + # Install bash autocomplete script + dobashcomp completion/ugrd + dozshcomp completion/_ugrd +} + +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.lvm support" sys-fs/lvm2[lvm] + ewarn "UGRD will not be used with installkernel unless 'ugrd' is set as the" + ewarn "'initrd_generator' in /etc/kernel/install.conf." +} -- cgit v1.2.3-65-gdbad