aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sys-kernel/ugrd/Manifest1
-rw-r--r--sys-kernel/ugrd/ugrd-0.7.4.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest
index 1fcb174d1..dc66f2061 100644
--- a/sys-kernel/ugrd/Manifest
+++ b/sys-kernel/ugrd/Manifest
@@ -1 +1,2 @@
DIST ugrd-0.7.3.tar.gz 38573 BLAKE2B 86567ec5d0790af6667de4b6f8fa9f6ae83e49df7b0a32be7b4f0a7ea3f305a6206c25e35d86f6927b747a091ca9957755bf5049716e9b14b466c6c64dd536ee SHA512 40b081b7cd916db5c133ddaa74b3589081088d62572339d749a9eb6fda17d06041a5bf352c73130ded6fc3e0c44fc5893217e0a1bace8cf31dde362ccc5b1fe4
+DIST ugrd-0.7.4.tar.gz 38882 BLAKE2B 7bafa5e555093c862e1d34f6aa9c3079210f597f10504aa0f96f3ee2d189fb684c8b57ef197fab989406a90fc7f472f240269a30a03287a5059a1898fd4d229d SHA512 b8e893fc12cc7a790ef59060583afd1a3b0407ca00b8d06df3c78f435133d4ebbd21c3e70eae1e4a309dcadc20ffd62fb3ead6adb5eb19d925cc92716e70c651
diff --git a/sys-kernel/ugrd/ugrd-0.7.4.ebuild b/sys-kernel/ugrd/ugrd-0.7.4.ebuild
new file mode 100644
index 000000000..71ef70139
--- /dev/null
+++ b/sys-kernel/ugrd/ugrd-0.7.4.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..12} pypy3 )
+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/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="app-misc/pax-utils"
+
+src_install() {
+ # Create the ugrd config directory
+ keepdir /etc/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.zfs support" sys-fs/zfs
+}