sys-kernel/ugrd: added ugrd

Signed-off-by: Zen <z@pyl.onl>
This commit is contained in:
Zen
2023-10-31 17:21:22 -05:00
parent 457ea60582
commit 6458a0099f
4 changed files with 31 additions and 33 deletions

View File

@@ -1 +1 @@
DIST 0.7.1.zip 40064 BLAKE2B afdc6f5a4a83898d81353604bde4282a010a3294fd5c5ef76236d745919a1aad2a470c1443dd4568bfaab9cfc745e05248e2f8949e0426518d8bc517ea01242c SHA512 43ccb1bb2bb99cbd84d532c4dbf278dee3b930a4f8e2cc81119262af2dfe8a0006243ee4ed2893200d82eb7a770af9ae5b5940cc46451dae8c2a5d97d7c934af
DIST ugrd-0.7.3.tar.gz 38573 BLAKE2B 86567ec5d0790af6667de4b6f8fa9f6ae83e49df7b0a32be7b4f0a7ea3f305a6206c25e35d86f6927b747a091ca9957755bf5049716e9b14b466c6c64dd536ee SHA512 40b081b7cd916db5c133ddaa74b3589081088d62572339d749a9eb6fda17d06041a5bf352c73130ded6fc3e0c44fc5893217e0a1bace8cf31dde362ccc5b1fe4

View File

@@ -5,10 +5,4 @@
<email>dev@pyl.onl</email>
<name>Zen</name>
</maintainer>
<use>
<flag name="btrfs">Pull btrfs-progs as a dependency</flag>
<flag name="cryptsetup">Pull cryptsetup as a dependency</flag>
<flag name="gpg">Pull gnupg as a dependency</flag>
<flag name="zfs">Pull zfs as a dependency</flag>
</use>
</pkgmetadata>

View File

@@ -1,26 +0,0 @@
# 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..11} pypy3 )
inherit distutils-r1
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}.zip"
LICENSE=""
SLOT="0"
KEYWORDS="~amd64"
IUSE="cryptsetup btrfs -gpg -zfs"
RDEPEND="app-misc/pax-utils
cryptsetup? ( sys-fs/cryptsetup )
btrfs? ( sys-fs/btrfs-progs )
gpg? ( app-crypt/gnupg )
zfs? ( sys-fs/zfs )"
DEPEND=""
BDEPEND=""

View File

@@ -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
}