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 F23C41581E7 for ; Sun, 28 Apr 2024 21:05:33 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 287BBE2A23; Sun, 28 Apr 2024 21:05:33 +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 F145BE2A23 for ; Sun, 28 Apr 2024 21:05:32 +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 B841534072E for ; Sun, 28 Apr 2024 21:05:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1E20E15EC for ; Sun, 28 Apr 2024 21:05:30 +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: <1714243304.ce24e85477cee59032c5d87413619152e28373f3.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-1.1.2.ebuild X-VCS-Directories: sys-kernel/ugrd/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: ce24e85477cee59032c5d87413619152e28373f3 X-VCS-Branch: master Date: Sun, 28 Apr 2024 21:05:30 +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: 38bc715d-7ad6-40bf-883b-68492a94fa96 X-Archives-Hash: 4784f76957cdb44117589e81b784032b commit: ce24e85477cee59032c5d87413619152e28373f3 Author: Zen pyl onl> AuthorDate: Sat Apr 27 18:41:44 2024 +0000 Commit: David Roman gmail com> CommitDate: Sat Apr 27 18:41:44 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ce24e854 sys-kernel/ugrd: Add 1.1.2 Signed-off-by: Zen pyl.onl> sys-kernel/ugrd/Manifest | 1 + sys-kernel/ugrd/ugrd-1.1.2.ebuild | 43 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 44 insertions(+) diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index 4ad15c8af1..b9747a0d5d 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -5,3 +5,4 @@ DIST ugrd-0.20.0.tar.gz 44531 BLAKE2B 3b76149371fac2c5945ce6693c41afdb27cf51028e DIST ugrd-0.21.2.tar.gz 44149 BLAKE2B 62d093a9ffcef8a963e6de81f630853d11c9e448fdef8ba8b22ee1953292b6da9b1e43067c5da6d9c4ef8dd632f4626caa444a0be9e04c77a2708266ce42cc09 SHA512 0e5b819ab876415e469e8b3d0a5e4d7471c2d7ff46cb3a22635befefb58e26ef2c7e621d1b61968ddfb2a80154b09d7b84b5fdb528cd03d356fc0379a4926ac5 DIST ugrd-0.22.0.tar.gz 44444 BLAKE2B 01c4cc36ea778c12478b3b2f6db76180f9b7ef8d214b7cb2ab7579826f67d9166ac889ba17ae59819a3870cd2847b6ba4f8fff373dc670a4cde2a85dc60e2b67 SHA512 498b65070a83a810ec2c84bb58ca380f0836654f5ac2676bc358b5e80ea48057156102b3e1983695decdcffa64bd5bfe05df963d98342171c3e9c2906d9370da DIST ugrd-1.0.0.tar.gz 46125 BLAKE2B 8f941f8cadcbfb92ad4be02ca5763779bcd57bdd3545a5526b642d288591ea76e6ffcd4e0962c9ac36ff31f177b4fd2ee7b5b3351147e9f1e0a1dc478da399e0 SHA512 f7629acdffb952f8b8c79969043574420cff821523c38627c4234d4ca0f93a38349f8acdf3a473bd5fd3f4854fd0b82bb4367e57b999674b8a550609a76330d3 +DIST ugrd-1.1.2.tar.gz 46794 BLAKE2B b1bfc9ae80766ffc3230cff884e8c75a0591a9a2cc8837acc231501e1181a9be02ab311a89c648f43a13f16f648415966066f6d1a4875017c1504c3141d7ca5d SHA512 764f4cbc0ec20906755466bb248256c8a536ef748c3797640b02e48cd28298df61f6cee7c0bdd95a01a468ec48c2f3826401bbe80ae1544bc8c77f2123d94edc diff --git a/sys-kernel/ugrd/ugrd-1.1.2.ebuild b/sys-kernel/ugrd/ugrd-1.1.2.ebuild new file mode 100644 index 0000000000..62d7f9f247 --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.1.2.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 +>=dev-python/zenlib-2.0.1[${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 +}