diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-08-07 12:37:21 +0100 |
commit | b8c7370a682e4e29cda623222d17a790c01c3642 (patch) | |
tree | f6caa14689bd00a5760eadaa381ff41e50ef3c1b /sys-kernel/ugrd | |
parent | 8a4997a7e2d1e36c089d4d76935b5a902d98d3d0 (diff) |
gentoo auto-resync : 07:08:2024 - 12:37:20
Diffstat (limited to 'sys-kernel/ugrd')
-rw-r--r-- | sys-kernel/ugrd/Manifest | 4 | ||||
-rw-r--r-- | sys-kernel/ugrd/ugrd-1.16.0.ebuild | 48 | ||||
-rw-r--r-- | sys-kernel/ugrd/ugrd-9999.ebuild | 2 |
3 files changed, 52 insertions, 2 deletions
diff --git a/sys-kernel/ugrd/Manifest b/sys-kernel/ugrd/Manifest index ac3a2bd60c68..d365665ad2f3 100644 --- a/sys-kernel/ugrd/Manifest +++ b/sys-kernel/ugrd/Manifest @@ -1,4 +1,6 @@ DIST ugrd-1.13.0.tar.gz 63781 BLAKE2B 3f2d3095c6303b16947121071dabdbef81baaea5a7e208d53250e57edf136618497710ce3cca2906b87fbdc529b8a9ef119659365bba8c795594774cf8d096f6 SHA512 a745685668e981accfd32d1c47c6cf506ae63304ef5b3fdad200731db75b76fe56a4339876465bb1857c2fed35c273f95bbce390224fa0d01aebd67adbc31aa6 +DIST ugrd-1.16.0.tar.gz 66050 BLAKE2B 50417d15a50f3e6da2609d61f4a88f4bafe76d02f82ce4a8f8b152e311a68543956c30487a7caee769c8da2a266d9266377a798b6577f4b3d54164acb55f20fc SHA512 ac67a5164c2d239a5994bfde972bf82fe9f63bfc339ad263256e9889826ff71df224a8d003b0db2e2900d862dbd2a07c11c1b99fe12f94e52a8c5cd65ef302e5 EBUILD ugrd-1.13.0.ebuild 1462 BLAKE2B 52d73a0564a64c31a1fa9cb02377f6735e883ee3f7c68f1fbdf404ebedf12faad5641e815cd09b9797e52378a462a56036d7a3106d5c35f9c15f1fe074712fd8 SHA512 6568990c8bf6f20fc49f8ae8d1080cfff04593b8255b361efe18e0e5a09fe8eeb1160cdbff2b1b2276f12860f5b3e0a7dd08302cc2d6f073f2759d72a35467b0 -EBUILD ugrd-9999.ebuild 1403 BLAKE2B 0ff0d4f8270a4a91b4c097b2322f2d5d8b316c748c2acb9becdbc800f13bfa9c6a97b81c50376cb9c6c60cd289e1b133921c6cf1ced046511b7b1a286029fa58 SHA512 092138801bf93dbb7d6d58576125cf0dc371d6e293f440ae5e3bee28194e1d9a6cad64417f2c224067ff480b286ae5ab98f233d66cf784beef6d753e3a05121a +EBUILD ugrd-1.16.0.ebuild 1462 BLAKE2B e0e7a2840663e8248d50dbf582c404eaab6ba4b5b762ea20ffa54a6b0cd5efbbee8992019d2176a915a9a1c6739bba6829056cba5f38691c4bfe4a956c6cbd31 SHA512 18ef6babe0364ef0ee3ce83d407e7717f588d7f2f55ca236fadc15aad5fb4c48891d88cd60bd30ff60a77ec0d27433b1cce17ee72e815d11b9fce479177fcf01 +EBUILD ugrd-9999.ebuild 1402 BLAKE2B 3128b452f9808e570cbe56f2615fd9ecde920c9f7c38e8644188ef4bb23ced8073f55cd8bb0d7fc7c48c37f6436b6187850d026a1fea94b9216bd200f58f3f63 SHA512 d426f42e71ea2fb7e074409bb4c17c2627b1ee7031f0a96966f5a03b006d1c1ba4aeddd241695afe3bb50c322ab142e984610b16c66db131897b07aed0edb15e MISC metadata.xml 459 BLAKE2B 4b2afaf098699bd77c60b089a853528c9f8c054623c8c317ec99090572dc5d2e686150303fa69b739f0e654e35e6fe2f43f71df8920cfdb83b17393a67425c22 SHA512 78b8572050924ef651f833821bc1b15ce6e989311a30f0970d966fae78287263f14d67db59b4fc93dd0d8d1c07b89b9b05c42f325b61337f497589b769fdf103 diff --git a/sys-kernel/ugrd/ugrd-1.16.0.ebuild b/sys-kernel/ugrd/ugrd-1.16.0.ebuild new file mode 100644 index 000000000000..2259e96649a2 --- /dev/null +++ b/sys-kernel/ugrd/ugrd-1.16.0.ebuild @@ -0,0 +1,48 @@ +# 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.2.0[${PYTHON_USEDEP}] + >=dev-python/pycpio-1.2.1[${PYTHON_USEDEP}] + sys-apps/pciutils +" + +python_install_all() { + # Call the distutils-r1_python_install_all function + distutils-r1_python_install_all + # Install the example config into /etc/ugrd/config.toml + # Do not overwrite an existing config + insinto /etc/ugrd + newins examples/example.toml config.toml + + # 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 + + dobashcomp completion/ugrd # Install bash autocomplete script + dozshcomp completion/_ugrd # Install zsh autocomplete script +} + +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] +} diff --git a/sys-kernel/ugrd/ugrd-9999.ebuild b/sys-kernel/ugrd/ugrd-9999.ebuild index f7e661bef53f..79e735294206 100644 --- a/sys-kernel/ugrd/ugrd-9999.ebuild +++ b/sys-kernel/ugrd/ugrd-9999.ebuild @@ -16,7 +16,7 @@ SLOT="0" RDEPEND=" app-misc/pax-utils - >=dev-python/zenlib-2.1.2[${PYTHON_USEDEP}] + >=dev-python/zenlib-9999[${PYTHON_USEDEP}] >=dev-python/pycpio-9999[${PYTHON_USEDEP}] sys-apps/pciutils " |